[#516] Pin protobuf-java codegen to 4.35.1 to retain compatibility with the spring-boot ecosystem - #517
Merged
Conversation
…th the spring-boot ecosystem Starting with 4.1.x Spring Boot explicitly manages the protobuf-java version in support of Spring gRPC, pinning it to 4.35.1 in the latest 4.1.x patch. This led to ProtobufRuntimeVersionExceptions when using axonserver-connector-java 2026.1.0 in combination with the `spring-boot-dependencies:4.1.1` BOM (or the starter), because the connector pinned code generation to 4.36.1 but when declared via the BOM the 4.35.1 version declared by spring boot for the runtime precedes. This commit pins it back to 4.35.1 to retain compatibility with the spring ecosystem and adds a comment on the dependency to keep that in mind.
…o 4.35.1 to retain compatibility with the spring-boot ecosystem Explicitly ignore dependabot upgrades to avoid unintentional incompatibility.
|
|
|
MGathier
approved these changes
Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Starting with 4.1.x Spring Boot explicitly manages the protobuf-java version in support of Spring gRPC, pinning it to 4.35.1 in the latest 4.1.x patch.
This led to ProtobufRuntimeVersionExceptions when using axonserver-connector-java 2026.1.0 in combination with the
spring-boot-dependencies:4.1.1BOM (or the starter), because the connector pinned code generation to 4.36.1 but when declared via the BOM the 4.35.1 version declared by spring boot for the runtime precedes.This PR pins it back to 4.35.1 to retain compatibility with the spring ecosystem and adds a comment on the dependency to keep that in mind.
It also declares an explicit dependabot rule to ignore protobuf and exclude from future automated dependabot updates.
resolves #516
relates to https://github.com/AxonIQ/axoniq-framework/issues/524