Skip to content

Commit 8ff200b

Browse files
committed
Prepare for release 4.9.4.
1 parent dc0c8e1 commit 8ff200b

File tree

4 files changed

+50
-8
lines changed

4 files changed

+50
-8
lines changed

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,47 @@
11
Change Log
22
==========
33

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+
445
Version 4.9.3
546
-------------
647

@@ -1269,3 +1310,10 @@ Initial version.
12691310
[reflect]: https://github.com/grpc/grpc/blob/master/doc/server-reflection.md
12701311
[swiftblogpost]: https://cashapp.github.io/2020-08-19/wire-support-for-swift-part-1
12711312
[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

RELEASING.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ Cutting a JVM Release
2525
sed -i "" \
2626
"s/VERSION_NAME=.*/VERSION_NAME=$RELEASE_VERSION/g" \
2727
`find . -name "gradle.properties"`
28-
sed -i "" \
29-
"s/\"com.squareup.wire:\([^\:]*\):[^\"]*\"/\"com.squareup.wire:\1:$RELEASE_VERSION\"/g" \
30-
`find . -name "README.md"`
31-
sed -i "" \
32-
"s/\<version\>\([^<]*\)\<\/version\>/\<version\>$RELEASE_VERSION\<\/version\>/g" \
33-
`find . -name "README.md"`
3428
```
3529
3630
4. Tag the release and push to GitHub.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
22

33
GROUP=com.squareup.wire
4-
VERSION_NAME=5.0.0-SNAPSHOT
4+
VERSION_NAME=4.9.4
55

66
# Publishing SHA 256 and 512 hashes of maven-metadata is not supported by Sonatype and Nexus.
77
# See https://github.com/gradle/gradle/issues/11308 and https://issues.sonatype.org/browse/NEXUS-21802
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION_NAME=5.0.0-SNAPSHOT
1+
VERSION_NAME=4.9.4

0 commit comments

Comments
 (0)