0.50600.0
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
SwiftFormatterandSwiftLinterclasses) now receive warnings and errors via a newFindingtype that is independent ofSwiftSyntaxdiagnostic 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-diagnosticscommand 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
throwsandasyncproperty effects has been fixed. (f646a1f, 55fc4e2) - The legacy
-m/--modeflag has been removed. (defb00d)