Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 11, 2025

Bumps the swift-dependencies group with 1 update: github.com/swiftlang/swift-syntax.

Updates github.com/swiftlang/swift-syntax from 509.1.1 to 600.0.1

Release notes

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

600.0.1

Compared to 600.0.0 this release fixes a compilation issue when building swift-syntax in C++ interop mode (swiftlang/swift-syntax#2861).

It also contains the following changes from 600.0.0.

New APIs

  • FixIt now has a new computed property named edits

  • SourceEdit

  • assertMacroExpansion now have new parameters named applyFixIts and fixedSource

  • DeclSyntaxEnum, StmtSyntaxEnum, ExprSyntaxEnum, TypeSyntaxEnum, and PatternSyntaxEnum

    • Description: Enum to exhaustively switch over all different syntax nodes of each base type.
    • Pull Request: swiftlang/swift-syntax#2351
  • WithOptionalCodeBlock

    • Description: A trait for syntax nodes that have an optional code block, such as FunctionDeclSyntax and InitializerDeclSyntax.
    • Pull Request: swiftlang/swift-syntax#2359
  • CodeBlockSyntax

    • Description: CodeBlockSyntax is now SyntaxParseable, so it can be used with string interpolations.
    • Pull Request: swiftlang/swift-syntax#2361
  • ThrowsClause

    • Description: The throwsSpecifier for the effects nodes (AccessorEffectSpecifiers, FunctionEffectSpecifiers, TypeEffectSpecifiers, EffectSpecifiers) has been replaced with throwsClause, which captures both the throws specifier and the (optional) thrown error type, as introduced by SE-0413.
    • Pull Request: swiftlang/swift-syntax#2379
  • String.isValidSwiftIdentifier(for:)

    • Description: SwiftParser adds an extension on String to check if it can be used as an identifier in a given context.
    • Pull Request: swiftlang/swift-syntax#2434
  • MacroDeclSyntax.expand

    • the expand(argumentList:definition:replacements:) method gains a new parameter 'genericReplacements:' that is defaulted to an empty array.
    • The method's signature is now expand(argumentList:definition:replacements:genericReplacements:)
    • Pull Request: swiftlang/swift-syntax#2450
  • SyntaxProtocol.asMacroLexicalContext() and allMacroLexicalContexts(enclosingSyntax:)

    • Description: Produce the lexical context for a given syntax node (if it has one), or the entire stack of lexical contexts enclosing a syntax node, for use in macro expansion.
    • Pull request: swiftlang/swift-syntax#1554

... (truncated)

Commits
  • 0687f71 Merge pull request #2861 from ahoppen/6.0/allow-build-in-cxx-interop-mode
  • 0a8a8a1 Allow building swift-syntax in C++ interop mode
  • cb53fa1 Merge pull request #2837 from ahoppen/6.0/enable-sending-arg
  • 7aa2516 Enable the sendingArgsAndResults experimental feature
  • 515f79b Merge pull request #2801 from SimplyDanny/increase-compiler-version
  • b1ff169 Increase tools version
  • 7a430d4 Merge pull request #2790 from luispadron/luis/cherry-pick-MODULE-bazel-update...
  • e25101d Declare rules_swift max_compatibility_version = 2, set rules_swift to 1.18.0 ...
  • 7d28aa1 Merge pull request #2779 from swiftlang/ahoppen-patch-2
  • 2146123 Fix typo in 600 release notes: isValidIdentifier -> isValidSwiftIdentifier
  • 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the swift-dependencies group with 1 update: [github.com/swiftlang/swift-syntax](https://github.com/swiftlang/swift-syntax).


Updates `github.com/swiftlang/swift-syntax` from 509.1.1 to 600.0.1
- [Release notes](https://github.com/swiftlang/swift-syntax/releases)
- [Changelog](https://github.com/swiftlang/swift-syntax/blob/main/Changelog.md)
- [Commits](swiftlang/swift-syntax@509.1.1...600.0.1)

---
updated-dependencies:
- dependency-name: github.com/swiftlang/swift-syntax
  dependency-type: indirect
  update-type: version-update:semver-major
  dependency-group: swift-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update Swift_package_manager code labels Mar 11, 2025
@cla-bot cla-bot bot added the cla-signed label Mar 11, 2025
@finestructure finestructure merged commit eef5670 into main Mar 11, 2025
5 of 6 checks passed
@finestructure finestructure deleted the dependabot/swift/swift-dependencies-45c4b3c7d0 branch March 11, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed 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