Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 28, 2025

This PR contains the following updates:

Package Update Change
apple/swift-syntax major from: "600.0.1" -> from: "601.0.1"
apple/swift-syntax major from: "510.0.3" -> from: "601.0.1"
apple/swift-syntax major from: "509.1.1" -> from: "601.0.1"
apple/swift-syntax major from: "508.0.1" -> from: "601.0.1"

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

apple/swift-syntax (apple/swift-syntax)

v601.0.1

Compare Source

Fixes a missing dependency from SwiftSyntax to SwiftSyntax601 which prevented its use in #if canImport.

v601.0.0

Compare Source

New APIs
  • SameTypeRequirementSyntax has a new RightType nested type.

  • SameTypeRequirementSyntax has a new LeftType nested type.

  • GenericArgumentSynax has a new Argument nested type.

  • GenericParameterSyntax now has a new specifier property.

    • Description: With the introduction of value generics, generic parameters can now be optionally preceded by either a let or an each. The specifier property captures the token representing which one was parsed.
    • Pull Request: https://github.com/swiftlang/swift-syntax/pull/2785
  • IntegerLiteralExprSyntax and FloatLiteralExprSyntax now have a computed representedLiteralValue property.

  • SyntaxProtocol now has a method ancestorOrSelf.

  • Error protocol now has an asDiagnostics(at:) method.

  • Added a new library SwiftIfConfig.

  • SwiftBasicFormat adds a method indented(by:) to all syntax node types.

  • Parser.ExperimentalFeatures has a new init?(name: String) initializer.

    • Description: This initializer returns the Parser.ExperimentalFeatures value that matches the experimental parser feature with the given name. The name must be spelled the same way as it is when passed to the compiler using the -enable-experimental-feature flag.
    • Pull Request: https://github.com/swiftlang/swift-syntax/pull/2895
API Behavior Changes
  • SyntaxProtocol.trimmed detaches the node
    • Description: Getting a trimmed version of a node detaches it from its parent. Having the trimmed node be attached to a parent was not intuitive because eg. printing the parent node would have the trimmed trivia missing, most likely forming invalid Swift code.
    • Pull Request: https://github.com/apple/swift-syntax/pull/2689
Deprecations
  • GenericParameterSyntax deprecated eachKeyword in favor of specifier

  • IncrementalEdit deprecated in favor of SourceEdit

  • ClosureCaptureSyntax.init(leadingTrivia:specifier:name:equal:expression:trailingComma:trailingTrivia:) deprecated in favor of a new ClosureCaptureSyntax.init(leadingTrivia:_:specifier:_:name:_:initializer:_:trailingComma:_:trailingTrivia:) initializer.

  • Indenter in SwiftSyntaxBuilder has been deprecated in favor of the new indented(by:) in SwiftBasicFormat.

    • Description: Indenting is really more of a formatting operation than a syntax-building operation. Additionally, the indented(by:) method is more intuitive to use than a SyntaxRewriter. Aside from BasicFormat, there are no other public SyntaxRewriter classes in the package.
    • Pull Request: https://github.com/swiftlang/swift-syntax/pull/2843
API-Incompatible Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/apple-swift-syntax-601.x branch 15 times, most recently from 1a6c281 to 84d9597 Compare April 7, 2025 21:43
@renovate renovate bot force-pushed the renovate/apple-swift-syntax-601.x branch 8 times, most recently from 9d25c63 to 08ebd6a Compare April 14, 2025 23:53
@renovate renovate bot force-pushed the renovate/apple-swift-syntax-601.x branch 5 times, most recently from efd9118 to 4fbb845 Compare April 22, 2025 02:59
@renovate renovate bot force-pushed the renovate/apple-swift-syntax-601.x branch 2 times, most recently from 02ab2e7 to c978a59 Compare April 23, 2025 14:53
@renovate renovate bot force-pushed the renovate/apple-swift-syntax-601.x branch 12 times, most recently from 6e3ebf1 to 26ab6f7 Compare May 8, 2025 22:25
@renovate renovate bot force-pushed the renovate/apple-swift-syntax-601.x branch 9 times, most recently from d2a94a3 to 1ea7528 Compare May 17, 2025 06:14
@renovate renovate bot force-pushed the renovate/apple-swift-syntax-601.x branch 4 times, most recently from 420e92f to defbbdd Compare May 21, 2025 02:35
@renovate renovate bot force-pushed the renovate/apple-swift-syntax-601.x branch from defbbdd to ce7ac59 Compare May 21, 2025 19:05
@kishikawakatsumi kishikawakatsumi deleted the renovate/apple-swift-syntax-601.x branch May 21, 2025 19:40
@renovate
Copy link
Contributor Author

renovate bot commented May 21, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 601.x releases. But if you manually upgrade to 601.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

2 participants