Releases
600.0.0
What's Changed
Add option to disable trailing commas on multi-line collections by @mlavergn in #619
[Lint] Add a rule to detect and transform [<Type>]()
into literal … by @xedin in #617
Add support for various new 5.9 features. by @allevato in #622
Disable testable imports when testing swift-format by @ahoppen in #624
Don’t set SWIFT_BUILD_SCRIPT_ENVIRONMENT
when building swift-format by @ahoppen in #630
Add the UseExplicitNilCheckInConditions
rule. by @allevato in #627
Add option to print number of instructions executed by swift-format
by @ahoppen in #625
Fix building error by @kimdv in #631
Rename _InstructionCounter
by @bnbarham in #632
Fix up import of renamed _InstructionCount
by @bnbarham in #633
Fix broken links in docs by @japanese-goblinn in #635
Allow JSON configuration text to be passed directly on the command line. by @allevato in #634
Make all Finding.Message
extensions file-private. by @allevato in #636
Remove the SwiftFormatConfiguration
module. by @allevato in #637
Rename generate-pipeline
to generate-swift-format
. by @allevato in #638
Add installation instructions for Homebrew by @beatrupp in #639
Fix a bug where an unfolded SequenceExpr
would make it to the pretty-printer. by @allevato in #641
Ignore too long end of line comments when they're wrapped in `printCo… by @dylansturg in #642
Don't lose a trailing comma in UseExplicitNilCheckInConditions
. by @allevato in #645
Ignore symlinks and hidden (dot) files during --recursive
. by @allevato in #644
Remove the legacy trivia workaround. by @allevato in #646
Add parentheses when needed to convert let _ = expr
to expr != nil
. by @allevato in #647
Various trivia-related fixes. by @allevato in #648
Some minor frontend tweaks. by @allevato in #649
[AllPublicDeclarationsHaveDocumentation] Fix behavior for override
methods. by @allevato in #655
Fix multi-line string wrapping in @available
attributes. by @allevato in #656
Respect SyntaxVisitorContinueKind of rules when run in Pipeline by @thunderseethe in #659
Remove deprecated variants from parameterClause case match by @thunderseethe in #661
Various fixes for some 509.0.0 bugs. by @allevato in #666
[OrderedImports] Fix dropped trailing comments on top-level code items. by @allevato in #674
Allow cross-compiling swift-format by @ahoppen in #679
Don’t include the toolchain rpath when installing swift-format by @ahoppen in #680
Order package manifest to start with the package declaration by @ahoppen in #682
[CI] Only use 'required' for Python >= 3.7 by @bnbarham in #686
build: introduce a CMake based build for swift-format by @compnerd in #677
Clean up rpaths of installed swift-format by @ahoppen in #683
Ignore sentence terminators inside quotes when applying the 'BeginDocumentationCommentWithOneLineSummary' option. by @TTOzzi in #687
Find configuration based on CWD when formatting from stdin by @judemille in #685
fix readme typo by @saturnboy in #688
Renamed plugin configuration parameter by @dmonagle in #696
[6.0] Depend on swift-syntax release/6.0
instead of main
by @ahoppen in #706
Update README to specify version 510.1.0 for building from source by @mh-mobile in #709
Fix comment for multiElementCollectionTrailingCommas by @ozumin in #710
Fix some typos by @mrs1669 in #711
Fix @_originallyDefinedIn argument spacing by @dduan in #717
Fix incorrect spacing when pretty-printing @_documentation by @dduan in #719
Merge main
into release/6.0
by @ahoppen in #720
Update RuleDocumentation.md by @fawkeswei in #727
Remove check for prioritizeKeepingFunctionOutputTogether on enum decl. by @shawnhyam in #728
Make sure there is a break after an #endif. by @shawnhyam in #729
Merge main
into release/6.0
by @ahoppen in #731
Merge main
into release/6.0
by @ahoppen in #733
Merge adjacent .line and .docLine comments into a single element. by @shawnhyam in #732
Merge main
into release/6.0
by @ahoppen in #742
Support for formatting a selection by @DaveEwing in #708
Fix @_expose
attribute argument spacing by @kateinoigakukun in #750
Handle indented block comments with ASCII art correctly. by @shawnhyam in #746
Delete CODE_OF_CONDUCT.md by @parispittman in #753
Update README.md by @parispittman in #755
Delete CONTRIBUTING.md by @parispittman in #754
Update links for repositories moved to the swiftlang org on GitHub by @ahoppen in #757
Update README.md to mention that swift-format is included in Xcode 16 by @ahoppen in #756
[6.0] Update links for repositories moved to the swiftlang org on GitHub by @ahoppen in #758
add support for riscv64 by @futurejones in #752
Merge main
into release/6.0
by @ahoppen in #760
Fix a build issue in swift-format by @ahoppen in #762
[6.0] Add a break after do
when it has typed throws by @bnbarham in #774
[6.0] Improve formatting of macro decls with attributes by @ahoppen in #781
[6.0] Fix missing break in nested IfConfig decls by @ahoppen in #782
New Contributors
You can’t perform that action at this time.