Protocol Buffers v35.0-rc1

v35.0-rc1Pre-release

Protocol Buffers v35.0-rc1

Added 7
  • Add support for Bazel 9.x
  • Implement the Edition 2026 naming style enforcement feature to help prevent field name collisions
  • Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026
  • Introduce Singular trait for types which are allowed as simple fields
  • Add integer overflow check to RepeatedPtrField::MergeFrom
  • Add sanity check for ListFields reflection call
  • Introduce Arena::UniquePtr and Arena::Ptr as smart pointers to better manage memory
Changed 12
  • Change @protobuf//bazel/flags:prefer_prebuilt_proto flag to True
  • Move protocopt flag out of the cc dir since it is not a C++-specific flag
  • Fail writing files in protoc CLI if any file output path is relative
  • Mangle types named XyzView if there is any direct sibling named Xyz
  • Improve the namespacing selected by rustc used for gencode types in errors
  • Fully qualify scalar types in Kotlin/Native proto generator
Removed 1
  • Drop support for Bazel 7

Announcements

Bazel

Compiler

C++

Java

Csharp

Objective-C

Rust

Python

PHP

PHP C-Extension

Ruby

Ruby C-Extension

UPB (Python/PHP/Ruby C-Extension)

View original

Upgraded? How did it go?

Discussion