Skip to content

Commit e2923d0

Browse files
committed
Add rules_proto info to README.md
Also fixes a small typo in `docs/scala_toolchain.md`.
1 parent 4e90449 commit e2923d0

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -532,20 +532,26 @@ maximum available at the time of writing.
532532
- For the actual versions used by `rules_scala`, see
533533
[scala/deps.bzl](scala/deps.bzl).
534534

535-
- See [the configuration file][ci-config] for the exact Bazel versions verified
536-
with the continuous-integration builds.
537-
538-
[ci-config]: ./.bazelci/presubmit.yml
535+
- See [.bazelci/presubmit.yml](./.bazelci/presubmit.yml) for the exact Bazel
536+
versions verified by the continuous integration builds.
539537

540538
| Bazel/Dependency | `rules_scala` 7.x |
541539
| :-: | :-: |
542540
| Bazel versions using Bzlmod<br/>(Coming soon! See bazelbuild/rules_scala#1482.) | 7.5.0, 8.x,<br/>`rolling`, `last_green` |
543541
| Bazel versions using `WORKSPACE` | 6.5.0, 7.5.0, 8.x<br/>(see the [notes on 6.5.0 compatibility](#6.5.0)) |
544542
| `protobuf` | v30.1 |
543+
| `rules_proto` | 7.1.0 |
545544
| `abseil-cpp` | 20250127.1 |
546545
| `rules_java` | 8.11.0 |
547546
| `ScalaPB` | 1.0.0-alpha.1 |
548547

548+
The next major release will likely drop support for `protobuf` versions before
549+
v29 and remove `rules_proto` completely. This is to comply with the guidance in
550+
[Protobuf News: News Announcements for Version 29.x](
551+
https://protobuf.dev/news/v29/). For more details, see this [comment from #1710
552+
explaining why rules_proto remains for now](
553+
https://github.com/bazelbuild/rules_scala/pull/1710#issuecomment-2750001012).
554+
549555
### Using a prebuilt `@com_google_protobuf//:protoc` or C++ compiler flags
550556

551557
Newer versions of `abseil-cpp`, required by newer versions of
@@ -1005,6 +1011,7 @@ supported, but should work for some time.
10051011
| Dependency | Max compatible version | Reason |
10061012
| :-: | :-: | :- |
10071013
| `protobuf` | v25.5 | Maximum version supported by `ScalaPB` 0.11.17. |
1014+
| `rules_proto` | 6.0.2 | Maximum version supporting `protobuf` v25.5 |
10081015
| `rules_java` | 7.12.4 | 8.x requires `protobuf` v27 and later. |
10091016
| `rules_cc` | 0.0.9 | 0.0.10 requires Bazel 7 to define `CcSharedLibraryHintInfo`.<br/>0.0.13 requires at least `protobuf` v27.0. |
10101017
| `ScalaPB` | 0.11.17<br/>(0.9.8 for Scala 2.11) | Later versions only support `protobuf` >= v28. |

docs/scala_toolchain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ toolchain(
5757

5858
If you want to use your own compiler JARs, use `setup_scala_toolchain()`
5959
instead. This example assumes the external libraries are resolved with
60-
[rules_jvm_external](https://github.com/bazelbuild/rules_jvm_external)
60+
[rules_jvm_external](https://github.com/bazelbuild/rules_jvm_external):
6161

6262
```py
6363
# //toolchains/BUILD

0 commit comments

Comments
 (0)