gRPC 1.13.0 已发布,此版本包含重要的改进和错误修复,针对 Objective-C、PHP 和 Python 这几个语言版本都有重要的更新,其中重点列出如下:
Core
GRPC_COLLECT_STATS
is defined. It will be disabled for opt builds. (#15280)Objective-C
PHP
Python
manylinux1
platform are now available.grpcio-testing
from PyPI (#15819).requirements.txt
no longer lists the futures
package as a dependency—whose installation used to be unnecessary on Python 3 but now actively breaks on Python 3 (#15362).GRPC_ENABLE_FORK_SUPPORT=false
is no longer required when running fork
-exec
.with
statement or explicitly calling Channel.close
to release the underlying resources in Channel
objects is now a required coding practice starting in v1.13.0
.发布说明和源码下载 https://github.com/grpc/grpc/releases/tag/v1.13.0
gRPC 是 Google 开源的高性能、通用 RPC 框架,面向移动和 HTTP/2 设计,是由谷歌发布的首款基于 Protocol Buffers 的 RPC 框架。gRPC 基于 HTTP/2 标准设计,带来诸如双向流、流控、头部压缩、单 TCP 连接上的多复用请求等特性。这些特性使得其在移动设备上表现更好,更省电且节省空间占用。
领取专属 10元无门槛券
私享最新 技术干货