Skip to content

Commit

Permalink
Update wire to v5.2.1 (#1172)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com.squareup.wire](https://redirect.github.com/square/wire) | plugin
| minor | `5.1.0` -> `5.2.1` |
|
[com.squareup.wire:wire-gradle-plugin](https://redirect.github.com/square/wire)
| dependencies | minor | `5.1.0` -> `5.2.1` |

---

### Release Notes

<details>
<summary>square/wire (com.squareup.wire)</summary>

###
[`v5.2.1`](https://redirect.github.com/square/wire/blob/HEAD/CHANGELOG.md#Version-521)

[Compare
Source](https://redirect.github.com/square/wire/compare/5.2.0...5.2.1)

*2025-01-07*

##### JVM generation

- Fix support for mutable messages in Wire's Kotlin Generator.
([#&#8203;3233](https://redirect.github.com/square/wire/issues/3233) by
\[Rahul Ravikumar]\[tikurahul])

###
[`v5.2.0`](https://redirect.github.com/square/wire/blob/HEAD/CHANGELOG.md#Version-520)

[Compare
Source](https://redirect.github.com/square/wire/compare/5.1.0...5.2.0)

*2025-01-06*

##### Common

- Enforce recursion limit when parsing nested groups.
([#&#8203;3119](https://redirect.github.com/square/wire/issues/3119))

##### CLI `wire-compiler`

- It is now possible to set multiple targets.
([#&#8203;3106](https://redirect.github.com/square/wire/issues/3106) &
[#&#8203;3107](https://redirect.github.com/square/wire/issues/3107))
- The option `opaque_types` introduced in `4.9.2` for the Wire Gradle
plugin is now available on CLI.
([#&#8203;3147](https://redirect.github.com/square/wire/issues/3147))

##### JVM generation

- [KotlinPoet has been updated to
`2.0.0`](https://square.github.io/kotlinpoet/changelog/#version-200)
which dramatically changes how generated Kotlin files are wrapped. This
is neither a source nor a binary breaking changes.
- A new `@WireEnclosingType` annotation is now applied to generated
types so R8 doesn't prune too much.
([#&#8203;3123](https://redirect.github.com/square/wire/issues/3123))
- Split the redact method into chunks when a type has more than 100
fields to avoid compilation error.
([#&#8203;3214](https://redirect.github.com/square/wire/issues/3214) by
\[Damian Wieczorek]\[damianw])
- Add support for mutable messages in Wire's Kotlin Generator.
([#&#8203;3217](https://redirect.github.com/square/wire/issues/3217) by
\[Rahul Ravikumar]\[tikurahul])
- You can opt-in by adding `mutableTypes = true` on your Kotlin target.
This is unsafe and we do not recommend that you use it unless you have a
sound use-case for it.
-   Wire is now using Palantir's JavaPoet instead of Square's JavaPoet.

##### Swift

- Fix buffer overflow and data corruption when a type has more than 5
layers of nesting
([#&#8203;3203](https://redirect.github.com/square/wire/issues/3203) by
\[Eric Amorde]\[amorde])

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDAuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEwMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
  • Loading branch information
slack-oss-bot authored Jan 14, 2025
1 parent 5337d55 commit 72f7247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ sortDependencies = "0.14"
spotless = "7.0.1"
sqldelight = "2.0.2"
versionsPlugin = "0.51.0"
wire = "5.1.0"
wire = "5.2.1"
xmlutil = "0.90.3"

[plugins]
Expand Down

0 comments on commit 72f7247

Please sign in to comment.