Skip to content

Commit 8166872

Browse files
committed
Prepare for release 5.2.0.
1 parent d043e77 commit 8166872

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

CHANGELOG.md

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

4+
Version 5.2.0
5+
---------------------
6+
7+
_2025-01-06_
8+
9+
### Common
10+
11+
* Enforce recursion limit when parsing nested groups. (#3119)
12+
13+
### CLI `wire-compiler`
14+
15+
* It is now possible to set multiple targets. (#3106 & #3107)
16+
* The option `opaque_types` introduced in `4.9.2` for the Wire Gradle plugin is now available on CLI. (#3147)
17+
18+
### JVM generation
19+
20+
* [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.
21+
* A new `@WireEnclosingType` annotation is now applied to generated types so R8 doesn't prune too much. (#3123)
22+
* Split the redact method into chunks when a type has more than 100 fields to avoid compilation error. (#3214 by [Damian Wieczorek][damianw])
23+
* Add support for mutable messages in Wire's Kotlin Generator. (#3217 by [Rahul Ravikumar][tikurahul])
24+
* 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.
25+
26+
### Swift
27+
28+
* Fix buffer overflow and data corruption when a type has more than 5 layers of nesting (#3203 by [Eric Amorde][amorde])
29+
430
Version 4.9.11
531
---------------------
632

@@ -1518,6 +1544,7 @@ Initial version.
15181544
[MariusVolkhart]: https://github.com/MariusVolkhart
15191545
[ShayOinif]: https://github.com/ShayOinif
15201546
[aaron-edwards]: https://github.com/aaron-edwards
1547+
[amorde]: https://github.com/amorde
15211548
[bom]: https://docs.gradle.org/6.2/userguide/platforms.html#sub:bom_import
15221549
[custom-handlers-doc]: https://square.github.io/wire/wire_compiler/#custom-handlers
15231550
[custom-handlers-recipes]: https://github.com/square/wire/tree/c3c5f559556ad9d41582a0e0a025679b5493f7aa/wire-library/wire-schema-tests/src/test/java/com/squareup/wire/recipes
@@ -1537,5 +1564,6 @@ Initial version.
15371564
[reflect]: https://github.com/grpc/grpc/blob/master/doc/server-reflection.md
15381565
[sashaweiss-signal]: https://github.com/sashaweiss-signal
15391566
[swiftblogpost]: https://cashapp.github.io/2020-08-19/wire-support-for-swift-part-1
1567+
[tikurahul]: https://github.com/tikurahul
15401568
[traviscj]: https://github.com/traviscj
15411569
[wire-customizing-output]: https://square.github.io/wire/wire_compiler/#customizing-output

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.1.1-SNAPSHOT
4+
VERSION_NAME=5.2.0
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,4 +1,4 @@
11
org.gradle.caching=false
22
org.gradle.unsafe.configuration-cache=true
33
org.gradle.configuration-cache=true
4-
VERSION_NAME=5.1.1-SNAPSHOT
4+
VERSION_NAME=5.2.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION_NAME=5.1.1-SNAPSHOT
1+
VERSION_NAME=5.2.0

0 commit comments

Comments
 (0)