gRPC 发布 v1.32.0

Posted 希谭实验室

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gRPC 发布 v1.32.0相关的知识,希望对你有一定的参考价值。

gRPC是一个高性能,开源通用的 RPC 框架。


gRPC是可以在任何环境中运行的现代开源高性能RPC框架。它可以通过可插拔的支持来有效地连接数据中心内和跨数据中心的服务,以实现负载平衡,跟踪,运行状况检查和身份验证。它也适用于分布式计算的最后一英里,以将设备,移动应用程序和浏览器连接到后端服务。


v1.32.0 更新记录:

Core

  • Remove stream from stalled lists on remove_stream. (#23984)

  • Do not cancel RPC if send metadata size if larger than peer's limit. (#23806)

  • Don't consider receiving non-OK status as an error for HTTP2. (#19545)

  • Keepalive throttling. (#23313)

  • Include the target_uri in "target uri is not valid" error messages. (#23782)

  • Fix "cannot send compressed message large than 1024B" in cronet_transport. (#23219)

  • Receive SETTINGS frame on clients before declaring subchannel READY. (#23636)

  • Enabled GPR_ABSEIL_SYNC. (#23372)

  • Experimental xDS v3 support. (#23281)

C++

  • Upgrade bazel used for all tests to 2.2.0. (#23902)

  • Remove test targets and test helper libraries from Makefile. (#23813)

  • Fix repeated builds broken by re2's cmake. (#23587)

  • Log the peer address of grpc_cli CallMethod RPCs to stderr. (#23557)

C#

  • Use new protobuf serialization/deserialization API in C# marshallers. (#23485)

  • Change port number in examples to avoid conflict with forbidden port on windows. (#23879)

  • Fix C# server start when not all ports have been bound. (#23858)

php

  • PHP: avoid destroy channel more than once. (#23567)

Python

  • [gRPC Easy] GA: This release enables runtime import of .proto Files. (gRFC, PR) Together with support for simple stubs present since 1.29 (#22218, #21954), this completes gRPC Easy. To start using these features, take a look at the example. If using simple stubs without runtime proto import, generated code must be regenerated with an up-to-date version of the grpcio-tools package.

  • [Aio] Graduation from experimental folder. (#23240)

  • [Aio] Prevent call objects from outliving its parent channel or server. (#23945)

  • [Aio] Add a fail-back polling mode for Windows+3.8+. (#23783)

  • Raises an exception when port binding failed. (#23632)

  • Implement compute_engine_channel_credentials in Python. (#23203)

  • Fix bazel out directory when using external repo. (#23633)

Ruby

  • Ruby: use absolute module name for request/response namespaces. (#23765)

  • Copy channel args hash before appending ruby user agent. (#23812)

  • Fix ruby segfault on nil optional creds params. (#23670)


以上是关于gRPC 发布 v1.32.0的主要内容,如果未能解决你的问题,请参考以下文章

java版gRPC实战之二:服务发布和调用

从源代码安装 grpc 时出现“make: protoc: Command not found”

如何为 gRPC 生成的 Java 代码实现 com.google.protobuf.BlockingRpcChannel?

如何在 gRPC 中为 Java 手动生成客户端和服务器代码?

grpc 测试代码退出 1 并出现“rpc 错误:代码 = 未实现的 desc = 方法 Hello 未实现”

在 GRPC 中拦截/记录请求和响应