All Versions
239
Latest Version
Avg Release Cycle
30 days
Latest Release
646 days ago
Changelog History
Page 10
Changelog History
Page 10
-
v0.43.3 Changes
December 31, 2019- π Deprecated
ranges
rule and--ranges
option (use--nospaceoperators
withspaceAroundOperators
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
andwrap
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
- π Deprecated
-
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
- β Added
-
v0.43.1 Changes
December 22, 2019- π Fixed indent regression in wrapped
let
expressions - π Fixed failure to remove
return
inget
accessors
- π Fixed indent regression in wrapped
-
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
- β Added per-line warning when running in
-
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
- β Added
-
v0.41.2 Changes
November 27, 2019- π Fixed bug with
trailingCommas
rule incorrectly inserting a comma into wrapped collection type expressions
- π Fixed bug with
-
v0.41.1 Changes
November 25, 2019- π Fixed bug with
wrapArguments
rule incorrectly wrapping code inside interpolated String expressions
- π Fixed bug with
-
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 bywrapArguments
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 afor...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
- The
-
v0.40.14 Changes
October 28, 2019- π The
redundantReturn
rule no longer incorrectly removesreturn
insidecatch let
statements - π The
andOperator
rule no longer replaces&&
with,
inside function builder blocks - π Fixed a bug where
redundantFileprivate
rule incorrectly made overriddenfileprivate init
methods private - π¦ The
fileHeader
rule no longer strips tools version header fromPackage.swift
files - βοΈ The
todos
rule now recognizes and fixes a wider variety of typos
- π The
-
v0.40.13 Changes
October 10, 2019- π The
redundantReturn
rule now removesreturn
from functions and computed properties in Swift 5.1 - π Fixed a bug with
let
hoisting
- π The