Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update federation-jvm to 5.3.0 #2107

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

dariuszkuc
Copy link
Contributor

federation-jvm v5 included a bump to a protobuf v4 version which is not ABI compatible with protobuf v3. Using protobuf v4 generates messages with a protobuf v3 service results in a runtime exception. A lot of the libraries in the grpc ecosystem are still stuck at v3 (including grpc-java) and since federation-jvm only uses protobuf to generate messages, the latest federation-jvm version (5.3.0) also downgrades its dependency back to a v3 version (which generates messages that are compatible with both v3 and v4 versions of protobuf).

see:

`federation-jvm` v5 included a bump to a protobuf v4 version which is not ABI compatible with protobuf v3. A lot of the libraries in the `grpc` ecosystem are still stuck at v3 (including `grpc-java`) and since `federation-jvm` only uses protobuf to generate messages, the latest `federation-jvm` version also downgrades its dependency back to a v3 version (which generates messages that are compatible with both v3 and v4 versions of protobuf).

related:
* apollographql/federation-jvm#421
* grpc/grpc-java#11015
Copy link
Collaborator

@paulbakker paulbakker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dariuszkuc!

@paulbakker paulbakker merged commit d3ef3a1 into Netflix:master Jan 22, 2025
@dariuszkuc dariuszkuc deleted the patch-1 branch January 22, 2025 19:49
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