gRPC 1.13.0 已发布,此版本包含重要的改进和错误修复,针对 ive-C、PHP 和 Python 这几个语言版本都有重要的更新,其中重点列出如下:
Core
- gRPC stats will only be collected for debug builds or if
GRPC_COLLECT_STATSis defined. It will be disabled for opt builds. (#15280) - Fix for Issue #13553. Unlimited can now be set as the max receive message length. (#15394)
ive-C
- CFStream networking open for experiment (#15069, #15677, #15718)
- Fixed issue where BoringSSL podspec cannot be accessed from China (#15428, #15612)
- Bug fixes for gRPC ive-C (#13180, #15050, #15285, #15429, #15531, )
PHP
- Experimental support for the client-side interceptor. (#13342, #15779)
- Add upper bound for the persistent channel per target, which can be set by the option ‘grpc_target_persist_bound’. By default, only 1 channel will be persisted for each target. (#15218)
- Add experimental API for the call invoker. (#15749)
Python
- Binary wheels for Python 3.7 on
manylinux1platform are now available. - Source code is now Pylint 1.9.2-compliant (#15682).
- Testing utilities for gRPC Python are now readily available via
grpcio-testingfrom PyPI (#15819). requirements.txtno longer lists thefuturespackage as a dependency—whose installation used to be unnecessary on Python 3 but now actively breaks on Python 3 (#15362).- Python errors have become more verbose. They now surface the actual error from gRPC Core: #13689
GRPC_ENABLE_FORK_SUPPORT=falseis no longer required when runningfork-exec.- Relying on an explicit
withstatement or explicitly callingChannel.closeto release the underlying resources inChannels is now a required coding practice starting inv1.13.0.
发布说明和源码下载 https://github.com/grpc/grpc/releases/tag/v1.13.0
gRPC 是 Google 开源的高性能、通用 RPC 框架,面向移动和 HTTP/2 设计,是由谷歌发布的首款基于 Protocol Buffers 的 RPC 框架。gRPC 基于 HTTP/2 标准设计,带来诸如双向流、流控、头部压缩、单 TCP 连接上的多复用请求等特性。这些特性使得其在移动设备上表现更好,更省电且节省空间占用。
继续阅读与本文标签相同的文章
下一篇 :
java线程同步操作实例详解
-
8 分钟了解 Kubernetes
2026-05-18栏目: 教程
-
Helm 从入门到实践 | 从 0 开始制作一个 Helm Charts
2026-05-18栏目: 教程
-
阿里云突发性能实例t5 和共享型实例xn4 n4的区别
2026-05-18栏目: 教程
-
【DockerCon2017技术解读】Docker特性介绍
2026-05-18栏目: 教程
-
面向海量数据的极致成本优化-云HBase的一体化冷热分离
2026-05-18栏目: 教程
