Update protobuf-java to 4.35.1#2386
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the protobuf-java dependency to version 4.35.1. However, protobuf-java-util remains at version 3.25.9, which can cause runtime issues due to binary incompatibilities between major versions. It is recommended to update protobuf-java-util to version 4.35.1 as well to keep them in sync.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| lazy val paiges = Def.setting("org.typelevel" %%% "paiges-core" % "0.4.4") | ||
| lazy val protobufJava = | ||
| Def.setting("com.google.protobuf" % "protobuf-java" % "3.25.9") | ||
| Def.setting("com.google.protobuf" % "protobuf-java" % "4.35.1") |
There was a problem hiding this comment.
Updating protobuf-java to 4.35.1 (v4) while leaving protobuf-java-util at 3.25.9 (v3) will lead to runtime issues (such as NoSuchMethodError or NoClassDefFoundError) due to binary incompatibilities between major versions of Protocol Buffers. Please update protobuf-java-util to 4.35.1 as well to keep them in sync.
References
- When updating library versions, ensure that all related libraries are updated to the same version to prevent potential binary compatibility issues or runtime errors.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2386 +/- ##
==========================================
- Coverage 85.18% 85.15% -0.03%
==========================================
Files 196 196
Lines 49379 49379
Branches 12196 12196
==========================================
- Hits 42062 42048 -14
- Misses 7317 7331 +14 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
About this PR
📦 Updates com.google.protobuf:protobuf-java from
3.25.9to4.35.1⚠Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a
.scala-steward.conffile.Have a fantastic day writing Scala!
🔍 Files still referring to the old version number
The following files still refer to the old version number (3.25.9).
You might want to review and update them manually.
⚙ Adjust future updates
Add this to your
.scala-steward.conffile to ignore future updates of this dependency:Or, add this to slow down future updates of this dependency: