|
1 | 1 | Change Log
|
2 | 2 | ==========
|
3 | 3 |
|
| 4 | +Version 4.9.4 |
| 5 | +------------- |
| 6 | + |
| 7 | +_2024-01-26_ |
| 8 | + |
| 9 | +### Common |
| 10 | + |
| 11 | +* Added `linuxArm64` target to wire-runtime module (#2733 by [Shay Oinif][ShayOinif]) |
| 12 | +* Add `ProtoReader` API for length-delimited stream reads (#2747 by [Jake Wharton][JakeWharton]) |
| 13 | + * You can now call `ProtoReader#nextLengthDelimited` to read and return the length of the next message in a length-delimited stream. |
| 14 | +* Ensure `ConsoleWireLogger` does not print anything if in quiet mode (#2754 by [Dimitris Koutsogiorgas][dnkoutso]) |
| 15 | +* Provide a built in public `EmptyWireLoggerFactory` class (#2776 by [Dimitris Koutsogiorgas][dnkoutso]) |
| 16 | +* Stop logging includes and excludes (#2777) |
| 17 | +* Implement equals/hash for Duration and Instant on native and JS (#2781) |
| 18 | +* Prune imports no longer used by retained entities in the schema (#2797 by [Michael Peyper][mpeyper]) |
| 19 | + |
| 20 | +### Kotlin |
| 21 | + |
| 22 | +* Generate Grpc `SERVICE_NAME` as const (#2773 by [Marius Volkhart][MariusVolkhart]) |
| 23 | +* Use `%N` in `KotlinGenerator` to ensure names are escaped (#2784 by [Egor Andreevich][Egorand]) |
| 24 | +* Add `escapeKotlinKeywords` parameter to Kotlin target (#2785 by [Egor Andreevich][Egorand]) |
| 25 | + * You can now set `escapeKotlinKeywords = true` within our `kotlin {}` targets to escape Kotlin keywords with backticks rather than having them suffixed with an `_`. |
| 26 | +* Don't retransmit a `PipeDuplexRequestBody` (#2791) |
| 27 | + * We had crashes that occurred when OkHttp attempted to retry sending the request body of a gRPC streaming connection. |
| 28 | + |
| 29 | +### Swift |
| 30 | + |
| 31 | +* Remove deprecated cruft (#2721 by [Adam Lickel][lickel]) |
| 32 | +* Always qualify names for types that conflict with common Swift types (#2764 by [Dimitris Koutsogiorgas][dnkoutso]) |
| 33 | +* Fix edge case for heap based messages using a redacted description field (#2772 by [Dimitris Koutsogiorgas][dnkoutso]) |
| 34 | +* Change `unknownFields` type to `[UInt32: Data]` from just `Data`. (#2789 by [Dimitris Koutsogiorgas][dnkoutso]) |
| 35 | +* Introduce a `ProtoExtensible` protocol that all messages that have been extended conform to. (#2790 by [Dimitris Koutsogiorgas][dnkoutso]) |
| 36 | + |
| 37 | +### Announcement |
| 38 | + |
| 39 | +Wire 5.0 is happening soon. This will happen: |
| 40 | + |
| 41 | +* `SchemaHander.Factory#create()` will be removed. Override its counterpart for painless migration `SchemaHander.Factory#create(includes: List<String>, excludes: List<String>, exclusive: Boolean, outDirectory: String, options: Map<String, String>)`. |
| 42 | +* The module `wire-grpc-server` will be extracted into its own repository: https://github.com/square/wire-grpc-server/ |
| 43 | + * Here is how one should migrate: // TODO |
| 44 | + |
4 | 45 | Version 4.9.3
|
5 | 46 | -------------
|
6 | 47 |
|
@@ -1269,3 +1310,10 @@ Initial version.
|
1269 | 1310 | [reflect]: https://github.com/grpc/grpc/blob/master/doc/server-reflection.md
|
1270 | 1311 | [swiftblogpost]: https://cashapp.github.io/2020-08-19/wire-support-for-swift-part-1
|
1271 | 1312 | [wire-customizing-output]: https://square.github.io/wire/wire_compiler/#customizing-output
|
| 1313 | + [ShayOinif]: https://github.com/ShayOinif |
| 1314 | + [lickel]: https://github.com/lickel |
| 1315 | + [dnkoutso]: https://github.com/dnkoutso |
| 1316 | + [mpeyper]: https://github.com/mpeyper |
| 1317 | + [JakeWharton]: https://github.com/JakeWharton |
| 1318 | + [MariusVolkhart]: https://github.com/MariusVolkhart |
| 1319 | + [Egorand]: https://github.com/Egorand |
0 commit comments