From 0d2c5bc24c6e6d6b5445ce10e7a1b2632bcc597c Mon Sep 17 00:00:00 2001 From: Josh Humphries <2035234+jhump@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:06:43 -0500 Subject: [PATCH] update changelog --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 156a8de6fe..6337178b40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,12 @@ ## [Unreleased] -- No changes yet. +- Update `buf generate` so it populates the recently-added + [`source_file_descriptors`](https://github.com/protocolbuffers/protobuf/blob/v24.0/src/google/protobuf/compiler/plugin.proto#L96-L99) + field of the `CodeGeneratorRequest` message. This provides the plugin with access to options + that are configured to only be retained in source and not at runtime (via + [field option](https://github.com/protocolbuffers/protobuf/blob/v24.0/src/google/protobuf/descriptor.proto#L693-L702)). + Descriptors in the `proto_file` field will not include any options configured this way. ## [v1.29.0] - 2024-01-24