Skip to content

Commit

Permalink
chore(deps): update mint packages (#202)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[nicklockwood/SwiftFormat](https://redirect.github.com/nicklockwood/SwiftFormat)
| patch | `0.54.3` -> `0.54.6` |
| [realm/SwiftLint](https://redirect.github.com/realm/SwiftLint) | minor
| `0.56.1` -> `0.57.0` |

---

### Release Notes

<details>
<summary>nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)</summary>

###
[`v0.54.6`](https://redirect.github.com/nicklockwood/SwiftFormat/blob/HEAD/CHANGELOG.md#0546-2024-10-07)

[Compare
Source](https://redirect.github.com/nicklockwood/SwiftFormat/compare/0.54.5...0.54.6)

- Fixed incorrect wrapping of conditional bodies inside single-line
string literals
- Fixed properties inside type with where clause being treated as local
scope
-   Fixed regression in `wrapMultilineStatementBraces` rule
-   Fixed tokenizing of a throwing closure type in a generics clause
- Fixed bug in `parseDeclarations` where incorrect tokens could cause
rules to time out
- Fixed issue where `organizeDeclarations` would add extra blank lines
if type had blank lines with spaces
- Updated SwiftFormat for Xcode installation instructions for macOS 15
Sequoia
-   Added known issue to README for `preferForLoop` rule

###
[`v0.54.5`](https://redirect.github.com/nicklockwood/SwiftFormat/blob/HEAD/CHANGELOG.md#0545-2024-09-11)

[Compare
Source](https://redirect.github.com/nicklockwood/SwiftFormat/compare/0.54.4...0.54.5)

-   Fixed crash in `unusedArguments` rule
- Fixed bug where `preferForLoop` failed if `forEach` contains `guard
... else { return }`

###
[`v0.54.4`](https://redirect.github.com/nicklockwood/SwiftFormat/blob/HEAD/CHANGELOG.md#0544-2024-09-07)

[Compare
Source](https://redirect.github.com/nicklockwood/SwiftFormat/compare/0.54.3...0.54.4)

- Fixed bug where trailing comma was erroneously inserted into a wrapped
array type extension
- Fixed bug where `return` was incorrectly removed inside `catch`
statement with `where` clause
- Fixed `opaqueGenericParameters` rule being incorrectly applied to
functions with typed `throws`
- Fixed `spaceAroundBrackets` behaving incorrectly inside a macro
invocation
- Fixed `unusedArguments` false positive inside multiline string literal
- Fixed a case where removing `return` resulted in non-compiling code
for opaque return types
- Redundant `Void` return type is now removed from functions in protocol
declarations
- Fixed a bug where `unusedArguments` didn't handle conditional
assignment shadowing correctly
- Fixed Xcode 16 Beta warnings related to unhandled files when building
SwiftFormat package
- The Swift runtime is now packaged with the installer on Windows as on
Linux
- The Windows installer now uses a more conventional directory structure
-   SwiftFormat for Windows now supports arm64

</details>

<details>
<summary>realm/SwiftLint (realm/SwiftLint)</summary>

###
[`v0.57.0`](https://redirect.github.com/realm/SwiftLint/blob/HEAD/CHANGELOG.md#0570-Squeaky-Clean-Cycle)

[Compare
Source](https://redirect.github.com/realm/SwiftLint/compare/0.56.2...0.57.0)

##### Breaking

-   The deprecated `anyobject_protocol` rule has now been removed.\
    [Martin Redington](https://redirect.github.com/mildm8nnered)
[#&#8203;5769](https://redirect.github.com/realm/SwiftLint/issues/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](https://redirect.github.com/samrayner)
[#&#8203;5263](https://redirect.github.com/realm/SwiftLint/issues/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](https://redirect.github.com/leonardosrodrigues0)
[#&#8203;3720](https://redirect.github.com/realm/SwiftLint/issues/3720)

-   Add new `optional_data_string_conversion` rule to enforce
    failable conversions of `Data` to UTF-8 `String`.\
    [Sam Rayner](https://redirect.github.com/samrayner)
[#&#8203;5263](https://redirect.github.com/realm/SwiftLint/issues/5263)

-   The `no_magic_numbers` rule will now ignore violations in
    SwiftUI's `Preview` macro.\
    [Martin Redington](https://redirect.github.com/mildm8nnered)
[#&#8203;5778](https://redirect.github.com/realm/SwiftLint/issues/5778)

##### Bug Fixes

-   `superfluous_disable_command` violations are now triggered for
    custom rules.\
    [Marcelo Fabri](https://redirect.github.com/marcelofabri)
    [Martin Redington](https://redirect.github.com/mildm8nnered)
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;4754](https://redirect.github.com/realm/SwiftLint/issues/4754)

-   Trailing comments are now preserved by the `opening_brace` rule when
    rewriting.\
    [Martin Redington](https://redirect.github.com/mildm8nnered)
[#&#8203;5751](https://redirect.github.com/realm/SwiftLint/issues/5751)

###
[`v0.56.2`](https://redirect.github.com/realm/SwiftLint/blob/HEAD/CHANGELOG.md#0562-Heat-Pump-Dryer)

[Compare
Source](https://redirect.github.com/realm/SwiftLint/compare/0.56.1...0.56.2)

##### Breaking

-   None.

##### Experimental

-   None.

##### Enhancements

-   None.

##### Bug Fixes

- Ignore initializers with attributes in
`unneeded_synthesized_initializer` rule.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5153](https://redirect.github.com/realm/SwiftLint/issues/5153)

-   Silence `prefer_key_path` rule on macro expansion expressions.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5744](https://redirect.github.com/realm/SwiftLint/issues/5744)

- Check `if` expressions nested arbitrarily deep in
`contrasted_opening_brace` rule.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5752](https://redirect.github.com/realm/SwiftLint/issues/5752)

- Align left closure brace with associated parent function call in
`contrasted_opening_brace` rule.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5752](https://redirect.github.com/realm/SwiftLint/issues/5752)

- Align left brace of additional trailing closures with right brace of
previous trailing closure
    in `contrasted_opening_brace` rule.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5752](https://redirect.github.com/realm/SwiftLint/issues/5752)

-   Trigger on empty closure blocks in `no_empty_block` rule.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5762](https://redirect.github.com/realm/SwiftLint/issues/5762)

- Silence `unneeded_override` rule on methods and initializers with
attributes.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5753](https://redirect.github.com/realm/SwiftLint/issues/5753)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" in timezone
America/Chicago, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/levibostian/Wendy-iOS).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 8, 2024
1 parent a018cab commit a04a201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mintfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
krzysztofzablocki/[email protected]
yonaskolb/[email protected]
realm/SwiftLint@0.56.1
nicklockwood/[email protected].3
realm/SwiftLint@0.57.0
nicklockwood/[email protected].6

0 comments on commit a04a201

Please sign in to comment.