# swift-format 603.0.0 - Product: swift-format (https://whatsnew.fyi/product/swift-format) - Vendor: Swift - Date: 2026-06-30 - Version: 603.0.0 - Original notes: https://github.com/swiftlang/swift-format/releases/tag/603.0.0 - Permalink: https://whatsnew.fyi/product/swift-format/releases/603.0.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Support for InlineArray type sugar - **added** — multilineTrailingCommaBehavior configuration option - **changed** — Refactored file generation logic to be string-based - **changed** — Ensure newline after trailing line comments to prevent formatting issues - **changed** — Order conditionally-compiled imports - **changed** — Respect indentBlankLines when stripping whitespace inside block comment blank lines - **changed** — Print lint location and message in plain bold instead of white - **fixed** — Remove empty trailing closure parentheses in a curried call - **fixed** — UseSingleLinePropertyGetter dropping comments - **fixed** — Invalid rewrite in UseExplicitNilCheckInConditions when explicit optional type annotation is present - **fixed** — AttributeTypeSyntax handling - **fixed** — Keep attributed getters intact in UseSingleLinePropertyGetter - **fixed** — Rpath handling on OpenBSD - **removed** — Added group around base type in AttributedTypeSyntax ##### What's Changed * Update links for repositories moved from apple to swiftlang by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1048 * Refactored file generation logic to be string-based and added validation tests by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1047 * Include _GenerateSwiftFormat in buildOnlyTests by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1050 * Add support for InlineArray type sugar by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1043 * Ensure newline after trailing line comments to prevent formatting issues by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1015 * .swift-format: Specify an exhaustive configuration by @AnthonyLatsis in https://github.com/swiftlang/swift-format/pull/1057 * Introduce `multilineTrailingCommaBehavior` configuration by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1044 * Use `Invoke-Program` for the Windows build command by @bnbarham in https://github.com/swiftlang/swift-format/pull/1060 * Enable cross-PR testing by @ahoppen in https://github.com/swiftlang/swift-format/pull/867 * Fix removing empty trailing closure parentheses in a curried call by @a7medev in https://github.com/swiftlang/swift-format/pull/1071 * Add workflow to auto-update PrintVersion on release branch creation by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1068 * Fix UseSingleLinePropertyGetter dropping comments by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1062 * Fix `auto_update_version` workflow to trigger only on release branch creation by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1074 * Fix invalid rewrite in UseExplicitNilCheckInConditions by skipping when explicit optional type annotation is present by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1075 * chore: restrict GitHub workflow permissions - future-proof by @incertum in https://github.com/swiftlang/swift-format/pull/1073 * Fix up AttributeTypeSyntax handling by @bnbarham in https://github.com/swiftlang/swift-format/pull/1086 * Remove added group around base type in `AttributedTypeSyntax` by @bnbarham in https://github.com/swiftlang/swift-format/pull/1088 * Skip the `update-version` job on a fork by @kkebo in https://github.com/swiftlang/swift-format/pull/1091 * [6.3] Update version to 6.3 by @github-actions[bot] in https://github.com/swiftlang/swift-format/pull/1089 * Add GitHub workflow to ensure formatting is not broken on a set of pilot projects by @ahoppen in https://github.com/swiftlang/swift-format/pull/1090 * print lint location and message in plain bold instead of white by @QuietMisdreavus in https://github.com/swiftlang/swift-format/pull/1092 * Order conditionally-compiled imports by @a7medev in https://github.com/swiftlang/swift-format/pull/1077 * Normalize release version to x.y.z in auto-update-version action by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1095 * Keep attributed getters intact in UseSingleLinePropertyGetter by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1104 * Respect indentBlankLines when stripping whitespace inside block comment blank lines by @TTOzzi in https://github.com/swiftlang/swift-format/pull/1101 * Format source code and run `git diff` instead of listing first by @ahoppen in https://github.com/swiftlang/swift-format/pull/1093 * Update release automerge from 6.2 to 6.3 by @bnbarham in https://github.com/swiftlang/swift-format/pull/1098 * Bump to 6.0 by @bnbarham in https://github.com/swiftlang/swift-format/pull/1107 * Merge `main` into `release/6.3` by @github-actions[bot] in https://github.com/swiftlang/swift-format/pull/1109 * Add Dependabot configuration for GitHub Actions by @shahmishal in https://github.com/swiftlang/swift-format/pull/1110 * Update pull request workflow to use the tagged github-workflows by @bnbarham in https://github.com/swiftlang/swift-format/pull/1111 * Bump actions/checkout from 4 to 6 by _[Truncated at 4000 characters — full notes: https://github.com/swiftlang/swift-format/releases/tag/603.0.0]_