From 94b1e6b4dbf1f54af806dcf0cfd132d932222f7b Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 24 Jun 2025 10:15:46 -0700 Subject: [PATCH 1/2] prep to publish 22.4.0 --- protoc_plugin/CHANGELOG.md | 3 ++- protoc_plugin/pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/protoc_plugin/CHANGELOG.md b/protoc_plugin/CHANGELOG.md index 8df454fd..efccf27e 100644 --- a/protoc_plugin/CHANGELOG.md +++ b/protoc_plugin/CHANGELOG.md @@ -1,4 +1,4 @@ -## 22.4.0-wip +## 22.4.0 * Update how we calculate import prefixes ([#1010]); import prefixes are now unique per-library instead of being unique across all generated libraries. @@ -6,6 +6,7 @@ * Revert the change to not generate empty `*.pbenum.dart` files; these can be exported from other enum files. * Improve the readablity of generated gRPC client files. +* Adjust the text of generated file headers ('This is a generated file...'). [#1010]: https://github.com/google/protobuf.dart/issues/1010 diff --git a/protoc_plugin/pubspec.yaml b/protoc_plugin/pubspec.yaml index 91d89a9f..2ffd3670 100644 --- a/protoc_plugin/pubspec.yaml +++ b/protoc_plugin/pubspec.yaml @@ -1,5 +1,5 @@ name: protoc_plugin -version: 22.4.0-wip +version: 22.4.0 description: A protobuf protoc compiler plugin used to generate Dart code. repository: https://github.com/google/protobuf.dart/tree/master/protoc_plugin From fbbe1c4d8b839bfb995582b9ec6317b5d2dbb7de Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 24 Jun 2025 12:41:30 -0700 Subject: [PATCH 2/2] update the changelog --- protoc_plugin/CHANGELOG.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/protoc_plugin/CHANGELOG.md b/protoc_plugin/CHANGELOG.md index efccf27e..62feef00 100644 --- a/protoc_plugin/CHANGELOG.md +++ b/protoc_plugin/CHANGELOG.md @@ -2,13 +2,18 @@ * Update how we calculate import prefixes ([#1010]); import prefixes are now unique per-library instead of being unique across all generated libraries. -* Ignore `unused_import` diagnostics for `*.pbjson.dart` files. +* Ignore `unused_import` diagnostics for `*.pbjson.dart` files. ([#1013]) * Revert the change to not generate empty `*.pbenum.dart` files; these can be - exported from other enum files. -* Improve the readablity of generated gRPC client files. + exported from other enum files. ([#1016]) +* Improve the readablity of generated gRPC client files. ([#1021]) * Adjust the text of generated file headers ('This is a generated file...'). + ([#1022]) [#1010]: https://github.com/google/protobuf.dart/issues/1010 +[#1013]: https://github.com/google/protobuf.dart/pull/1013 +[#1016]: https://github.com/google/protobuf.dart/pull/1016 +[#1021]: https://github.com/google/protobuf.dart/pull/1021 +[#1022]: https://github.com/google/protobuf.dart/pull/1022 ## 22.3.0