All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
1346 days ago

Changelog History
Page 6

  • v0.47.8 Changes

    December 10, 2020
    • ๐Ÿ›  Fixed additional cases where fileprivate was incorrectly converted to private in extensions
    • โž• Added preliminary support for upcoming async/await syntax
  • v0.47.7 Changes

    December 09, 2020
    • ๐Ÿ›  Fixed critical bug where fileprivate was incorrectly converted to private in some cases
  • v0.47.6 Changes

    December 08, 2020
    • ๐Ÿ›  Fixed bug in redundantReturn when the return statement is not the last line in a block
    • ๐Ÿ›  Fixed sorting of tuple cases when using sortedSwitchCases rule
    • โž• Added --nevertrailing option for excluding functions from the trailingClosures rule
    • โž• Added trailingClosures exception for Nimble expect() function
    • The redundantFileprivate rule is now applied correctly to extension members
    • ๐Ÿ›  Fixed some bugs with static members when using the --redundanttype explicit option
    • ๐Ÿ‘ 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)
  • v0.47.5 Changes

    November 27, 2020
    • โž• Added --redundanttype option for controlling how redundant types are resolved
    • Numeric case values are now sorted naturally instead of alphabetically
    • ๐Ÿ›  Fixed bug where redundantFileprivate rule broke trailing-closure inits
    • ๐Ÿ›  Fixed various enumNamespaces rule 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 --symlinks option now works correctly on Linux
  • 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 markTypes rule 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 sortedImports mangling file header comment
    • ๐Ÿ›  Fixed bug with indenting of multiline comments
  • v0.47.3 Changes

    November 09, 2020
    • ๐Ÿ›  Fixed bug with extensionAccessControl increasing extension access level beyond extended type
    • ๐Ÿ›  Fixed regression with non-standard .swift-version contents being flagged as an error
    • ๐Ÿ›  Fixed bug in hoistPatternLet rule when using --patternlet inline
    • ๐Ÿ›  Fixed case where enumNamespaces was 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 --allman inference
  • v0.47.2 Changes

    October 30, 2020
    • The markTypes, organizeDeclarations andextensionAccessControl rules now respect comment directives
    • Errors in .swiftformat config files no longer fail silently
    • ๐Ÿ›  Fixed bug in --modifierorder config and added support for SwiftLint modifierorder syntax
    • ๐Ÿ›  Fixed issue where hoistPatternLet breaks compilation due to a quirk in Swift parser
    • ๐Ÿ›  Fixed bug in hoistPatternLet when expression is wrapped or contains spaces
    • The typeSugar rule is now applied in more cases
    • ๐Ÿ›  Fixed bug in cache logic resulting in slower formatting when using certain config options
    • ๐Ÿ›  Fixed crash in indent rule
    • ๐Ÿ›  Fixed bug in wrapped else indent
  • v0.47.1 Changes

    October 26, 2020
    • ๐Ÿ›  Fixed a crash when using the fileHeader rule
    • ๐Ÿ›  Fixed occasional out-of-bounds crash in markTypes rule
    • ๐Ÿ›  Fixed bug where wrapArguments rule unexpectedly indented blank lines inside braces or brackets
    • โž• Added --wrapconditions option 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 else clauses now matches Xcode 12
  • v0.47.0 Changes

    October 14, 2020
    • Indenting of wrapped if, guard, while, etc. now matches Xcode 12 behavior
    • โž• Added --assetliterals option for managing how image/color literal length is handled
    • โž• Added enumNamespaces rule to replace classes/structs that only have static members with an enum
    • โž• Added extensionAccessControl rule to hoist/unhoist access control modifiers inside extensions
    • โž• Added markTypes rule for automatically inserting MARK: comments between type declarations
    • โž• Added sortedSwitchCases rule to automatically sort grouped switch cases alphabetically
    • โž• Added --wrapreturntype option to control how return type is wrapped in function declarations
    • The organizeDeclarations rule is now also applied to extensions
    • โšก๏ธ Updated --xcodeindentation behavior for Xcode 12
  • v0.46.3 Changes

    September 20, 2020
    • ๐Ÿ›  Fixed bug where redundantType rule corrupted assignments involving ternary expressions
    • SwiftFormat for Xcode Extension now works in Xcode 12 out of the box