Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 25, 2026

This PR contains the following updates:

Package Update Change
swiftformat minor 0.58.70.59.0

Release Notes

nicklockwood/SwiftFormat (swiftformat)

v0.59.0

Compare Source

  • Added simplifyGenericConstraints rule
  • Added validateTestCases rule
  • Added testSuiteAccessControl rule
  • Added wrapPropertyBodies rule
  • Added wrapFunctionBodies rule
  • Added redundantViewBuilder rule
  • Added --ifdef preserve option to indent rule
  • Added --prefer-synthesized-init-for-internal-structs option to redundantMemberwiseInit rule
  • Enabled more rules by default: blankLinesBetweenImports, docComments, emptyExtensions, environmentEntry, noForceTryInTests, noForceUnwrapInTests, redundantAsync, redundantEquatable, redundantMemberwiseInit, redundantProperty, redundantThrows
  • Updated typeSugar to only preserve explicit Optional<T> in structs with a synthesized memberwise initializer
  • Updated closing paren of single-argument functions and collections to wrap if needed
  • Updated redundantMemberwiseInit rule to support result builder attributes
  • Improved how organizeDeclarations handles structs with a synthesized memberwise initializer
  • Updated docComments rule to preserve formatting of comments with directives
  • Fixed --ifdef no-indent handling of method chains and nested directives
  • Fixed issue where XMLReporter did not properly escape strings
  • Fixed support for unsafe keyword
  • Fixed edge cases in spaceAroundBrackets rule
  • Fixed crash in sortTypealiases rule
  • Fixed issue where redundantSelf rule could crash if encountering a function with no body (e.g.@_silgen_name)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 January 25, 2026 22:03
@renovate renovate bot added the minor-patch label Jan 25, 2026
@renovate renovate bot requested review from ns-vasilev and removed request for a team January 25, 2026 22:03
@renovate renovate bot added the minor-patch label Jan 25, 2026
@spacecode-github-bot
Copy link

1 Message
📖 ✅ Great job! All checks passed.

Generated by 🚫 Danger

1 similar comment
@spacecode-github-bot
Copy link

spacecode-github-bot commented Jan 25, 2026

1 Message
📖 ✅ Great job! All checks passed.

Generated by 🚫 Danger

@renovate renovate bot merged commit 9e893c0 into main Jan 26, 2026
6 checks passed
@renovate renovate bot deleted the renovate/swiftformat-0.x branch January 26, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant