All Versions
220
Latest Version
Avg Release Cycle
47 days
Latest Release
74 days ago

Changelog History
Page 9

  • v0.40.13 Changes

    October 10, 2019
    • 🚚 The redundantReturn rule now removes return from functions and computed properties in Swift 5.1
    • πŸ›  Fixed a bug with let hoisting
  • v0.40.12 Changes

    September 20, 2019
    • πŸ›  Fixed crash when compiling with Xcode 11
    • πŸ›  Fixed redundantFileprivate rule breaking inner types
    • πŸ›  Fixed --quiet option preventing formatting code to stdout
  • v0.40.11 Changes

    July 29, 2019
    • βž• Added --xcodeindentation option to use Xcode-style indentation for guards and enums
    • 🚚 The redundantNilInit rule no longer removes nil for properties using property wrappers
    • πŸ›  Fixed bug where redundantParens rule incorrectly stripped Void generic arguments
    • The void rule is now correctly applied to generic type parameters
  • v0.40.10 Changes

    June 23, 2019
    • 🚚 The emptyBraces rule no longer removes linebreaks in chained else/catch blocks
    • πŸ›  Fixed duplicate fileHeader insertion when comment isn't followed by blank line
    • SwiftFormat command-line tool no longer times out when encountering an empty file
    • πŸ›  Fixed bug in yodaConditions rule affecting parenthesized subexpressions
    • The consecutiveBlankLines rule no longer strips blank lines inside multiline string literals
    • The redundantObjc rule no longer strips @objc annotation from fileprivate members
    • The {file} placeholder in fileHeader templates now works correctly
  • v0.40.9 Changes

    May 27, 2019
    • πŸ›  Fixed another case of redundantSelf removing required self in closures
    • πŸ›  Fixed behavior of redundantSelf in cases where self is shadowed
    • The redundantObjc rule no longer strips @objc annotation from private members
    • πŸ›  Fixed bug where isEmpty rule mangled expressions containing an array count
    • The redundantSelf rule now correctly inserts self in code following a declaration
    • πŸ›  Fixed bug where β€”trailingclosures option was being ignored
    • βœ‚ Removed extra newline when printing content to stdout
    • πŸ›  Fixed some bugs in the fileHeader rule
  • v0.40.8 Changes

    April 16, 2019
    • πŸ›  Fixed several bugs when using the --self insert option
  • v0.40.7 Changes

    April 12, 2019
    • πŸ›  Fixed postfix operator followed by . being incorrectly interpreted as infix
    • πŸ›  Fixed bug with andOperator in repeat/while loops
    • πŸ›  Fixed bug with redundantFileprivate affecting local subclasses
    • πŸ›  Fixed regression with --self insert adding self to function parameter labels
    • Case-differing imports are now preserved
  • v0.40.6 Changes

    April 10, 2019
    • πŸ›  Fixed a regression when parsing a generic type followed by & SomeProtocol
    • πŸ›  Fixed bug where --self insert option failed to insert self in the line after a let or var statement
    • βž• Added --unexclude file paths option
    • βž• Added regression test project suite
  • v0.40.5 Changes

    April 08, 2019
    • πŸ›  Fixed indenting of comments before an #if/#else clause inside a switch statement
    • πŸ›  Fixed indenting of #if statement followed by comment inside a switch statement
    • πŸ›  Fixed bug in self removal when followed by a switch containing an #ifdef
    • πŸ›  Fixed bug when tokenizing chevron operators
    • πŸ›  Fixed bug when tokenizing generic declarations
    • βž• Added init-only support to explicitSelf inference
    • βž• Added inference for inline semicolons
  • v0.40.4 Changes

    March 23, 2019
    • πŸ”€ Multiple instances of --disable or other comma-delimited config options are now merged instead of replacing previous
    • 🚚 The redundantParens rule no longer removes explicit double-parens used to suppress warnings inside Selector(...)
    • ⚑️ The trailingCommas rule no longer breaks calls to UICollectionView.performBatchUpdates()
    • πŸ›  Fixed bug in yodaConditions rule that broke KeyPaths