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

Changelog History
Page 16

  • v0.33.3 Changes

    February 21, 2018
    • ๐Ÿ›  Fixed a bug in the duplicateImports rule that caused imports of specific types from the same module to be incorrectly stripped
    • ๐Ÿ›  Fixed bugs with how the duplicateImports and sortedImports rules handle imports separated by semicolons or spanning multiple lines
    • ๐Ÿ›  Fixed a bug with redundantParens rule incorrectly removing parens around tuples whose first and last elements were closures
    • ๐Ÿ›  Fixed a bug where the redundantParens rule incorrectly removed parens inside compound expressions
  • v0.33.2 Changes

    February 20, 2018
    • The fileHeader rule can now be disabled in an individual file by prefixing header with // swiftformat:disable fileHeader
    • ๐Ÿ›  Fixed a bug in the specifiers rule that could mangle code if the previous line ended with certain identifiers
    • ๐Ÿ›  Fixed typo in --insertlines deprecation warning message
  • v0.33.1 Changes

    February 10, 2018
    • ๐Ÿ›  Fixed bug preventing host app rule configuration from being read by the Xcode extension
    • โž• Added duplicateImports rule for removing duplicate import statements automatically
    • ๐Ÿšš Deprecated --insertlines/--removelines options - enable or disable the specific rules instead
    • ๐Ÿ›  Fixed deprecation warnings in Swift 4.1 / Xcode 9.3
  • v0.33.0 Changes

    February 01, 2018
    • โž• Added rules configuration UI to the Xcode Source Editor Extension (thanks @vinceburn and @tonyarnold!)
    • โž• Added blankLinesAtStartOfScope rule for removing leading blank lines at the start of functions, classes, etc
    • ๐Ÿ›  Fixed indenting of blank lines within commented code blocks
    • โž• Added CONTRIBUTING.md
  • v0.32.2 Changes

    January 12, 2018
    • ๐Ÿ›  Fixed bug with parsing spaces inside interpolated values in multiline string literals
    • โž• Added instructions for using SwiftFormat on a CI server with Danger
  • v0.32.1 Changes

    December 07, 2017
    • โž• Added --dryrun option, for testing SwiftFormat without making any file changes
    • ๐Ÿ›  Fixed Xcode plugin, which was not deployed correctly in the previous release
    • ๐Ÿ›  Fixed spaceAroundOperators rule not inserting space after a switch case or default clause colon
  • v0.32.0 Changes

    November 29, 2017
    • โž• Added swiftformat: comment directives for enabling/disabling rules inside a source file (see README for details)
    • โž• Added blankLinesAroundMark rule, which inserts a blank line before and after a // MARK: comment
    • When using the --self insert option, self is now inserted automatically in more places than it could be before
    • ๐Ÿ›  Fixed some bugs in the redundantSelf rule that caused self not to be removed in some cases when it should
    • ๐Ÿ”ฆ Exposed the command-line formatting functions as part of the public API when using the SwiftFormat framework
  • v0.31.0 Changes

    November 24, 2017
    • Switched to a more conventional MIT license
    • โž• Added strongOutlets rule that removes weak from @IBOutlet properties in accordance with Apple guidelines
    • โž• Added sortedImports rule for sorting import statements alphabetically
    • ๐Ÿ›  Fixed warnings in Xcode 9.1 and dropped support for compiling framework with Swift 3.1
    • ๐Ÿ›  Fixed a bug where a double quote was incorrectly inserted into multiline strings
    • ๐Ÿ›  Fixed a bug where the --comments ignore option was ignored for comments inside switch statements
    • Code that has been temporarily commented out should no longer be re-indented
  • v0.30.2 Changes

    November 19, 2017
    • ๐Ÿ›  Fixed incorrect indenting of case statements for cases with where clauses containing < operator
    • ๐Ÿ›  Fixed bug where parens were incorrectly removed around closures in loop or branch conditions
    • โž• Added compatibility workaround for self being incorrectly removed in tests that use the Nimble framework
  • v0.30.1 Changes

    November 10, 2017
    • ๐Ÿ›  Fixed error when parsing a subscript with default value inside a switch statement
    • ๐Ÿšš Nil default values are no longer removed inside Codable structs/classes, as this can break the implementation