-
Notifications
You must be signed in to change notification settings - Fork 21
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
Tink is not compatible with protobuf-java to v4.26.0 #31
Comments
#31 PiperOrigin-RevId: 638040988 Change-Id: I5edbf2133f33044eb6815f33a5ce8d47dfe1e4ec
By upgrading to protobuf-java 4.x, Tink is no longer compatible with protobuf-java 3.x. Most of the Java ecosystem is still using protobuf-java 3.x due to binary breaking changes in protobuf-java 4.x. It seems like protobuf-java has committed to preserving backwards compatibility in order to allow consumers to upgrade, but this work is not yet complete. protocolbuffers/protobuf#16452 protocolbuffers/protobuf#17247 Can we downgrade protobuf-java to the latest 3.x until this work is complete? Otherwise consumers will likely be prevented from taking Tink upgrades. |
Protobuf 4.x introduced a breaking change. Version 27.2 introduced a set of stubs to make proto backward compatible (https://github.com/protocolbuffers/protobuf/releases/tag/v27.2) but this seems to be incomplete (protocolbuffers/protobuf#17247). #31 PiperOrigin-RevId: 653514325 Change-Id: I10ac3cab3a8856864052619569e6be0492dca274
Protobuf 4.x introduced a breaking change. Version 27.2 introduced a set of stubs to make proto backward compatible (https://github.com/protocolbuffers/protobuf/releases/tag/v27.2) but this seems to be incomplete (protocolbuffers/protobuf#17247). tink-crypto#31 PiperOrigin-RevId: 653514325 Change-Id: I10ac3cab3a8856864052619569e6be0492dca274 (cherry picked from commit 9fdb4e2)
We released the tink-java@v1.14.1 patch release which downgrades Protobuf to 25.3. |
Describe the bug:
Tink is not compatible with protobuf-java v4.26.0 due to a class being renamed. Attempting to initialize Tink when using protobuf v4.26.0 results in this error
What version of Tink are you using?
1.12.0
The text was updated successfully, but these errors were encountered: