Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ object Dependencies {
Def.setting("org.scalameta" %%% "munit-scalacheck" % "1.3.0")
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")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

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
  1. When updating library versions, ensure that all related libraries are updated to the same version to prevent potential binary compatibility issues or runtime errors.

lazy val protobufJavaUtil =
Def.setting("com.google.protobuf" % "protobuf-java-util" % "3.25.9")
lazy val scalaCheck =
Expand Down
Loading