Skip to content

chore(deps): update dependency nicklockwood/swiftformat to v0.63.0 - #160

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/nicklockwood-swiftformat-0.x
Open

chore(deps): update dependency nicklockwood/swiftformat to v0.63.0#160
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/nicklockwood-swiftformat-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
nicklockwood/SwiftFormat minor 0.61.10.63.0

Release Notes

nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)

v0.63.0

Compare Source

  • Added ifExpressions rule to convert ternaries to if expressions
  • Added preferLazyMap rule
  • Added redundantExtendedLifetime rule
  • Added <!-- no-format --> HTML comment syntax for disabling formatting of markdown code blocks
  • Added warning when --enable is used for a rule that is already enabled by default
  • Added --redundant-optional-binding option, defaulting to same-name-only
  • Made --wrapstringinterpolation preserve the default
  • Changed default of --single-line-ternary to convert
  • Distinguished default, opt-in, and deprecated rules in --rules and --rule-info output
  • Updated organizeDeclarations to categorize associatedtype declarations as beforeMarks
  • Updated hoistAwait and hoistTry to automatically detect and preserve autoclosures within same file as definition
  • Updated redundantType and propertyTypes to support more ExpressibleByXLiteral types
  • Updated redundantReturn to preserve bare return in closures where removal would create single-expression body
  • Updated redundantOptionalBinding to convert if let x = property to if let property
  • Updated urlMacro rule to support try #require(URL(string:)) pattern
  • Updated redundantBackticks to preserve backticks on Swift Testing @Test functions
  • Updated swiftTestingTestCaseNames to convert backticked names with test prefix or underscores
  • Updated genericExtensions rule to support collection types
  • Updated unusedPrivateDeclarations to preserve properties used in compiler-generated Equatable and Hashable conformances
  • Increased stack size to 1MB for Linux release builds
  • Fixed redundantClosure false positive for if statements with no else branch
  • Fixed spaces around module selectors in generics
  • Fixed preferForLoop incorrectly applying to dollar-prefixed identifiers
  • Fixed blank line before trailing infix operators
  • Fixed swiftTestingTestCaseNames not adding backticks when required
  • Fixed --preserve-acronyms to work as substring match, not just exact identifier match
  • Fixed genericExtensions rule leaving stray comma with additional where conditions
  • Fixed indent dropping switch case body indentation inside #if with --ifdef no-indent
  • Fixed redundantSwiftUIGroup removing Group(subviews:)
  • Fixed redundantReturn removing redundant returns from switch/if inside a flatMap closure
  • Fixed --ifdef no-indent indentation for method chains and directives
  • Fixed environmentEntry edge cases
  • Fixed redundantInternal stripping required internal inside #if in non-internal extensions
  • Fixed indent of trailing closure in method chain member inside #if
  • Fixed spaceAroundParens spurious violations for keyword identifiers after :: module selector

v0.62.1

Compare Source

  • Several rules have been disabled by default: isEmpty, preferContains, preferFirstWhere, preferCountWhere, preferMinOverSorted, preferFlatMap, emptyExtensions
  • Added --guard-like-if-statements option to noGuardInTests rule, defaulting to preserve

v0.62.0

Compare Source

  • Added redundantSwiftUIGroup rule
  • Added preferContains rule
  • Added preferMinOverSorted rule
  • Added preferFlatMap rule
  • Added preferFirstWhere rule
  • Added --indent-blank-lines option to match the surrounding context
  • Added --line-wrap-threshold option for length-based wrapping
  • Added --type-blank-lines consistent option
  • Added start-only and end-only values to --type-blank-lines
  • Added before-non-local-declarations value for --doc-comments
  • Enabled isEmpty rule by default
  • Split wrapConditionalBodies into wrapIfStatementBodies, wrapIfExpressionBodies, wrapGuardStatementBodies
  • Updated noGuardInTests rule to apply to guard-like if statements, use try #require for boolean conditions
  • Updated redundantSendable rule to be disabled by default, and to skip enums with indirect cases
  • Fixed redundantVariable incorrectly removing variables with modifiers or attributes
  • Fixed preferSwiftTesting spuriously adding UIKit import for UInt types
  • Fixed $name closure parameters incorrectly treated as unused when self has a same-named property
  • Fixed docComments rule incorrectly converting enum case group comments to doc comments
  • Fixed markTypes incorrectly considering top-level macro declarations
  • Fixed blankLinesBetweenScopes incorrectly inserting blank line before #elseif directives
  • Fixed emptyExtensions incorrectly removing extensions containing a freestanding macro declaration
  • Fixed organizeDeclarations incorrectly placing freestanding macro declarations after MARK comments
  • Fixed false positive redundantSendable for indirect enum
  • Fixed spaceAroundParens incorrectly inserting space before Optional.some(...) in subsequent @Test arguments

Configuration

📅 Schedule: (UTC)

  • 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 a review from gao-sun as a code owner July 6, 2026 18:42
@renovate renovate Bot changed the title chore(deps): update dependency nicklockwood/swiftformat to v0.62.0 chore(deps): update dependency nicklockwood/swiftformat to v0.62.1 Jul 7, 2026
@renovate
renovate Bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 2706802 to 5b3de98 Compare July 7, 2026 17:02
@github-actions github-actions Bot added size/xs and removed size/xs labels Jul 7, 2026
@renovate renovate Bot changed the title chore(deps): update dependency nicklockwood/swiftformat to v0.62.1 chore(deps): update dependency nicklockwood/swiftformat to v0.63.0 Aug 30, 2026
@renovate
renovate Bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 5b3de98 to 5f31dab Compare August 30, 2026 22:14
@github-actions github-actions Bot added size/xs and removed size/xs labels Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

0 participants