Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update dependency nicklockwood/SwiftFormat to from: "0.58.5" #130

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

Open
renovate wants to merge 1 commit into main
base: main
Choose a base branch
Loading
from renovate/nicklockwood-swiftformat-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 23, 2025
edited
Loading

This PR contains the following updates:

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

Release Notes

nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)

v0.58.5

Compare Source

  • Fixed regression with indenting of macros (introduced in 0.58.4)
  • Fixed spurious removal of return keyword inside for ... where loops
  • Fixed parsing error with for await case ... loops
  • Added XCTUnwrap to the default exclusion list for hoistTry

v0.58.4

Compare Source

  • Whitespace is no longer added or removed from blank lines in multiline string literals
  • Fixed trailingComma rule incorrectly inserting commas inside typed throws
  • Fixed issue where opaqueGenericParameters rule could cause build errors with existential types
  • Fixed false positive with unusedArguments when argument is only referenced inside a macro
  • The noGuardInTests rule now preserves custom failure messages
  • The noGuardInTests rule no longer adds throws to test methods when not needed
  • Removed redundant "default" values from options help descriptions

v0.58.3

Compare Source

  • Fixed parsing of [n of X] syntax for InlineArray in Swift 6.2
  • Fixed parsing error when an opening multiline string delimiter is followed by a space
  • Fixed issue where redundantInit rule could leave orphaned parentheses
  • Fixed bug where redundantInit was incorrectly applied to (Foo.self as Bar.Type) expressions
  • Fixed bug with parsing empty property accessors that broke redundantSelf rule
  • Fixed aliasing issue with acronyms rule where one acronym overlaps another
  • Fixed unexpected wrapping of closing parenthesis in wrapArguments rule
  • Added --unknown-rules option to support environments with older SwiftFormat versions

v0.58.2

Compare Source

  • Fixed issue where modifierOrder rule confused async effect for async modifier
  • Fixed issue where testing related rules incorrectly treated functions with arguments as test cases
  • Updated redundantInit rule to apply to init calls with single trailing closure
  • Updated README.md to reflect actual precedence behavior between .swift-version files and --swift-version arguments.

v0.58.1

Compare Source

  • Fixed issue where async effect could be confused for async modifier, breaking docCommentsBeforeModifiers rule in protocol body with async functions
  • Fixed issue where wrapAttributes rule would unexpectedly wrap async effect
  • Fixed issue where .swift-version file was ignored if not also using config file
  • Fixed issue where multiple trailing closure syntax could be applied to ineligible function calls
  • Fixed issue where redundantAsync ignored await keyword in string interpolation
  • Fixed bug where acronyms rule would incorrectly always capitalize potentially matching acronyms one letter before end of identifier
  • Updated redundantLet rule to handle #Preview macro

v0.58.0

Compare Source

  • Added noForceUnwrapInTests rule
  • Added redundantThrows rule
  • Added redundantAsync rule
  • Added preferFinalClasses rule
  • Added support for Swift 6.2 raw identifiers
  • Updated trailingCommas rule to handle cases now supported by Swift 6.2
  • Updated trailingClosures rule to support multiple trailing closures
  • Added support for filtering config file options to a specific file path glob
  • Added --allow-partial-wrapping false option to disallow partial wrapping of functions and collections
  • Updated propertyTypes rule to support array, dictionary, and set literals
  • Added organizeDeclarations threshold options to organize types without adding marks
  • Added --type-body-marks remove option to organizeDeclarations
  • Updated organizeDeclarations to support organizing protocol bodies
  • Updated organizeDeclarations to treat associatedtype declarations as nested types, like typealias declarations.
  • Added --blank-line-after-switch-case always option to blankLineAfterSwitchCase
  • Add --default-test-suite-attributes option to preferSwiftTesting rule
  • Renamed --markdown-files options to strict and lenient
  • Updated redundantPublic rule to apply to private types
  • Updated trailingClosures and trailingCommas rules to support optional function calls
  • Fixed bug where markTypes rule wouldn't add marks after extensions
  • Fixed issue where redundantPublic broke @_spi annotated members
  • Improved parsing of nested markdown code blocks
  • Fixed issue where hoistTry rule could break @Test attribute
  • Fixed issue where redundantVoidReturnType rule could accidentally remove closure type
  • Fix blankLinesAroundMark not ignoring trailing comments at start of scope
  • Renamed throwingTests rule to noForceTryInTests
  • Updated singlePropertyPerLine to preserve async let declarations

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 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 changed the title (削除) Update dependency nicklockwood/SwiftFormat to from: "0.58.0" (削除ここまで) (追記) Update dependency nicklockwood/SwiftFormat to from: "0.58.1" (追記ここまで) Sep 24, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from aab7a07 to 42c0121 Compare September 24, 2025 15:53
@renovate renovate bot changed the title (削除) Update dependency nicklockwood/SwiftFormat to from: "0.58.1" (削除ここまで) (追記) Update dependency nicklockwood/SwiftFormat to from: "0.58.2" (追記ここまで) Sep 29, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 42c0121 to 2b2f5ab Compare September 29, 2025 19:34
@renovate renovate bot changed the title (削除) Update dependency nicklockwood/SwiftFormat to from: "0.58.2" (削除ここまで) (追記) Update dependency nicklockwood/SwiftFormat to from: "0.58.3" (追記ここまで) Oct 4, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 2b2f5ab to 44034dc Compare October 4, 2025 14:07
@renovate renovate bot changed the title (削除) Update dependency nicklockwood/SwiftFormat to from: "0.58.3" (削除ここまで) (追記) Update dependency nicklockwood/SwiftFormat to from: "0.58.4" (追記ここまで) Oct 16, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 44034dc to ac6db58 Compare October 16, 2025 11:29
@renovate renovate bot changed the title (削除) Update dependency nicklockwood/SwiftFormat to from: "0.58.4" (削除ここまで) (追記) Update dependency nicklockwood/SwiftFormat to from: "0.58.5" (追記ここまで) Oct 18, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from ac6db58 to d5b43be Compare October 18, 2025 02:50
Copy link

Copy link

⚠️ 1 public change detected ⚠️

Comparing renovate/nicklockwood-swiftformat-0.x to main

🔀 1 Modification

Package.swift

.dependencies

🔀 Modified

// From
.package(url: "https://github.com/nicklockwood/SwiftFormat", "0.57.2"..<"1.0.0")
// To
.package(url: "https://github.com/nicklockwood/SwiftFormat", "0.58.5"..<"1.0.0")

Analyzed targets: FileHandlingModule, PADCore, PADLogging, PADOutputGenerator, PADPackageFileAnalyzer, PADProjectBuilder, PADSwiftInterfaceDiff, PADSwiftInterfaceFileLocator, ShellModule, SwiftPackageFileHelperModule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

0 participants

AltStyle によって変換されたページ (->オリジナル) /