Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: realm/SwiftLint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.55.0
Choose a base ref
...
head repository: realm/SwiftLint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.55.1
Choose a head ref
  • 20 commits
  • 22 files changed
  • 4 contributors

Commits on May 11, 2024

  1. Add new changelog section

    SimplyDanny committed May 11, 2024
    Copy the full SHA
    a04ecbd View commit details
  2. Copy the full SHA
    0e9db3a View commit details
  3. Copy the full SHA
    6620d8a View commit details
  4. Create release and upload artifacts at once

    SimplyDanny committed May 11, 2024
    Copy the full SHA
    b1d3e5c View commit details

Commits on May 13, 2024

  1. Fix testSARIFReporter (#5572)

    garricn authored May 13, 2024
    Copy the full SHA
    919c10f View commit details

Commits on May 15, 2024

  1. Silence unused_enumerated rule when $0 in a closure is explicitly…

    … unpacked (#5577)
    SimplyDanny authored May 15, 2024
    Copy the full SHA
    e84a6fc View commit details
  2. Respect configuration in unneeded_override rule's rewriter (#5579)

    SimplyDanny authored May 15, 2024
    Copy the full SHA
    40bee88 View commit details
  3. Fix Bazel build when bzlmod is not in use (#5580)

    SimplyDanny authored May 15, 2024
    Copy the full SHA
    3a3ec07 View commit details
  4. Respect comments before opening braces in opening_brace rule (#5582)

    SimplyDanny authored May 15, 2024
    Copy the full SHA
    dfe19ac View commit details
  5. Improve README.md (#5543)

    Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
    Co-authored-by: Christopher Fuller <christopher.fuller@gotinder.com>
    3 people authored May 15, 2024
    Copy the full SHA
    7ec2238 View commit details
  6. Fix wording of static_over_final_class rule's violation message (#5583

    )
    SimplyDanny authored May 15, 2024
    Copy the full SHA
    03af316 View commit details
  7. Copy the full SHA
    6499497 View commit details
  8. Fix some markdownlint warnings

    SimplyDanny committed May 15, 2024
    Copy the full SHA
    af14250 View commit details
  9. Use txt for swiftlint --help output to avoid odd coloring

    SimplyDanny committed May 15, 2024
    Copy the full SHA
    7957859 View commit details

Commits on May 16, 2024

  1. Move Xcode Run Script Build Phase note (#5584)

    garricn authored May 16, 2024
    Copy the full SHA
    fe97631 View commit details
  2. Treat conditional code as if it was always active (#5581)

    SimplyDanny authored May 16, 2024
    Copy the full SHA
    161391d View commit details
  3. Completely exclude the binary target from the Linux build (#5585)

    SimplyDanny authored May 16, 2024
    Copy the full SHA
    de66fea View commit details
  4. Copy the full SHA
    8bc8160 View commit details
  5. Copy the full SHA
    2892e40 View commit details
  6. Release 0.55.1

    SimplyDanny committed May 16, 2024
    Copy the full SHA
    b515723 View commit details
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
## 0.55.1: Universal Washing Powder

#### Breaking

* None.

#### Experimental

* None.

#### Enhancements

* Clarify wording of `static_over_final_class` rule's violation message.
[SimplyDanny](https://github.com/SimplyDanny)
[#5570](https://github.com/realm/SwiftLint/issues/5570)

#### Bug Fixes

* Fix Bazel build when `bzlmod` is not in use by adding transitive dependencies
explicitly.
[SimplyDanny](https://github.com/SimplyDanny)
[#5568](https://github.com/realm/SwiftLint/issues/5568)

* Treat condionally activatable variable declarations and initializer as if
they were always active in `unneeded_synthesized_initializer` rule to avoid
compilation issues when unexpected items are there after all.
[SimplyDanny](https://github.com/SimplyDanny)
[#5574](https://github.com/realm/SwiftLint/issues/5574)

* Silence `unused_enumerated` rule when `$0` in a closure is explicitly unpacked.
[SimplyDanny](https://github.com/SimplyDanny)
[#5573](https://github.com/realm/SwiftLint/issues/5573)

* Remove redundant initializers in `unneeded_override` rule only when checking
initializers is actually enabled in the configuration.
[SimplyDanny](https://github.com/SimplyDanny)
[#5571](https://github.com/realm/SwiftLint/issues/5571)

* Respect comments before opening brace in `opening_brace` rule when there is
one space before the brace after the comment. Everything else is still a
violation, yet the rewriter will not remove the comment anymore.
[SimplyDanny](https://github.com/SimplyDanny)
[#5578](https://github.com/realm/SwiftLint/issues/5578)

## 0.55.0: Universal Washing Powder

#### Breaking
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -122,7 +122,8 @@ GEM
public_suffix (4.0.7)
rchardet (1.8.0)
redcarpet (3.6.0)
rexml (3.2.5)
rexml (3.2.8)
strscan (>= 3.0.9)
rouge (4.2.0)
ruby-macho (2.5.1)
ruby2_keywords (0.0.5)
@@ -133,6 +134,7 @@ GEM
faraday (>= 0.17.3, < 3)
sqlite3 (1.7.2-arm64-darwin)
sqlite3 (1.7.2-x86_64-linux)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
typhoeus (1.4.0)
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "swiftlint",
version = "0.55.0",
version = "0.55.1",
compatibility_level = 1,
repo_name = "SwiftLint",
)
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -181,12 +181,12 @@ endif
make portable_zip
make spm_artifactbundle_macos
./tools/update-artifact-bundle.sh "$(NEW_VERSION)"
git commit -a -m "release $(NEW_VERSION)"
git commit -a -m "Release $(NEW_VERSION)"
git tag -a $(NEW_VERSION) -m "$(NEW_VERSION_AND_NAME)"
git push origin HEAD
git push origin $(NEW_VERSION)
./tools/create-github-release.sh "$(NEW_VERSION)"
# make publish
make publish
./tools/add-new-changelog-section.sh
git commit -a -m "Add new changelog section"
git push origin HEAD
15 changes: 10 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -143,11 +143,6 @@ let package = Package(
"SwiftLintTestHelpers"
]
),
.binaryTarget(
name: "SwiftLintBinary",
url: "https://github.com/realm/SwiftLint/releases/download/0.55.0/SwiftLintBinary-macos.artifactbundle.zip",
checksum: "0a689bf8f851e4ab06bfce1bf5a01840984473ef720a63916611664e442499d6"
),
.macro(
name: "SwiftLintCoreMacros",
dependencies: [
@@ -167,3 +162,13 @@ let package = Package(
),
]
)

#if os(macOS)
package.targets.append(
.binaryTarget(
name: "SwiftLintBinary",
url: "https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip",
checksum: "722a705de1cf4e0e07f2b7d2f9f631f3a8b2635a0c84cce99f9677b38aa4a1d6"
)
)
#endif
Loading