Skip to content

Commit

Permalink
Updated for 0.33.13 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Jul 24, 2018
1 parent 2dbfb17 commit 1beb42d
Show file tree
Hide file tree
Showing 21 changed files with 37 additions and 31 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Change Log

## [0.33.13](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.33.13) (2018-07-25)

- Fixed bug where required parens were incorrectly removed from around a closure type
- Added `--lint` mode that is similar to `--dryrun` but returns a non-zero exit code if any files require formatting
- The swiftformat command-line tool now returns a non-zero exit code in the event of a fatal error while formatting

## [0.33.12](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.33.12) (2018-07-23)

- Added `swiftformat:disable:all` and `swiftformat:enable:all` directives
- Fixed a bug where redundant parens were not always removed correctly
- Fixed errors when parsing custom operators such as `<>`, `|>` or `<<>>`
- Fixed divide-by-zero crash when specifiying number groupings with a value of zero
- Rules are now consistently applied in alphabetical order
- Rules are now always applied in alphabetical order to ensure consistency
- Fixed the `--conflictmarkers` command-line option

## [0.33.11](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.33.11) (2018-07-05)
Expand Down
Binary file modified CommandLineTool/swiftformat
Binary file not shown.
2 changes: 1 addition & 1 deletion EditorExtension/Application/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.33.12</string>
<string>0.33.13</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
Expand Down
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.33.12</string>
<string>0.33.13</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.33.12</string>
<string>0.33.13</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 @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.33.12</string>
<string>0.33.13</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 @@ -6,27 +6,27 @@
<dict>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<data>
Se3gWBpfO/HcwFARxN1fQDqumV0=
gQ/V66j1OPv1N3t1VIs1KwYsG+E=
</data>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<data>
xxO1FpoP+K58lr3Zgx5SYNQN2mk=
d13jWpotzLfktzJaop/vGFJsP5c=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<data>
FaQvIi3TSgA4Ayp6vUvck1GOD+U=
/tibXCsq11E5asRQtuhEd4GWKeA=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<data>
ljijpXXzG3rS9miSI4jUVqIN6AM=
RicBYPwA3GmfO6dvLuO0Vx8TcZk=
</data>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<data>
o8R8Im9guoMQJSmh0D71O2vTAYo=
pfzjiaASG4L7SZGy/ewNpv+LzF4=
</data>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<data>
3JpFaugHIiPc2px28097jRNlBjs=
T4JiSTUBZPB+d9wy0/IYtX0XEgs=
</data>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
<data>
Expand Down Expand Up @@ -178,7 +178,7 @@
<dict>
<key>cdhash</key>
<data>
SktsMXfi2JRoLUCK4O6cfy88Ykg=
qxyK9t/H4S1IgcsxJrQzzTxrlUk=
</data>
<key>requirement</key>
<string>identifier "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension" and anchor apple generic and certificate leaf[subject.CN] = "Mac Developer: Nick Lockwood (XDQ4XJZXHD)" and certificate 1[field.1.2.840.113635.100.6.2.1] /* exists */</string>
Expand All @@ -187,66 +187,66 @@
<dict>
<key>hash</key>
<data>
Se3gWBpfO/HcwFARxN1fQDqumV0=
gQ/V66j1OPv1N3t1VIs1KwYsG+E=
</data>
<key>hash2</key>
<data>
fveDxxj2B+SHqtWpNYHco0GBro3FHZdxvsyemndUHQA=
JTR7TH6HV7fhxsh7wgrwvLdaw81CLB3wst8oVFAq2wI=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<dict>
<key>hash</key>
<data>
xxO1FpoP+K58lr3Zgx5SYNQN2mk=
d13jWpotzLfktzJaop/vGFJsP5c=
</data>
<key>hash2</key>
<data>
idZ5kZL32m380KMHzZjiHiiYsjUthT9vq0ougRdpLXo=
qMgc11xeh/O0bbAqaXaUrAPOIUlGqs6LTD/88NzbTB0=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<dict>
<key>hash</key>
<data>
FaQvIi3TSgA4Ayp6vUvck1GOD+U=
/tibXCsq11E5asRQtuhEd4GWKeA=
</data>
<key>hash2</key>
<data>
83eQpQx/FJNc0rspVvI72P2WZtlmrcn7e1iEo2zkJvA=
/Z2g65EkKYJ4U1FQuhnkiT77ib+hqpI8dnFYBjsAy64=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<dict>
<key>hash</key>
<data>
ljijpXXzG3rS9miSI4jUVqIN6AM=
RicBYPwA3GmfO6dvLuO0Vx8TcZk=
</data>
<key>hash2</key>
<data>
VRIXf+Un0mD2zEiq+1KFc/rKgno/CFtZ8kbXoO4du+Q=
WglfcNpb5Z+7fU9hhdbLdgsESCG2FCqvV+lr/nGbJKk=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<dict>
<key>hash</key>
<data>
o8R8Im9guoMQJSmh0D71O2vTAYo=
pfzjiaASG4L7SZGy/ewNpv+LzF4=
</data>
<key>hash2</key>
<data>
gKe7XQ3cOKwSFZp7TkNjYGgV6xgQrn0b2Qix2w/0Bes=
rLCzzHHKq8bGfTsXhsqS80URdGZuEaLWPYktbT+1Dac=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<dict>
<key>hash</key>
<data>
3JpFaugHIiPc2px28097jRNlBjs=
T4JiSTUBZPB+d9wy0/IYtX0XEgs=
</data>
<key>hash2</key>
<data>
Vwp1CjVRVaNPWwSGP5M7mX/I/ElZJwaCWZpt/kkf7y8=
MOTOJkr6k8YCSOcPMFmSoms3Wlp1ZTA074kB+Jsud2s=
</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.33.12
// Version 0.33.13
//
// 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.33.12</string>
<string>0.33.13</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
public let version = "0.33.12"
public let version = "0.33.13"

/// An enumeration of the types of error that may be thrown by SwiftFormat
public enum FormatError: Error, CustomStringConvertible {
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.33.12
// Version 0.33.13
//
// 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.33.12",
"version": "0.33.13",
"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.33.12"
"tag": "0.33.13"
},
"default_subspecs": "Core",
"subspecs": [
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.33.12</string>
<string>0.33.13</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 1beb42d

Please sign in to comment.