Skip to content

Commit b83a8f1

Browse files
committed
Update for 0.57.2 release
1 parent eb4d4d3 commit b83a8f1

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

CHANGELOG.md

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

3+
## [0.57.2](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.57.2) (2025-07-14)
4+
5+
- Updated `trailingCommas` rule to handle function declarations with generic arguments.
6+
- Updated `--trailing-commas always` to preserve trailing commas rather than unnecessarily removing trailing commas in some edge cases.
7+
- Fixed spurious deprecation message when using some non-deprecated options.
8+
39
## [0.57.1](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.57.1) (2025-07-14)
410

511
- Fixed issue where trailing commas were unexpectedly removed from initializer argument lists when using `--trailing-commas always`.

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.57.1"
35+
let swiftFormatVersion = "0.57.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.57.1",
3+
"version": "0.57.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.57.1"
13+
"tag": "0.57.2"
1414
},
1515
"default_subspecs": "Core",
1616
"subspecs": [

SwiftFormat.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@
12691269
"@loader_path/Frameworks",
12701270
);
12711271
MACOSX_DEPLOYMENT_TARGET = 10.14;
1272-
MARKETING_VERSION = 0.57.1;
1272+
MARKETING_VERSION = 0.57.2;
12731273
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
12741274
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
12751275
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
@@ -1302,7 +1302,7 @@
13021302
"@loader_path/Frameworks",
13031303
);
13041304
MACOSX_DEPLOYMENT_TARGET = 10.14;
1305-
MARKETING_VERSION = 0.57.1;
1305+
MARKETING_VERSION = 0.57.2;
13061306
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
13071307
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
13081308
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
@@ -1406,7 +1406,7 @@
14061406
GENERATE_INFOPLIST_FILE = YES;
14071407
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
14081408
MACOSX_DEPLOYMENT_TARGET = 15.4;
1409-
MARKETING_VERSION = 0.57.1;
1409+
MARKETING_VERSION = 0.57.2;
14101410
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
14111411
MTL_FAST_MATH = YES;
14121412
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat.RegressionTests;
@@ -1436,7 +1436,7 @@
14361436
GENERATE_INFOPLIST_FILE = YES;
14371437
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
14381438
MACOSX_DEPLOYMENT_TARGET = 15.4;
1439-
MARKETING_VERSION = 0.57.1;
1439+
MARKETING_VERSION = 0.57.2;
14401440
MTL_FAST_MATH = YES;
14411441
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat.RegressionTests;
14421442
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1467,7 +1467,7 @@
14671467
"@executable_path/../Frameworks",
14681468
);
14691469
MACOSX_DEPLOYMENT_TARGET = 10.14;
1470-
MARKETING_VERSION = 0.57.1;
1470+
MARKETING_VERSION = 0.57.2;
14711471
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
14721472
PRODUCT_NAME = "SwiftFormat for Xcode";
14731473
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1497,7 +1497,7 @@
14971497
"@executable_path/../Frameworks",
14981498
);
14991499
MACOSX_DEPLOYMENT_TARGET = 10.14;
1500-
MARKETING_VERSION = 0.57.1;
1500+
MARKETING_VERSION = 0.57.2;
15011501
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
15021502
PRODUCT_NAME = "SwiftFormat for Xcode";
15031503
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1525,7 +1525,7 @@
15251525
"@executable_path/../../../../Frameworks",
15261526
);
15271527
MACOSX_DEPLOYMENT_TARGET = 10.14;
1528-
MARKETING_VERSION = 0.57.1;
1528+
MARKETING_VERSION = 0.57.2;
15291529
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
15301530
PRODUCT_NAME = SwiftFormat;
15311531
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1554,7 +1554,7 @@
15541554
"@executable_path/../../../../Frameworks",
15551555
);
15561556
MACOSX_DEPLOYMENT_TARGET = 10.14;
1557-
MARKETING_VERSION = 0.57.1;
1557+
MARKETING_VERSION = 0.57.2;
15581558
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
15591559
PRODUCT_NAME = SwiftFormat;
15601560
PROVISIONING_PROFILE_SPECIFIER = "";

0 commit comments

Comments
 (0)