v36.0-rc2Pre-release
Protocol Buffers v36.0-rc2
Added 3
- Add json_options.proto and json_enumvalue_options.proto and gencode derived from them to release artifacts
- Implement json EnumValueName for upb
- Add json_name enumval support in Java
Changed 2
- Disable option sub-location mapping in open-source builds
- Reject Edition 2026 in the PHP generator
Deprecated 3
- Add deprecation warning for Reflection::GetEnum() and Reflection::GetRepeatedEnum()
- Emit future warning when mutating GetOptions() in OSS
- Emit deprecation warning when comparing descriptor containers with unrecognized types in OSS
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
C++
- Disable option sub-location mapping in open-source builds. (https://github.com/protocolbuffers/protobuf/commit/1d8a656f5273a3b41afa609cf0f08b65491dbd48)
- Add
json_options.protoandjson_enumvalue_options.protoand/or gencode derived from them to release artifacts (https://github.com/protocolbuffers/protobuf/commit/15e93345f8b821ad74334fd503318f8860b774bb) - Json/upb: Implement json EnumValueName for upb (https://github.com/protocolbuffers/protobuf/commit/0e8519e927101be180f12bc6f064dbf525c5d517)
- Add deprecation warning for
Reflection::GetEnum()andReflection::GetRepeatedEnum(). (https://github.com/protocolbuffers/protobuf/commit/0bca2886d724d6782186ae970a0214b6fcc3e4e0)
Java
- Add
json_options.protoandjson_enumvalue_options.protoand/or gencode derived from them to release artifacts (https://github.com/protocolbuffers/protobuf/commit/15e93345f8b821ad74334fd503318f8860b774bb) - Json/java: add json_name enumval support (https://github.com/protocolbuffers/protobuf/commit/bff6ed13255054eb8425f75f3b3f00af961f753d)
Python
- Add
json_options.protoandjson_enumvalue_options.protoand/or gencode derived from them to release artifacts (https://github.com/protocolbuffers/protobuf/commit/15e93345f8b821ad74334fd503318f8860b774bb) - Emit future warning when mutating GetOptions() in OSS (https://github.com/protocolbuffers/protobuf/commit/22555418e7f3cc4e339134f0cbcea28931258ade)
- Emit deprecation warning when comparing descriptor containers with unrecognized types in OSS (https://github.com/protocolbuffers/protobuf/commit/5865e6b18c04b9276c8aeed4ed011a645cf06777)
PHP
- Reject Edition 2026 in the PHP generator. (https://github.com/protocolbuffers/protobuf/commit/020b9dbf530de51603344f73c021db1f9da96dea)
UPB (Python/PHP/Ruby C-Extension)
- Json/upb: Implement json EnumValueName for upb (https://github.com/protocolbuffers/protobuf/commit/0e8519e927101be180f12bc6f064dbf525c5d517)