mirror of
https://github.com/nicklockwood/SwiftFormat.git
synced 2026-05-17 10:30:35 +00:00
Updated for 0.43.5 release
This commit is contained in:
+7
-2
@@ -1,15 +1,20 @@
|
||||
# Change Log
|
||||
|
||||
## [0.43.5](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.43.5) (2020-01-04)
|
||||
|
||||
- Fixed bug where `redundantBreak` rule removed entire line if break appeared after a semicolon
|
||||
- Fixed a couple of cases where `redundantSelf` failed to remove `self` as expected
|
||||
|
||||
## [0.43.4](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.43.4) (2020-01-02)
|
||||
|
||||
- Fixed regression in `indent` rule` that could cause multiline strings to become misformatted
|
||||
- Fixed regression in `indent` rule` that could cause multiline strings to become mis-formatted
|
||||
- Fixed bug in `--nospaceoperators` option where `..<` operator was rejected
|
||||
- Added instructions for installing SwiftFormat for Xcode via Homebrew cask
|
||||
|
||||
## [0.43.3](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.43.3) (2019-12-31)
|
||||
|
||||
- Deprecated `ranges` rule and `--ranges` option (use `--nospaceoperators` with `spaceAroundOperators` rule instead)
|
||||
- The `redundantSelf` rule no longer removes self in cases where property requirea backtick escaping
|
||||
- The `redundantSelf` rule no longer removes self in cases where property requires backtick escaping
|
||||
- Fixed bug with `--nospaceoperators` potentially removing required spaced near linebreaks
|
||||
- Fixed spurious lint warnings in `spaceAroundOperators`, `indent` and `wrap` rules
|
||||
- Improved wrapping heuristic for closures to avoid splitting expressions if avoidable
|
||||
|
||||
Binary file not shown.
@@ -32,9 +32,11 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.43.4</string>
|
||||
<string>0.43.5</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.developer-tools</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XPC!</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.43.4</string>
|
||||
<string>0.43.5</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
@@ -32,7 +32,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.43.4</string>
|
||||
<string>0.43.5</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
@@ -53,6 +53,8 @@
|
||||
<string>1130</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>11C29</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.developer-tools</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.11</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
||||
Binary file not shown.
+1
-1
@@ -17,7 +17,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XPC!</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.43.4</string>
|
||||
<string>0.43.5</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -6,27 +6,27 @@
|
||||
<dict>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
|
||||
<data>
|
||||
rO2tmT7J7O2rbano/AHJ/5Kj8lw=
|
||||
3no0eAtV8b10B9KTo+nAAwBJeCo=
|
||||
</data>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
|
||||
<data>
|
||||
dRC6jlIITXCoScOjB+NS0hoBJIE=
|
||||
N8yXOmvRLiT6ddu+JW9Yh0/k03k=
|
||||
</data>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
|
||||
<data>
|
||||
o/5V4J+fpEu0IRbMLg7p3KVduJ0=
|
||||
EvZERo0ymPBghsDuZmc3Yo/imvI=
|
||||
</data>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
|
||||
<data>
|
||||
98+fXKFY7wWpHy5iBMovk7Mcbqo=
|
||||
B0Jw7YHLXSMJFTOZyMo5BC6EBmg=
|
||||
</data>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
|
||||
<data>
|
||||
md5P+lZWhKYb1iRrAGWt/5/j8i0=
|
||||
567Y0dHCWmemllvEaDcEjnDWmh4=
|
||||
</data>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
|
||||
<data>
|
||||
iiHV19HPvfiQCET0HFSPxD6mpYQ=
|
||||
AKcP7aNRdPVdg0qEHkNlbs1G80M=
|
||||
</data>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
|
||||
<data>
|
||||
@@ -111,7 +111,7 @@
|
||||
<dict>
|
||||
<key>cdhash</key>
|
||||
<data>
|
||||
MDYprKzcihB+yMjnINzPYjyeGyw=
|
||||
FnhExIbWQgbB+zQwIxZ0VYaC4jg=
|
||||
</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>
|
||||
@@ -120,66 +120,66 @@
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
rO2tmT7J7O2rbano/AHJ/5Kj8lw=
|
||||
3no0eAtV8b10B9KTo+nAAwBJeCo=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
DDyoEFZH9zqY8qYnbkTkcSG/8vRt5TExpEt8ECBWbsQ=
|
||||
7jt76O+ThbheWMDCbCqjXt7LsvVg0AN8YaJeM2lZdZ4=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
dRC6jlIITXCoScOjB+NS0hoBJIE=
|
||||
N8yXOmvRLiT6ddu+JW9Yh0/k03k=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
JGbPkxv+SQaqYbzaALPV02mi/kwdT1+T9T/+2YsyMJY=
|
||||
4BXIRw2nz/jSMfjIkLl4ez5HUYiw43niV0mnOidzn+8=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
o/5V4J+fpEu0IRbMLg7p3KVduJ0=
|
||||
EvZERo0ymPBghsDuZmc3Yo/imvI=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
rTeahmc0WGiduU1n3ZbRS0IaRaX5pJWWvHI3Vl9aOe8=
|
||||
983AGSKR6c2ZL15vlMj2GCXQT96oYVuyROLwICBn9OU=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
98+fXKFY7wWpHy5iBMovk7Mcbqo=
|
||||
B0Jw7YHLXSMJFTOZyMo5BC6EBmg=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
yJ+4hqi5Nhn1GKAIZMhzabhYyRoWWhBlwjNVoD6aFeM=
|
||||
tJaf8vQmbtMoUhmQr+eOc99wLfKglADpR8z+DgxeebI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
md5P+lZWhKYb1iRrAGWt/5/j8i0=
|
||||
567Y0dHCWmemllvEaDcEjnDWmh4=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
nGvnblNQ+F2NW36CfhXojY7lGjM5GufzKJRfi0Fg4Nc=
|
||||
b+CRR+XU2MnUwq+x/0suY1WxmWkFjfEV9SeQMg1nJD0=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
iiHV19HPvfiQCET0HFSPxD6mpYQ=
|
||||
AKcP7aNRdPVdg0qEHkNlbs1G80M=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
tBUs70M4QjZ62C8V6hi/xOIswJiexeG39C83UPJ3lV0=
|
||||
jwUAsB3NUAJxD1IYepcCQAEKLGh3zJFKoEvDPi1ZESI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Formatter.swift
|
||||
// SwiftFormat
|
||||
//
|
||||
// Version 0.43.4
|
||||
// Version 0.43.5
|
||||
//
|
||||
// Created by Nick Lockwood on 12/08/2016.
|
||||
// Copyright 2016 Nick Lockwood
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.43.4</string>
|
||||
<string>0.43.5</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
import Foundation
|
||||
|
||||
/// The current SwiftFormat version
|
||||
public let version = "0.43.4"
|
||||
public let version = "0.43.5"
|
||||
|
||||
/// The standard SwiftFormat config file name
|
||||
public let swiftFormatConfigurationFile = ".swiftformat"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Tokenizer.swift
|
||||
// SwiftFormat
|
||||
//
|
||||
// Version 0.43.4
|
||||
// Version 0.43.5
|
||||
//
|
||||
// Created by Nick Lockwood on 11/08/2016.
|
||||
// Copyright 2016 Nick Lockwood
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "SwiftFormat",
|
||||
"version": "0.43.4",
|
||||
"version": "0.43.5",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"file": "LICENSE.md"
|
||||
@@ -10,7 +10,7 @@
|
||||
"authors": "Nick Lockwood",
|
||||
"source": {
|
||||
"git": "https://github.com/nicklockwood/SwiftFormat.git",
|
||||
"tag": "0.43.4"
|
||||
"tag": "0.43.5"
|
||||
},
|
||||
"default_subspecs": "Core",
|
||||
"subspecs": [
|
||||
|
||||
@@ -566,7 +566,7 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastSwiftUpdateCheck = 0810;
|
||||
LastUpgradeCheck = 1110;
|
||||
LastUpgradeCheck = 1130;
|
||||
ORGANIZATIONNAME = "Nick Lockwood";
|
||||
TargetAttributes = {
|
||||
015AF2B61DC6A538008F0A8C = {
|
||||
@@ -1173,7 +1173,7 @@
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVES = YES;
|
||||
CODE_SIGN_ENTITLEMENTS = EditorExtension/Application/SwiftFormatter.entitlements;
|
||||
CODE_SIGN_IDENTITY = "Developer ID Application";
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
DEVELOPMENT_TEAM = 8VQKF583ED;
|
||||
@@ -1195,7 +1195,7 @@
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVES = YES;
|
||||
CODE_SIGN_ENTITLEMENTS = EditorExtension/Extension/SwiftFormatter.entitlements;
|
||||
CODE_SIGN_IDENTITY = "Developer ID Application";
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
@@ -1219,7 +1219,7 @@
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVES = YES;
|
||||
CODE_SIGN_ENTITLEMENTS = EditorExtension/Extension/SwiftFormatter.entitlements;
|
||||
CODE_SIGN_IDENTITY = "Developer ID Application";
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1110"
|
||||
LastUpgradeVersion = "1130"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1110"
|
||||
LastUpgradeVersion = "1130"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1110"
|
||||
LastUpgradeVersion = "1130"
|
||||
wasCreatedForAppExtension = "YES"
|
||||
version = "2.0">
|
||||
<BuildAction
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1110"
|
||||
LastUpgradeVersion = "1130"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1110"
|
||||
LastUpgradeVersion = "1130"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.43.4</string>
|
||||
<string>0.43.5</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
||||
Reference in New Issue
Block a user