All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
981 days ago
Changelog History
Page 8
Changelog History
Page 8
-
v0.44.17 Changes
July 12, 2020- The
wrapArgumentsrule now keeps internal and external parameter labels on the same line - Multiline string literals are now indented more consistently
- ๐ Fixed infinite recursion bug in the
redundantSelfrule - ๐ Fixed duplicate file path logging in
--verbosemode - Indented braces are now always balanced
- โ Add
--stdinpathoption, allowing git pre-commit hook to support file header info - โก๏ธ Updated instructions for git pre-commit hook (again)
- โ Added inference for
--noSpaceOperatorsoption
- The
-
v0.44.16 Changes
July 02, 2020- ๐ Fixed bug in
--output stdoutprocessing - โช Reverted git pre-commit hook instructions
- ๐ Fixed bug in
-
v0.44.15 Changes
July 01, 2020- ๐ Fixed incorrect indenting for double-nested closures
- โ Added inference for
--wrapparametersoption - ๐ Fixed incorrect
--wrapargumentsinference - The
spaceInsideBracesrule will no longer add space between nested braces - ๐ Fixed bug in
isStartOfClosure()helper - ๐ Fixed indent logic for closing braces
- You can now use
--output stdouteven when using a file path for input - SwiftFormat will now raise an error if missing info needed for
fileHeaderrule - ๐ Improved SwiftFormat for Xcode app icon
- โก๏ธ Updated instructions for git pre-commit hook
-
v0.44.14 Changes
June 23, 2020- โ Added new icon for SwiftFormat for Xcode app (thanks to Vikram Kriplaney for the icon design)
- ๐ Fixed
redundantParensrule stripping parens around#file(used to silence warning in Swift 5.3) - ๐ Avoid raising "Malformed .swift-version file" error when using unusual formats (e.g. for beta releases)
- ๐ Fixed
redundantBackticksrule unescapinggetinside subscript withwhereclause - ๐ Fixed
redundantReturnfailing to removereturnin function or subscript withwhereclause - ๐ Fixed SwiftFormat for Xcode version number
-
v0.44.13 Changes
May 28, 2020- ๐ Fixed indenting of closing bracket when using
wrapArgumentsrule - โ Added
--shortoptionalsargument to selectively disable shortening ofOptional<T>toT?for properties - โ Added
--minversionargument to specify minimum SwiftFormat version to use for a given codebase
- ๐ Fixed indenting of closing bracket when using
-
v0.44.12 Changes
May 27, 2020- ๐ Fixed indenting of chained methods with trailing closures
- ๐ง SwiftFormat command-line tool now logs the location of .swiftformat configuration files that it encounters
-
v0.44.11 Changes
May 23, 2020- ๐ Fixed failure to terminate when wrapping functions after first parameter
- First element in a wrapped collection or function is now correctly indented
- โ Added workaround for Swift type sugar parsing bug
- The
blankLinesBetweenScopesrule no longer inserts a blank line before an#elseblock - โฌ๏ธ Downgraded "No eligible files found" error to a warning
- โ Removed "Failed to format any files" error, which was sometimes triggered erroneously
- ๐ Fixed deprecation warning when building on Linux
-
v0.44.10 Changes
May 14, 2020- ๐ Fixed bug where
--specifierorderoption values were sorted alphabetically - ๐ Fixed a couple of bugs in
hoistPatternLetwhen--patternletis set toinline - โ Added support for hoisting/unhoisting
varandletindo ... catchpatterns - โ Added error if
--specifierordercontains duplicate values
- ๐ Fixed bug where
-
v0.44.9 Changes
May 05, 2020- โ Added
--specifierorderargument for overriding default order used byspecifiersrule - โ Added
--nowrapoperatorsargument for preventingwraprule breaking at specific operators - ๐ The
redundantNilInitrule no longer removesnildefaults from vars in structs using synthesized init - ๐ Fixed indenting of trailing comment delimiter in multiline comments
- โ Added
-
v0.44.8 Changes
May 01, 2020- ๐ Fixed a significant performance regression introduced in 0.44.6
- ๐ Changed ordering of
overridekeyword in specifier lists to match SwiftLint - ๐ Fixed timeout due to infinite recursion when formatting nested comments
- ๐ The
trailingSpacerule is now called beforeindentto avoid noise when linting - ๐ Fixed bug where
unusedArgumentsrule ignored all arguments if any was already ignored - ๐ Fixed
redundantParensrule breaking closure argument lists where argument is namedself - ๐ Fixed indenting of multiline string interpolations
- ๐ Fixed broken formatting of multiline string interpolations
- ๐ Fixed crash in
wraprule - The
wraprule now favors wrapping function args over wrapping at.operator - ๐ Fixed a bug with indenting of pre-formatted multiline comments
- ๐ Fixed a misleading error message relating to
--tabwidthoption