Download Latest Version swiftformat_linux_aarch64.zip (23.0 MB)
Email in envelope

Get an email when there's a new version of SwiftFormat

Home / 0.57.0
Name Modified Size InfoDownloads / Week
Parent folder
SwiftFormat.for.Xcode.app.zip 2025-07-13 8.6 MB
SwiftFormat.amd64.msi 2025-07-13 20.7 MB
swiftformat_linux_aarch64.zip 2025-07-13 22.9 MB
swiftformat.zip 2025-07-13 2.1 MB
swiftformat_linux.zip 2025-07-13 23.9 MB
swiftformat.artifactbundle.zip 2025-07-13 45.7 MB
0.57.0 source code.tar.gz 2025-07-13 3.7 MB
0.57.0 source code.zip 2025-07-13 4.1 MB
README.md 2025-07-13 2.2 kB
Totals: 9 Items   131.7 MB 0
  • Options now use --kebab-case. Existing option names without dashes remain supported for backwards compatibility. Some options have been renamed to improve clarity.
  • Added support for :this and :previous in comment directives.
  • Added support for formatting code blocks in Markdown files.
  • Added support for multiple --config file arguments.
  • Added singlePropertyPerLine rule to convert property declarations defining multiple properties into separate declarations.
  • Added redundantMemberwiseInit rule to remove explicit memberwise initializers that are identical to the struct's compiler-synthesized initializer.
  • Added redundantPublic rule to remove public access control from properties of internal types.
  • Added modifiersOnSameLine rule to keep declaration modifiers on the same line.
  • Added throwingTests rule to prefer using try and throws in unit tests rather than try!.
  • Added noGuardInTests rule to prefer convert guard statements in unit tests to try #require(...) / #expect(...) or try XCTUnwrap(...) / XCTAssert(...).
  • Added urlMacro rule to convert URL(string: "...")! initializers to a provided #URL("...") macro.
  • Added --trailing-commas collections-only and --trailing-commas multi-element-lists options to trailingCommas rule.
  • Added --type-blank-lines insert option to blankLinesAtStartOfScope and blankLinesAtEndOfScope rules.
  • Added --wrap-string-interpolation option to support disabling line wrapping within string interpolation.
  • Added --line-between-guards option to blankLinesAfterGuardStatements rule.
  • Added support for SARIF output format.
  • Improved performance of the docComments rule.
  • Fixed bug in docComments rule where trailing comments would be converted to doc comments.
  • Fixed bug where redundantNilInit rule would ignore type bodies with conformances.
  • Fixed bug where wrapEnumCases didn't handle some nested types correctly.
  • Fixed issue where # characters in config files couldn't be escaped.
  • Fixed issue where SwiftFormat for Xcode app would generate invalid config files with unescaped # characters.
  • Fixed issue where --wrap-return-type never didn't respect --allman true.
Source: README.md, updated 2025-07-13