Skip to content

Bump github.com/nicklockwood/swiftformat from 0.55.5 to 0.61.1#150

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/swift/github.com/nicklockwood/swiftformat-0.61.1
Open

Bump github.com/nicklockwood/swiftformat from 0.55.5 to 0.61.1#150
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/swift/github.com/nicklockwood/swiftformat-0.61.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 7, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

0.61.1

  • Fixed race condition when parsing config files
  • Fixed redundantStaticSelf false positive inside closures and nested functions
  • Fixed unsafe keyword dot-spacing edge case
  • Fixed redundantSelf crash on switch expression inside if-let binding chain
  • Fixed redundantEquatable removing manual == for types with Any.Type stored properties

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

... (truncated)

Commits
  • a5fa7a6 Update for 0.61.1 release
  • 814ae64 Update VSCode integration instructions to use Run on Save (#2520)
  • 3e5bdf2 fix race condition when parsing config files (#2521)
  • 8b998f0 Fix redundantStaticSelf false positive inside closures and nested functions (...
  • b48ffbc Fix docs typo
  • a279d73 Bump the github-actions group with 5 updates (#2453)
  • 249801f Bump the github-actions group with 5 updates (#2453)
  • 3c174b1 Update dependabot PRs to target develop branch (#2516)
  • 0af344d Improve "Label Fixed Issues" CI workflow (#2515)
  • 1e0aaaa Fix unsafe keyword dot-spacing edge case (#2513)
  • 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.1.
- [Release notes](https://github.com/nicklockwood/SwiftFormat/releases)
- [Commits](nicklockwood/SwiftFormat@0.55.5...0.61.1)

---
updated-dependencies:
- dependency-name: github.com/nicklockwood/swiftformat
  dependency-version: 0.61.1
  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 May 7, 2026
protocol ServerOneWayMessage: ServerMessage, OneWayMessage {}

struct ModuleReaderSpec: Codable, Sendable {
struct ModuleReaderSpec: Codable {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is odd...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, it's removing Sendable because the struct isn't public, which seems reasonable.

Comment thread Tests/PklSwiftTests/EvaluatorTest.swift Outdated

func testEvaluateOutputBytes() async throws {
let version = try await SemanticVersion(EvaluatorManager().getVersion())!
let version = try try await XCTUnwrap(SemanticVersion(EvaluatorManager().getVersion()))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoa there's no way that's right!

@HT154 HT154 force-pushed the dependabot/swift/github.com/nicklockwood/swiftformat-0.61.1 branch from 4457c60 to 8e66671 Compare May 7, 2026 19:19
@HT154 HT154 force-pushed the dependabot/swift/github.com/nicklockwood/swiftformat-0.61.1 branch from 8e66671 to 50214b2 Compare May 7, 2026 19:20
Comment thread .swiftformat

--disable spaceAroundOperators
--disable wrapMultilineStatementBraces
--disable noForceUnwrapInTests

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This resolves #150 (comment)

Looks like there's a bug in this rule when a test mixes force unwrapping and async.

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