All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
928 days ago
Changelog History
Page 16
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
andsortedImports
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
- ๐ Fixed a bug in the
-
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
- The
-
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
- โ Added
-
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 causedself
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
- โ Added
-
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 sortingimport
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 insideswitch
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
- ๐ Fixed incorrect indenting of case statements for cases with
-
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
- ๐ Fixed error when parsing a subscript with default value inside a