Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Deps): bump github.com/apple/swift-syntax from 510.0.3 to 600.0.0 #99

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 16, 2024

Bumps github.com/apple/swift-syntax from 510.0.3 to 600.0.0.

Release notes

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

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
  • TriviaPiece.isComment

    • Description: TriviaPiece now has a computed property isComment that returns true if the trivia piece is a comment.
    • Pull Request: swiftlang/swift-syntax#2469

... (truncated)

Commits
  • 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
  • 06b5cdc Merge pull request #2765 from rintaro/6.0-package-cmo-beta4
  • c3224b9 [CMake] Enable package CMO only in newer compiler
  • 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 510.0.3 to 600.0.0.
- [Release notes](https://github.com/apple/swift-syntax/releases)
- [Commits](swiftlang/swift-syntax@510.0.3...600.0.0)

---
updated-dependencies:
- dependency-name: github.com/apple/swift-syntax
  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 Sep 16, 2024
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.96%. Comparing base (917d04b) to head (17de6a1).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage   94.96%   94.96%           
=======================================
  Files         109      109           
  Lines        3893     3893           
=======================================
  Hits         3697     3697           
  Misses        196      196           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@soumyamahunt soumyamahunt merged commit e3e06b3 into main Sep 20, 2024
12 of 13 checks passed
@soumyamahunt soumyamahunt deleted the dependabot/swift/github.com/apple/swift-syntax-600.0.0 branch September 20, 2024 15:49
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