Skip to content

Commit

Permalink
Updated for 0.45.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Aug 3, 2020
1 parent 42a0c38 commit 93e981e
Show file tree
Hide file tree
Showing 32 changed files with 43 additions and 34 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

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

- Added `--linerange` command-line argument for partial file formatting or linting
- Added `--varattributes` option to complement `--funcattributes` and `--typeattributes`
- Fixed spurious "Unexpected static/class ..." warning in `redundantSelf` rule
- Fixed bug in tokenIndex() calculation when last line does not end in a linebreak
- Fixed bug where `self` was incorrectly removed inside trailing closures on generic type init
- Blank lines are no longer indented when using `--trimwhitespace nonblank-lines`

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

- You can now tweak formatting options inside source files using `// swiftformat:options ...` directive
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.2</string>
<string>0.45.3</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.2</string>
<string>0.45.3</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.2</string>
<string>0.45.3</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.
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@
</data>
<key>Resources/Assets.car</key>
<data>
v18vqa3EmpFqLADs7Xt0GeU/8hg=
NGYz80PMNDXVIMVmFTREBz/iROc=
</data>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<data>
7nW2Ejdf+JPpz+j2sT9uwt0JwoY=
9Xh1jYO+bFA+NHVtpeOnYd8arQ0=
</data>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<data>
tBTXZJrzuLo5l4ubY535myPTxlw=
jj/gB3C/HlPyWdShowzTI9Pw3OE=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<data>
pBYgFqMHgG9md1EzknU744C6NjY=
Jd6kdJVLKKwnENi7hgSFftF3jJc=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<data>
KmYwn6m652rN9jeESe4Glg1Zgg0=
z9aMR02r7l9Sq3MZfjO7wYnKttk=
</data>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<data>
w0dGuJJ0qCGGUbajOtVI2oHLvTQ=
CidnMSH1GKqAFPxOo9sNgLon4ps=
</data>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<data>
9sAckjyixq5R8BF+iKw7Js9xiUM=
NKApkw/2lWyymvwWZOGXBw2wv9M=
</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>
jpxVjBeAZCqgam7YriAUokujEak=
iItVjWzMP0f8rcESpNAgaVBdCOA=
</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,77 +139,77 @@
<dict>
<key>hash</key>
<data>
v18vqa3EmpFqLADs7Xt0GeU/8hg=
NGYz80PMNDXVIMVmFTREBz/iROc=
</data>
<key>hash2</key>
<data>
KNfy3NN2YIqKIAzMUwoQcnDR3tedTExbCywF8ZRf25g=
atGt7U9zr27xAn9IXvhzwrAaFX0ElyAi6OEIz37Walk=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<dict>
<key>hash</key>
<data>
7nW2Ejdf+JPpz+j2sT9uwt0JwoY=
9Xh1jYO+bFA+NHVtpeOnYd8arQ0=
</data>
<key>hash2</key>
<data>
9yFKmXGZSLeNBt2fU2cGwKkXnZr9LDQ8iRfLMZShou4=
W8XwfvtYivKv4sAee3R7EARnBg3QVbXCcWA3V2bd53A=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<dict>
<key>hash</key>
<data>
tBTXZJrzuLo5l4ubY535myPTxlw=
jj/gB3C/HlPyWdShowzTI9Pw3OE=
</data>
<key>hash2</key>
<data>
8nWaKakFF3btVOGJZr3nMUpNQ8SuAhvXjOc3BK538XY=
CkHEl+eT8GEspgq/JxvlO6ydRdOowceMrTDCl/vd6lo=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<dict>
<key>hash</key>
<data>
pBYgFqMHgG9md1EzknU744C6NjY=
Jd6kdJVLKKwnENi7hgSFftF3jJc=
</data>
<key>hash2</key>
<data>
qo4BSqIxmPNvc/QRo2GsB8pH2l4f5l0GmbjXwTjzsoU=
txJu8/609e6tLI/WRrtoKC7ytvhn3nf0aX02D3MJcLE=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<dict>
<key>hash</key>
<data>
KmYwn6m652rN9jeESe4Glg1Zgg0=
z9aMR02r7l9Sq3MZfjO7wYnKttk=
</data>
<key>hash2</key>
<data>
936dSGOMgk7EedXSc+qWMIOl9xi0fe/JaCLXwFGovzY=
W3WFdEYXiGlMCYm+mb7J4Gqyo/kXrRa/5PrMgrAqLns=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<dict>
<key>hash</key>
<data>
w0dGuJJ0qCGGUbajOtVI2oHLvTQ=
CidnMSH1GKqAFPxOo9sNgLon4ps=
</data>
<key>hash2</key>
<data>
5ksn7PzIigN9hmJuViS79EEVAy7UzYppDhoExAnjyYs=
hESV19m44Cdqnga5Tc6NAP0rjMggkU5PYAZzlHPx4qE=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<dict>
<key>hash</key>
<data>
9sAckjyixq5R8BF+iKw7Js9xiUM=
NKApkw/2lWyymvwWZOGXBw2wv9M=
</data>
<key>hash2</key>
<data>
7Z+iuUgbW8cxmcWcRTXRG59J7pQlOTYR1UOX6XT3W70=
M5gEkcwjOnL4EISCbiaaag6KSeezxd18qLPfe+C0UEA=
</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.2
// Version 0.45.3
//
// 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.2</string>
<string>0.45.3</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.2"
let swiftFormatVersion = "0.45.3"
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.2
// Version 0.45.3
//
// 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.2",
"version": "0.45.3",
"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.2"
"tag": "0.45.3"
},
"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.2;
MARKETING_VERSION = 0.45.3;
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.2;
MARKETING_VERSION = 0.45.3;
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.2</string>
<string>0.45.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 93e981e

Please sign in to comment.