diff --git a/CHANGELOG.md b/CHANGELOG.md index e22f0611..d351fd58 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## [0.53.5](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.53.5) (2024-03-17) + +- Fixed bug with trailing comma being inserted into wrapped capture list +- Fixed bugs with parsing `nonisolated(unsafe)` modifiers +- Fixed bug with hoisting `try` or `async` after a string literal expression +- Fixed issue with parsing expressions containing generic arguments +- Lint warnings are now displayed as errors when not running in `--lenient` mode +- Improved error message for unexpected `static`/`class` modifiers +- Added Swift 6.0 to list of supported Swift versions + ## [0.53.4](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.53.4) (2024-03-09) - The `enumNamespaces` rule is no longer applied to structs with attributes or macros diff --git a/CommandLineTool/swiftformat b/CommandLineTool/swiftformat index 65c8b049..c2227770 100755 Binary files a/CommandLineTool/swiftformat and b/CommandLineTool/swiftformat differ diff --git a/Sources/Formatter.swift b/Sources/Formatter.swift index 5b314191..3b8da76e 100644 --- a/Sources/Formatter.swift +++ b/Sources/Formatter.swift @@ -2,8 +2,6 @@ // Formatter.swift // SwiftFormat // -// Version 0.53.4 -// // Created by Nick Lockwood on 12/08/2016. // Copyright 2016 Nick Lockwood // diff --git a/Sources/SwiftFormat.swift b/Sources/SwiftFormat.swift index e68e0fda..e613053a 100644 --- a/Sources/SwiftFormat.swift +++ b/Sources/SwiftFormat.swift @@ -32,7 +32,7 @@ import Foundation /// The current SwiftFormat version -let swiftFormatVersion = "0.53.4" +let swiftFormatVersion = "0.53.5" public let version = swiftFormatVersion /// The standard SwiftFormat config file name diff --git a/Sources/Tokenizer.swift b/Sources/Tokenizer.swift index 9b0a0bc5..c4fadf37 100644 --- a/Sources/Tokenizer.swift +++ b/Sources/Tokenizer.swift @@ -2,8 +2,6 @@ // Tokenizer.swift // SwiftFormat // -// Version 0.53.4 -// // Created by Nick Lockwood on 11/08/2016. // Copyright 2016 Nick Lockwood // diff --git a/SwiftFormat.podspec.json b/SwiftFormat.podspec.json index af921343..82ed6851 100644 --- a/SwiftFormat.podspec.json +++ b/SwiftFormat.podspec.json @@ -1,6 +1,6 @@ { "name": "SwiftFormat", - "version": "0.53.4", + "version": "0.53.5", "license": { "type": "MIT", "file": "LICENSE.md" @@ -10,7 +10,7 @@ "authors": "Nick Lockwood", "source": { "git": "https://github.com/nicklockwood/SwiftFormat.git", - "tag": "0.53.4" + "tag": "0.53.5" }, "default_subspecs": "Core", "subspecs": [ diff --git a/SwiftFormat.xcodeproj/project.pbxproj b/SwiftFormat.xcodeproj/project.pbxproj index eb7858c6..a076962a 100644 --- a/SwiftFormat.xcodeproj/project.pbxproj +++ b/SwiftFormat.xcodeproj/project.pbxproj @@ -1130,7 +1130,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.53.4; + MARKETING_VERSION = 0.53.5; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat; @@ -1163,7 +1163,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.53.4; + MARKETING_VERSION = 0.53.5; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat; @@ -1270,7 +1270,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.53.4; + MARKETING_VERSION = 0.53.5; PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode"; PRODUCT_NAME = "SwiftFormat for Xcode"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1301,7 +1301,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.53.4; + MARKETING_VERSION = 0.53.5; PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode"; PRODUCT_NAME = "SwiftFormat for Xcode"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1329,7 +1329,7 @@ "@executable_path/../../../../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.53.4; + MARKETING_VERSION = 0.53.5; PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension"; PRODUCT_NAME = SwiftFormat; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1358,7 +1358,7 @@ "@executable_path/../../../../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 0.53.4; + MARKETING_VERSION = 0.53.5; PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension"; PRODUCT_NAME = SwiftFormat; PROVISIONING_PROFILE_SPECIFIER = "";