Skip to content

Commit

Permalink
Updated for 0.45.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Aug 1, 2020
1 parent fa47288 commit 23de800
Show file tree
Hide file tree
Showing 31 changed files with 41 additions and 31 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## [0.45.2](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.45.2) (2020-08-01)

- The `wrapMultilineStatementBraces` rule is now applied to more statement types
- Fixed spurious lint warnings due to conflict between `braces` and `wrapMultilineStatementBraces` rules
- Fixed several bugs in `redundantSelf` rule relating to for loops
- Fixed bug with indenting of closure arguments
- Fixed unsafe removal of backticks around `init`
- Rules can now raise an error if they encounter malformed code instead of failing silently
- SwiftFormat for Xcode app no longer shows deprecated rules in the rules tab

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

- Fixed bug where `preferKeyPath` was incorrectly applied to function calls and compound expressions
Expand Down
Binary file modified CommandLineTool/swiftformat
Binary file not shown.
2 changes: 1 addition & 1 deletion EditorExtension/Extension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.45.1</string>
<string>0.45.2</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
Expand Down
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.
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.45.1</string>
<string>0.45.2</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.45.1</string>
<string>0.45.2</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.
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@
</data>
<key>Resources/Assets.car</key>
<data>
Kdk10gDu/JI36sznlph2FgqZkVA=
v18vqa3EmpFqLADs7Xt0GeU/8hg=
</data>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<data>
7nW2Ejdf+JPpz+j2sT9uwt0JwoY=
</data>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<data>
VkbcMYg3aIH80CZrGBUMBk8ykIQ=
tBTXZJrzuLo5l4ubY535myPTxlw=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<data>
zwF9m7lWAVEWcVQUj9vXWYi+y8k=
pBYgFqMHgG9md1EzknU744C6NjY=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<data>
SHJqF3uVCY1rMDCAuFI5zr1Z0/4=
KmYwn6m652rN9jeESe4Glg1Zgg0=
</data>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<data>
Z5mneaze2RF+tFHx2odAkQdfqyY=
w0dGuJJ0qCGGUbajOtVI2oHLvTQ=
</data>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<data>
oP4amzT8ZfDpqxpS3JbuBuH4Js0=
9sAckjyixq5R8BF+iKw7Js9xiUM=
</data>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
<data>
Expand Down Expand Up @@ -119,7 +119,7 @@
<dict>
<key>cdhash</key>
<data>
EPCNEprrsG/0bpAFun6HZWT1PR8=
jpxVjBeAZCqgam7YriAUokujEak=
</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 @@ -139,11 +139,11 @@
<dict>
<key>hash</key>
<data>
Kdk10gDu/JI36sznlph2FgqZkVA=
v18vqa3EmpFqLADs7Xt0GeU/8hg=
</data>
<key>hash2</key>
<data>
wdbJcM3Uy1+z4nl4Z7wmMZK+oxKB5FQ4JarOqB4pX8M=
KNfy3NN2YIqKIAzMUwoQcnDR3tedTExbCywF8ZRf25g=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
Expand All @@ -161,55 +161,55 @@
<dict>
<key>hash</key>
<data>
VkbcMYg3aIH80CZrGBUMBk8ykIQ=
tBTXZJrzuLo5l4ubY535myPTxlw=
</data>
<key>hash2</key>
<data>
D3QTDf7l/EztBY8MAaeRYB8zQTrtUI6y4TGMVxhmDsE=
8nWaKakFF3btVOGJZr3nMUpNQ8SuAhvXjOc3BK538XY=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<dict>
<key>hash</key>
<data>
zwF9m7lWAVEWcVQUj9vXWYi+y8k=
pBYgFqMHgG9md1EzknU744C6NjY=
</data>
<key>hash2</key>
<data>
wOan2qNO43kL+MwGIPcbL/0qhCxhipLSdX7v0oG/JXs=
qo4BSqIxmPNvc/QRo2GsB8pH2l4f5l0GmbjXwTjzsoU=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<dict>
<key>hash</key>
<data>
SHJqF3uVCY1rMDCAuFI5zr1Z0/4=
KmYwn6m652rN9jeESe4Glg1Zgg0=
</data>
<key>hash2</key>
<data>
dGC1kzjP06xyyaUd/UVfCydOGuR5bB2zP+F+Gzbyfs0=
936dSGOMgk7EedXSc+qWMIOl9xi0fe/JaCLXwFGovzY=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<dict>
<key>hash</key>
<data>
Z5mneaze2RF+tFHx2odAkQdfqyY=
w0dGuJJ0qCGGUbajOtVI2oHLvTQ=
</data>
<key>hash2</key>
<data>
7XJ2QGq+Xpichzera1b+m3pQPjXhTHOICH0qd5RInCU=
5ksn7PzIigN9hmJuViS79EEVAy7UzYppDhoExAnjyYs=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<dict>
<key>hash</key>
<data>
oP4amzT8ZfDpqxpS3JbuBuH4Js0=
9sAckjyixq5R8BF+iKw7Js9xiUM=
</data>
<key>hash2</key>
<data>
ZueaiCobENE0UXVVslY1PMsatKNMQKbtRMJT4I4AjJo=
7Z+iuUgbW8cxmcWcRTXRG59J7pQlOTYR1UOX6XT3W70=
</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 Sources/Formatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Formatter.swift
// SwiftFormat
//
// Version 0.45.1
// Version 0.45.2
//
// Created by Nick Lockwood on 12/08/2016.
// Copyright 2016 Nick Lockwood
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.45.1</string>
<string>0.45.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
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.45.1"
let swiftFormatVersion = "0.45.2"
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.45.1
// Version 0.45.2
//
// 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.45.1",
"version": "0.45.2",
"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.45.1"
"tag": "0.45.2"
},
"default_subspecs": "Core",
"subspecs": [
Expand Down
4 changes: 2 additions & 2 deletions SwiftFormat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@
INFOPLIST_FILE = EditorExtension/Application/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
MARKETING_VERSION = 0.45.1;
MARKETING_VERSION = 0.45.2;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1205,7 +1205,7 @@
INFOPLIST_FILE = EditorExtension/Application/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
MARKETING_VERSION = 0.45.1;
MARKETING_VERSION = 0.45.2;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion Tests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.45.1</string>
<string>0.45.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 23de800

Please sign in to comment.