Skip to content

Commit 374c559

Browse files
authored
Bump protobuf-java to 4.29.0 (#1655)
Every Scala version now uses com.google.protobuf:protobuf-java:4.29.0. Part of #1482 and #1652. This is necessary, but not sufficient, to make `rules_scala` Bazel 8 compatible by enabling an update to `protobuf` v29.0. Building with Bazel 6.5.0 and `protobuf` v21.7 continues to pass all tests after this change.
1 parent 4e210ff commit 374c559

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

scripts/create_repository.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
SCALATEST_VERSION = "3.2.19"
3131
SCALAFMT_VERSION = "3.8.3"
3232
KIND_PROJECTOR_VERSION = "0.13.3"
33-
PROTOBUF_JAVA_VERSION = "4.28.3"
33+
PROTOBUF_JAVA_VERSION = "4.29.0"
3434
JLINE_VERSION = '3.27.1'
3535
SCALAPB_VERSION = '0.11.17'
3636
PROTOC_BRIDGE_VERSION = '0.9.7'

third_party/repositories/scala_2_11.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ artifacts = {
6767
"sha256": "88241573467ddca44ffd4d74aa04c2bbfd11bf7c17e0c342c94c9de7a70a7c64",
6868
},
6969
"com_google_protobuf_protobuf_java": {
70-
"artifact": "com.google.protobuf:protobuf-java:4.28.3",
71-
"sha256": "ba02977c0fef8b40af9f85fe69af362d8e13f2685b49a9752750b18da726157e",
70+
"artifact": "com.google.protobuf:protobuf-java:4.29.0",
71+
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
7272
},
7373
"com_lihaoyi_fansi": {
7474
"artifact": "com.lihaoyi:fansi_2.11:0.2.6",

third_party/repositories/scala_2_12.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ artifacts = {
8282
"sha256": "88241573467ddca44ffd4d74aa04c2bbfd11bf7c17e0c342c94c9de7a70a7c64",
8383
},
8484
"com_google_protobuf_protobuf_java": {
85-
"artifact": "com.google.protobuf:protobuf-java:4.28.3",
86-
"sha256": "ba02977c0fef8b40af9f85fe69af362d8e13f2685b49a9752750b18da726157e",
85+
"artifact": "com.google.protobuf:protobuf-java:4.29.0",
86+
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
8787
},
8888
"com_lihaoyi_fansi": {
8989
"artifact": "com.lihaoyi:fansi_2.12:0.4.0",

third_party/repositories/scala_2_13.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ artifacts = {
7878
"sha256": "88241573467ddca44ffd4d74aa04c2bbfd11bf7c17e0c342c94c9de7a70a7c64",
7979
},
8080
"com_google_protobuf_protobuf_java": {
81-
"artifact": "com.google.protobuf:protobuf-java:4.28.3",
82-
"sha256": "ba02977c0fef8b40af9f85fe69af362d8e13f2685b49a9752750b18da726157e",
81+
"artifact": "com.google.protobuf:protobuf-java:4.29.0",
82+
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
8383
},
8484
"com_lihaoyi_fansi": {
8585
"artifact": "com.lihaoyi:fansi_2.13:0.4.0",

third_party/repositories/scala_3_1.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ artifacts = {
7878
"sha256": "88241573467ddca44ffd4d74aa04c2bbfd11bf7c17e0c342c94c9de7a70a7c64",
7979
},
8080
"com_google_protobuf_protobuf_java": {
81-
"artifact": "com.google.protobuf:protobuf-java:4.28.3",
82-
"sha256": "ba02977c0fef8b40af9f85fe69af362d8e13f2685b49a9752750b18da726157e",
81+
"artifact": "com.google.protobuf:protobuf-java:4.29.0",
82+
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
8383
},
8484
"com_lihaoyi_fansi": {
8585
"artifact": "com.lihaoyi:fansi_2.13:0.4.0",

third_party/repositories/scala_3_2.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ artifacts = {
7878
"sha256": "88241573467ddca44ffd4d74aa04c2bbfd11bf7c17e0c342c94c9de7a70a7c64",
7979
},
8080
"com_google_protobuf_protobuf_java": {
81-
"artifact": "com.google.protobuf:protobuf-java:4.28.3",
82-
"sha256": "ba02977c0fef8b40af9f85fe69af362d8e13f2685b49a9752750b18da726157e",
81+
"artifact": "com.google.protobuf:protobuf-java:4.29.0",
82+
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
8383
},
8484
"com_lihaoyi_fansi": {
8585
"artifact": "com.lihaoyi:fansi_2.13:0.4.0",

third_party/repositories/scala_3_3.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ artifacts = {
7878
"sha256": "88241573467ddca44ffd4d74aa04c2bbfd11bf7c17e0c342c94c9de7a70a7c64",
7979
},
8080
"com_google_protobuf_protobuf_java": {
81-
"artifact": "com.google.protobuf:protobuf-java:4.28.3",
82-
"sha256": "ba02977c0fef8b40af9f85fe69af362d8e13f2685b49a9752750b18da726157e",
81+
"artifact": "com.google.protobuf:protobuf-java:4.29.0",
82+
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
8383
},
8484
"com_lihaoyi_fansi": {
8585
"artifact": "com.lihaoyi:fansi_2.13:0.4.0",

third_party/repositories/scala_3_4.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ artifacts = {
7878
"sha256": "88241573467ddca44ffd4d74aa04c2bbfd11bf7c17e0c342c94c9de7a70a7c64",
7979
},
8080
"com_google_protobuf_protobuf_java": {
81-
"artifact": "com.google.protobuf:protobuf-java:4.28.3",
82-
"sha256": "ba02977c0fef8b40af9f85fe69af362d8e13f2685b49a9752750b18da726157e",
81+
"artifact": "com.google.protobuf:protobuf-java:4.29.0",
82+
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
8383
},
8484
"com_lihaoyi_fansi": {
8585
"artifact": "com.lihaoyi:fansi_2.13:0.4.0",

third_party/repositories/scala_3_5.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ artifacts = {
7878
"sha256": "88241573467ddca44ffd4d74aa04c2bbfd11bf7c17e0c342c94c9de7a70a7c64",
7979
},
8080
"com_google_protobuf_protobuf_java": {
81-
"artifact": "com.google.protobuf:protobuf-java:4.28.3",
82-
"sha256": "ba02977c0fef8b40af9f85fe69af362d8e13f2685b49a9752750b18da726157e",
81+
"artifact": "com.google.protobuf:protobuf-java:4.29.0",
82+
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
8383
},
8484
"com_lihaoyi_fansi": {
8585
"artifact": "com.lihaoyi:fansi_2.13:0.4.0",

0 commit comments

Comments
 (0)