Skip to content

Commit 24c47e3

Browse files
committedAug 16, 2022
Update for 0.49.17 release
1 parent 939ed8c commit 24c47e3

File tree

8 files changed

+24
-16
lines changed

8 files changed

+24
-16
lines changed
 

‎CHANGELOG.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## [0.49.17](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.49.17) (2022-08-16)
4+
5+
- Fixed unexpected token error occurring at end of scope after a `<<` operator
6+
- Fixed bug where function arguments named `async:` would expectedly be indented
7+
- SwiftFormat command-line tool now logs the location and version of .swift-version files it encounters
8+
- Added Docker image (thanks to Arthur Semenyutin for the script, see README for details)
9+
310
## [0.49.16](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.49.16) (2022-08-15)
411

512
- Fixed `async let` indenting regression (broken in 0.49.15)
@@ -384,7 +391,7 @@
384391
## [0.47.3](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.47.3) (2020-11-09)
385392

386393
- Fixed bug with `extensionAccessControl` increasing extension access level beyond extended type
387-
- Fixed regression with non-standard `.swift-version` contents being flagged as an error
394+
- Fixed regression with non-standard .swift-version contents being flagged as an error
388395
- Fixed bug in `hoistPatternLet` rule when using `--patternlet inline`
389396
- Fixed case where `enumNamespaces` was incorrectly applied
390397
- Fixed indenting of wrapped line starting with a closing paren or brace
@@ -395,7 +402,7 @@
395402
## [0.47.2](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.47.2) (2020-10-30)
396403

397404
- The `markTypes`, `organizeDeclarations` and`extensionAccessControl` rules now respect comment directives
398-
- Errors in `.swiftformat` config files no longer fail silently
405+
- Errors in .swiftformat config files no longer fail silently
399406
- Fixed bug in `--modifierorder` config and added support for SwiftLint modifierorder syntax
400407
- Fixed issue where `hoistPatternLet` breaks compilation due to a quirk in Swift parser
401408
- Fixed bug in `hoistPatternLet` when expression is wrapped or contains spaces
@@ -471,7 +478,7 @@
471478

472479
## [0.45.5](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.45.5) (2020-08-09)
473480

474-
- Fixed `.swiftformat` configuration file processing when using `--stdinpath` option
481+
- Fixed .swiftformat configuration file processing when using `--stdinpath` option
475482
- Fixed bug where conditional imports could be mangled by `sortedImports` rule
476483
- Fixed indenting of braces after throwing function with wrapped return type
477484
- Fixed indenting of wrapped `in` keyword inside closure
@@ -887,7 +894,7 @@
887894
- Relative indentation is now preserved inside multiline comment blocks
888895
- Fixed indenting of `switch` cases using Swift 5's new `@unknown` attribute
889896
- Fixed some errors in documentation and warning messages
890-
- The `.swift-version` file parser now permits cases like `3.0-PREVIEW-4`
897+
- The .swift-version file parser now permits cases like `3.0-PREVIEW-4`
891898
- Fixed the performance test target, which was broken in Xcode 10.1
892899

893900
## [0.39.4](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.39.4) (2019-03-03)
@@ -902,7 +909,7 @@
902909

903910
- Fixed a bug with `hoistPatternLet` rule for switch cases without a space
904911
- Fixed a bug in the `typeSugar` rule when referencing nested types
905-
- The `.swiftformat` configuration file type is now associated with the SwiftFormat for Xcode app
912+
- The .swiftformat configuration file type is now associated with the SwiftFormat for Xcode app
906913

907914
## [0.39.2](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.39.2) (2019-02-14)
908915

‎CommandLineTool/swiftformat

-16 Bytes
Binary file not shown.

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,7 @@ Credits
878878
* [Jim Puls](https://github.com/puls) - Big Sur icon update
879879
* [Daniele Formichelli](https://github.com/danyf90) - JSON reporter
880880
* [Mahdi Bchatnia](https://github.com/inket) - Linux build workflow
881+
* [Arthur Semenyutin](https://github.com/vox-humana) - Docker image
881882
* [Nick Lockwood](https://github.com/nicklockwood) - Everything else
882883
883884
([Full list of contributors](https://github.com/nicklockwood/SwiftFormat/graphs/contributors))

‎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.16
5+
// Version 0.49.17
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.16"
35+
let swiftFormatVersion = "0.49.17"
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.16
5+
// Version 0.49.17
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.16",
3+
"version": "0.49.17",
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.16"
13+
"tag": "0.49.17"
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.16;
1083+
MARKETING_VERSION = 0.49.17;
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.16;
1111+
MARKETING_VERSION = 0.49.17;
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.16;
1207+
MARKETING_VERSION = 0.49.17;
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.16;
1237+
MARKETING_VERSION = 0.49.17;
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.16;
1265+
MARKETING_VERSION = 0.49.17;
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.16;
1295+
MARKETING_VERSION = 0.49.17;
12961296
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
12971297
PRODUCT_NAME = SwiftFormat;
12981298
PROVISIONING_PROFILE_SPECIFIER = "";

0 commit comments

Comments
 (0)
Please sign in to comment.