Updated for 0.40.11 release

This commit is contained in:
Nick Lockwood
2019-07-29 22:39:53 +01:00
parent 28087e7de7
commit c4a1da3945
15 changed files with 19 additions and 12 deletions
+7
View File
@@ -1,5 +1,12 @@
# Change Log
## [0.40.11](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.40.11) (2019-07-29)
- Added `--xcodeindentation` option to use Xcode-style indentation for guards and enums
- The `redundantNilInit` rule no longer removes `nil` for properties using property wrappers
- Fixed bug where `redundantParens` rule incorrectly stripped Void generic arguments
- The `void` rule is now correctly applied to generic type parameters
## [0.40.10](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.40.10) (2019-06-23)
- The `emptyBraces` rule no longer removes linebreaks in chained `else`/`catch` blocks
Binary file not shown.
+1 -1
View File
@@ -32,7 +32,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.40.10</string>
<string>0.40.11</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
+1 -1
View File
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.40.10</string>
<string>0.40.11</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
@@ -32,7 +32,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.40.10</string>
<string>0.40.11</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.40.10</string>
<string>0.40.11</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
@@ -178,7 +178,7 @@
<dict>
<key>cdhash</key>
<data>
cuUDNScHKojKC1DSKAjrRMusXgk=
X/gBt/k3Hk3/gxvgiH30/pB5HRs=
</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>
+1 -1
View File
@@ -2,7 +2,7 @@
// Formatter.swift
// SwiftFormat
//
// Version 0.40.10
// Version 0.40.11
//
// Created by Nick Lockwood on 12/08/2016.
// Copyright 2016 Nick Lockwood
+1 -1
View File
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.40.10</string>
<string>0.40.11</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
+1 -1
View File
@@ -32,7 +32,7 @@
import Foundation
/// The current SwiftFormat version
public let version = "0.40.10"
public let version = "0.40.11"
/// The standard SwiftFormat config file name
public let swiftFormatConfigurationFile = ".swiftformat"
+1 -1
View File
@@ -2,7 +2,7 @@
// Tokenizer.swift
// SwiftFormat
//
// Version 0.40.10
// Version 0.40.11
//
// Created by Nick Lockwood on 11/08/2016.
// Copyright 2016 Nick Lockwood
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "SwiftFormat",
"version": "0.40.10",
"version": "0.40.11",
"license": {
"type": "MIT",
"file": "LICENSE.md"
@@ -10,7 +10,7 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/nicklockwood/SwiftFormat.git",
"tag": "0.40.10"
"tag": "0.40.11"
},
"default_subspecs": "Core",
"subspecs": [
+1 -1
View File
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.40.10</string>
<string>0.40.11</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>