From ffe1498988c3b0b4b412fcea95b2b3f510578dfa Mon Sep 17 00:00:00 2001 From: Cong Shi Date: Mon, 24 Aug 2026 17:04:19 -0700 Subject: [PATCH] Widen the swift-syntax range to allow 602 through 604 `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 Ai-assisted: true --- Package.swift | 2 +- Samples/Tuist/Package.resolved | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index 5ecff8d8c..a75d9a8cc 100644 --- a/Package.swift +++ b/Package.swift @@ -55,7 +55,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "7.1.1"), .package(url: "https://github.com/ReactiveX/RxSwift.git", from: "6.6.0"), - .package(url: "https://github.com/swiftlang/swift-syntax", from: "601.0.0"), + .package(url: "https://github.com/swiftlang/swift-syntax", "601.0.0" ..< "605.0.0"), .package(url: "https://github.com/pointfreeco/swift-case-paths", from: "1.7.3"), .package(url: "https://github.com/pointfreeco/swift-identified-collections", from: "1.0.0"), .package(url: "https://github.com/pointfreeco/swift-macro-testing", from: "0.4.0"), diff --git a/Samples/Tuist/Package.resolved b/Samples/Tuist/Package.resolved index ccc238fc8..b5a9639b9 100644 --- a/Samples/Tuist/Package.resolved +++ b/Samples/Tuist/Package.resolved @@ -68,8 +68,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-perception", "state" : { - "revision" : "59b00dfa5548b5b91ebbda6d94d6328d82ca00fe", - "version" : "2.0.6" + "revision" : "de219a1cf34e958134e75a9ebb134cf09bf52fc6", + "version" : "2.0.11" } }, { @@ -77,8 +77,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-syntax", "state" : { - "revision" : "f99ae8aa18f0cf0d53481901f88a0991dc3bd4a2", - "version" : "601.0.1" + "revision" : "79e4b74a295b6eb74a8b585e3a39d29e70c1dbd1", + "version" : "603.0.2" } }, {