All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
511 days ago
Changelog History
Page 9
Changelog History
Page 9
-
v0.44.7 Changes
April 04, 2020- ๐ Fixed indenting of wrapped closures after a switch statement
- ๐ Fixed bug with
redundantNilInit
removingnil
for properties using parameterized property wrappers - ๐ Fixed
redundantRawValues
rule not removing values for back-tick-escaped case names - ๐ Improved error messages for misnamed rules
- ๐ Documentation improvements
-
v0.44.6 Changes
March 21, 2020- ๐ Fixed timeout when formatting files containing multiple trailing closures
- โ Added
--filelist
argument for specifying input source files list in a standalone file - ๐ Fixed bug in the git pre-commit hook suggested in the README file
-
v0.44.5 Changes
March 11, 2020- ๐ Fixed bug with indenting of chained closures
- ๐ Fixed bug where wrapped braces were over-indented
- ๐ Fixed indenting of comments inside enum declarations
- ๐ Improved consistency of
--xcodeindentation
output with Xcode's built-in formatting - Extension braces are now correctly wrapped
- Switch statement braces are now correctly wrapped
- ๐ Fixed bug where
duplicateImports
rule could remove a required@testable
import
-
v0.44.4 Changes
February 27, 2020- Allman braces are now applied correctly for lines that end in a numeric literal
- ๐ Blank line is now removed when stripping a redundant
return
keyword on its own line - ๐ Fixed space being inserted before the
.
in a nested PropertyWrapper expression - ๐ Fixed
return
being incorrectly removed insideif
statements containing an un-parenthesized closure
-
v0.44.3 Changes
February 20, 2020- ๐ Fixed incorrect indenting of closing multiline string delimiter
- ๐ Fixed bug where
redundantReturn
rule incorrectly removedreturn
after a brace without leading space - ๐ Fixed edge case where closures without surrounding parentheses were misinterpreted in if statements
- ๐ Fixed failure to wrap braces after a struct or init declaration
-
v0.44.2 Changes
February 02, 2020- ๐ Fixed crash in line wrapping logic
- ๐ Fixed several cases where braces were not correctly moved according to
wrap
rule - Prevented wrapping of image and color literals
- ๐ Fixed bug with
trailingClosures
rule breaking unwrap operators
-
v0.44.1 Changes
January 26, 2020- ๐ Fixed
spaceInsideComments
rule mangling preformatted comments with multiple slashes - ๐ Fixed
redundantFileprivate
breaking code relying on type-inference forinit
- โช Reverted overly aggressive argument wrapping change in 0.44.0
- ๐ Fixed
redundantParens
rule breaking#if
statements without space before argument - ๐ Fixed
// swiftformat:disable
directives not affectingwrap
orwrapArguments
rules - ๐ Fixed bug where
yodaConditions
rule caused formatting to never terminate - ๐ Fixed crash in
fileHeader
rule
- ๐ Fixed
-
v0.44.0 Changes
January 15, 2020- ๐ Xcode Extension now includes Lint File option
- Xcode Extension now preserves selection after formatting
- ๐ Improved range-based formatting in Xcode Extension
- ๐ง Wrapping of function calls can now be configured separately from function declarations via the
--wrapparameters
option - ๐ Numerous improvements to wrapping and indenting logic (thanks to @AnthonyMDev for the fixes)
- ๐ Fixed indent logic for unbalanced closing parens
- ๐ Fixed
self
being removed incorrectly inside if statements - ๐ Fixed duplicate lint warnings
- ๐ Fixed failure to fix indent at start of file
- ๐ Fixed reported line index for
consecutiveBlankLines
rule
-
v0.43.5 Changes
January 04, 2020- ๐ Fixed bug where
redundantBreak
rule removed entire line if break appeared after a semicolon - ๐ Fixed a couple of cases where
redundantSelf
failed to removeself
as expected
- ๐ Fixed bug where
-
v0.43.4 Changes
January 02, 2020- ๐ Fixed regression in
indent
rule` that could cause multiline strings to become mis-formatted - ๐ Fixed bug in
--nospaceoperators
option where..<
operator was rejected - โ Added instructions for installing SwiftFormat for Xcode via Homebrew cask
- ๐ Fixed regression in