Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore(tools): update build tools #186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 23, 2024

This PR contains the following updates:

Package Update Change
RobotsAndPencils/xcodes minor 1.5.0 -> 1.6.0
mono0926/LicensePlist minor 3.25.1 -> 3.26.0
realm/SwiftLint minor 0.56.1 -> 0.58.2

Release Notes

RobotsAndPencils/xcodes (RobotsAndPencils/xcodes)

v1.6.0: - Login Fixed and Cryptex Runtimes supported installing

Compare Source

If you installed xcodes with homebrew you can upgrade with brew upgrade xcodesorg/made/xcodes.

Big shout out to @​abiligiri 🎉 for getting the new Apple SRP login changes over the line! 🙏

Changes
🚀 Enhancements
🐛 Bug Fixes
mono0926/LicensePlist (mono0926/LicensePlist)

v3.26.0: : Swift 6, etc.

Compare Source

What's Changed

New Contributors

Full Changelog: mono0926/LicensePlist@3.25.1...3.26.0

realm/SwiftLint (realm/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

v0.57.1

Compare Source

Breaking
  • None.
Experimental
  • None.
Enhancements
  • Suggest failable String(bytes:encoding:) initializer in
    optional_data_string_conversion rule as it accepts all Sequence
    types.
    Jordan Rose
    SimplyDanny

  • Support reading files to lint from Input File Lists provided
    by Run Script Build Phases in Xcode using the command-line
    argument --use-script-input-file-lists.
    BlueVirusX

  • Adds a lenient configuration file setting, equivalent to the --lenient
    command line option.
    Martin Redington
    #​5801

  • Support type casting on configuration option values defined by environment variables.
    Without a cast, these values would always be treated as strings leading to a potentially
    invalid configuration.
    SimplyDanny
    #​5774

  • Add new option max_number_of_single_line_parameters that allows only the specified maximum
    number of parameters to be on one line when allows_single_line = true. If the limit is
    exceeded, the rule will still trigger. Confusing option combinations like allows_single_line = false
    together with max_number_of_single_line_parameters > 1 will be reported.
    kimdv
    SimplyDanny
    #​5781

  • The redundant_type_annotation rule gains a new option,
    ignore_properties, that skips enforcement on members in a
    type declaration (like a struct). This helps the rule coexist with
    the explicit_type_interface rule that requires such redundancy.
    jaredgrubb
    #​3750

  • Allow inherited isolation parameter to be first in function signatures
    depending on the new option ignore_first_isolation_inheritance_parameter
    which is true by default.
    SimplyDanny
    #​5793

Bug Fixes
  • Run command plugin in whole package if no targets are defined in the
    package manifest.
    SimplyDanny
    #​5787

  • Silence superfluous_else rule on if expressions with only a single
    availability condition.
    SimplyDanny
    #​5833

  • Stop triggering the control_statement rule on closures being directly
    called as conditions.
    SimplyDanny
    #​5846

  • Do not trigger self_in_property_initialization rule on self in
    key paths expressions.
    SimplyDanny
    #​5835

  • Allow to specify transitive modules to be taken into account by
    unused_import rule. This avoids that required imports are removed.
    Paul Taykalo
    SimplyDanny
    #​5167

  • Only pass cache path and directory paths to commands that accept these arguments
    in the command plugin.
    SimplyDanny
    #​5848

  • Do not throw deprecation warning if deprecated property is not
    presented in configuration.
    chipp
    #​5791

  • The prefer_type_checking rule will no longer trigger for non-optional
    type casting (as), or for comparisons to optional types.
    Martin Redington
    #​5802

  • Fixes an issue where the superfluous_disable_command rule could generate
    false positives for nested disable commands for custom rules.
    Martin Redington
    #​5788

  • Fixes the --only-rule command line option, when a default .swiftlint.yml
    is absent. Additionally rules specified with --only-rule on the command
    line can now be disabled in a child configuration, to allow specific
    directories to be excluded from the rule (or from being auto-corrected by
    the rule), and --only-rule can now be specified multiple times
    to run multiple rules.
    Martin Redington
    #​5711

  • Fixes file_name rule to match fully-qualified names of nested types.
    Additionally adds a require_fully_qualified_names boolean option to enforce
    that file names match nested types only using their fully-qualified name.
    fraioli
    #​5840

  • Fixes an issue where the vertical_whitespace_between_cases rule does not
    recognize @unknown default.
    Jared Grubb
    #​5788

v0.57.0

Compare Source

Breaking
  • The deprecated anyobject_protocol rule has now been removed.
    Martin Redington
    #​5769

  • Revert the part of the non_optional_string_data_conversion
    rule that enforces non-failable conversions of Data to UTF-8
    String. This is due to the fact that the data to be converted
    can be arbitrary and especially doesn't need to represent a valid
    UTF-8-encoded string.
    Sam Rayner
    #​5263

Experimental
  • None.
Enhancements
  • Add ignore_multiline_type_headers and ignore_multiline_statement_conditions
    options to opening_brace rule to allow opening braces to be on a new line after
    multiline type headers or statement conditions. Rename allow_multiline_func to
    ignore_multiline_function_signatures.
    leonardosrodrigues0
    #​3720

  • Add new optional_data_string_conversion rule to enforce
    failable conversions of Data to UTF-8 String.
    Sam Rayner
    #​5263

  • The no_magic_numbers rule will now ignore violations in
    SwiftUI's Preview macro.
    Martin Redington
    #​5778

Bug Fixes

v0.56.2

Compare Source

Breaking
  • None.
Experimental
  • None.
Enhancements
  • None.
Bug Fixes
  • Ignore initializers with attributes in unneeded_synthesized_initializer rule.
    SimplyDanny
    #​5153

  • Silence prefer_key_path rule on macro expansion expressions.
    SimplyDanny
    #​5744

  • Check if expressions nested arbitrarily deep in contrasted_opening_brace rule.
    SimplyDanny
    #​5752

  • Align left closure brace with associated parent function call in contrasted_opening_brace rule.
    SimplyDanny
    #​5752

  • Align left brace of additional trailing closures with right brace of previous trailing closure
    in contrasted_opening_brace rule.
    SimplyDanny
    #​5752

  • Trigger on empty closure blocks in no_empty_block rule.
    SimplyDanny
    #​5762

  • Silence unneeded_override rule on methods and initializers with attributes.
    SimplyDanny
    #​5753


Configuration

📅 Schedule: Branch creation - "* * * * 0,6" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (aa93434) to head (fccd390).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #186   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         38      38           
=====================================
  Misses        38      38           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title chore(tools): update dependency realm/swiftlint to v0.56.2 chore(tools): update dependency realm/swiftlint to v0.57.0 Sep 8, 2024
@renovate renovate bot force-pushed the renovate/build-tools branch from fccd390 to e0d6faf Compare September 8, 2024 18:48
@renovate renovate bot force-pushed the renovate/build-tools branch from e0d6faf to 1cb9297 Compare October 30, 2024 05:12
@renovate renovate bot changed the title chore(tools): update dependency realm/swiftlint to v0.57.0 chore(tools): update build tools Oct 30, 2024
@renovate renovate bot force-pushed the renovate/build-tools branch from 1cb9297 to c2795ed Compare November 24, 2024 16:11
@renovate renovate bot force-pushed the renovate/build-tools branch 3 times, most recently from 2b42d5d to 8d86263 Compare January 17, 2025 01:46
@renovate renovate bot force-pushed the renovate/build-tools branch from 8d86263 to caa4502 Compare January 24, 2025 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants