Update gRPC v1.30.2 and google-protobuf to 3.12.4
This will help unblock Ruby 2.7 support. We previously had to revert these due to CentOS 6 build issues, but with https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/4466 we are able to work around the compiler limitations. The upgrade in google-protobuf from v3.8 to v3.9 had a breaking change: https://github.com/protocolbuffers/protobuf/pull/6166. As https://apidock.com/rails/Object/as_json mentions, Rails' `as_json` uses `to_hash`, which no longer exists. Now we need to coerce values to `to_h` to retain the original behavior.
Showing
... | @@ -464,9 +464,9 @@ end | ... | @@ -464,9 +464,9 @@ end |
# Gitaly GRPC protocol definitions | # Gitaly GRPC protocol definitions | ||
gem 'gitaly', '~> 13.3.0-rc1' | gem 'gitaly', '~> 13.3.0-rc1' | ||
gem 'grpc', '~> 1.24.0' | gem 'grpc', '~> 1.30.2' | ||
gem 'google-protobuf', '~> 3.8.0' | gem 'google-protobuf', '~> 3.12' | ||
gem 'toml-rb', '~> 1.0.0' | gem 'toml-rb', '~> 1.0.0' | ||
... | ... |
Please register or sign in to comment