From a0bbf05ff58cb79bb5110fc04918292edac890ed Mon Sep 17 00:00:00 2001 From: Ben Prieur Date: Mon, 1 Jun 2026 18:40:27 +0200 Subject: [PATCH] Bump swift-syntax upper bound to allow 603.x The dependency was capped at "510.0.3"..<"603.0.0", resolving to a max of 602.x. This forces consumers that also depend on swift-syntax down to 602.x, even on Swift 6.3 toolchains. Raise the upper bound to 604.0.0 so 603.x (the Swift 6.3-matching release) is allowed. Builds clean and all 14 tests pass against swift-syntax 603.0.1. Co-Authored-By: Claude Opus 4.8 (1M context) --- Package.resolved | 4 ++-- Package.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Package.resolved b/Package.resolved index 76244a4..2e86f62 100644 --- a/Package.resolved +++ b/Package.resolved @@ -14,8 +14,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-syntax", "state" : { - "revision" : "2bc86522d115234d1f588efe2bcb4ce4be8f8b82", - "version" : "510.0.3" + "revision" : "9de99a78f099e59caf2b2beec65a4c45d54b2081", + "version" : "603.0.1" } }, { diff --git a/Package.swift b/Package.swift index d996b15..a51e24d 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,7 @@ let package = Package( .executable(name: "figma-swift", targets: ["CodeConnectCLI"]), ], dependencies: [ - .package(url: "https://github.com/swiftlang/swift-syntax", "510.0.3"..<"603.0.0"), + .package(url: "https://github.com/swiftlang/swift-syntax", "510.0.3"..<"604.0.0"), .package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"), .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.55.3"), ],