SwiftyLab / MetaCodable

Supercharge Swift's Codable implementations with macros meta-programming.
https://swiftpackageindex.com/SwiftyLab/MetaCodable/main/documentation/metacodable
MIT License
629 stars 23 forks source link

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

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 2 months ago

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 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)
codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.