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

Changelog History
Page 14

  • v0.35.7 Changes

    October 11, 2018
    • ๐Ÿ›  Fixed error when tokenizing an enum declaration with a where clause
    • ๐Ÿ›  Fixed bug with spacing around an infix operator used before the #file keyword
    • ๐Ÿ›  Fixed bug where self was incorrectly removed inside property getters/setters
  • v0.35.6 Changes

    September 29, 2018
    • ๐Ÿ›  Fixed bug where self could be incorrectly removed inside #if blocks
    • ๐Ÿ›  Fixed some bugs when inserting or removing self inside didSet handlers
    • The strongOutlets rule now ignores properties named delegate or dataSource
    • The wrapCollections rule now behaves more consistently with nested collection literals
    • โž• Added "Open Recent" menu item to the SwiftFormat for Xcode app
  • v0.35.5 Changes

    September 08, 2018
    • ๐Ÿ›  Fixed a bug in redundantParens rule that affected closure types that take a single tuple argument
  • v0.35.4 Changes

    September 05, 2018
    • โž• Added glob support (unix-style wildcard file pattern matching) for --exclude paths
    • โž• Added --quiet option to disable noncritical output messages when using the swiftformat CLI
    • ๐Ÿ›  Fixed a bug where an import func ... statement caused the redundantSelf rule to loop indefinitely
    • Disabled ANSI formatting for stderr if stdout is pointing to a terminal interface but stderr isn't
    • ๐Ÿ”ง SwiftFormat is now more tolerant of white space around paths in a .swiftformat configuration file
    • A .swiftformat file generated by SwiftFormat will now always end with a linebreak
  • v0.35.3 Changes

    August 21, 2018
    • โž• Added --closingparen option for finer control over function argument wrapping
    • ๐Ÿ›  Fixed bug in wraparguments/collections options inference
    • Skipped files are now logged when running with the --verbose option
    • โœ… SwiftFormat no longer mangles XCUITest tokens in comments by introducing spaces
    • Dictionary values wrapped onto a different line from the key are now indented correctly
    • ๐Ÿ›  Fixed a bug where automatic removal of spaces around range operators could introduce ambiguity
    • Disabled ANSI formatting for non-terminal output
    • ๐Ÿ›  Fixed typo in command-line help
  • v0.35.2 Changes

    August 10, 2018
    • ๐Ÿ›  Fixed a bug where --rules command incorrectly showed all rules as disabled
    • โž• Added close button to SwiftFormat for Xcode application window
  • v0.35.1 Changes

    August 08, 2018
    • โž• Added support for hierarchical config files with a standard naming convention (see README for details)
    • ๐Ÿ”ง You can now specify excluded file paths and file options such as --symlinks in configuration files
    • ๐Ÿ”ง Standard .swiftformat configuration files are now visible in the SwiftFormat for Xcode open/save dialogs
    • ๐Ÿ”ง The .swiftformat configuration file can now contain comments, which are marked using a hash (#) character
    • ๐Ÿ‘Œ Improved cache invalidation. It should no longer be necessary to disable the cache in some cases
    • โœ‚ Removed Indent from the SwiftFormat for Xcode options, as this is configured using Xcode project settings
    • ๐Ÿ›  Fixed indent inference (really this time!)
  • v0.35.0 Changes

    August 04, 2018
    • โž• Added --config argument for loading an external config file using the command-line tool
    • The --inferoptions command can now write the result to a config file using the --output option
    • โž• Added emptyBraces rule for removing blank lines inside empty {} pairs
    • ๐Ÿ›  Fixed handling of spaces and other special characters inside the --header option when using config files
    • ๐Ÿ›  Fixed parsing and serialization of --header option in Xcode Source Editor Extension
    • ๐Ÿ›  Fixed a bug in the specifiers rule affecting enum cases whose name matches a specifier
    • ๐Ÿ›  Fixed bug where redundantSelf could incorrectly remove self from a closure instead a case with a where clause
    • ๐Ÿ›  Fixed indent inference, which would previously calculate the wrong indent value
  • v0.34.1 Changes

    August 01, 2018
    • โž• Added // swiftformat:disable:next directive for temporarily disabling a rule on just the following line
    • ๐Ÿ›  Fixed bug where the // swiftformat:disable all directive could result in file contents being stripped
    • ๐Ÿ›  Fixed a bug where --verbose mode incorrectly reported which rules were applied to each file
    • 0๏ธโƒฃ Reset to Defaults menu item in SwiftFormat for Xcode now correctly resets the Infer Format Options setting
  • v0.34.0 Changes

    July 30, 2018
    • ๐Ÿ”ง You can now configure format options for the Xcode Source Editor Extension (big thanks to @vinceburn for this feature)
    • ๐ŸŽ Restored ability to build the swiftformat command-line app using Xcode 9.2 on macOS Sierra
    • Xcode Source Editor Extension no longer fails when using Playgrounds with multiple pages
    • The --wrapelementss option has been renamed to --wrapcollections
    • โž• Added new --wraparguments preserve and --wrapcollections preserve options
    • โž• Added --fractiongrouping & --exponentgrouping options
    • ๐Ÿ‘Œ Improved formatting of Xcode Source Editor Extension error messages
    • ๐Ÿ›  Fixed a bug where parens were incorrectly removed after an image literal