- Fixed parsing of value generic parameters, negative integer arguments, integer constraints, and inline-array types
- Fixed
opaqueGenericParametersandsimplifyGenericConstraintsproducing invalid code when formatting value generics - Updated
redundantSelfto preserveselfin Logger calls by default, and made--self-requiredextend the default list - Fixed
organizeDeclarationsanddocCommentsseparating conditional attributes and documentation from their declarations - Fixed custom prefix
/operators being mistaken for regex literals and causing incorrect lint line numbers - Fixed parsing of tuple types containing parameter pack expansions
- Fixed Xcode-style indentation of wrapped type conformances
- Fixed
preferSwiftTestingconverting XCTest cases with conditionally compiled overrides or references to Swift Testing type names - Updated test suite rules to preserve open classes that may be subclassed
- Fixed
singlePropertyPerLinesplitting tuple destructuring when the value count does not match - Fixed
redundantSendableremovingSendablefrom@usableFromInlinetypes - Fixed
redundantClosureremoving trailing closure arguments followed by a call - Fixed handling of
unsafeexpressions inbraces,redundantClosure,redundantParens, andunusedArguments - Fixed
numberFormattinggrouping digits in availability version numbers - Fixed
trailingCommasadding commas to#warning,#error, and other directives - Fixed
hoistTryandhoistAwaitjoining keywords to preceding keywords - Fixed
yodaConditionscorrupting comparisons wrapped after the operator or containing macro calls - Fixed
redundantInitremoving.initwhen a function parameter shadows the type name - Fixed
redundantBackticksremoving required backticks from type members namedProtocol - Fixed
opaqueGenericParametersintroducingsomeinside generic arguments of closure typealiases - Fixed
redundantParensremoving required parentheses around optional opaque protocol compositions - Fixed
extensionAccessControlhoistingfileprivateonto extensions of private types - Fixed
duplicateImportsremoving imports with different SPI names - Fixed
preferExplicitFalsebreaking parenthesized conditional compilation conditions - Fixed
preferLazyMapmaking closures that captureinoutvalues escape