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
Bump to com.google.protobuf:protobuf-java:4.28.2 (#1624)
Part of #1482.
Bumps every Scala version up to use protobuf-java:4.28.2, to
preemptively avoid the following error produced by upcoming Scalafmt
updates:
```txt
$ bazel test --repo_env=SCALA_VERSION=2.11.12 //test/scalafmt/...
INFO: Analyzed 9 targets (80 packages loaded, 3307 targets configured).
ERROR: .../test/scalafmt/BUILD:43:20: ScalaFmt
test/scalafmt/test/scalafmt/formatted/formatted-test.scala.fmt.output
failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at .../bazel-workers/worker-134-ScalaFmt.log ---8<---8<---
Exception in thread "main" java.lang.NoSuchMethodError:
'boolean com.google.protobuf.GeneratedMessageV3.isStringEmpty(java.lang.Object)'
[ ...snip... ]
```
This issue seemed to suggest a library bump may fix it, and it did:
- protocolbuffers/protobuf#9236
Fortunately, even though this is a major version bump from 3.10.0 to
4.28.2, there were no compatibility issues, per:
> Protobuf major version releases may also be backwards-compatible with
> the last release of the previous major version. See the release notice
> for more details.
>
> - https://github.com/protocolbuffers/protobuf/tree/main/java#compatibility-notice
0 commit comments