mirror of
https://github.com/nicklockwood/SwiftFormat.git
synced 2026-05-17 10:30:35 +00:00
Update for 0.61.1 release
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Change Log
|
||||
|
||||
## [0.61.1](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.61.1) (2026-04-27)
|
||||
|
||||
- Fixed race condition when parsing config files
|
||||
- Fixed `redundantStaticSelf` false positive inside closures and nested functions
|
||||
- Fixed `unsafe` keyword dot-spacing edge case
|
||||
- Fixed `redundantSelf` crash on switch expression inside if-let binding chain
|
||||
- Fixed `redundantEquatable` removing manual `==` for types with `Any.Type` stored properties
|
||||
|
||||
## [0.61.0](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.61.0) (2026-04-11)
|
||||
|
||||
- Added `wrapCaseBodies` rule
|
||||
|
||||
Binary file not shown.
@@ -299,7 +299,7 @@ let package = Package(
|
||||
name: "BuildTools",
|
||||
platforms: [.macOS(.v10_11)],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.61.0"),
|
||||
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.61.1"),
|
||||
],
|
||||
targets: [.target(name: "BuildTools", path: "")]
|
||||
)
|
||||
@@ -333,7 +333,7 @@ You can also use `swift run -c release --package-path BuildTools swiftformat "$S
|
||||
1. Add the `swiftformat` binary to your project directory via [CocoaPods](https://cocoapods.org/), by adding the following line to your Podfile then running `pod install`:
|
||||
|
||||
```ruby
|
||||
pod 'SwiftFormat/CLI', '~> 0.61.0'
|
||||
pod 'SwiftFormat/CLI', '~> 0.61.1'
|
||||
```
|
||||
|
||||
**NOTE:** This will only install the pre-built command-line app, not the source code for the SwiftFormat framework.
|
||||
@@ -401,7 +401,7 @@ You can use `SwiftFormat` as a SwiftPM command plugin.
|
||||
```swift
|
||||
dependencies: [
|
||||
// ...
|
||||
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.61.0"),
|
||||
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.61.1"),
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
import Foundation
|
||||
|
||||
/// The current SwiftFormat version
|
||||
let swiftFormatVersion = "0.61.0"
|
||||
let swiftFormatVersion = "0.61.1"
|
||||
public let version = swiftFormatVersion
|
||||
|
||||
/// The standard SwiftFormat config file name
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "SwiftFormat",
|
||||
"version": "0.61.0",
|
||||
"version": "0.61.1",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"file": "LICENSE.md"
|
||||
@@ -10,7 +10,7 @@
|
||||
"authors": "Nick Lockwood",
|
||||
"source": {
|
||||
"git": "https://github.com/nicklockwood/SwiftFormat.git",
|
||||
"tag": "0.61.0"
|
||||
"tag": "0.61.1"
|
||||
},
|
||||
"default_subspecs": "Core",
|
||||
"subspecs": [
|
||||
|
||||
@@ -1275,7 +1275,7 @@
|
||||
"@loader_path/Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 0.61.0;
|
||||
MARKETING_VERSION = 0.61.1;
|
||||
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
|
||||
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
|
||||
@@ -1308,7 +1308,7 @@
|
||||
"@loader_path/Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 0.61.0;
|
||||
MARKETING_VERSION = 0.61.1;
|
||||
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
|
||||
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
|
||||
@@ -1412,7 +1412,7 @@
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 15.4;
|
||||
MARKETING_VERSION = 0.61.0;
|
||||
MARKETING_VERSION = 0.61.1;
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||
MTL_FAST_MATH = YES;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat.RegressionTests;
|
||||
@@ -1442,7 +1442,7 @@
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 15.4;
|
||||
MARKETING_VERSION = 0.61.0;
|
||||
MARKETING_VERSION = 0.61.1;
|
||||
MTL_FAST_MATH = YES;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat.RegressionTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
@@ -1473,7 +1473,7 @@
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 0.61.0;
|
||||
MARKETING_VERSION = 0.61.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
|
||||
PRODUCT_NAME = "SwiftFormat for Xcode";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
@@ -1504,7 +1504,7 @@
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 0.61.0;
|
||||
MARKETING_VERSION = 0.61.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
|
||||
PRODUCT_NAME = "SwiftFormat for Xcode";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
@@ -1533,7 +1533,7 @@
|
||||
"@executable_path/../../../../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 0.61.0;
|
||||
MARKETING_VERSION = 0.61.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
|
||||
PRODUCT_NAME = SwiftFormat;
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
@@ -1563,7 +1563,7 @@
|
||||
"@executable_path/../../../../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 0.61.0;
|
||||
MARKETING_VERSION = 0.61.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
|
||||
PRODUCT_NAME = SwiftFormat;
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
||||
Reference in New Issue
Block a user