All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
671 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.50.6 Changes
December 03, 2022- 🛠 Fixed regression in
fileHeader
rule where blank lines were removed after header - 🛠 Fixed globs matching when command-line tool is invoked from a directory such as
/var/tmp
- 🛠 Fixed bug in parsing regex literals beginning with
^
character
- 🛠 Fixed regression in
-
v0.50.5 Changes
November 29, 2022- 🛠 Fixed incorrect macOS command line binary that accidentally shipped with 0.50.4
-
v0.50.4 Changes
November 23, 2022- ➕ Added Swift package command plugin
- ➕ Added
docComments
rule to convert between regular and documentation comments - 🛠 Fixed
redundantLet
rule incorrectly strippinglet
inside Result Builders - 🛠 Fixed
void
rule in cases whereVoid
has been locally shadowed - 🛠 Fixed
fileHeader
rule when file only contains header comment - 🛠 Fixed unexpected indent and spurious
wrap
warning for blank lines - 🛠 Fixed parsing bug in
redundantSelf
rule
-
v0.50.3 Changes
October 19, 2022- 🛠 Fixed bug where
redundantFileprivate
rule could break Array extensions using type sugar - 🛠 Fixed bug and crash in
wrapSingleLineComments
rule relating to long URLs - 👌 Improved
wrapSingleLineComments
handling of comments containing long URLs - The
opaqueGenericParameters
rule is now correctly applied to initializers and subscripts - ➕ Added some known issues for
opaqueGenericParameters
andgenericExtensions
to README
- 🛠 Fixed bug where
-
v0.50.2 Changes
October 12, 2022- Fixed
redundantImports
dropping@_implementationOnly
or@_exported
annotations - Fixed
blankLineAfterImports
bug affecting@_implementationOnly
or@_exported
imports - 🛠 Fixed case where regex literals were incorrectly interpreted as division operators
- 🛠 Fixed bug with
genericExtensions
and nested generics - 🛠 Fixed crash in
opaqueGenericParameters
rule
- Fixed
-
v0.50.1 Changes
October 05, 2022- 🛠 Fixed bug in
opaqueGenericParameters
where type constraint depended on another type parameter - 🛠 Fixed crash in
opaqueGenericParameters
rule where type constraint contained closure type - 🛠 Fixed bug where
opaqueGenericParameters
broke variadic parameter expressions - 🛠 Fixed several bugs in
wrapSingleLineComments
rule - 🛠 Fixed crash in
andOperator
rule
- 🛠 Fixed bug in
-
v0.50.0 Changes
September 28, 2022- ➕ Added
genericExtensions
rule for simplifying conditional type extensions in Swift 5.7 - ➕ Added
markTypes
support for type definitions in extensions - ➕ Added
opaqueGenericParameters
rule to use opaque generic parameter syntax where equivalent - ➕ Added
blankLineAfterImports
rule - ➕ Added
redundantOptionalBinding
rule for simplifyingif let
expressions in Swift 5.7 - ➕ Added
--enumnamespaces structs-only
option - ➕ Added
wrapSingleLineComments
rule - A
--swiftversion
in the.swiftformat
config now takes precedence over.swift-version
file - Multiline string interpolations can now wrap inside parenthesized expression
- 🔀 Comma-delimited options in descendent
.swiftformat
config files are no longer merged - 🏗 SwiftFormat now requires a minimum of Swift 5.1 to build
- ➕ Added
-
v0.49.18 Changes
August 30, 2022- 🛠 Fixed bug in
unusedArguments
when argument is shadowed in aswitch
case statement - 🛠 Fixed
enumNamespaces
rule breakingopen
class declarations - 🛠 Fixed
redundantLet
removinglet
incorrectly inasync let
statement - 🛠 Fixed indent regression when using
--xcodeindentation
option
- 🛠 Fixed bug in
-
v0.49.17 Changes
August 16, 2022- 🛠 Fixed unexpected token error occurring at end of scope after a
<<
operator - 🛠 Fixed bug where function arguments named
async:
would expectedly be indented - 🔊 SwiftFormat command-line tool now logs the location and version of .swift-version files it encounters
- ➕ Added Docker image (thanks to Arthur Semenyutin for the script, see README for details)
- 🛠 Fixed unexpected token error occurring at end of scope after a
-
v0.49.16 Changes
August 15, 2022- 🛠 Fixed
async let
indenting regression (broken in 0.49.15)
- 🛠 Fixed