Skip to content

Commit 1d02d0f

Browse files
committed
Update for 0.56.2 release
1 parent addc90b commit 1d02d0f

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## [0.56.2](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.56.2) (2025-05-27)
4+
5+
- Fixed issues where `trailingCommas` rule would insert commas in `@escpaing` or `@Sendable` closure types (not supported in Swift 6.1)
6+
- Fixed issue where `privateStateVariables` rule handled `@Previewable` attributes on previous line incorrectly
7+
38
## [0.56.1](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.56.1) (2025-05-13)
49

510
- Fixed several issues where `trailingCommas` rule would insert commas in places not actually supported by Swift 6.1

CommandLineTool/swiftformat

0 Bytes
Binary file not shown.

Sources/SwiftFormat.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import Foundation
3333

3434
/// The current SwiftFormat version
35-
let swiftFormatVersion = "0.56.1"
35+
let swiftFormatVersion = "0.56.2"
3636
public let version = swiftFormatVersion
3737

3838
/// The standard SwiftFormat config file name

SwiftFormat.podspec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SwiftFormat",
3-
"version": "0.56.1",
3+
"version": "0.56.2",
44
"license": {
55
"type": "MIT",
66
"file": "LICENSE.md"
@@ -10,7 +10,7 @@
1010
"authors": "Nick Lockwood",
1111
"source": {
1212
"git": "https://github.com/nicklockwood/SwiftFormat.git",
13-
"tag": "0.56.1"
13+
"tag": "0.56.2"
1414
},
1515
"default_subspecs": "Core",
1616
"subspecs": [

SwiftFormat.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2832,7 +2832,7 @@
28322832
"@loader_path/Frameworks",
28332833
);
28342834
MACOSX_DEPLOYMENT_TARGET = 10.14;
2835-
MARKETING_VERSION = 0.56.1;
2835+
MARKETING_VERSION = 0.56.2;
28362836
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
28372837
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
28382838
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
@@ -2865,7 +2865,7 @@
28652865
"@loader_path/Frameworks",
28662866
);
28672867
MACOSX_DEPLOYMENT_TARGET = 10.14;
2868-
MARKETING_VERSION = 0.56.1;
2868+
MARKETING_VERSION = 0.56.2;
28692869
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
28702870
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
28712871
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
@@ -2973,7 +2973,7 @@
29732973
"@executable_path/../Frameworks",
29742974
);
29752975
MACOSX_DEPLOYMENT_TARGET = 10.14;
2976-
MARKETING_VERSION = 0.56.1;
2976+
MARKETING_VERSION = 0.56.2;
29772977
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
29782978
PRODUCT_NAME = "SwiftFormat for Xcode";
29792979
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -3003,7 +3003,7 @@
30033003
"@executable_path/../Frameworks",
30043004
);
30053005
MACOSX_DEPLOYMENT_TARGET = 10.14;
3006-
MARKETING_VERSION = 0.56.1;
3006+
MARKETING_VERSION = 0.56.2;
30073007
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
30083008
PRODUCT_NAME = "SwiftFormat for Xcode";
30093009
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -3031,7 +3031,7 @@
30313031
"@executable_path/../../../../Frameworks",
30323032
);
30333033
MACOSX_DEPLOYMENT_TARGET = 10.14;
3034-
MARKETING_VERSION = 0.56.1;
3034+
MARKETING_VERSION = 0.56.2;
30353035
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
30363036
PRODUCT_NAME = SwiftFormat;
30373037
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -3060,7 +3060,7 @@
30603060
"@executable_path/../../../../Frameworks",
30613061
);
30623062
MACOSX_DEPLOYMENT_TARGET = 10.14;
3063-
MARKETING_VERSION = 0.56.1;
3063+
MARKETING_VERSION = 0.56.2;
30643064
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
30653065
PRODUCT_NAME = SwiftFormat;
30663066
PROVISIONING_PROFILE_SPECIFIER = "";

0 commit comments

Comments
 (0)