Update for 0.48.8 release

This commit is contained in:
Nick Lockwood
2021-07-08 18:53:17 +01:00
parent 168587936d
commit c8abbd27e2
41 changed files with 36 additions and 32 deletions
+4
View File
@@ -1,5 +1,9 @@
# Change Log
## [0.48.8](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.48.8) (2020-07-08)
- Fixed regression introduced in 0.48.7 where parens around operator literals were incorrectly removed
## [0.48.7](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.48.7) (2020-07-07)
- Fixed bug where `redundantParens` rule could introduce an ambiguity by removing parens around a range argument
Binary file not shown.
@@ -36,7 +36,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.48.7</string>
<string>0.48.8</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.48.7</string>
<string>0.48.8</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
@@ -10,31 +10,31 @@
</data>
<key>Resources/Assets.car</key>
<data>
js+PUP9vzfdK5eMYGBWPQdECXvY=
mmE8H3LTH0VgAsMOIX/KLCyzq8E=
</data>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<data>
JxSn3ZJ1C28Tj+1XWKr5+HRZMnk=
CAz/byJ5rYQxef+fb/EbII10m3g=
</data>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<data>
eCh2dGlINZxblFqTfr+wG9zRzgE=
CFQL7R/Dq8+nhpAw5ovpZitKyw4=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<data>
eEK+9vwvOfT0lx7C6adSTbcObfA=
SWh+5wdV8WauelWU07VyYZiBUPI=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<data>
RlQOAEWW/cq3z+2MzBysMTggU8o=
TA2nwSBAB6lMM5qI2rMwwMXk9Rg=
</data>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<data>
qAMsni8+UOntPa8hJI3qa01gMk4=
aX0SM5nZp/LgGXnO0LuEWPuBxxE=
</data>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<data>
FoO7XjFaRiSqcReX/ZyL9srRWHI=
AYSqixcR7DSek+hK6t5zGhKWtgo=
</data>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
<data>
@@ -209,7 +209,7 @@
<dict>
<key>cdhash</key>
<data>
0caJcJSY6FkBzUhOaJKrKhQmEfw=
QP/curr6ZXqiee27vodeRvYLEaI=
</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>
@@ -225,49 +225,49 @@
<dict>
<key>hash2</key>
<data>
wabgzocgFufjTt9GrtfXKizYclrkW8qUQ6WeOD1LKVU=
LC+Mgft57st5/hf+5IxMZto5JnrkKFY2W7mnrvaszU8=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<dict>
<key>hash2</key>
<data>
W5GGsoDTnOkKZUXF/zcCgLNPDuibGw2pp3T8OfS6/2s=
ic7yoFT1eH9lYAOQ+kWpJSfRSaY9hNNjcdAgEa9Y4xo=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<dict>
<key>hash2</key>
<data>
5xHorX2+W7xxaLMYflwv6TVraZ1ZpyWQOjiPvIu/K+s=
SyJGWVKFb1A9bwDYB6/Css7gbORtVCDnMZ7241W1vTw=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<dict>
<key>hash2</key>
<data>
zi1uvL0qA2v7zkxjeeHPJqdlisqYc6Fjx595A1eM7Wc=
ze2wF3ETk+EjP+uGizrsMdRRPa4jNmWk9FNWgJuQSfI=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<dict>
<key>hash2</key>
<data>
BFtQZaXBdaph9EE+64Rwa8MKlBj6Dr7yjpJ1l/ujWZY=
eI2Fr6XNzJ8fvWNroYqxRgEIVjwQKg/NRUi337Ld0Kw=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<dict>
<key>hash2</key>
<data>
ofQtKNx5hyVaLYIiZI3kRVfEHQe+6gcJImNOj4ERUYw=
c24SbIQnx7I/KZR1q4m3isIdch32xfZBJwhQ/uEBM/Y=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<dict>
<key>hash2</key>
<data>
v6sqWDhWfN1SUY4mDSJ0Zq68NXxUgV/FNWnYPVHbK+U=
5VgpXTQj8zJ5CLQlOblAYI9wp8C9tQDnj85UskeTgQw=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
+3 -3
View File
@@ -1,7 +1,7 @@
![](EditorExtension/Application/Assets.xcassets/AppIcon.appiconset/icon_256x256.png)
[![PayPal](https://img.shields.io/badge/paypal-donate-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9ZGWNK5FEZFF6&source=url)
[![Travis](https://api.travis-ci.org/nicklockwood/SwiftFormat.svg?branch=master)](https://travis-ci.org/nicklockwood/SwiftFormat)
[![Travis](https://api.travis-ci.com/nicklockwood/SwiftFormat.svg?branch=master)](https://travis-ci.com/github/nicklockwood/SwiftFormat)
[![Codecov](https://codecov.io/gh/nicklockwood/SwiftFormat/graphs/badge.svg)](https://codecov.io/gh/nicklockwood/SwiftFormat)
[![Swift 4.2](https://img.shields.io/badge/swift-4.2-red.svg?style=flat)](https://developer.apple.com/swift)
[![License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)
@@ -621,8 +621,8 @@ Error codes
The swiftformat command-line tool will always exit with one of the following codes:
* 0 - Success. This code will be returned in the event of a successful formatting run or if linting detects no violations.
* 1 - Lint failure. This code will be returned when running in `--lint` mode if the input requires formatting.
* 0 - Success. This code will be returned in the event of a successful formatting run or if `--lint` detects no violations.
* 1 - Lint failure. This code will be returned only when running in `--lint` mode if the input requires formatting.
* 70 - Program error. This code will be returned if there is a problem with the input or configuration arguments.
+1 -1
View File
@@ -2,7 +2,7 @@
// Formatter.swift
// SwiftFormat
//
// Version 0.48.7
// Version 0.48.8
//
// Created by Nick Lockwood on 12/08/2016.
// Copyright 2016 Nick Lockwood
+1 -1
View File
@@ -32,7 +32,7 @@
import Foundation
/// The current SwiftFormat version
let swiftFormatVersion = "0.48.7"
let swiftFormatVersion = "0.48.8"
public let version = swiftFormatVersion
/// The standard SwiftFormat config file name
+1 -1
View File
@@ -2,7 +2,7 @@
// Tokenizer.swift
// SwiftFormat
//
// Version 0.48.7
// Version 0.48.8
//
// Created by Nick Lockwood on 11/08/2016.
// Copyright 2016 Nick Lockwood
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "SwiftFormat",
"version": "0.48.7",
"version": "0.48.8",
"license": {
"type": "MIT",
"file": "LICENSE.md"
@@ -10,7 +10,7 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/nicklockwood/SwiftFormat.git",
"tag": "0.48.7"
"tag": "0.48.8"
},
"default_subspecs": "Core",
"subspecs": [
+6 -6
View File
@@ -1099,7 +1099,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.48.7;
MARKETING_VERSION = 0.48.8;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
@@ -1127,7 +1127,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.48.7;
MARKETING_VERSION = 0.48.8;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.SwiftFormat;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
@@ -1223,7 +1223,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.7;
MARKETING_VERSION = 0.48.8;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1253,7 +1253,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.7;
MARKETING_VERSION = 0.48.8;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1281,7 +1281,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.7;
MARKETING_VERSION = 0.48.8;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1311,7 +1311,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.48.7;
MARKETING_VERSION = 0.48.8;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension";
PRODUCT_NAME = SwiftFormat;
PROVISIONING_PROFILE_SPECIFIER = "";
+1 -1
View File
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.48.7</string>
<string>0.48.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>