Skip to content

chore(deps): update dependency nicklockwood/swiftformat to from: "0.57.2" #849

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
merged 1 commit into from
Jul 16, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 13, 2025

This PR contains the following updates:

Package Update Change
nicklockwood/SwiftFormat minor from: "0.56.4" -> from: "0.57.2"

Release Notes

nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)

v0.57.2

Compare Source

  • Updated trailingCommas rule to handle function declarations with generic arguments.
  • Updated --trailing-commas always to preserve trailing commas rather than unnecessarily removing trailing commas in some edge cases.
  • Fixed spurious deprecation message when using some non-deprecated options.

v0.57.1

Compare Source

  • Fixed issue where trailing commas were unexpectedly removed from initializer argument lists when using --trailing-commas always.
  • Fixed issue where redundantPublic rule didn't handle extensions on types defined in public extensions.
  • Added @Bindable to list of SwiftUI property wrappers used by organizeDeclarations rule.
  • Fixed case-sensitivity issue with preferFileMacro rule.

v0.57.0

Compare Source

  • Options now use --kebab-case. Existing option names without dashes remain supported for backwards compatibility. Some options have been renamed to improve clarity.
  • Added support for :this and :previous in comment directives.
  • Added support for formatting code blocks in Markdown files.
  • Added support for multiple --config file arguments.
  • Added singlePropertyPerLine rule to convert property declarations defining multiple properties into separate declarations.
  • Added redundantMemberwiseInit rule to remove explicit memberwise initializers that are identical to the struct's compiler-synthesized initializer.
  • Added redundantPublic rule to remove public access control from properties of internal types.
  • Added modifiersOnSameLine rule to keep declaration modifiers on the same line.
  • Added throwingTests rule to prefer using try and throws in unit tests rather than try!.
  • Added noGuardInTests rule to prefer convert guard statements in unit tests to try #require(...) / #expect(...) or try XCTUnwrap(...) / XCTAssert(...).
  • Added urlMacro rule to convert URL(string: "...")! initializers to a provided #URL("...") macro.
  • Added --trailing-commas collections-only and --trailing-commas multi-element-lists options to trailingCommas rule.
  • Added --type-blank-lines insert option to blankLinesAtStartOfScope and blankLinesAtEndOfScope rules.
  • Added --wrap-string-interpolation option to support disabling line wrapping within string interpolation.
  • Added --line-between-guards option to blankLinesAfterGuardStatements rule.
  • Added support for SARIF output format.
  • Improved performance of the docComments rule.
  • Fixed bug in docComments rule where trailing comments would be converted to doc comments.
  • Fixed bug where redundantNilInit rule would ignore type bodies with conformances.
  • Fixed bug where wrapEnumCases didn't handle some nested types correctly.
  • Fixed issue where # characters in config files couldn't be escaped.
  • Fixed issue where SwiftFormat for Xcode app would generate invalid config files with unescaped # characters.
  • Fixed issue where --wrap-return-type never didn't respect --allman true.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 review from pylapp and ludovic35 as code owners July 13, 2025 20:55
@renovate renovate bot changed the title chore(deps): update dependency nicklockwood/swiftformat to from: "0.57.0" chore(deps): update dependency nicklockwood/swiftformat to from: "0.57.1" Jul 14, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 1b9c1a3 to a182fce Compare July 14, 2025 19:40
@renovate renovate bot changed the title chore(deps): update dependency nicklockwood/swiftformat to from: "0.57.1" chore(deps): update dependency nicklockwood/swiftformat to from: "0.57.2" Jul 15, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from a182fce to 31b71d4 Compare July 15, 2025 03:06
@pylapp pylapp force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 31b71d4 to 0bc5e2e Compare July 16, 2025 16:04
@pylapp pylapp merged commit 0f1d473 into develop Jul 16, 2025
11 of 12 checks passed
@pylapp pylapp deleted the renovate/nicklockwood-swiftformat-0.x branch July 16, 2025 16:06
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