Skip to content

Commit c6680dd

Browse files
committed
Update for 0.54.4 release
1 parent c0f6352 commit c6680dd

File tree

5 files changed

+25
-10
lines changed

5 files changed

+25
-10
lines changed

CHANGELOG.md

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

3+
## [0.54.4](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.54.4) (2024-09-07)
4+
5+
- Fixed bug where trailing comma was erroneously inserted into a wrapped array type extension
6+
- Fixed bug where `return` was incorrectly removed inside `catch` statement with `where` clause
7+
- Fixed `opaqueGenericParameters` rule being incorrectly applied to functions with typed `throws`
8+
- Fixed `spaceAroundBrackets` behaving incorrectly inside a macro invocation
9+
- Fixed `unusedArguments` false positive inside multiline string literal
10+
- Fixed a case where removing `return` resulted in non-compiling code for opaque return types
11+
- Redundant `Void` return type is now removed from functions in protocol declarations
12+
- Fixed a bug where `unusedArguments` didn't handle conditional assignment shadowing correctly
13+
- Fixed Xcode 16 Beta warnings related to unhandled files when building SwiftFormat package
14+
- The Swift runtime is now packaged with the installer on Windows as on Linux
15+
- The Windows installer now uses a more conventional directory structure
16+
- SwiftFormat for Windows now supports arm64
17+
318
## [0.54.3](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.54.3) (2024-07-28)
419

520
- Fixed issue where `--wrapeffects never` could unexpectedly remove unrelated code

CommandLineTool/swiftformat

-64 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.54.3"
35+
let swiftFormatVersion = "0.54.4"
3636
public let version = swiftFormatVersion
3737

3838
/// The standard SwiftFormat config file name

SwiftFormat.podspec.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SwiftFormat",
3-
"version": "0.54.3",
3+
"version": "0.54.4",
44
"license": {
55
"type": "MIT",
66
"file": "LICENSE.md"
@@ -10,13 +10,13 @@
1010
"authors": "Nick Lockwood",
1111
"source": {
1212
"git": "https://github.com/nicklockwood/SwiftFormat.git",
13-
"tag": "0.54.3"
13+
"tag": "0.54.4"
1414
},
1515
"default_subspecs": "Core",
1616
"subspecs": [
1717
{
1818
"name": "Core",
19-
"source_files": "Sources"
19+
"source_files": "Sources/**/*.swift"
2020
},
2121
{
2222
"name": "CLI",

SwiftFormat.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@
11621162
"@loader_path/Frameworks",
11631163
);
11641164
MACOSX_DEPLOYMENT_TARGET = 10.14;
1165-
MARKETING_VERSION = 0.54.3;
1165+
MARKETING_VERSION = 0.54.4;
11661166
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
11671167
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
11681168
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
@@ -1195,7 +1195,7 @@
11951195
"@loader_path/Frameworks",
11961196
);
11971197
MACOSX_DEPLOYMENT_TARGET = 10.14;
1198-
MARKETING_VERSION = 0.54.3;
1198+
MARKETING_VERSION = 0.54.4;
11991199
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
12001200
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
12011201
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
@@ -1302,7 +1302,7 @@
13021302
"@executable_path/../Frameworks",
13031303
);
13041304
MACOSX_DEPLOYMENT_TARGET = 10.14;
1305-
MARKETING_VERSION = 0.54.3;
1305+
MARKETING_VERSION = 0.54.4;
13061306
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
13071307
PRODUCT_NAME = "SwiftFormat for Xcode";
13081308
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1333,7 +1333,7 @@
13331333
"@executable_path/../Frameworks",
13341334
);
13351335
MACOSX_DEPLOYMENT_TARGET = 10.14;
1336-
MARKETING_VERSION = 0.54.3;
1336+
MARKETING_VERSION = 0.54.4;
13371337
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
13381338
PRODUCT_NAME = "SwiftFormat for Xcode";
13391339
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1361,7 +1361,7 @@
13611361
"@executable_path/../../../../Frameworks",
13621362
);
13631363
MACOSX_DEPLOYMENT_TARGET = 10.14;
1364-
MARKETING_VERSION = 0.54.3;
1364+
MARKETING_VERSION = 0.54.4;
13651365
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
13661366
PRODUCT_NAME = SwiftFormat;
13671367
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1390,7 +1390,7 @@
13901390
"@executable_path/../../../../Frameworks",
13911391
);
13921392
MACOSX_DEPLOYMENT_TARGET = 10.14;
1393-
MARKETING_VERSION = 0.54.3;
1393+
MARKETING_VERSION = 0.54.4;
13941394
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
13951395
PRODUCT_NAME = SwiftFormat;
13961396
PROVISIONING_PROFILE_SPECIFIER = "";

0 commit comments

Comments
 (0)