Skip to content

Commit

Permalink
chore: update protobuf to 23.1 (#200)
Browse files Browse the repository at this point in the history
This PR updates protobuf to version 23.1.

It's a lesser version than the update in #187, but 23.1 has the virtue
of already [being present in
BCR](https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/protobuf/23.1).

Fixes #178
  • Loading branch information
benjamin-bader authored Jan 16, 2024
1 parent e3885ef commit 5cb4053
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ bazel_dep(name = "bazel_features", version = "1.2.0")
bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc")
bazel_dep(name = "rules_cc", version = "0.0.1", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.11.0", dev_dependency = True, repo_name = "com_google_googletest")
bazel_dep(name = "protobuf", version = "21.7", dev_dependency = True, repo_name = "com_google_protobuf")
bazel_dep(name = "protobuf", version = "23.1", dev_dependency = True, repo_name = "com_google_protobuf")
bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True)
8 changes: 4 additions & 4 deletions dev_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ def rules_proto_dev_deps():

http_archive(
name = "com_google_protobuf",
sha256 = "75be42bd736f4df6d702a0e4e4d30de9ee40eac024c4b845d17ae4cc831fe4ae",
strip_prefix = "protobuf-21.7",
sha256 = "dc167b7d23ec0d6e4a3d4eae1798de6c8d162e69fa136d39753aaeb7a6e1289d",
strip_prefix = "protobuf-23.1",
urls = [
"https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v21.7.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/v21.7.tar.gz",
"https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v23.1.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/v23.1.tar.gz",
],
)

0 comments on commit 5cb4053

Please sign in to comment.