Skip to content

Conversation

timostamm
Copy link
Member

Protobuf Editions introduces features. An implementation can define language-specific feature to modify code generation or runtime behavior.

With v29.0, protoc includes go_features.proto, the features specific to protoc-gen-go.

This updates @bufbuild/protobuf/wkt to export Go features, and all other feature definitions shipping with the compiler. We are now treating the feature files the same as well-known types.

Fixes #1123.

@timostamm timostamm requested review from smaye81 and srikrsna-buf May 12, 2025 11:08
@timostamm timostamm merged commit 7e409ba into main May 12, 2025
22 checks passed
@timostamm timostamm deleted the tstamm/Include-features.proto-files-in-the-pre-generated-well-known-types branch May 12, 2025 13:34
@timostamm timostamm mentioned this pull request May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated code imports from a non-existent file when using the Opaque API instead of WKT
2 participants