Skip to content

Widen the swift-syntax range to allow 602 through 604 - #395

Merged
congt merged 1 commit into
mainfrom
cshi/swift-syntax-603
Aug 25, 2026
Merged

Widen the swift-syntax range to allow 602 through 604#395
congt merged 1 commit into
mainfrom
cshi/swift-syntax-603

Conversation

@congt

@congt congt commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Issue

from: "601.0.0" is up-to-next-major, which resolves to 601.0.0..<602.0.0 and pins every consumer to the 601 line. Consumers that need a newer swift-syntax -- for example a host app substituting a prebuilt 603 distribution -- cannot resolve at all, and there is no workflow-swift release they can move to.

Fix

Widen it to 601.0.0..<605.0.0, matching what swift-macro-testing, swift-case-paths, swift-perception, and the rest of the Point-Free packages already declare.

Checklist

  • Unit Tests
  • UI Tests
  • Snapshot Tests (iOS only)
  • I have made corresponding changes to the documentation

`from: "601.0.0"` is up-to-next-major, which resolves to 601.0.0..<602.0.0 and
pins every consumer to the 601 line. Consumers that need a newer swift-syntax --
for example a host app substituting a prebuilt 603 distribution -- cannot resolve
at all, and there is no workflow-swift release they can move to.

Widen it to 601.0.0..<605.0.0, matching what swift-macro-testing, swift-case-paths,
swift-perception, and the rest of the Point-Free packages already declare.

Also move the Tuist sample's resolved pins to swift-syntax 603.0.2 so the sample
actually exercises the newly allowed range rather than staying on 601. That
requires bumping swift-perception alongside it: 2.0.6 caps swift-syntax at
`509..<602`, and 2.0.11 widens it to `509..<605`. The root manifest already allows
`1.5.0..<3.0.0`, so no manifest change is needed for that bump.

WorkflowSwiftUIMacros builds against swift-syntax 603.0.2 and all 13
ObservableStateMacro expansion tests pass with byte-identical output, so no source
change is needed alongside the range bump. 603 does deprecate the `MemberMacro`
`expansion(of:providingMembersOf:in:)` overload in favour of the `conformingTo:`
variant; that is a warning only, and adopting it is left to a separate change.

Co-authored-by: Claude Code <noreply@anthropic.com>
Ai-assisted: true
@congt
congt requested a review from amorde August 25, 2026 00:22
@congt
congt requested a review from a team as a code owner August 25, 2026 00:22
@CLAassistant

CLAassistant commented Aug 25, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@congt
congt merged commit fa18c2a into main Aug 25, 2026
12 checks passed
@congt
congt deleted the cshi/swift-syntax-603 branch August 25, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants