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

Changelog History
Page 1

  • v0.50.6 Changes

    December 03, 2022
    • ๐Ÿ›  Fixed regression in fileHeader rule where blank lines were removed after header
    • ๐Ÿ›  Fixed globs matching when command-line tool is invoked from a directory such as /var/tmp
    • ๐Ÿ›  Fixed bug in parsing regex literals beginning with ^ character
  • v0.50.5 Changes

    November 29, 2022
    • ๐Ÿ›  Fixed incorrect macOS command line binary that accidentally shipped with 0.50.4
  • v0.50.4 Changes

    November 23, 2022
    • โž• Added Swift package command plugin
    • โž• Added docComments rule to convert between regular and documentation comments
    • ๐Ÿ›  Fixed redundantLet rule incorrectly stripping let inside Result Builders
    • ๐Ÿ›  Fixed void rule in cases where Void has been locally shadowed
    • ๐Ÿ›  Fixed fileHeader rule when file only contains header comment
    • ๐Ÿ›  Fixed unexpected indent and spurious wrap warning for blank lines
    • ๐Ÿ›  Fixed parsing bug in redundantSelf rule
  • v0.50.3 Changes

    October 19, 2022
    • ๐Ÿ›  Fixed bug where redundantFileprivate rule could break Array extensions using type sugar
    • ๐Ÿ›  Fixed bug and crash in wrapSingleLineComments rule relating to long URLs
    • ๐Ÿ‘Œ Improved wrapSingleLineComments handling of comments containing long URLs
    • The opaqueGenericParameters rule is now correctly applied to initializers and subscripts
    • โž• Added some known issues for opaqueGenericParameters and genericExtensions to README
  • v0.50.2 Changes

    October 12, 2022
    • Fixed redundantImports dropping @_implementationOnly or @_exported annotations
    • Fixed blankLineAfterImports bug affecting @_implementationOnly or @_exported imports
    • ๐Ÿ›  Fixed case where regex literals were incorrectly interpreted as division operators
    • ๐Ÿ›  Fixed bug with genericExtensions and nested generics
    • ๐Ÿ›  Fixed crash in opaqueGenericParameters rule
  • v0.50.1 Changes

    October 05, 2022
    • ๐Ÿ›  Fixed bug in opaqueGenericParameters where type constraint depended on another type parameter
    • ๐Ÿ›  Fixed crash in opaqueGenericParameters rule where type constraint contained closure type
    • ๐Ÿ›  Fixed bug where opaqueGenericParameters broke variadic parameter expressions
    • ๐Ÿ›  Fixed several bugs in wrapSingleLineComments rule
    • ๐Ÿ›  Fixed crash in andOperator rule
  • v0.50.0 Changes

    September 28, 2022
    • โž• Added genericExtensions rule for simplifying conditional type extensions in Swift 5.7
    • โž• Added markTypes support for type definitions in extensions
    • โž• Added opaqueGenericParameters rule to use opaque generic parameter syntax where equivalent
    • โž• Added blankLineAfterImports rule
    • โž• Added redundantOptionalBinding rule for simplifying if let expressions in Swift 5.7
    • โž• Added --enumnamespaces structs-only option
    • โž• Added wrapSingleLineComments rule
    • A --swiftversion in the .swiftformat config now takes precedence over .swift-version file
    • Multiline string interpolations can now wrap inside parenthesized expression
    • ๐Ÿ”€ Comma-delimited options in descendent .swiftformat config files are no longer merged
    • ๐Ÿ— SwiftFormat now requires a minimum of Swift 5.1 to build
  • v0.49.18 Changes

    August 30, 2022
    • ๐Ÿ›  Fixed bug in unusedArguments when argument is shadowed in a switch case statement
    • ๐Ÿ›  Fixed enumNamespaces rule breaking open class declarations
    • ๐Ÿ›  Fixed redundantLet removing let incorrectly in async let statement
    • ๐Ÿ›  Fixed indent regression when using --xcodeindentation option
  • v0.49.17 Changes

    August 16, 2022
    • ๐Ÿ›  Fixed unexpected token error occurring at end of scope after a << operator
    • ๐Ÿ›  Fixed bug where function arguments named async: would expectedly be indented
    • ๐Ÿ”Š SwiftFormat command-line tool now logs the location and version of .swift-version files it encounters
    • โž• Added Docker image (thanks to Arthur Semenyutin for the script, see README for details)
  • v0.49.16 Changes

    August 15, 2022
    • ๐Ÿ›  Fixed async let indenting regression (broken in 0.49.15)