Skip to content

Commit

Permalink
Update for 0.48.16 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Oct 12, 2021
1 parent 7dea791 commit 9d3f295
Show file tree
Hide file tree
Showing 41 changed files with 38 additions and 31 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [0.48.16](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.48.16) (2021-10-12)

- Fixed unexpected indentation of next line after a trailing closure
- Fixed unexpected indentation of `try` expressions
- Fixed bug where `redundantInit` could cause compilation failure
- Fixed indenting of multiple trailing closures

## [0.48.15](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.48.15) (2021-10-08)

- Fixed false positives in `unusedArgument` rule when using `try`/`await`
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.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.48.15</string>
<string>0.48.16</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.48.15</string>
<string>0.48.16</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<dict>
<key>cdhash</key>
<data>
wBjGWBhV+PLoNkaGx6kFcFrDdRM=
nGzO1fzgyxXytKevOfldUoyUzRQ=
</data>
<key>requirement</key>
<string>anchor apple generic and identifier "com.apple.dt.XcodeKit" 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 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.
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,35 @@
</data>
<key>Resources/Assets.car</key>
<data>
XHuEx82WXHmB7UnEed/RcIwPCPg=
rShzBAE4aEWlYwD+Pf9RjxwWq6s=
</data>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<data>
E+W0+oePl8XXcD0Bc+z/iIF8M8I=
DGq6oUjACKqw3adWhnQoevgIop4=
</data>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<data>
r07GcJ38yWyIxVU5s8Zy7eh0Wdk=
88m0ub6C8dZQXSmxaJJPSA7maXU=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<data>
IHsLAhmdP5wo6dzliNVye1hfZkw=
0WvApvYibvBJHdKQJvgVYTjPlgA=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<data>
5yPDm8HXFSa6wVZol9XkdfipoIg=
mlYseZDl2ac4yfI0/kssjOY2kqg=
</data>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<data>
WU6HcehUrGBmHqU9Mxi0t83hsCw=
+RRMFTreOzAZQDGFrpvTbSxrFCI=
</data>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<data>
d4Wma2c0ipEff/JKZ2zZhPUVYYc=
wRteVYWx9tfMOcdoJlXvob7f5F0=
</data>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
<data>
1DuAEH7+GGC2rstZPEXV1pTc9mY=
8YdG3ONZ8A2PvN4d2RdGTi0+PZ0=
</data>
</dict>
<key>files2</key>
Expand Down Expand Up @@ -209,7 +209,7 @@
<dict>
<key>cdhash</key>
<data>
YqhSVHftTG5VA6pxeGGL3CAqv8A=
3b5A4/9ujJB3znQNVwRbfvlfyoY=
</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,56 +225,56 @@
<dict>
<key>hash2</key>
<data>
EQV+aLNKjodRHPUqeSV11LLzSThWp2tPlbP1mHyApfI=
8dXg2m9uimO5DPIujHmPLagVhXFh+AIJRiyB6VBLa5E=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<dict>
<key>hash2</key>
<data>
tr9XxZSeGDd/KH+hkRORzwcvJK+6Ia2+cZXjxW29+wc=
c0PVKNwPnS/lodxecP2nH5OD68wJDS6OLviNIElBOYI=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<dict>
<key>hash2</key>
<data>
w2qtjouY1xQeI+m2IQZSd6UF1mtLInj5A0NVPdoWbh4=
5PHQujyBwKLkXbey81KKGgYtokn2FAw+2AXkGxjnfPA=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<dict>
<key>hash2</key>
<data>
+UP61e9rL4+B9JebuPPTuV2GV/EjyQdXn/JGHUMH850=
pHZcy3ZG9UkNzQN+h5y9hmBSSDDBG6aCF6E5PL4tXB8=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<dict>
<key>hash2</key>
<data>
3WUh0Dcp86W9ABGdGC1GVQ4796pyezh7ApktEmT6/Go=
pXdWkzsxKXJjSz72RGnU91PLbELtqspiQe85g0tQjFY=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<dict>
<key>hash2</key>
<data>
T3qiDHnzGPvxKAYrKqBU89uJnq47kNZZb2bDIgvXTi4=
tvKLpf3wo6XPwBsCWWU2EdRoxzXhGZq/o/ZzFYrRLqw=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<dict>
<key>hash2</key>
<data>
5L+CGubkwllhm8Ip0x438oUKvNVlj9c4ocp6GhnOKi0=
y1r3O4ukCwpjxiqwRGamUSuzH/qybGp3VKZE7IWxQ5g=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
<dict>
<key>hash2</key>
<data>
bY8O5yj1AN/H3WVeXSZi8+E7bd6Wk2j2Y9ZuGDo8It4=
ETgcJXLjePV9zKw17OGXbaKyufrb+5uzoF3LejJx2kw=
</data>
</dict>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Sources/Formatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Formatter.swift
// SwiftFormat
//
// Version 0.48.15
// Version 0.48.16
//
// Created by Nick Lockwood on 12/08/2016.
// Copyright 2016 Nick Lockwood
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftFormat.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import Foundation

/// The current SwiftFormat version
let swiftFormatVersion = "0.48.15"
let swiftFormatVersion = "0.48.16"
public let version = swiftFormatVersion

/// The standard SwiftFormat config file name
Expand Down
2 changes: 1 addition & 1 deletion Sources/Tokenizer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Tokenizer.swift
// SwiftFormat
//
// Version 0.48.15
// Version 0.48.16
//
// Created by Nick Lockwood on 11/08/2016.
// Copyright 2016 Nick Lockwood
Expand Down
4 changes: 2 additions & 2 deletions SwiftFormat.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SwiftFormat",
"version": "0.48.15",
"version": "0.48.16",
"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.15"
"tag": "0.48.16"
},
"default_subspecs": "Core",
"subspecs": [
Expand Down
12 changes: 6 additions & 6 deletions SwiftFormat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.48.15;
MARKETING_VERSION = 0.48.16;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -1108,7 +1108,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.48.15;
MARKETING_VERSION = 0.48.16;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -1204,7 +1204,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.15;
MARKETING_VERSION = 0.48.16;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1234,7 +1234,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.15;
MARKETING_VERSION = 0.48.16;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1262,7 +1262,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.15;
MARKETING_VERSION = 0.48.16;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1292,7 +1292,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.15;
MARKETING_VERSION = 0.48.16;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down

0 comments on commit 9d3f295

Please sign in to comment.