Skip to content

[improve][build] Upgrade Protobuf to 4.36.2 - #26757

Merged
merlimat merged 2 commits into
apache:masterfrom
lhotari:lh-improve-protobuf-4.36.2
Sep 29, 2026
Merged

merlimat merged 2 commits into
apache:masterfrom
lhotari:lh-improve-protobuf-4.36.2

Conversation

@lhotari

@lhotari lhotari commented Sep 29, 2026

Copy link
Copy Markdown
Member

Motivation

Keep the Protobuf compiler and Java runtime aligned on the latest stable release, adopting the Java runtime and code-generation improvements in the 4.36 line.

Modifications

Upgrade the shared Protobuf version from 4.35.1 to 4.36.2. This updates the BOM, protobuf-java, protobuf-java-util, and the protoc version used by client and broker builds. Update the server binary-license entries.

Reviewed the 36.0 release notes: Pulsar does not use the removed experimental FieldOrder API, and its proto2/proto3 schemas are unaffected by Edition 2026 defaults. No schema or application-source changes are needed.

Verifying this change

  • Make sure that the change passes the CI checks.

Existing test coverage was used. help assemble sanityCheck checkBinaryLicense passed with configuration cache enabled, including generated-code compilation and style checks. All 22 focused Protobuf schema/API/native/generic schema tests passed on Java 17 with retries disabled and no skips. Broader integration tests remain for CI.

Does this pull request potentially affect one of the following parts:

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Select the overridden protobuf BOM in pulsar-dependencies and omit conflicting catalog constraints so runtime and utility libraries use compatible versions.

Assisted-by: Codex
@merlimat
merlimat merged commit 3aedfb2 into apache:master Sep 29, 2026
42 checks passed
@lhotari lhotari added this to the 5.0.0 milestone Oct 1, 2026
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.

2 participants