Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bump(swiftlint): update to v0.58.2 #8537

Merged
merged 2 commits into from
Jan 27, 2025
Merged

bump(swiftlint): update to v0.58.2 #8537

merged 2 commits into from
Jan 27, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 12, 2025

This PR contains the following updates:

Package Update Change
swiftlint minor 0.57.1 -> 0.58.2

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

realm/SwiftLint (swiftlint)

v0.58.2

Compare Source

Breaking
  • None.
Experimental
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix version being reported by the binary consumed from the Docker image.
    SimplyDanny
    #​5966

v0.58.1

Compare Source

Breaking
  • If you are referring to the swiftlint binary from an Artifact Bundle consumed via Swift Package Manager
    in an Xcode Run Script Build Phase, make sure to update the path from

    "$SWIFT_PACKAGE_DIR"/swiftlintplugins/SwiftLintBinary/SwiftLintBinary.artifactbundle/swiftlint-*/bin/swiftlint

    to

    "$SWIFT_PACKAGE_DIR"/swiftlintplugins/SwiftLintBinary/SwiftLintBinary.artifactbundle/swiftlint-*-macos/bin/swiftlint

    in order to make Xcode use the binary built for macOS.
    SimplyDanny
    #​5954

  • Revert changes to improve performance when exclude patterns resolve to a large set of files. While resolving files
    indeed got much faster in certain setups, it leads to missed exclusions for nested configurations and when the linted
    folder is not the current folder.
    SimplyDanny
    #​5953

Experimental
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix redundant_sendable correction by removing a remaining trailing comma as well when Sendable was last.
    SimplyDanny
    #​5952

  • Remove lints for redundant_sendable on protocols, where Sendable is not redundant.
    riley-williams
    #​5958

  • Add ib_segue_action to default configuration of type_contents_order rule on the same level as ib_action to define and document a standard position.
    SimplyDanny
    #​5524

v0.58.0

Compare Source

Breaking
  • The command plugin now requires write permissions so that it works with the --fix option without an error.
    SimplyDanny

  • The artifact bundle name has changed. SwiftLintBinary-macos.artifactbundle.zip is now called
    SwiftLintBinary.artifactbundle.zip. It now includes an AMD64 Linux binary.
    Bradley Mackey
    #​5514

  • The inert_defer and unused_capture_list rules have completely been removed after being deprecated for 2 years.
    SimplyDanny

  • SwiftLint now requires a Swift 5.10 or higher compiler to build. The Swift Package Manager plugins continue to work with Swift 5.9.
    SimplyDanny

  • The private_unit_test rule's deprecated regex configuration option has been removed after 2 years.
    Martin Redington
    #​5912

Experimental
  • None.
Enhancements
  • Add Xcode command plugin allowing to run SwiftLint from within Xcode.
    SimplyDanny

  • Add new async_without_await opt-in rule that checks if an async declaration contains at least one await.
    Jan Kolarik
    #​5082

  • Support replacing identity expressions with \.self in prefer_key_path rule from Swift 6 on.
    SimplyDanny

  • Support linting only provided file paths with command plugins.
    DanSkeel

  • Add new category for @IBSegueAction to type_contents_order rule.
    dk-talks
    SimplyDanny

  • Add option to disable redundant_discardable_let rule in SwiftUI view bodies.
    SimplyDanny
    #​3855

  • Add new redundant_sendable rule that triggers on Sendable conformances of
    types that are implicitly already Sendable due to being actor-isolated. It
    is enabled by default.
    SimplyDanny

  • Improve performance when exclude patterns resolve to a large set of files.
    SimplyDanny
    #​5018

Bug Fixes
  • Ignore TipKit's #Rule macro in empty_count rule.
    Ueeek
    #​5883

  • Ignore super calls with trailing closures in unneeded_override rule.
    SimplyDanny
    #​5886

  • If violations are detected by lint or analyze, still perform an update
    check for new versions of SwiftLint if requested.
    Martin Redington
    #​5904


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) January 12, 2025 17:43
@williambotman williambotman requested a review from a team January 12, 2025 17:45
@renovate renovate bot changed the title bump(swiftlint): update to v0.58.0 bump(swiftlint): update to v0.58.1 Jan 15, 2025
@renovate renovate bot force-pushed the renovate/swiftlint-0.x branch from f6651e6 to f09d631 Compare January 15, 2025 20:29
@renovate renovate bot force-pushed the renovate/swiftlint-0.x branch from f09d631 to 0a76625 Compare January 17, 2025 01:32
@renovate renovate bot changed the title bump(swiftlint): update to v0.58.1 bump(swiftlint): update to v0.58.2 Jan 17, 2025
@renovate renovate bot merged commit 65d3639 into main Jan 27, 2025
18 checks passed
@renovate renovate bot deleted the renovate/swiftlint-0.x branch January 27, 2025 05:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant