Skip to content
Closed
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.0")

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

The protobuf-java-util dependency on line 32 should also be updated to 4.35.0 to maintain version parity with protobuf-java. Mixing different major versions (3.x and 4.x) of Protocol Buffers artifacts in the same project is highly discouraged as it can lead to binary incompatibilities and runtime errors such as NoSuchMethodError due to breaking changes in the internal runtime APIs.

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