All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
926 days ago
Changelog History
Page 21
Changelog History
Page 21
-
v0.18 Changes
November 17, 2016- โ Added
--inferoptions
command line argument for auto-configuring format options from existing source - โ Added
--ifdef
command line argument for controlling how#if
...#endif
clauses are indented - โ Added
--hexliterals
command line argument for specifying the case to use for hex literals - โ Added
redundantGet
rule to remove unneededget {}
clause in read-only computed properties - ๐ Fixed bug where
redundantParens
rule merged identifiers on either side of a removed paren - ๐
redundantParens
now removes unneeded parens from expressions and closure arguments
- โ Added
-
v0.17.2 Changes
November 11, 2016- ๐ Fixed critical bug with
redundantParens
rule removing required parens around a closure - ๐ Fixed bug with indenting of wrapped closures after a var declaration
- ๐ Fixed critical bug with
-
v0.17.1 Changes
November 09, 2016- Xcode Source Editor Extension now works with Playground files
- ๐ Fixed operator being incorrectly formatted when file ends with a single-line comment
- ๐ Fixed bug where the space at the start of a single line comment could increase after each format
- ๐ Fixed bug where
--cache clear
just ignored cache without actually clearing it - โ Added
--cache ignore
option, which replicates previous--cache clear
behavior
-
v0.17 Changes
November 08, 2016- โ Added cache, allowing SwiftFormat to skip formatting for files that haven't changed
- โ Added
stripHeaders
rule to remove Xcode's copyright header comments (off by default) - Disabled
linebreakAtEndOfFile
rule when formatted text is a fragment - ๐ Fixed bug where generics were wrongly formatted if followed by a greater-than sign in the same file
- ๐ Fixed space incorrectly added after
#available
,#colorLiteral
, etc - ๐ Fixed several bugs with indenting of blocks containing wrapped lines
-
v0.16.4 Changes
November 07, 2016- SwiftFormat is now ~3X faster!
- ๐ Fixed bug with spacing after an
@convention()
attribute - ๐ Fixed bug where the space at the start of a multi-line comment could increase after each format
- ๐ Fixed bug where wrong indent was applied to wrapped array literal values
- ๐ Fixed bug where K&R indenting would remove the linebreak before an inline block
-
v0.16.3 Changes
November 03, 2016- ๐ Fixed bug with operators containing chevrons
- ๐ Fixed wrong indent after where statement in switch case
-
v0.16.2 Changes
November 03, 2016- ๐ Fixed bug with spacing of deeply nested generic arguments, or generic operator functions
- ๐ Fixed spacing of
@autoclosure(escaping)
syntax (only used in Swift 2.2) - ๐ Fixed bug where
(Void) throws -> Void
was handled incorrectly
-
v0.16.1 Changes
November 03, 2016- ๐ Fixed critical bug where
redundantParens
would remove parens from tuple inswitch
condition - ๐ Fixed incorrect spacing around attributes that have arguments, e.g.
@convention(block)
- ๐ป
--comments ignore
command line option now disables leading space insertion in single-line comments
- ๐ Fixed critical bug where
-
v0.16 Changes
November 02, 2016- โ Added
redundantParens
rule to remove parens aroundif
,while
andswitch
conditions - โ Added ability to specify multiple file paths for processing in a single command
- ๐ Fixed a bug with the formatting of
repeat ... while
loops - โ Added performance tests
- ๐จ API refactoring
- โ Added
-
v0.15 Changes
October 27, 2016- โ Added
allman
command line option to enable Allman-style indenting instead of default K&R style - โ Added
removelines
command line option to disable automatic removal of blank lines - โ Added
insertlines
command line option to disable automatic blank line insertion - โ Added
trimwhitespace
command line option for disabling truncation of blank lines - โ Added
comments
command line option for disabling indenting of comments - โ Added
experimental
command line option for opting-in to bleeding-edge features - ๐ Fixed broken
commas
command line option from version 0.14 - Made
blankLinesBetweenScopes
rule less aggressive
- โ Added