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

Changelog History
Page 10

  • v0.43.3 Changes

    December 31, 2019
    • πŸ—„ Deprecated ranges rule and --ranges option (use --nospaceoperators with spaceAroundOperators rule instead)
    • 🚚 The redundantSelf rule no longer removes self in cases where property requirea backtick escaping
    • πŸ›  Fixed bug with --nospaceoperators potentially removing required spaced near linebreaks
    • πŸ›  Fixed spurious lint warnings in spaceAroundOperators, indent and wrap rules
    • πŸ‘Œ Improved wrapping heuristic for closures to avoid splitting expressions if avoidable
    • πŸ›  Fixed indenting of closing brace for line-wrapped closures
    • πŸ›  Fixed indent rule performance regression introduced in 0.43.2
    • βž• Added warnings for deprecated options in config file
  • v0.43.2 Changes

    December 28, 2019
    • βž• Added --nospaceoperators option for selectively removing space around specific operators
    • πŸ‘ Allow self in lazy vars when Swift 4 and above
    • πŸ›  Fixed spurious lint warning when using a custom header with fileHeader rule
    • πŸ›  Fixed bugs with indenting of consecutive comments
    • πŸ›  Fixed resolving of macOS aliases when using --symlinks follow
    • βž• Added explicit stdin parameter option
    • πŸ›  Fixed stdin timeout flakiness
    • πŸ›  Fixed bug with andOperator replacing && with , inside ViewBuilders
  • v0.43.1 Changes

    December 22, 2019
    • πŸ›  Fixed indent regression in wrapped let expressions
    • πŸ›  Fixed failure to remove return in get accessors
  • v0.43.0 Changes

    December 18, 2019
    • βž• Added per-line warning when running in --lint mode
    • πŸ‘• Significantly improved Xcode integration when running as a build step in --lint mode
    • βž• Added --lenient option to suppress errors when running in --lint mode
    • πŸ›  Fixed bug where required self was sometimes incorrectly removed inside a trailing closure
    • πŸ‘Œ Improved wrap rule heuristic for prioritizing where a line should be broken
    • πŸ›  Fixed bug in typeSugar rule affecting namespaced types
  • v0.42.0 Changes

    November 30, 2019
    • βž• Added wrap rule for automatic wrapping of long statements or expressions based on --maxwidth option
    • πŸ›  Fixed bug with braces rule inserting a redundant blank line at the start of nested scopes
  • v0.41.2 Changes

    November 27, 2019
    • πŸ›  Fixed bug with trailingCommas rule incorrectly inserting a comma into wrapped collection type expressions
  • v0.41.1 Changes

    November 25, 2019
    • πŸ›  Fixed bug with wrapArguments rule incorrectly wrapping code inside interpolated String expressions
  • v0.41.0 Changes

    November 23, 2019
    • The wrapArguments rule can now automatically wrap functions and collections to --maxwidth
    • βž• Added β€”maxwidth option to specify the width at which code should wrap (currently only used by wrapArguments rule)
    • βž• Added β€”tabwidth option to help with code indenting and wrapping when using tabs for indent
    • πŸ›  Fixed indenting of code wrapped after the in in a for...in loop
    • πŸ›  Fixed indenting of code wrapped before the is in an expression
    • βž• Added version check for redundantBackticks rule to support fixes in Swift 5
    • πŸ›  Fixed error when parsing escaped triple-quote in a multiline string
    • πŸ›  Fixed bug where a multiline comments before an opening brace could result in corrupted output
    • CLI will now fail if .swiftformat file contains an invalid option, instead of ignoring it
    • βž• Added support for formatting Swift package manifest files using Xcode Extension
  • v0.40.14 Changes

    October 28, 2019
    • 🚚 The redundantReturn rule no longer incorrectly removes return inside catch let statements
    • πŸ— The andOperator rule no longer replaces && with , inside function builder blocks
    • πŸ›  Fixed a bug where redundantFileprivate rule incorrectly made overridden fileprivate init methods private
    • πŸ“¦ The fileHeader rule no longer strips tools version header from Package.swift files
    • ✏️ The todos rule now recognizes and fixes a wider variety of typos
  • 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