Skip to content

Commit

Permalink
Prepare for release 5.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
oldergod committed Jan 6, 2025
1 parent d043e77 commit 8166872
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
Change Log
==========

Version 5.2.0
---------------------

_2025-01-06_

### Common

* Enforce recursion limit when parsing nested groups. (#3119)

### CLI `wire-compiler`

* It is now possible to set multiple targets. (#3106 & #3107)
* The option `opaque_types` introduced in `4.9.2` for the Wire Gradle plugin is now available on CLI. (#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. (#3123)
* Split the redact method into chunks when a type has more than 100 fields to avoid compilation error. (#3214 by [Damian Wieczorek][damianw])
* Add support for mutable messages in Wire's Kotlin Generator. (#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.

### Swift

* Fix buffer overflow and data corruption when a type has more than 5 layers of nesting (#3203 by [Eric Amorde][amorde])

Version 4.9.11
---------------------

Expand Down Expand Up @@ -1518,6 +1544,7 @@ Initial version.
[MariusVolkhart]: https://github.com/MariusVolkhart
[ShayOinif]: https://github.com/ShayOinif
[aaron-edwards]: https://github.com/aaron-edwards
[amorde]: https://github.com/amorde
[bom]: https://docs.gradle.org/6.2/userguide/platforms.html#sub:bom_import
[custom-handlers-doc]: https://square.github.io/wire/wire_compiler/#custom-handlers
[custom-handlers-recipes]: https://github.com/square/wire/tree/c3c5f559556ad9d41582a0e0a025679b5493f7aa/wire-library/wire-schema-tests/src/test/java/com/squareup/wire/recipes
Expand All @@ -1537,5 +1564,6 @@ Initial version.
[reflect]: https://github.com/grpc/grpc/blob/master/doc/server-reflection.md
[sashaweiss-signal]: https://github.com/sashaweiss-signal
[swiftblogpost]: https://cashapp.github.io/2020-08-19/wire-support-for-swift-part-1
[tikurahul]: https://github.com/tikurahul
[traviscj]: https://github.com/traviscj
[wire-customizing-output]: https://square.github.io/wire/wire_compiler/#customizing-output
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.jvmargs='-Dfile.encoding=UTF-8'

GROUP=com.squareup.wire
VERSION_NAME=5.1.1-SNAPSHOT
VERSION_NAME=5.2.0

# Publishing SHA 256 and 512 hashes of maven-metadata is not supported by Sonatype and Nexus.
# See https://github.com/gradle/gradle/issues/11308 and https://issues.sonatype.org/browse/NEXUS-21802
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.caching=false
org.gradle.unsafe.configuration-cache=true
org.gradle.configuration-cache=true
VERSION_NAME=5.1.1-SNAPSHOT
VERSION_NAME=5.2.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION_NAME=5.1.1-SNAPSHOT
VERSION_NAME=5.2.0

0 comments on commit 8166872

Please sign in to comment.