Update for 0.53.0 release

This commit is contained in:
Nick Lockwood
2024-01-07 20:23:18 +00:00
parent ea008e7be3
commit fef156a613
7 changed files with 25 additions and 11 deletions
+14
View File
@@ -1,5 +1,19 @@
# Change Log
## [0.53.0](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.53.0) (2024-01-07)
- Added `preferForLoop` rule to convert `forEach { ... }` calls to regular `for` loops
- Added `wrapLoopBodies` rule to wrap single-line loop bodies over multiple lines
- Added `noExplicitOwnership` rule to remove unwanted `borrowing` and `consuming` modifiers
- Added `wrapMultilineConditionalAssignment` rule to wrap `if` or `switch` expressions to new line
- The `wrapAttributes` rule no longer unwraps attributes if they would exceed `--maxwidth`
- The `typeSugar` rule's `--shortoptionals` option now defaults to `except-properties`
- Enabled `blankLinesBetweenChainedFunctions` rule by default
- Enabled `blankLineAfterImports` rule by default
- Fixed `self` being incorrectly inserted before `set` clause in computed properties
- Fixed a bug in `parseType()` helper function where qualified types were not recognized
- Fixed Xcode command plugin
## [0.52.11](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.52.11) (2023-12-05)
- Updated `if`/`switch` expression workaround for Swift 5.9 bug to handle `as!` casts
Binary file not shown.
+1 -1
View File
@@ -2,7 +2,7 @@
// Formatter.swift
// SwiftFormat
//
// Version 0.52.11
// Version 0.53.0
//
// Created by Nick Lockwood on 12/08/2016.
// Copyright 2016 Nick Lockwood
+1 -1
View File
@@ -32,7 +32,7 @@
import Foundation
/// The current SwiftFormat version
let swiftFormatVersion = "0.52.11"
let swiftFormatVersion = "0.53.0"
public let version = swiftFormatVersion
/// The standard SwiftFormat config file name
+1 -1
View File
@@ -2,7 +2,7 @@
// Tokenizer.swift
// SwiftFormat
//
// Version 0.52.11
// Version 0.53.0
//
// Created by Nick Lockwood on 11/08/2016.
// Copyright 2016 Nick Lockwood
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "SwiftFormat",
"version": "0.52.11",
"version": "0.53.0",
"license": {
"type": "MIT",
"file": "LICENSE.md"
@@ -10,7 +10,7 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/nicklockwood/SwiftFormat.git",
"tag": "0.52.11"
"tag": "0.53.0"
},
"default_subspecs": "Core",
"subspecs": [
+6 -6
View File
@@ -1130,7 +1130,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.52.11;
MARKETING_VERSION = 0.53.0;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
@@ -1163,7 +1163,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.52.11;
MARKETING_VERSION = 0.53.0;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
@@ -1270,7 +1270,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.52.11;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1301,7 +1301,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.52.11;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1329,7 +1329,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.52.11;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1358,7 +1358,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.52.11;
MARKETING_VERSION = 0.53.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";