Skip to content

chore(deps): Bump github.com/apple/swift-syntax from 600.0.1 to 601.0.0#36

Merged
kattouf merged 1 commit intomainfrom
dependabot/swift/github.com/apple/swift-syntax-601.0.0
Apr 1, 2025
Merged

chore(deps): Bump github.com/apple/swift-syntax from 600.0.1 to 601.0.0#36
kattouf merged 1 commit intomainfrom
dependabot/swift/github.com/apple/swift-syntax-601.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2025

Bumps github.com/apple/swift-syntax from 600.0.1 to 601.0.0.

Release notes

Sourced from github.com/apple/swift-syntax's releases.

601.0.0

New APIs

  • SameTypeRequirementSyntax has a new RightType nested type.

    • Description: The Swift parser can now parse values as types in certain situations, so the new type reflects the possibility of the argument being either an ExprSyntax or a TypeSyntax.
    • Pull Request: swiftlang/swift-syntax#2859
  • SameTypeRequirementSyntax has a new LeftType nested type.

    • Description: The Swift parser can now parse values as types in certain situations, so the new type reflects the possibility of the argument being either an ExprSyntax or a TypeSyntax.
    • Pull Request: swiftlang/swift-syntax#2859
  • GenericArgumentSynax has a new Argument nested type.

    • Description: The Swift parser can now parse values as types in certain situations, so the new type reflects the possibility of the argument being either an ExprSyntax or a TypeSyntax.
    • Pull Request: swiftlang/swift-syntax#2859
  • 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: swiftlang/swift-syntax#2785
  • IntegerLiteralExprSyntax and FloatLiteralExprSyntax now have a computed representedLiteralValue property.

  • SyntaxProtocol now has a method ancestorOrSelf.

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

    • Description: This method translates an error into one or more diagnostics, recognizing DiagnosticsError and DiagnosticMessage instances or providing its own Diagnostic as needed.
    • Pull Request: swiftlang/swift-syntax#1816
  • Added a new library SwiftIfConfig.

    • Description: This new library provides facilities for evaluating #if conditions and determining which regions of a syntax tree are active according to a given build configuration.
    • Pull Request: swiftlang/swift-syntax#1816
  • SwiftBasicFormat adds a method indented(by:) to all syntax node types.

    • Description: This method indents a node’s contents using a provided piece of Trivia, optionally including the first line.
    • Pull Request: swiftlang/swift-syntax#2843
  • 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: swiftlang/swift-syntax#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: apple/swift-syntax#2689

... (truncated)

Commits
  • 1103c45 Merge pull request #2976 from ahoppen/6.1/disable-parameter-validation
  • ced59cc Do not validate that all parameters have documentation
  • 8ceb172 Merge pull request #2921 from rintaro/6.1-genricargument-compat-init
  • 245b516 [Compat] Add GenericArgumentSyntax comatibility initializer
  • 41bde9e Merge pull request #2914 from ahoppen/6.1/fix-example-warnings
  • 287bd69 Fix build warnings in the Examples package
  • 1cd3534 Merge pull request #2883 from MAJKFL/add-swiftIfConfig-to-swiftLexicalLookup
  • 334fd59 Use ConfiguredRegions in LookupConfig for handling #if clauses.
  • 39a57d4 Merge pull request #2864 from roopekv/code-gen-keep-whitespace-after-comma-if...
  • 36f57a4 Merge pull request #2891 from MAJKFL/sanitize-dollar-identifier
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/apple/swift-syntax](https://github.com/apple/swift-syntax) from 600.0.1 to 601.0.0.
- [Release notes](https://github.com/apple/swift-syntax/releases)
- [Commits](swiftlang/swift-syntax@600.0.1...601.0.0)

---
updated-dependencies:
- dependency-name: github.com/apple/swift-syntax
  dependency-version: 601.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update Swift_package_manager code labels Apr 1, 2025
@kattouf kattouf merged commit 9f69d99 into main Apr 1, 2025
6 checks passed
@kattouf kattouf deleted the dependabot/swift/github.com/apple/swift-syntax-601.0.0 branch April 1, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update Swift_package_manager code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant