Skip to content

Conversation

@timostamm
Copy link
Member

Release 31.0 and 31.1 do not add any new features to Protobuf. All upcoming changes for Edition 2024 are still experimental, and are not supported by Protobuf-ES yet. But the releases include changes to google/protobuf/descriptor.proto and to google/protobuf/java_features.proto. With this PR, we're updating the pre-compiled types for these files.

timostamm added 9 commits July 1, 2025 14:45
The following fields are adding in google/protobuf/descriptor.proto:

- FileDescriptorProto.option_dependency
- DescriptorProto.visibility
- EnumDescriptorProto.visibility

They are unused in descriptor.proto itself, so it's only necessary to initialize the fields to their default value (supporting presence where needed).
Adding assertions that the new fields are unset.
This adds defaultSymbolVisibility to featureDefaults. It's unused at this point.
@timostamm timostamm merged commit 8f9e193 into main Jul 1, 2025
22 checks passed
@timostamm timostamm deleted the tstamm/Update-to-google-protobuf-v31.1 branch July 1, 2025 15:57
@mering
Copy link

mering commented Jul 4, 2025

@timostamm Thanks for the fix. Can you release a new version of protobuf-es including this change?

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.

3 participants