Update buf generate so it populates the recently-added source_file_descriptors 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). 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.
Update buf generate so it populates the recently-added
source_file_descriptors
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).
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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the connectrelated group with 4 updates: @bufbuild/buf, @bufbuild/protobuf, @bufbuild/protoc-gen-es and @bufbuild/protoplugin.
Updates
@bufbuild/buf
from 1.29.0 to 1.30.0Release notes
Sourced from
@bufbuild/buf
's releases.Changelog
Sourced from
@bufbuild/buf
's changelog.Commits
ad1518d
Release v1.30.0 (#2808)fa6f9de
Add --exclude-source-retention-options flag to buf build (#2807)d526527
Run make upgrade (#2806)83e33fc
Support recently added source_file_descriptors field of CodeGeneratorRequest ...de6db03
Add description to literal value message (#2804)49066c4
Allow extra option locations in source info when building an image (#2803)421ed0a
Add archive registry support for curated plugin (#2797)eb3622e
Bump google.golang.org/protobuf to v1.33.0 (#2801)bcff39f
Bump golang.org/x/crypto from 0.19.0 to 0.20.0 (#2795)c7a56ca
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#2794)Updates
@bufbuild/protobuf
from 1.7.2 to 1.8.0Release notes
Sourced from
@bufbuild/protobuf
's releases.Commits
6ca6810
Release 1.8.0 (#749)19bb09b
Update to google protobuf v26.0 (#747)38ca963
Remove node export conditions (#744)3be7c9d
Replace instanceof Message usages (#729)f3b5a6d
Add "dependencies" to DescFile (#727)48d4ddc
Introduce type guard isMessage (#728)17327db
Revert breaking changes (#725)0866b78
Remove the deprecated function reifyWkt from@bufbuild/protoplugin
(#722)8d3f9de
Update typescript to 5.3.3 (#724)3db07bb
Fix overeager escaping of message, enum, service, and extension names (#723)Updates
@bufbuild/protoc-gen-es
from 1.7.2 to 1.8.0Release notes
Sourced from
@bufbuild/protoc-gen-es
's releases.Commits
6ca6810
Release 1.8.0 (#749)4f94199
Add /@PURE/ annotation for better tree-shaking support (#470)17327db
Revert breaking changes (#725)8d3f9de
Update typescript to 5.3.3 (#724)0b0f084
Support proto2 default values and field presence (#716)d26a6da
Remove internal usage of deprecated function in@bufbuild/protoplugin
(#714)8745d72
Deprecate field helper functions from@bufbuild/protoplugin
(#712)21057ca
Fix grammar in plugin readme (#707)a02f88f
Document thets_nocheck
plugin option (#705)f76c965
Add proto2required
to generated field info (#700)Updates
@bufbuild/protoplugin
from 1.7.2 to 1.8.0Release notes
Sourced from
@bufbuild/protoplugin
's releases.Commits
6ca6810
Release 1.8.0 (#749)38ca963
Remove node export conditions (#744)00c7213
Add type guard for PluginOptionError (#742)17327db
Revert breaking changes (#725)8a9ceae
Deprecate properties toString and text of JSDocBlock (#721)8d3f9de
Update typescript to 5.3.3 (#724)0b0f084
Support proto2 default values and field presence (#716)0f32996
Use functions for field presence in clone, equals, construct (#719)d26a6da
Remove internal usage of deprecated function in@bufbuild/protoplugin
(#714)8745d72
Deprecate field helper functions from@bufbuild/protoplugin
(#712)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show