diff --git a/CHANGELOG.md b/CHANGELOG.md index 85cb38f31..5403d9680 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [0.55.1](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.55.1) (2024-11-20) + +- Fixed bug where `docCommentsBeforeModifiers` got confused by `enum` cases that match modifier names +- Fixed bug where `wrapEnumCases` would mangle nested or successive `enum` declarations +- Artifact Bundle now includes pre-built binary for ARM-based Linux systems + ## [0.55.0](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.55.0) (2024-11-16) - Added `docCommentsBeforeModifiers` rule to hoist doc comments above declaration modifiers diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3b18f2199..b74dfe6c6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -78,9 +78,9 @@ This is relevant only to maintainers: * Update version number in SwiftFormat.swift + 3 targets * Update CHANGELOG.md * Update SwiftFormat.podspec.json -* Select SwiftFormat (Command Line Tool) and run Editor > Archive +* Select SwiftFormat (Command Line Tool) and run Product > Archive * Replace binary in CommandLineTool directory -* Select SwiftFormat for Xcode and run Editor > Archive +* Select SwiftFormat for Xcode and run Product > Archive * Notarize and export built app * Tag commit and push to main * Run Build for Linux & Build for Windows and download binaries diff --git a/CommandLineTool/swiftformat b/CommandLineTool/swiftformat index 00cba5327..3f0071ef2 100755 Binary files a/CommandLineTool/swiftformat and b/CommandLineTool/swiftformat differ diff --git a/Sources/SwiftFormat.swift b/Sources/SwiftFormat.swift index b4b588062..d2d67eb0d 100644 --- a/Sources/SwiftFormat.swift +++ b/Sources/SwiftFormat.swift @@ -32,7 +32,7 @@ import Foundation /// The current SwiftFormat version -let swiftFormatVersion = "0.55.0" +let swiftFormatVersion = "0.55.1" public let version = swiftFormatVersion /// The standard SwiftFormat config file name diff --git a/SwiftFormat.podspec.json b/SwiftFormat.podspec.json index 7af6803e3..192351d79 100644 --- a/SwiftFormat.podspec.json +++ b/SwiftFormat.podspec.json @@ -1,6 +1,6 @@ { "name": "SwiftFormat", - "version": "0.55.0", + "version": "0.55.1", "license": { "type": "MIT", "file": "LICENSE.md" @@ -10,7 +10,7 @@ "authors": "Nick Lockwood", "source": { "git": "https://github.com/nicklockwood/SwiftFormat.git", - "tag": "0.55.0" + "tag": "0.55.1" }, "default_subspecs": "Core", "subspecs": [ diff --git a/SwiftFormat.xcodeproj/project.pbxproj b/SwiftFormat.xcodeproj/project.pbxproj index d824ee785..74bcb8462 100644 --- a/SwiftFormat.xcodeproj/project.pbxproj +++ b/SwiftFormat.xcodeproj/project.pbxproj @@ -2678,7 +2678,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.55.0; + MARKETING_VERSION = 0.55.1; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat; @@ -2711,7 +2711,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.55.0; + MARKETING_VERSION = 0.55.1; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat; @@ -2818,7 +2818,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.55.0; + MARKETING_VERSION = 0.55.1; PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode"; PRODUCT_NAME = "SwiftFormat for Xcode"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2849,7 +2849,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.55.0; + MARKETING_VERSION = 0.55.1; PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode"; PRODUCT_NAME = "SwiftFormat for Xcode"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2877,7 +2877,7 @@ "@executable_path/../../../../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.55.0; + MARKETING_VERSION = 0.55.1; PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension"; PRODUCT_NAME = SwiftFormat; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2906,7 +2906,7 @@ "@executable_path/../../../../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.55.0; + MARKETING_VERSION = 0.55.1; PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension"; PRODUCT_NAME = SwiftFormat; PROVISIONING_PROFILE_SPECIFIER = "";