What changed in swift-format from 602 to 603

1 release numbered after 602.0.0 up to and including 603.0.0, stable releases only. 602.0.0 and 603.0.0 are the newest stable releases of 602 and 603 we track; this page follows them as new ones ship.

14 changes across 1 release

Added 2

603.0.0

  • Support for InlineArray type sugar
  • multilineTrailingCommaBehavior configuration option
Changed 5

603.0.0

  • Refactored file generation logic to be string-based
  • Ensure newline after trailing line comments to prevent formatting issues
  • Order conditionally-compiled imports
  • Respect indentBlankLines when stripping whitespace inside block comment blank lines
  • Print lint location and message in plain bold instead of white
Fixed 6

603.0.0

  • Remove empty trailing closure parentheses in a curried call
  • UseSingleLinePropertyGetter dropping comments
  • Invalid rewrite in UseExplicitNilCheckInConditions when explicit optional type annotation is present
  • AttributeTypeSyntax handling
  • Keep attributed getters intact in UseSingleLinePropertyGetter
  • Rpath handling on OpenBSD
Removed 1

603.0.0

  • Added group around base type in AttributedTypeSyntax

Original release notes, newest first

The list above is our reading of these notes; the originals from Swift are here, one fold per release.

603.0.0
What's Changed
New Contributors

Full Changelog: https://github.com/swiftlang/swift-format/compare/602.0.0...603.0.0

View originalPermalink