Skip to content

Commit

Permalink
Update wire to v4.9.8 (#728)
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://togithub.com/square/wire) | plugin | patch
| `4.9.3` -> `4.9.8` |
|
[com.squareup.wire:wire-gradle-plugin](https://togithub.com/square/wire)
| dependencies | patch | `4.9.3` -> `4.9.8` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

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

###
[`v4.9.8`](https://togithub.com/square/wire/blob/HEAD/CHANGELOG.md#Version-498)

[Compare Source](https://togithub.com/square/wire/compare/4.9.7...4.9.8)

*2024-03-18*

##### Common

- Retain imports for types used in maps
([#&#8203;2864](https://togithub.com/square/wire/issues/2864))

###
[`v4.9.7`](https://togithub.com/square/wire/blob/HEAD/CHANGELOG.md#Version-497)

[Compare Source](https://togithub.com/square/wire/compare/4.9.6...4.9.7)

*2024-02-12*

##### Common

- Support all struct types for JSON encoding
([#&#8203;2824](https://togithub.com/square/wire/issues/2824) by
\[Arnaud Frugier]\[quanturium])

###
[`v4.9.6`](https://togithub.com/square/wire/blob/HEAD/CHANGELOG.md#Version-496)

[Compare Source](https://togithub.com/square/wire/compare/4.9.5...4.9.6)

*2024-02-02*

##### Common

- Add public dependencies when encoding the schema
([#&#8203;2801](https://togithub.com/square/wire/issues/2801) by
\[Michael Peyper]\[mpeyper])

##### Kotlin

- Fix RealGrpcCall timeout
([#&#8203;2816](https://togithub.com/square/wire/issues/2816) by \[Jeff
Gulbronson]\[JGulbronson])

###
[`v4.9.5`](https://togithub.com/square/wire/blob/HEAD/CHANGELOG.md#Version-495)

[Compare Source](https://togithub.com/square/wire/compare/4.9.4...4.9.5)

*2024-01-27*

##### Common

- Fix over pruning imports when only option types are being extended in
a file ([#&#8203;2800](https://togithub.com/square/wire/issues/2800) by
\[Michael Peyper]\[mpeyper])

###
[`v4.9.4`](https://togithub.com/square/wire/blob/HEAD/CHANGELOG.md#Version-494)

[Compare Source](https://togithub.com/square/wire/compare/4.9.3...4.9.4)

*2024-01-26*

##### Common

- Added `linuxArm64` target to wire-runtime module
([#&#8203;2733](https://togithub.com/square/wire/issues/2733) by \[Shay
Oinif]\[ShayOinif])
- Add `ProtoReader` API for length-delimited stream reads
([#&#8203;2747](https://togithub.com/square/wire/issues/2747) by \[Jake
Wharton]\[JakeWharton])
- You can now call `ProtoReader#nextLengthDelimited` to read and return
the length of the next message in a length-delimited stream.
- Ensure `ConsoleWireLogger` does not print anything if in quiet mode
([#&#8203;2754](https://togithub.com/square/wire/issues/2754) by
\[Dimitris Koutsogiorgas]\[dnkoutso])
- Provide a built in public `EmptyWireLoggerFactory` class
([#&#8203;2776](https://togithub.com/square/wire/issues/2776) by
\[Dimitris Koutsogiorgas]\[dnkoutso])
- Stop logging includes and excludes
([#&#8203;2777](https://togithub.com/square/wire/issues/2777))
- Implement equals/hash for Duration and Instant on native and JS
([#&#8203;2781](https://togithub.com/square/wire/issues/2781))
- Prune imports no longer used by retained entities in the schema
([#&#8203;2797](https://togithub.com/square/wire/issues/2797) by
\[Michael Peyper]\[mpeyper])

##### Kotlin

- Generate Grpc `SERVICE_NAME` as const
([#&#8203;2773](https://togithub.com/square/wire/issues/2773) by
\[Marius Volkhart]\[MariusVolkhart])
- Use `%N` in `KotlinGenerator` to ensure names are escaped
([#&#8203;2784](https://togithub.com/square/wire/issues/2784) by \[Egor
Andreevich]\[Egorand])
- Add `escapeKotlinKeywords` parameter to Kotlin target
([#&#8203;2785](https://togithub.com/square/wire/issues/2785) by \[Egor
Andreevich]\[Egorand])
- You can now set `escapeKotlinKeywords = true` within our `kotlin {}`
targets to escape Kotlin keywords with backticks rather than having them
suffixed with an `_`.
- Don't retransmit a `PipeDuplexRequestBody`
([#&#8203;2791](https://togithub.com/square/wire/issues/2791))
- We had crashes that occurred when OkHttp attempted to retry sending
the request body of a gRPC streaming connection.

##### Swift

- Remove deprecated cruft
([#&#8203;2721](https://togithub.com/square/wire/issues/2721) by \[Adam
Lickel]\[lickel])
- Always qualify names for types that conflict with common Swift types
([#&#8203;2764](https://togithub.com/square/wire/issues/2764) by
\[Dimitris Koutsogiorgas]\[dnkoutso])
- Fix edge case for heap based messages using a redacted description
field ([#&#8203;2772](https://togithub.com/square/wire/issues/2772) by
\[Dimitris Koutsogiorgas]\[dnkoutso])
- Change `unknownFields` type to `[UInt32: Data]` from just `Data`.
([#&#8203;2789](https://togithub.com/square/wire/issues/2789) by
\[Dimitris Koutsogiorgas]\[dnkoutso])
- Introduce a `ProtoExtensible` protocol that all messages that have
been extended conform to.
([#&#8203;2790](https://togithub.com/square/wire/issues/2790) by
\[Dimitris Koutsogiorgas]\[dnkoutso])

##### Announcement

Wire 5.0 is happening soon. This will happen:

- `SchemaHandler.Factory#create()` will be removed. Override its
counterpart for painless migration
`SchemaHandler.Factory#create(includes: List<String>, excludes:
List<String>, exclusive: Boolean, outDirectory: String, options:
Map<String, String>)`.
- The module `wire-grpc-server` will be extracted into its own
repository: https://github.com/square/wire-grpc-server/
    -   Here is how one should migrate: // TODO

</details>

---

### 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 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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjI1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: Zac Sweers <[email protected]>
  • Loading branch information
slack-oss-bot and ZacSweers authored Mar 19, 2024
1 parent 54486e3 commit 2f4a029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ plugins {
alias(libs.plugins.pluginUploader) apply false
alias(libs.plugins.buildConfig) apply false
alias(libs.plugins.lint) apply false
alias(libs.plugins.wire) apply false
}

configure<DetektExtension> {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sortDependencies = "0.6"
spotless = "6.25.0"
sqldelight = "2.0.1"
versionsPlugin = "0.47.0"
wire = "4.9.3"
wire = "4.9.8"

[plugins]
bestPracticesPlugin = { id = "com.autonomousapps.plugin-best-practices-plugin", version = "0.10" }
Expand Down

0 comments on commit 2f4a029

Please sign in to comment.