Skip to content

0.50.0

Compare
Choose a tag to compare
@nicklockwood nicklockwood released this 28 Sep 21:06
  • Added genericExtensions rule for simplifying conditional type extensions in Swift 5.7
  • Added markTypes support for type definitions in extensions
  • Added opaqueGenericParameters rule to use opaque generic parameter syntax where equivalent
  • Added blankLineAfterImports rule
  • Added redundantOptionalBinding rule for simplifying if let expressions in Swift 5.7
  • Added --enumnamespaces structs-only option
  • Added wrapSingleLineComments rule
  • A --swiftversion in the .swiftformat config now takes precedence over .swift-version file
  • Multiline string interpolations can now wrap inside parenthesized expression
  • Comma-delimited options in descendent .swiftformat config files are no longer merged
  • SwiftFormat now requires a minimum of Swift 5.1 to build