Skip to content

Bump github.com/nicklockwood/swiftformat from 0.55.5 to 0.61.0#146

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/nicklockwood/swiftformat-0.61.0
Closed

Bump github.com/nicklockwood/swiftformat from 0.55.5 to 0.61.0#146
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/nicklockwood/swiftformat-0.61.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 29, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/nicklockwood/swiftformat from 0.55.5 to 0.61.0.

Release notes

Sourced from github.com/nicklockwood/swiftformat's releases.

0.61.0

  • Added wrapCaseBodies rule
  • Added redundantEmptyView rule
  • Added preferSwiftStringAPI rule
  • Added --test-case-access-control option for testSuiteAccessControl rule
  • Updated sortImports to support --import-grouping length,alpha
  • Updated --self-required to support assignment type names like OSLogMessage
  • Updated --suite-name-format default value to preserve
  • Fixed conditional import parsing with access modifiers
  • Fixed infinite loop in organizeDeclarations when opening brace has a trailing comment
  • Fixed closing brace indentation with --trimwhitespace nonblank-lines
  • Fixed indentation of multiline raw string literals with --indent-strings
  • Fixed redundantParens incorrectly removing () from @MainActor closure signatures
  • Fixed wrapping inside parens of function declarations with no parameters
  • Fixed extensionAccessControl incorrectly hoisting public onto extensions of nested internal types
  • Fixed spaceAroundParens incorrectly removing space after nonisolated(nonsending) modifier
  • Fixed noGuardInTests incorrectly transforming guard #available conditions
  • Fixed trailing comma for @convention closures
  • Fixed number handling in Swift Testing test case name conversion
  • Fixed redundantSelf inserting self. inside #if/#elseif compiler directive conditions

0.60.1

  • Fixed issue where redundantSendable rule would unexpectedly remove Sendable conformance on type defined in public extension
  • Fixed issue where redundantSendable rule would leave behind extra space when removing :
  • Renamed redundantProperty rule to redundantVariable
  • Updated redundantVariable rule to preserve variables with explicit type annotations
  • Updated enumNamespaces rule to preserve Swift Testing suites as structs

0.60.0

  • Added redundantSwiftTestingSuite rule
  • Added redundantSendable rule
  • Added preferExpicitFalse rule
  • Added support for :: module selector syntax
  • Added support for value generics syntax
  • Updated swiftTestingTestCaseNames to use raw identifiers by default
  • Updated swiftTestingTestCaseNames to use UpperCamelCase for test suite names
  • Updated redundantSelf to handle guard statements
  • Updated unusedArguments to handle for loop variables
  • Updated redundantType to better handle Set literals
  • Updated redundantParents to remove empty parens from attributes
  • Updated sortImports to sort imports by access control
  • Updated blankLinesBetweenImports to preserve indentation when indent disabled
  • Updated unusedPrivateDeclaration rule to preserve private @Test functions
  • Updated preferSwiftTesting rule to convert tests in extensions within the same file
  • Updated --stdin-path to not require the file to actually exist
  • Updated simplifyGenericConstraints to avoid adding duplicate constraints
  • Updated blankLinesAroundMark to insert blank line before MARK at start of scope when allowed by blankLinesAtStartOfScope config
  • Updated redundantEquatable to preserve == implementation in types with Strideable conformance
  • Fixed handling of switch statements with #if blocks in several rules
  • Fixed issue where async function declarations were wrapped using wrapArguments instead of wrapParameters

... (truncated)

Commits
  • 397309e Update for 0.61.0 release
  • 09fe3ee Disable preferSwiftStringAPI by default due to iOS 16 / macOS 13 API availa...
  • 591d9c2 Update prepare_release.sh to build after formatting with new SwiftFormat ve...
  • 4ace97e Fix conditional import parsing with access modifiers (#2494)
  • 78836b9 Replace objc string methods with swift equivalents #2292 (#2491)
  • 05d684a Fix indentation of multiline raw string literals with --indent-strings (#2484)
  • d24b89a Bump the github-actions group with 7 updates (#2483)
  • 835f6f2 Fix infinite loop in organizeDeclarations when opening brace has a trailing...
  • c0b2441 Skip lint CI job for PRs with no diff (#2481)
  • a7681c9 Skip CI build / test jobs for PRs with empty diffs (#2479)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/nicklockwood/swiftformat](https://github.com/nicklockwood/SwiftFormat) from 0.55.5 to 0.61.0.
- [Release notes](https://github.com/nicklockwood/SwiftFormat/releases)
- [Commits](nicklockwood/SwiftFormat@0.55.5...0.61.0)

---
updated-dependencies:
- dependency-name: github.com/nicklockwood/swiftformat
  dependency-version: 0.61.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code labels Apr 29, 2026
@HT154

HT154 commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Not sure how I feel about all the formatting changes this would require

@HT154 HT154 requested a review from bioball April 29, 2026 22:52
@dependabot @github

dependabot Bot commented on behalf of github May 7, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #150.

@dependabot dependabot Bot closed this May 7, 2026
@dependabot dependabot Bot deleted the dependabot/swift/github.com/nicklockwood/swiftformat-0.61.0 branch May 7, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant