From 63d72180d311b826ff35965d926b8e02cf0c0788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Quenaudon?= Date: Wed, 11 Sep 2024 10:53:04 +0100 Subject: [PATCH] Prepare for release 5.1.0. --- CHANGELOG.md | 33 +++++++++++++++++-- gradle.properties | 2 +- .../gradle.properties | 2 +- .../kotlin-multiplatform/gradle.properties | 2 +- 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3c66dbb51..be82f1ed07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,32 @@ Change Log ========== +Version 5.1.0 +--------------------- + +_2024-09-11_ + +### Common + +* Support for Kotlin `2.0.20`. (#3093) +* `srcDir(String)` has been undeprecated. (#3039) +* Some loggings now happen at the debug level, instead of info. (#3041) +* Remove some unactionable warnings on Kotlin/JS (#3047) +* Propagate the deprecated flag on EnumType after pruning by wire-gradle-plugin (#3076 by [Aaron Edwards][aaron-edwards]) +* Introduce `ProtoReader32`, a specialization for Kotlin/JS (#3077) + This is an alternative to `ProtoReader`, which uses `Long` as a cursor. It originates as an optimization for Kotlin/JS, where `Long` cursors are prohibitively expensive. +* Fix Gradle project isolation issue when reading a property (#3078 by [Aurimas][liutikas]) +* Change the recursion limit to match grpc's default (#3091) + +### Kotlin + +* New enum option `enum_mode` to take precedence over the `enumMode` option added in `5.0.0-alpha02`. Use this if you want to migrate your enums granularly. (#2993) +* Don't throw if reading trailers fail (#3087) + +### Swift + +* Avoid crash when parsing an empty repeated `[packed=true]` for fixed-length types. (#3044 by [Sasha Weiss][sashaweiss-signal]) + Version 5.0.0 --------------------- @@ -1477,27 +1503,30 @@ Initial version. [Egorand]: /~https://github.com/Egorand + [Endeavour233]: /~https://github.com/Endeavour233 [JGulbronson]: /~https://github.com/JGulbronson [JakeWharton]: /~https://github.com/JakeWharton [MariusVolkhart]: /~https://github.com/MariusVolkhart [ShayOinif]: /~https://github.com/ShayOinif + [aaron-edwards]: /~https://github.com/aaron-edwards [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 [damianw]: /~https://github.com/damianw [dnkoutso]: /~https://github.com/dnkoutso - [traviscj]: /~https://github.com/traviscj - [Endeavour233]: /~https://github.com/Endeavour233 [event_listener]: /~https://github.com/square/wire/blob/3e300c492a74e80260581e3aee624d9cf3e5b1f8/wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EventListener.kt#L105-L111 [frojasg]: /~https://github.com/frojasg [javapoet]: /~https://github.com/square/javapoet [jimfs]: /~https://github.com/google/jimfs [lickel]: /~https://github.com/lickel + [liutikas]: /~https://github.com/liutikas [mpeyper]: /~https://github.com/mpeyper [okhttp_4_9_3]: /~https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-493 [okio_3_0_0]: https://square.github.io/okio/changelog/#version-300 [okio_3_0_0_a_3]: https://square.github.io/okio/changelog/#version-300-alpha3 [quanturium]: /~https://github.com/quanturium [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 + [traviscj]: /~https://github.com/traviscj [wire-customizing-output]: https://square.github.io/wire/wire_compiler/#customizing-output diff --git a/gradle.properties b/gradle.properties index e5b3208868..3f937cf9e3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ org.gradle.jvmargs='-Dfile.encoding=UTF-8' GROUP=com.squareup.wire -VERSION_NAME=5.1.0-SNAPSHOT +VERSION_NAME=5.1.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 diff --git a/wire-gradle-plugin/src/test/projects/configuration-cache-failure/gradle.properties b/wire-gradle-plugin/src/test/projects/configuration-cache-failure/gradle.properties index b4cd3c8b33..7fa935dcc0 100644 --- a/wire-gradle-plugin/src/test/projects/configuration-cache-failure/gradle.properties +++ b/wire-gradle-plugin/src/test/projects/configuration-cache-failure/gradle.properties @@ -1,4 +1,4 @@ org.gradle.caching=false org.gradle.unsafe.configuration-cache=true org.gradle.configuration-cache=true -VERSION_NAME=5.1.0-SNAPSHOT +VERSION_NAME=5.1.0 diff --git a/wire-gradle-plugin/src/test/projects/kotlin-multiplatform/gradle.properties b/wire-gradle-plugin/src/test/projects/kotlin-multiplatform/gradle.properties index faa022754b..80bc7a48c2 100644 --- a/wire-gradle-plugin/src/test/projects/kotlin-multiplatform/gradle.properties +++ b/wire-gradle-plugin/src/test/projects/kotlin-multiplatform/gradle.properties @@ -1 +1 @@ -VERSION_NAME=5.1.0-SNAPSHOT +VERSION_NAME=5.1.0