602.0.0
What's Changed
- Add pre-commit hook for linting by @nikalra in https://github.com/swiftlang/swift-format/pull/929
- Add dump-effective-configuration subcommand by @andre-richter in https://github.com/swiftlang/swift-format/pull/923
- Improve the DontRepeatTypeInStaticProperties rule to better align with its original intent by @TTOzzi in https://github.com/swiftlang/swift-format/pull/918
- Improve the formatting logic of OmitExplicitReturns rule by @TTOzzi in https://github.com/swiftlang/swift-format/pull/935
- Fix documentation typos by @alexandersandberg in https://github.com/swiftlang/swift-format/pull/937
- Fix rejected assumeFilename when path argument is '-' by @andre-richter in https://github.com/swiftlang/swift-format/pull/938
- Skip flaky performance test on Windows by @weliveindetail in https://github.com/swiftlang/swift-format/pull/940
- Ignore backticks in documentation abstracts by @natecook1000 in https://github.com/swiftlang/swift-format/pull/936
- Modify PrettyPrinter to output diagnostics using shortened relative paths by @TTOzzi in https://github.com/swiftlang/swift-format/pull/934
- Do not measure perform performance in CI by @ahoppen in https://github.com/swiftlang/swift-format/pull/941
- Make the error message for an invalid version more user-friendly by @TTOzzi in https://github.com/swiftlang/swift-format/pull/942
- Convert
UseLetInEveryBoundCaseVariableto be a formatter by @natecook1000 in https://github.com/swiftlang/swift-format/pull/926 - Clean up symlink following and recursively follow symlink chains. by @allevato in https://github.com/swiftlang/swift-format/pull/947
- Run Windows tests inside a Docker container by @ahoppen in https://github.com/swiftlang/swift-format/pull/951
- Make ValidateDocumentationComments allow
Throwsdoc comments for rethrows functions by @TTOzzi in https://github.com/swiftlang/swift-format/pull/948 - Add
.DS_Storeand/.vscodeto.gitignoreby @ahoppen in https://github.com/swiftlang/swift-format/pull/953 - Run the publish release workflow inside a Docker container on Windows by @ahoppen in https://github.com/swiftlang/swift-format/pull/952
- Support file-level ignore directive for specific rules by @TTOzzi in https://github.com/swiftlang/swift-format/pull/950
- Enable the license header check by @ahoppen in https://github.com/swiftlang/swift-format/pull/956
- Bump the deployment target to macOS 13 🚀 by @TTOzzi in https://github.com/swiftlang/swift-format/pull/957
- Make the creation of a prerelease on GitHub a separate job in the publish release workflow by @ahoppen in https://github.com/swiftlang/swift-format/pull/958
- Increase swift-tools-version to 5.9 by @ahoppen in https://github.com/swiftlang/swift-format/pull/961
- Import Android for isatty by @marcprux in https://github.com/swiftlang/swift-format/pull/963
- Unify whitespace handling in linter and formatter by @TTOzzi in https://github.com/swiftlang/swift-format/pull/962
- Remove severity by @bkolb in https://github.com/swiftlang/swift-format/pull/943
- Improve lint performance by optimizing Swift Regex usage by @TTOzzi in https://github.com/swiftlang/swift-format/pull/968
- Fix
NoAccessLevelOnExtensionDeclarationto update members inside#ifblocks. by @allevato in https://github.com/swiftlang/swift-format/pull/969 - Update for swift-syntax AttributeSyntax.Arguments changes by @rintaro in https://github.com/swiftlang/swift-format/pull/971
- Remove value generics feature by @Azoy in https://github.com/swiftlang/swift-format/pull/974
- Correctly format
unsafeexpressions. by @allevato in https://github.com/swiftlang/swift-format/pull/973 - Add concurrency control to cancel in-progress PR workflows by @TTOzzi in https://github.com/swiftlang/swift-format/pull/976
- Fix type mismatch error in
reflowMultilineStringLiteralsby @dongdong867 in https://github.com/swiftlang/swift-format/pull/979 - [6.2] Change code owners for 6.2 to release managers by @ahoppen in https://github.com/swiftlang/swift-format/pull/985
- Change default release version for GitHub action releases to 603.0.0 by @ahoppen in https://github.com/swiftlang/swift-format/pull/984
- [6.2] Change default release version for GitHub action releases to 602.0.0 by @ahoppen in https://github.com/swiftlang/swift-format/pull/983
- Add GitHub action that automatically creates a PR to merge main into a release branch by @ahoppen in https://github.com/swiftlang/swift-format/pull/986
- Change swift-syntax dependency to
release/6.2by @ahoppen in https://github.com/swiftlang/swift-format/pull/992 - Merge
mainintorelease/6.2by @ahoppen in https://github.com/swiftlang/swift-format/pull/990 - Use workflow in github-workflows to create auto merge PR by @ahoppen in https://github.com/swiftlang/swift-format/pull/989
- Grant write permissions for content an pull requests to auto merge GitHub action by @ahoppen in https://github.com/swiftlang/swift-format/pull/998
- Make linter emit warnings instead of errors by default by @ahoppen in https://github.com/swiftlang/swift-format/pull/999
- Merge
mainintorelease/6.2by @ahoppen in https://github.com/swiftlang/swift-format/pull/1000 - Missing dependency by @ahoppen in https://github.com/swiftlang/swift-format/pull/1004
- Trigger PR testing when PR opened by GitHub Actions is marked as ready for review by @ahoppen in https://github.com/swiftlang/swift-format/pull/1006
- Merge
mainintorelease/6.2by @github-actions[bot] in https://github.com/swiftlang/swift-format/pull/1008 - OrderedImports should create separate group for @_implementationOnly … by @ebgraham in https://github.com/swiftlang/swift-format/pull/1013
- Allow comments in
.swift-formatby @antigluten in https://github.com/swiftlang/swift-format/pull/1014 - [CI] Remove skip for ready for review by @bnbarham in https://github.com/swiftlang/swift-format/pull/1017
- Update the allowed user for publishing releases to bnbarham by @bnbarham in https://github.com/swiftlang/swift-format/pull/1019
- Remove Alex Hoppen as code owner by @ahoppen in https://github.com/swiftlang/swift-format/pull/1020
- Fix
unsafeexpressions inNoAssignmentInExpressionsby @kkebo in https://github.com/swiftlang/swift-format/pull/1021 - Merge
mainintorelease/6.2by @github-actions[bot] in https://github.com/swiftlang/swift-format/pull/1022 - Add extra code owners to help with reviews by @bnbarham in https://github.com/swiftlang/swift-format/pull/1023
- Add support for BorrowExprSyntax by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1031
- Merge
mainintorelease/6.2by @github-actions[bot] in https://github.com/swiftlang/swift-format/pull/1034 - Enable some nice-to-have code formatting rules by @AnthonyLatsis in https://github.com/swiftlang/swift-format/pull/1040
- Fix line breaking for attributes in inheritance clauses by grouping them with their type by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1039
- Fix handling of raw multiline string newline-suppressing continuations. by @allevato in https://github.com/swiftlang/swift-format/pull/1041
- Merge
mainintorelease/6.2by @github-actions[bot] in https://github.com/swiftlang/swift-format/pull/1042 - Update generated code by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1046
- Merge
mainintorelease/6.2by @github-actions[bot] in https://github.com/swiftlang/swift-format/pull/1049 - [6.2] Update version to 6.2.0 by @bnbarham in https://github.com/swiftlang/swift-format/pull/1053
- [6.2] Add support for InlineArray type sugar by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1055
New Contributors
- @nikalra made their first contribution in https://github.com/swiftlang/swift-format/pull/929
- @andre-richter made their first contribution in https://github.com/swiftlang/swift-format/pull/923
- @alexandersandberg made their first contribution in https://github.com/swiftlang/swift-format/pull/937
- @weliveindetail made their first contribution in https://github.com/swiftlang/swift-format/pull/940
- @marcprux made their first contribution in https://github.com/swiftlang/swift-format/pull/963
- @dongdong867 made their first contribution in https://github.com/swiftlang/swift-format/pull/979
- @github-actions[bot] made their first contribution in https://github.com/swiftlang/swift-format/pull/1008
- @ebgraham made their first contribution in https://github.com/swiftlang/swift-format/pull/1013
- @antigluten made their first contribution in https://github.com/swiftlang/swift-format/pull/1014
Full Changelog: https://github.com/swiftlang/swift-format/compare/601.0.0...602.0.0