bufbuild/buf (github.com/bufbuild/buf)
### [`v1.30.0`](https://togithub.com/bufbuild/buf/blob/HEAD/CHANGELOG.md#v1300---2024-03-07)
[Compare Source](https://togithub.com/bufbuild/buf/compare/v1.29.0...v1.30.0)
- Update `buf generate` so it populates the recently-added
[`source_file_descriptors`](https://togithub.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://togithub.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
for the files named in `file_to_generate` field.
- Add `--exclude-source-retention-options` flag to `buf build`, which
causes options configured to only be retained in source to be stripped
from the output descriptors.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.29.0
->v1.30.0
Release Notes
bufbuild/buf (github.com/bufbuild/buf)
### [`v1.30.0`](https://togithub.com/bufbuild/buf/blob/HEAD/CHANGELOG.md#v1300---2024-03-07) [Compare Source](https://togithub.com/bufbuild/buf/compare/v1.29.0...v1.30.0) - Update `buf generate` so it populates the recently-added [`source_file_descriptors`](https://togithub.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://togithub.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 for the files named in `file_to_generate` field. - Add `--exclude-source-retention-options` flag to `buf build`, which causes options configured to only be retained in source to be stripped from the output descriptors.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.