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

Changelog History
Page 9

  • v0.44.7 Changes

    April 04, 2020
    • ๐Ÿ›  Fixed indenting of wrapped closures after a switch statement
    • ๐Ÿ›  Fixed bug with redundantNilInit removing nil 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 inside if 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 removed return 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 for init
    • โช 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 affecting wrap or wrapArguments rules
    • ๐Ÿ›  Fixed bug where yodaConditions rule caused formatting to never terminate
    • ๐Ÿ›  Fixed crash in fileHeader rule
  • 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 remove self as expected
  • 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