All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
482 days ago
Changelog History
Page 14
Changelog History
Page 14
-
v0.35.7 Changes
October 11, 2018- ๐ Fixed error when tokenizing an
enum
declaration with awhere
clause - ๐ Fixed bug with spacing around an infix operator used before the
#file
keyword - ๐ Fixed bug where
self
was incorrectly removed inside property getters/setters
- ๐ Fixed error when tokenizing an
-
v0.35.6 Changes
September 29, 2018- ๐ Fixed bug where
self
could be incorrectly removed inside#if
blocks - ๐ Fixed some bugs when inserting or removing
self
insidedidSet
handlers - The
strongOutlets
rule now ignores properties nameddelegate
ordataSource
- The
wrapCollections
rule now behaves more consistently with nested collection literals - โ Added "Open Recent" menu item to the SwiftFormat for Xcode app
- ๐ Fixed bug where
-
v0.35.5 Changes
September 08, 2018- ๐ Fixed a bug in
redundantParens
rule that affected closure types that take a single tuple argument
- ๐ Fixed a bug in
-
v0.35.4 Changes
September 05, 2018- โ Added glob support (unix-style wildcard file pattern matching) for
--exclude
paths - โ Added
--quiet
option to disable noncritical output messages when using the swiftformat CLI - ๐ Fixed a bug where an
import func ...
statement caused theredundantSelf
rule to loop indefinitely - Disabled ANSI formatting for stderr if stdout is pointing to a terminal interface but stderr isn't
- ๐ง SwiftFormat is now more tolerant of white space around paths in a .swiftformat configuration file
- A .swiftformat file generated by SwiftFormat will now always end with a linebreak
- โ Added glob support (unix-style wildcard file pattern matching) for
-
v0.35.3 Changes
August 21, 2018- โ Added
--closingparen
option for finer control over function argument wrapping - ๐ Fixed bug in wraparguments/collections options inference
- Skipped files are now logged when running with the
--verbose
option - โ SwiftFormat no longer mangles XCUITest tokens in comments by introducing spaces
- Dictionary values wrapped onto a different line from the key are now indented correctly
- ๐ Fixed a bug where automatic removal of spaces around range operators could introduce ambiguity
- Disabled ANSI formatting for non-terminal output
- ๐ Fixed typo in command-line help
- โ Added
-
v0.35.2 Changes
August 10, 2018- ๐ Fixed a bug where
--rules
command incorrectly showed all rules as disabled - โ Added close button to SwiftFormat for Xcode application window
- ๐ Fixed a bug where
-
v0.35.1 Changes
August 08, 2018- โ Added support for hierarchical config files with a standard naming convention (see README for details)
- ๐ง You can now specify excluded file paths and file options such as
--symlinks
in configuration files - ๐ง Standard .swiftformat configuration files are now visible in the SwiftFormat for Xcode open/save dialogs
- ๐ง The .swiftformat configuration file can now contain comments, which are marked using a hash (#) character
- ๐ Improved cache invalidation. It should no longer be necessary to disable the cache in some cases
- โ Removed Indent from the SwiftFormat for Xcode options, as this is configured using Xcode project settings
- ๐ Fixed indent inference (really this time!)
-
v0.35.0 Changes
August 04, 2018- โ Added
--config
argument for loading an external config file using the command-line tool - The
--inferoptions
command can now write the result to a config file using the--output
option - โ Added
emptyBraces
rule for removing blank lines inside empty{}
pairs - ๐ Fixed handling of spaces and other special characters inside the
--header
option when using config files - ๐ Fixed parsing and serialization of
--header
option in Xcode Source Editor Extension - ๐ Fixed a bug in the
specifiers
rule affecting enum cases whose name matches a specifier - ๐ Fixed bug where
redundantSelf
could incorrectly removeself
from a closure instead a case with awhere
clause - ๐ Fixed indent inference, which would previously calculate the wrong indent value
- โ Added
-
v0.34.1 Changes
August 01, 2018- โ Added
// swiftformat:disable:next
directive for temporarily disabling a rule on just the following line - ๐ Fixed bug where the
// swiftformat:disable all
directive could result in file contents being stripped - ๐ Fixed a bug where
--verbose
mode incorrectly reported which rules were applied to each file - 0๏ธโฃ Reset to Defaults menu item in SwiftFormat for Xcode now correctly resets the Infer Format Options setting
- โ Added
-
v0.34.0 Changes
July 30, 2018- ๐ง You can now configure format options for the Xcode Source Editor Extension (big thanks to @vinceburn for this feature)
- ๐ Restored ability to build the swiftformat command-line app using Xcode 9.2 on macOS Sierra
- Xcode Source Editor Extension no longer fails when using Playgrounds with multiple pages
- The
--wrapelementss
option has been renamed to--wrapcollections
- โ Added new
--wraparguments preserve
and--wrapcollections preserve
options - โ Added
--fractiongrouping
&--exponentgrouping
options - ๐ Improved formatting of Xcode Source Editor Extension error messages
- ๐ Fixed a bug where parens were incorrectly removed after an image literal