You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meanwhile it's fairly standard to assume semantic versioning in the Java ecosystem. See https://semver.org/
Describe the solution you'd like
Scala (sbt) users can benefit from a version scheme property set in the pom.xml which will fail the build when binary incompatible versions of the same library are on the classpath. The version policy which allows breaking changes in minor versions is PVP. So if we add this property to the POM, it will prevent issues:
Currently if grpc-java is updated via some transitive dependencies to 1.59.0 while other transitive dependencies remain on older versions we get a binary compatibility issue at runtime: java.lang.ClassNotFoundException: io.grpc.internal.AbstractManagedChannelImplBuilder
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Yes, the problem is that
grpc-java
intentionally breaks binary backwards compatibility in a minor version release:https://github.com/grpc/grpc-java/releases/tag/v1.59.0
Meanwhile it's fairly standard to assume semantic versioning in the Java ecosystem. See https://semver.org/
Describe the solution you'd like
Scala (sbt) users can benefit from a version scheme property set in the
pom.xml
which will fail the build when binary incompatible versions of the same library are on the classpath. The version policy which allows breaking changes in minor versions is PVP. So if we add this property to the POM, it will prevent issues:Describe alternatives you've considered
Additional context
Currently if
grpc-java
is updated via some transitive dependencies to 1.59.0 while other transitive dependencies remain on older versions we get a binary compatibility issue at runtime:java.lang.ClassNotFoundException: io.grpc.internal.AbstractManagedChannelImplBuilder
The text was updated successfully, but these errors were encountered: