Releases: swiftlang/swift-format
Releases · swiftlang/swift-format
601.0.0-prerelease-2025-01-22
Change version to 601.0.0-prerelease-2025-01-22
601.0.0-prerelease-2025-01-15
Change version to 601.0.0-prerelease-2025-01-15
601.0.0-prerelease-2025-01-09
Change version to 601.0.0-prerelease-2025-01-09
601.0.0-prerelease-2024-12-17
Change version to 601.0.0-prerelease-2024-12-17
601.0.0-prerelease-2024-12-12
Change version to 601.0.0-prerelease-2024-12-12
601.0.0-prerelease-2024-12-05
Change version to 601.0.0-prerelease-2024-12-05
601.0.0-prerelease-2024-10-15
Change version to 601.0.0-prerelease-2024-10-15
601.0.0-prerelease-2024-10-09
Change version to 601.0.0-prerelease-2024-10-09
601.0.0-prerelease-2024-10-01
Change version to 601.0.0-prerelease-2024-10-01
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
togenerate-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
toexpr != 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 ofmain
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
intorelease/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
intorelease/6.0
by @ahoppen in #731 - Merge
main
intorelease/6.0
by @ahoppen in #733 - Merge adjacent .line and .docLine comments into a single element. by @shawnhyam in #732
- Merge
main
intorelease/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
intorelease/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
- @mlavergn made their first contribution in #619
- @japanese-goblinn made their first contribution in #635
- @beatrupp made their first contribution in #639
- @judemille made their first contribution in #685
- @saturnboy made their first contribution in #688
- @dmonagle made their first contribution in #696
- @mh-mobile made their first contribution in #709
- @ozumin made their first contribution in #710
- @mrs1669 made their first contribution in #711
- @fawkeswei made their first contribution in #727
- @DaveEwing made their first contribution in #708
- @kateinoigakukun made their first contribution in #750
- @parispittman made their first contribution in #753
- @futurejones made their first contribution in #752