All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
1346 days ago
Changelog History
Page 6
Changelog History
Page 6
-
v0.47.8 Changes
December 10, 2020- ๐ Fixed additional cases where
fileprivatewas incorrectly converted toprivatein extensions - โ Added preliminary support for upcoming async/await syntax
- ๐ Fixed additional cases where
-
v0.47.7 Changes
December 09, 2020- ๐ Fixed critical bug where
fileprivatewas incorrectly converted toprivatein some cases
- ๐ Fixed critical bug where
-
v0.47.6 Changes
December 08, 2020- ๐ Fixed bug in
redundantReturnwhen thereturnstatement is not the last line in a block - ๐ Fixed sorting of tuple cases when using
sortedSwitchCasesrule - โ Added
--nevertrailingoption for excluding functions from thetrailingClosuresrule - โ Added
trailingClosuresexception for Nimbleexpect()function - The
redundantFileprivaterule is now applied correctly to extension members - ๐ Fixed some bugs with static members when using the
--redundanttype explicitoption - ๐ SwiftFormat command line tool is now signed for better compliance with Big Sur
- โก๏ธ Updated icon for Big Sur (thanks to Jim Puls for the icon design)
- ๐ Fixed bug in
-
v0.47.5 Changes
November 27, 2020- โ Added
--redundanttypeoption for controlling how redundant types are resolved - Numeric case values are now sorted naturally instead of alphabetically
- ๐ Fixed bug where
redundantFileprivaterule broke trailing-closure inits - ๐ Fixed various
enumNamespacesrule edge-cases - Broken symlinks no longer raise an error if they are ignored in config
- ๐ง File creation date can now be used in header formats on Linux
- ๐ง The
--symlinksoption now works correctly on Linux
- โ Added
-
v0.47.4 Changes
November 15, 2020- Command-line tool now includes an arm64 slice for Apple Silicon
- Increased strictness of grouped extensions logic
- ๐ Fixed issue where
markTypesrule would mistake an import declaration as a type - ๐ Fixed some additional bugs with unhoisting pattern let
- ๐ Fixed bug with trailing comma being inserted in capture lists
- โ Added warning when setting options for disabled rules
- ๐ Fixed bug with
sortedImportsmangling file header comment - ๐ Fixed bug with indenting of multiline comments
-
v0.47.3 Changes
November 09, 2020- ๐ Fixed bug with
extensionAccessControlincreasing extension access level beyond extended type - ๐ Fixed regression with non-standard
.swift-versioncontents being flagged as an error - ๐ Fixed bug in
hoistPatternLetrule when using--patternlet inline - ๐ Fixed case where
enumNamespaceswas incorrectly applied - ๐ Fixed indenting of wrapped line starting with a closing paren or brace
- ๐ Fixed indenting of blocks starting on same line as a switch case
- ๐ Fixed indenting of wrapped closure parameter
- ๐ Fixed bug in
--allmaninference
- ๐ Fixed bug with
-
v0.47.2 Changes
October 30, 2020- The
markTypes,organizeDeclarationsandextensionAccessControlrules now respect comment directives - Errors in
.swiftformatconfig files no longer fail silently - ๐ Fixed bug in
--modifierorderconfig and added support for SwiftLint modifierorder syntax - ๐ Fixed issue where
hoistPatternLetbreaks compilation due to a quirk in Swift parser - ๐ Fixed bug in
hoistPatternLetwhen expression is wrapped or contains spaces - The
typeSugarrule is now applied in more cases - ๐ Fixed bug in cache logic resulting in slower formatting when using certain config options
- ๐ Fixed crash in
indentrule - ๐ Fixed bug in wrapped
elseindent
- The
-
v0.47.1 Changes
October 26, 2020- ๐ Fixed a crash when using the
fileHeaderrule - ๐ Fixed occasional out-of-bounds crash in
markTypesrule - ๐ Fixed bug where
wrapArgumentsrule unexpectedly indented blank lines inside braces or brackets - โ Added
--wrapconditionsoption for controlling how multiline conditional statements are wrapped - Unicode whitespace characters other than space and tab are no longer treated as an error
- Indenting of
elseclauses now matches Xcode 12
- ๐ Fixed a crash when using the
-
v0.47.0 Changes
October 14, 2020- Indenting of wrapped
if,guard,while, etc. now matches Xcode 12 behavior - โ Added
--assetliteralsoption for managing how image/color literal length is handled - โ Added
enumNamespacesrule to replace classes/structs that only have static members with an enum - โ Added
extensionAccessControlrule to hoist/unhoist access control modifiers inside extensions - โ Added
markTypesrule for automatically insertingMARK:comments between type declarations - โ Added
sortedSwitchCasesrule to automatically sort grouped switch cases alphabetically - โ Added
--wrapreturntypeoption to control how return type is wrapped in function declarations - The
organizeDeclarationsrule is now also applied to extensions - โก๏ธ Updated
--xcodeindentationbehavior for Xcode 12
- Indenting of wrapped
-
v0.46.3 Changes
September 20, 2020- ๐ Fixed bug where
redundantTyperule corrupted assignments involving ternary expressions - SwiftFormat for Xcode Extension now works in Xcode 12 out of the box
- ๐ Fixed bug where