Skip to content

Commit f9a2a74

Browse files
authored
Upgrade third_party/protobuf to v3.17.3 (grpc#27227)
* update protobuf dependency * version changes and generated files * updating upb to use the latest proto and regen files
1 parent 2d85886 commit f9a2a74

33 files changed

+1648
-136
lines changed

bazel/grpc_deps.bzl

+4-4
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@ def grpc_deps():
212212
if "com_google_protobuf" not in native.existing_rules():
213213
http_archive(
214214
name = "com_google_protobuf",
215-
sha256 = "cf63d46ef743f4c30b0e36a562caf83cabed3f10e6ca49eb476913c4655394d5",
216-
strip_prefix = "protobuf-436bd7880e458532901c58f4d9d1ea23fa7edd52",
215+
sha256 = "dd53cb731b1b6b515d3d679644344bf33bb9f5b88c98187ae5c7be734a665c57",
216+
strip_prefix = "protobuf-909a0f36a10075c4b4bc70fdee2c7e32dd612a72",
217217
urls = [
218-
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz",
219-
"https://github.com/protocolbuffers/protobuf/archive/436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz",
218+
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/909a0f36a10075c4b4bc70fdee2c7e32dd612a72.tar.gz",
219+
"https://github.com/protocolbuffers/protobuf/archive/909a0f36a10075c4b4bc70fdee2c7e32dd612a72.tar.gz",
220220
],
221221
patches = ["@com_github_grpc_grpc//third_party:protobuf.patch"],
222222
patch_args = ["-p1"],

build_handwritten.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ settings:
1515
core_version: 18.0.0
1616
csharp_major_version: 2
1717
g_stands_for: goat
18-
protobuf_version: 3.15.8
18+
protobuf_version: 3.17.3
1919
version: 1.41.0-dev
2020
targets:
2121
- name: check_epollexclusive

grpc.gemspec

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c

+103-103
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cpp/Protobuf-C++.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Protobuf-C++'
3-
s.version = '3.15.8'
3+
s.version = '3.17.3'
44
s.summary = 'Protocol Buffers v3 runtime library for C++.'
55
s.homepage = 'https://github.com/protocolbuffers/protobuf'
66
s.license = '3-Clause BSD License'

0 commit comments

Comments
 (0)