Skip to content

Commit

Permalink
Update for 0.54.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Sep 6, 2024
1 parent c0f6352 commit c6680dd
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 10 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log

## [0.54.4](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.54.4) (2024-09-07)

- Fixed bug where trailing comma was erroneously inserted into a wrapped array type extension
- Fixed bug where `return` was incorrectly removed inside `catch` statement with `where` clause
- Fixed `opaqueGenericParameters` rule being incorrectly applied to functions with typed `throws`
- Fixed `spaceAroundBrackets` behaving incorrectly inside a macro invocation
- Fixed `unusedArguments` false positive inside multiline string literal
- Fixed a case where removing `return` resulted in non-compiling code for opaque return types
- Redundant `Void` return type is now removed from functions in protocol declarations
- Fixed a bug where `unusedArguments` didn't handle conditional assignment shadowing correctly
- Fixed Xcode 16 Beta warnings related to unhandled files when building SwiftFormat package
- The Swift runtime is now packaged with the installer on Windows as on Linux
- The Windows installer now uses a more conventional directory structure
- SwiftFormat for Windows now supports arm64

## [0.54.3](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.54.3) (2024-07-28)

- Fixed issue where `--wrapeffects never` could unexpectedly remove unrelated code
Expand Down
Binary file modified CommandLineTool/swiftformat
Binary file not shown.
2 changes: 1 addition & 1 deletion Sources/SwiftFormat.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import Foundation

/// The current SwiftFormat version
let swiftFormatVersion = "0.54.3"
let swiftFormatVersion = "0.54.4"
public let version = swiftFormatVersion

/// The standard SwiftFormat config file name
Expand Down
6 changes: 3 additions & 3 deletions SwiftFormat.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SwiftFormat",
"version": "0.54.3",
"version": "0.54.4",
"license": {
"type": "MIT",
"file": "LICENSE.md"
Expand All @@ -10,13 +10,13 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/nicklockwood/SwiftFormat.git",
"tag": "0.54.3"
"tag": "0.54.4"
},
"default_subspecs": "Core",
"subspecs": [
{
"name": "Core",
"source_files": "Sources"
"source_files": "Sources/**/*.swift"
},
{
"name": "CLI",
Expand Down
12 changes: 6 additions & 6 deletions SwiftFormat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.54.3;
MARKETING_VERSION = 0.54.4;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
Expand Down Expand Up @@ -1195,7 +1195,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.54.3;
MARKETING_VERSION = 0.54.4;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
Expand Down Expand Up @@ -1302,7 +1302,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.54.3;
MARKETING_VERSION = 0.54.4;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1333,7 +1333,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.54.3;
MARKETING_VERSION = 0.54.4;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1361,7 +1361,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.54.3;
MARKETING_VERSION = 0.54.4;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1390,7 +1390,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.54.3;
MARKETING_VERSION = 0.54.4;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down

0 comments on commit c6680dd

Please sign in to comment.