Skip to content

Protocol Buffers v27.2

Compare
Choose a tag to compare
@ericsalo ericsalo released this 25 Jun 19:57
· 2164 commits to main since this release

Announcements

  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.

Compiler

  • Avoid calling absl::InitializeLog in protoc with MSVC (aa7fcb3)

C++

  • Fix string_type bugs in edition 2023 (#17211) (4923b8d)
  • Add simple conformance test that builds the old gencode against the current runtime. (9cfb59b)
  • Make the underlying type of the enum by 8-bits instead of using bitfields for (316f493)

Java

  • Cleanup imports and comments in V3 stubs. (270ca66)
  • Add stubs for GeneratedMessageV3, RepeatedFieldBuilderV3, SingleFieldBuilderV3 for compatibility with older <4.26.x gencode. (1e360a4)
  • Fix checking unknown field set empty which wasn't exposed yet in 27.x (c7a006a)
  • Reserialize all unresolved features using java features from the generated pool in case of descriptors from the custom pool. (2426a02)
  • Reparse unknown features using extension registry containing Java features. (e5ddc45)
  • Fix data race in crosslink. (3d71e22)
  • Fix delimited inheritance in all languages. (c4f359e)

Csharp

  • Regenerate stale files (29f1b52)
  • Fix delimited inheritance in all languages. (c4f359e)

Python

  • Fix delimited inheritance in all languages. (c4f359e)

PHP

PHP C-Extension

  • Regenerate stale files (29f1b52)
  • See also UPB changes below, which may affect PHP C-Extension.

Ruby

Ruby C-Extension

  • Regenerate stale files (29f1b52)
  • See also UPB changes below, which may affect Ruby C-Extension.

UPB (Python/PHP/Ruby C-Extension)

  • Fix delimited inheritance in all languages. (c4f359e)

Other