Skip to content

0.50600.0

Compare
Choose a tag to compare
@allevato allevato released this 18 Mar 20:11
· 5 commits to release/5.6 since this release
c062580

This release is compatible with Swift 5.6.

Significant changes since the last release:

  • Diagnostics have been refactored as "findings". Users of swift-format as an API (via the SwiftFormatter and SwiftLinter classes) now receive warnings and errors via a new Finding type that is independent of SwiftSyntax diagnostic types, for greater flexibility. (7aa5df5)
  • Diagnostics are now printed in color if standard error is connected to a terminal. This can be controlled with the --color-diagnostics/--no-color-diagnostics command line flags (to force color output when redirected to something other than a terminal, or to disable color output to a terminal). (4f90887)
  • Formatting of throws and async property effects has been fixed. (f646a1f, 55fc4e2)
  • The legacy -m/--mode flag has been removed. (defb00d)