Skip to content

Commit 9a2fb9a

Browse files
committed
Update for 0.49.14 release
1 parent 7c64a78 commit 9a2fb9a

File tree

7 files changed

+24
-13
lines changed

7 files changed

+24
-13
lines changed

CHANGELOG.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
# Change Log
22

3+
## [0.49.14](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.49.14) (2022-08-02)
4+
5+
- Fixed `unusedArguments` rule incorrectly removing `async` keyword from closure arguments
6+
- Fixed `unusedArguments` not being applied correctly to throwing closures
7+
- Fixed assertion failure when parsing `@unchecked Sendable` enum
8+
- Fixed assertion failure after applying typeSugar rule to array/dictionary extensions
9+
- Fixed line indent after `wrapAttributes` rule is applied
10+
- Fixed issue where redundantClosure would break build for Void closures calling @discardableResult functions
11+
- Added `--typeblankline` option for `blankLinesAtStartOfScope` and `blankLinesAtEndOfScope` rules
12+
- Added support for Xcode `SCRIPT_INPUT_FILE` arguments
13+
314
## [0.49.13](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.49.13) (2022-07-15)
415

5-
- Fix `for...in` mistaken for closure `in` in indent rule
6-
- Fix incorrect spacing around `@MainActor`
16+
- Fixed `for...in` mistaken for closure `in` in indent rule
17+
- Fixed incorrect spacing around `@MainActor`
718

819
## [0.49.12](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.49.12) (2022-07-13)
920

CommandLineTool/swiftformat

16.2 KB
Binary file not shown.

Sources/Formatter.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Formatter.swift
33
// SwiftFormat
44
//
5-
// Version 0.49.13
5+
// Version 0.49.14
66
//
77
// Created by Nick Lockwood on 12/08/2016.
88
// Copyright 2016 Nick Lockwood

Sources/SwiftFormat.swift

+1-1
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.49.13"
35+
let swiftFormatVersion = "0.49.14"
3636
public let version = swiftFormatVersion
3737

3838
/// The standard SwiftFormat config file name

Sources/Tokenizer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Tokenizer.swift
33
// SwiftFormat
44
//
5-
// Version 0.49.13
5+
// Version 0.49.14
66
//
77
// Created by Nick Lockwood on 11/08/2016.
88
// Copyright 2016 Nick Lockwood

SwiftFormat.podspec.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SwiftFormat",
3-
"version": "0.49.13",
3+
"version": "0.49.14",
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.49.13"
13+
"tag": "0.49.14"
1414
},
1515
"default_subspecs": "Core",
1616
"subspecs": [

SwiftFormat.xcodeproj/project.pbxproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@
10801080
"@executable_path/../Frameworks",
10811081
"@loader_path/Frameworks",
10821082
);
1083-
MARKETING_VERSION = 0.49.13;
1083+
MARKETING_VERSION = 0.49.14;
10841084
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
10851085
PRODUCT_NAME = "$(TARGET_NAME)";
10861086
SKIP_INSTALL = YES;
@@ -1108,7 +1108,7 @@
11081108
"@executable_path/../Frameworks",
11091109
"@loader_path/Frameworks",
11101110
);
1111-
MARKETING_VERSION = 0.49.13;
1111+
MARKETING_VERSION = 0.49.14;
11121112
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
11131113
PRODUCT_NAME = "$(TARGET_NAME)";
11141114
SKIP_INSTALL = YES;
@@ -1204,7 +1204,7 @@
12041204
"@executable_path/../Frameworks",
12051205
);
12061206
MACOSX_DEPLOYMENT_TARGET = 10.14;
1207-
MARKETING_VERSION = 0.49.13;
1207+
MARKETING_VERSION = 0.49.14;
12081208
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
12091209
PRODUCT_NAME = "SwiftFormat for Xcode";
12101210
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1234,7 +1234,7 @@
12341234
"@executable_path/../Frameworks",
12351235
);
12361236
MACOSX_DEPLOYMENT_TARGET = 10.14;
1237-
MARKETING_VERSION = 0.49.13;
1237+
MARKETING_VERSION = 0.49.14;
12381238
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
12391239
PRODUCT_NAME = "SwiftFormat for Xcode";
12401240
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1262,7 +1262,7 @@
12621262
"@executable_path/../../../../Frameworks",
12631263
);
12641264
MACOSX_DEPLOYMENT_TARGET = 10.14;
1265-
MARKETING_VERSION = 0.49.13;
1265+
MARKETING_VERSION = 0.49.14;
12661266
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
12671267
PRODUCT_NAME = SwiftFormat;
12681268
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1292,7 +1292,7 @@
12921292
"@executable_path/../../../../Frameworks",
12931293
);
12941294
MACOSX_DEPLOYMENT_TARGET = 10.14;
1295-
MARKETING_VERSION = 0.49.13;
1295+
MARKETING_VERSION = 0.49.14;
12961296
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
12971297
PRODUCT_NAME = SwiftFormat;
12981298
PROVISIONING_PROFILE_SPECIFIER = "";

0 commit comments

Comments
 (0)