SwiftLint breaking changes
Updated December 4, 2026
On this page
Latest version 0.65.1, released August 21, 2026. Source repository
SwiftLint 0.64.0 breaking changes
- Renamed
optional_data_string_conversion.allow_implicit_init
Update configuration files to use include_implicit_init for the optional_data_string_conversion rule. github.com - Configuration changed
force_unwrapping.ignored_literal_argument_functions
Setting this option to any explicit list, including an empty one, fully replaces the five default functions. Configurations that add functions must now list the previously-default functions too. github.com
SwiftLint 0.63.0 breaking changes
- Renamed
redundant_self_in_closure
The old name remains as a deprecated alias. Update rule names in configurations to the new name. github.com
SwiftLint 0.63.0-rc.2 breaking changes
- Renamed
redundant_self_in_closure
The old name remains as a deprecated alias. Update rule names in configurations to the new name. github.com - Behavior changed
redundant_self_in_closure
The rule now reports all redundant self uses, not only in closures. Set keep_in_initializers to true to ignore initializers. github.com
SwiftLint 0.62.0 breaking changes
- Removed
Building SwiftLint needs a Swift 6 or higher compiler. The Swift Package Manager plugins still work down to Swift 5.9. github.com - Behavior changed
Paths inside SwiftLintBinary.artifactbundle.zip changed, so Run Script build phases that call the swiftlint binary directly must use the new path. Swift Package Manager resolves the paths automatically for other consumers. github.com - Behavior changed
sorted_imports
Directly adjacent imports are sorted together as one group. Imports separated by a non-import statement or empty lines form separate groups, so existing import ordering may now produce violations. github.com
SwiftLint 0.61.0 breaking changes
- Removed
operator_whitespace
The operator_whitespace rule is gone; its checks moved into function_name_whitespace, which now also checks func keyword spacing and generics. Update configs that reference operator_whitespace. github.com - Behavior changed
Bazel release
Bazel releases now expose only TestHelpers and ExtraRulesTests, so other targets used from Bazel may no longer be available. github.com - Behavior changed
function_name_whitespace
The rule now enforces spacing around func, the name and generics, so existing code may produce new violations. github.com - Behavior changed
line_length
Strings with opening and closing quotes on one line are now treated as single-line strings even inside triple quotes, which can change violation results. github.com - Behavior changed
swiftlint
Linux archives now include swiftlint-static, which disables SourceKit rules; the swiftlint binary is unchanged. github.com - Behavior changed
SWIFTLINT_DISABLE_SOURCEKIT
When SWIFTLINT_DISABLE_SOURCEKIT is set, SourceKit-dependent rules are disabled with a warning instead of running. github.com
SwiftLint 0.60.0 breaking changes
- Removed
SwiftLint no longer runs on older macOS versions. Users on earlier macOS must stay on an older release. github.com - Renamed
Scripts that download swiftlint_linux.zip must switch to swiftlint_linux_amd64.zip, or to the new arm64 archive on ARM64 hosts. github.com - Renamed
redundant_optional_initialization
The old rule name is now an alias for implicit_optional_initialization, whose default style always mimics the old behavior. github.com - Behavior changed
SwiftLintBuildToolPlugin
The BUILD_WORKSPACE_DIRECTORY value is now printed only in debug builds, so release build logs no longer show it. github.com - Default changed
type_body_length
The rule now checks only struct, class, actor and enum by default. Set excluded_types to an empty array to check extensions and protocols again. github.com - Configuration changed
validates_start_with_lowercase
Boolean values are no longer accepted. Use the severity levels off, warning or error instead. github.com
Older versions
17 older versions, each with its first changes. Sign up to see every change
Show 17 older versions
SwiftLint 0.59.0 breaking changes
- Behavior changed
The tool stops tracking where corrections were applied and prints the number of corrections applied instead. Scripts that parse the old correction output may need updating. github.com
SwiftLint 0.58.0 breaking changes
- Removed
inert_defer
The inert_defer rule was removed after being deprecated for 2 years. Remove it from your configuration. github.com - Removed
private_unit_test.regex
The deprecated regex configuration option of the private_unit_test rule was removed. Remove it from your configuration. github.com
And 4 more in this version.
SwiftLint 0.57.0 breaking changes
- Removed
anyobject_protocol
The previously deprecated anyobject_protocol rule has been removed, so configurations that enable or disable it will no longer find it. Stop referencing it and use the replacement guidance in your existing configuration. github.com - Renamed
allow_multiline_func
The opening_brace option allow_multiline_func is renamed to ignore_multiline_function_signatures. Update your configuration to use the new name. github.com
And 3 more in this version.
SwiftLint 0.56.0 breaking changes
- Removed
--in-process-sourcekit
The deprecated --in-process-sourcekit argument has been removed completely. Stop passing it to SwiftLint. github.com - Removed
--path
The deprecated --path argument has been removed completely. Stop passing it to SwiftLint. github.com
And 1 more in this version.
SwiftLint 0.55.0 breaking changes
- Renamed
SwiftLintBuildToolPlugin
The SwiftLintBuildToolPlugin plugin was renamed in this release. Update any Swift Package Manager references to the new plugin name. github.com - Behavior changed
The Code Climate reporter output now uses lower case severity values to follow the Code Climate specification. Tools parsing the old output may need updating. github.com
And 3 more in this version.
SwiftLint 0.54.0 breaking changes
- Behavior changed
Building SwiftLint now needs Swift 5.9 or newer. Users building it from source must update their Swift toolchain. github.com - Behavior changed
discouraged_optional_collection
The rule was rewritten on SwiftSyntax and now reports additional optional collections. Code that previously passed may now produce warnings. github.com
And 1 more in this version.
SwiftLint 0.53.0 breaking changes
- Removed
disable and enable commands in multiline comments
Disable and enable commands written in multiline comments no longer work; move them to single-line comments. github.com - Removed
Reporter
All Reporter types are no longer part of SwiftLint's public interface, so code that imports and uses them will break. github.com
And 6 more in this version.
SwiftLint 0.52.0 breaking changes
- Removed
SwiftLintFramework
The monolithic SwiftLintFramework module was split into SwiftLintCore, SwiftLintBuiltInRules and SwiftLintExtraRules; code importing the old framework must switch to the new modules. github.com - Behavior changed
attributes
Attributes with arguments must now be placed on their own line above the declaration; set attributes_with_arguments_always_on_line_above to false to keep the old behavior. github.com
And 5 more in this version.
SwiftLint 0.51.0 breaking changes
- Behavior changed
generic_type_name
Strings in the excluded option are interpreted as regular expressions. Check existing patterns still match what you intend. github.com - Behavior changed
identifier_name
Strings in the excluded option are interpreted as regular expressions. Check existing patterns still match what you intend. github.com
And 3 more in this version.
SwiftLint 0.50.0 breaking changes
- Removed
Built-in SwiftLint rules are no longer marked public in the SwiftLintFramework module, so programmatic code that uses them will break. github.com - Behavior changed
The body length family of rules now calculates body line count differently, so configuration or disable comments may need adjusting. github.com
And 3 more in this version.
SwiftLint 0.50.0-rc.4 breaking changes
- Behavior changed
The body length family of rules now counts body lines differently, so configurations or disable comments may need adjusting. github.com - Behavior changed
Building SwiftLint now needs Swift 5.7 or newer; older toolchains can no longer build it. github.com
And 4 more in this version.
SwiftLint 0.50.0-rc.3 breaking changes
- Behavior changed
Building SwiftLint now needs Swift 5.7 or newer; older toolchains can no longer build it. github.com - Behavior changed
The body length family of rules now counts body lines differently, so configurations or disable comments may need adjusting. github.com
And 4 more in this version.
SwiftLint 0.50.0-rc.2 breaking changes
- Behavior changed
The body length rules now calculate body line counts differently, so existing configuration or disable comments may need adjusting. github.com - Behavior changed
SwiftLint now needs Swift 5.7 or higher to build from source. Make sure your toolchain is at least Swift 5.7. github.com
And 3 more in this version.
SwiftLint 0.50.0-rc.1 breaking changes
- Behavior changed
SwiftLint now needs Swift 5.7 or higher to build from source. Make sure your toolchain is at least Swift 5.7. github.com - Behavior changed
Several rules were reimplemented on SwiftSyntax, changing lint results and catching more violations. Review lint output after upgrading. github.com
And 1 more in this version.
SwiftLint 0.49.0 breaking changes
- Removed
SwiftLint now requires Swift 5.6 or higher to build, and macOS 12 or higher to run. github.com - Removed
autocorrect
The autocorrect command, deprecated in 0.43.0, has been completely removed. Use --fix instead. github.com
And 4 more in this version.
SwiftLint 0.48.0 breaking changes
- Behavior changed
operator_usage_whitespace
The operator_usage_whitespace rule was rewritten and no longer catches violations around return arrows; return_arrow_whitespace handles those instead. github.com
SwiftLint 0.47.0 breaking changes
- Removed
SwiftLintFramework
The SwiftLintFramework podspec is gone. Use the SwiftLint podspec instead, which is still supported. github.com - Behavior changed
Empty files no longer trigger any violations, so existing lint results for empty files will change. github.com
And 4 more in this version.
Related packages
- github.com/realm/swiftlint on Swift Package Index
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.