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

Changelog History
Page 17

  • v0.30.0 Changes

    October 27, 2017
    • Space is now inserted between the operator name and opening paren in an operator function declaration
    • ➕ Added --operatorfunc option to control whether operator should be followed by a space in a function declaration
    • ➕ Added --elseposition option to control whether else, catch & while should appear on same line as preceding }
    • ➕ Added --indentcase option to control whether case statements should be indented inside a switch
    • 0️⃣ Comments immediately before a default: clause are now indented level with the default keyword
    • 🛠 Fixed bug where backticks would be incorrectly removed when using Any as an identifier
    • Error messages are now displayed correctly in the Xcode editor extension
    • ➕ Added test coverage statistics using Slather and Coveralls
  • v0.29.9 Changes

    October 22, 2017
    • 🛠 Fixed critical bug where hoistPatternLet rule could corrupt tuples in a switch case clause
    • Comments immediately before a case statement are now indented level with the case
  • v0.29.8 Changes

    October 11, 2017
    • 🛠 Fixed bug where space was incorrectly removed around postfix/suffix range operators
  • v0.29.7 Changes

    October 08, 2017
    • ➕ Added support for Swift 4 keyPath syntax
  • v0.29.6 Changes

    September 21, 2017
    • 🛠 Fixed bug in hoistPatternLet rule when formatting case let patterns with outer parens
    • 🚚 The redundantParens rule now correctly removes the outer parens in the aforementioned case
    • 🛠 Fixed performance regression introduced in 0.29.5
  • v0.29.5 Changes

    September 04, 2017
    • 🛠 Fixed bounds crash when parsing an empty string literal at the end of a file
    • SwiftFormat now compiles without modification in Xcode 9 using Swift 3.2 or 4.0
  • v0.29.4 Changes

    August 21, 2017
    • 🛠 Fixed a bug where self could be incorrectly inserted if local variable is declared inside an #if block
  • v0.29.3 Changes

    July 31, 2017
    • ➕ Added support for Swift 4's multi-line string literal syntax
    • 🛠 Fixed a bug with handling inline comments inside an array literal
  • v0.29.2 Changes

    July 03, 2017
    • 🛠 Fixed critical bug where space was incorrectly inserted around unary range operators
    • 🛠 Fixed bug where self could be incorrectly inserted before type(of:) if using --self insert option
    • 🛠 Fixed space being incorrectly inserted after postfix operator inside a subscript or collection literal
    • Wrapped case is Type statements are now indented correctly
  • v0.29.1 Changes

    June 29, 2017
    • 🛠 Fixed bug where redundantInit rule removed a required init in some cases