Skip to content

chore(deps): update dependency nicklockwood/swiftformat to v0.56.1 #4867

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

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 17, 2025

This PR contains the following updates:

Package Update Change
nicklockwood/SwiftFormat minor 0.55.6 -> 0.56.1

Warning

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


Release Notes

nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)

v0.56.1

Compare Source

  • Fixed several issues where trailingCommas rule would insert commas in places not actually supported by Swift 6.1
  • Fixed issue where --wrapeffects option would incorrectly unwrap async let properties following function call
  • Fixed issue where redundantEquatable rule would incorrectly remove == implementation in factor of synthesized implementation even if type contained non-Equatable properies like tuples
  • Fixed issue where extensionAccessControl rule would incorrectly hoist public ACL in @preconcurrency conformances
  • Fixed issue where organizeDeclarations rule would sometimes break property declarations with if expression values

v0.56.0

Compare Source

  • Added wrapMultilineFunctionChains rule to wrap chained method calls
  • Added environmentEntry rule to update SwiftUI EnvironmentValues definitions to use the @Entry macro
  • Added redundantEquatable rule to remove explicit Equatable conformances that would be compiler-synthesized
  • Added preferSwiftTesting rule to migrate XCTest-based tests to Swift Testing
  • Added swiftTestingTestCaseNames rule to remove redundant "test" prefix from Swift Testing test case methods.
  • Added preferCountWhere rule to prefer count(where:) over filter(_:).count
  • Added fileMacro rule to prefer either #file or #fileID, which have the same behavior in Swift 6 and later
  • Added blankLinesAfterGuardStatements rule to remove blank lines between consecuitve guard statements, and add blank line after last guard statement.
  • Added privateStateVariables rule to add private access control to @State properties
  • Added emptyExtensions rule to remove extensions that contain no declarations or conformances
  • Added --preserveacronyms option to acronyms rule
  • Added --wrapreturntype never option to wrapArguments rule
  • Updated trailingCommas to support Swift 6.1 trailing comma functionality
  • opaqueGenericParameters now supports protocol requirements without a body
  • --wrapeffects and --wrapreturntype now support protocol requirements and closure types
  • Fixed indentation of trailing closures after chained multiline method call when using same-line closing parens
  • blankLinesAtStartOfScope rule now supports switch cases and closure capture / parameter lists
  • Fixed issue where type under organizeDeclarations line count threshold would ignore swiftformat:sort directives
  • Fixed issue where organizeDeclarations rule would unexpectedly remove non-mark comments
  • Compiling SwiftFormat now requires Swift 5.7+
  • SwiftFormat prerelease builds can now be installed via Homebrew using brew install swiftformat --head. Prerelease builds are subject to breaking changes.

Configuration

📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 this update 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 requested a review from a team as a code owner May 17, 2025 16:29
@renovate renovate bot requested review from morganleroi and millotp and removed request for a team May 17, 2025 16:29
@algolia-bot
Copy link
Collaborator

algolia-bot commented May 17, 2025

🪓 The generated code will be pushed at the end of the CI.

Action triggered by commit 78f9f98fafe04612f8ebbabb7b9a8c859ab069aa.

Please do not push any generated code to this pull request.

@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch 11 times, most recently from 0ad67e4 to 2ee566c Compare May 17, 2025 17:55
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 2ee566c to 3e3842a Compare May 17, 2025 18:00
@renovate renovate bot merged commit c305bca into chore/renovateBaseBranch May 17, 2025
1 check passed
@renovate renovate bot deleted the renovate/nicklockwood-swiftformat-0.x branch May 17, 2025 18:04
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.

1 participant