Skip to content

Commit

Permalink
Update for 0.48.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Jun 15, 2021
1 parent 29ee0de commit 4704661
Show file tree
Hide file tree
Showing 41 changed files with 40 additions and 32 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,13 @@
# Change Log

## [0.48.5](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.48.5) (2020-06-15)

- Fixed bug when parsing generic result builder attributes, leading to incorrect spacing
- Fixed bug where wrapped function body was not double-indented as it should have been
- Parser now correctly handles `isolated` and `nonisolated` modifiers on `actor` members
- Fixed bug where space was imncorrectly removed between closure capture list and arguments
- Fixed bug with indenting of wrapped method chains

## [0.48.4](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.48.4) (2020-05-30)

- Added support for `actor` and other async/await syntax introduced in Swift 5.5
Expand Down
Binary file modified CommandLineTool/swiftformat
Binary file not shown.
Binary file modified EditorExtension/SwiftFormat for Xcode.app/Contents/CodeResources
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions EditorExtension/SwiftFormat for Xcode.app/Contents/Info.plist
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>20E241</string>
<string>20F71</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDocumentTypes</key>
Expand Down Expand Up @@ -36,7 +36,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.48.4</string>
<string>0.48.5</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down
Binary file not shown.
Binary file not shown.
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>20E241</string>
<string>20F71</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.48.4</string>
<string>0.48.5</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Expand Up @@ -10,31 +10,31 @@
</data>
<key>Resources/Assets.car</key>
<data>
Comkf49g/mY/sD0w8JUguL096xE=
KC25JJ2f2zANvUUsJTVqjBXD+mU=
</data>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<data>
/mMHOf5Ai+OfYQPnTPeFEa1t6c0=
w1OUVRvAvds0uXulB+16dDTHRcs=
</data>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<data>
8arP2H1WpTwexySiq4gcQ4/svP0=
PtGBRaq3er7+2qScFgVzfpHoDPY=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<data>
AKUAoPWM8qEz7QflxjzEP7PQoO0=
KxVWvt6/VSz6yKwB1IFwWMD6D7U=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<data>
jAVGXAr17pg1kNb9bmIII6NkZJM=
i2PL27a31XMNV4UozHxtlsPY3RQ=
</data>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<data>
8AFVehozW+W/UQB1sBB8QZfHKpI=
avqeo1ujQY2qutHQc96d21M9d44=
</data>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<data>
tjpkk554a+CsVn2OxMgv+MFH8KU=
M5bfd/mZWjT6eWk3Evj2h44xlw4=
</data>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
<data>
Expand Down Expand Up @@ -209,7 +209,7 @@
<dict>
<key>cdhash</key>
<data>
xReEJmNRML36dpPAWfXSCaOAvUg=
dAO85W+vDqM/ySXTcaM39LAFECk=
</data>
<key>requirement</key>
<string>anchor apple generic and identifier "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "8VQKF583ED")</string>
Expand All @@ -225,49 +225,49 @@
<dict>
<key>hash2</key>
<data>
zH20EvrZWnSynpIJx4f672qE2aft6B2CPOcy44hk/y0=
H/VjUCaVbZBpx/Tm3IEiyvbwpx1NwO2aaI8LHcB8sGo=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<dict>
<key>hash2</key>
<data>
uyzphal1KHU7vlfyMl/y47ql+XyzDVMxImjdZil5HrI=
2CneYKKjcz0jRTelQBPO/nTiIpiWqJovIpibuVlJ0xE=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<dict>
<key>hash2</key>
<data>
7d7ysWjYJxjAhH3XHEutgXOHZYToujJ4e8CbZHbEQmY=
zKi8breNPgAamqXkdZtnt43llqDClLolqKInfYLOH4o=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<dict>
<key>hash2</key>
<data>
ZbNDxF5rdYT19kPKnqE2BnLa4Ol0QI/ylV7LSyFlhDs=
fuRPpB2bHDyE8WBpcZMbbFWcEFj9H/uyp+dz7vjyJCw=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<dict>
<key>hash2</key>
<data>
ne45CSF6Mjh8QUZ3ruNJFI+NjLJjP7/c34Rmh68VvhQ=
wHIvpKPMMfSX2F/L6ljVaZxHnEvNaLycg6D0pcCaclI=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<dict>
<key>hash2</key>
<data>
Cb32nLTjPsPEk0gGLZudqncL4Na46+e+ify8JEBSg0g=
6zua/dKQNTHFmGWpXfNSw29v3Xi0lBvZuezq5ppG+Xc=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<dict>
<key>hash2</key>
<data>
386SBHIQ4jWKklKOAAI50GNa8fCrH84eLidgyDPgFaE=
fbEvXXUVp+QDQbMBbrkoPjnPO+drpJHzfqSizBtx4v4=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
Expand Down
2 changes: 1 addition & 1 deletion Rules.md
Expand Up @@ -764,7 +764,7 @@ Option | Description
`--categorymark` | Template for category mark comments. Defaults to "MARK: %c"
`--beforemarks` | Declarations placed before first mark (e.g. `typealias,struct`)
`--lifecycle` | Names of additional Lifecycle methods (e.g. `viewDidLoad`)
`--organizetypes` | Declarations to organize (defaults to `struct,class,enum`)
`--organizetypes` | Declarations to organize (default: `class,actor,struct,enum`)
`--structthreshold` | Minimum line count to organize struct body. Defaults to 0
`--classthreshold` | Minimum line count to organize class body. Defaults to 0
`--enumthreshold` | Minimum line count to organize enum body. Defaults to 0
Expand Down
2 changes: 1 addition & 1 deletion Sources/Formatter.swift
Expand Up @@ -2,7 +2,7 @@
// Formatter.swift
// SwiftFormat
//
// Version 0.48.4
// Version 0.48.54
//
// Created by Nick Lockwood on 12/08/2016.
// Copyright 2016 Nick Lockwood
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftFormat.swift
Expand Up @@ -32,7 +32,7 @@
import Foundation

/// The current SwiftFormat version
let swiftFormatVersion = "0.48.4"
let swiftFormatVersion = "0.48.5"
public let version = swiftFormatVersion

/// The standard SwiftFormat config file name
Expand Down
2 changes: 1 addition & 1 deletion Sources/Tokenizer.swift
Expand Up @@ -2,7 +2,7 @@
// Tokenizer.swift
// SwiftFormat
//
// Version 0.48.4
// Version 0.48.54
//
// Created by Nick Lockwood on 11/08/2016.
// Copyright 2016 Nick Lockwood
Expand Down
4 changes: 2 additions & 2 deletions SwiftFormat.podspec.json
@@ -1,6 +1,6 @@
{
"name": "SwiftFormat",
"version": "0.48.4",
"version": "0.48.5",
"license": {
"type": "MIT",
"file": "LICENSE.md"
Expand All @@ -10,7 +10,7 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/nicklockwood/SwiftFormat.git",
"tag": "0.48.4"
"tag": "0.48.5"
},
"default_subspecs": "Core",
"subspecs": [
Expand Down
12 changes: 6 additions & 6 deletions SwiftFormat.xcodeproj/project.pbxproj
Expand Up @@ -1099,7 +1099,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.48.4;
MARKETING_VERSION = 0.48.5;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -1127,7 +1127,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.48.4;
MARKETING_VERSION = 0.48.5;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -1223,7 +1223,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.4;
MARKETING_VERSION = 0.48.5;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1253,7 +1253,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.4;
MARKETING_VERSION = 0.48.5;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1281,7 +1281,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.4;
MARKETING_VERSION = 0.48.5;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1311,7 +1311,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.4;
MARKETING_VERSION = 0.48.5;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion Tests/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.48.4</string>
<string>0.48.54</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 4704661

Please sign in to comment.