grpc v1.82.0 版本更新介绍
发布日期: 2026-07-02
版本号: v1.82.0
gRPC Core 发布了版本 1.82.0(代号 glacier)。此版本包含多项优化、改进和错误修复。更新内容主要集中在核心库方面,包括对调用凭据添加区域访问边界策略元数据支持、在端点关闭时注销 CFStream 回调、修复 POSIX 套接字代码中文件描述符 0 被错误视为无效的问题,以及启用新的 ORCA 到 LRS 传播行为、实现 WRR 对自定义后端指标的支持,并升级至 protobuf 35。此外,PHP 扩展新增了 PIE 支持;Python 版本进行了类型检查和异步调用方面的改进,并修复了 CPU 占用过高的问题,但该 Python 版本因特定问题已被从 PyPI 撤回;Ruby 版本实现了纯 Ruby 调用凭据并修复了拦截器执行顺序问题。
更新内容 (中文)
这是 gRPC Core 1.82.0(glacier)版本的发布说明。
关于 gRPC 文档,请参阅 grpc.io。如需查看历史版本,请访问 发布列表。
本版本包含改进、增强和错误修复。
这是 gRPC Core 1.82.0(glacier)版本的发布说明。
关于 gRPC 文档,请参阅 grpc.io。如需查看历史版本,请访问 发布列表。
本版本包含改进、增强和错误修复,重点内容如下:
核心(Core)
- 【调用凭据】新增支持查询并附加区域访问边界策略元数据的功能。(#41594)
- 在端点关闭时注销 CFStream 回调。(#42211)
- 修复在 POSIX 套接字代码中文件描述符 0 被错误视为无效的问题。(#41764)
- 【xDS】启用新的 ORCA 到 LRS 传播行为(gRFC A85)。(#42411)
- 【RetryFilter::LegacyCallData】:避免触发 abseil nullopt 断言。(#42405)
- 【xds】实现 A114:为自定义后端指标添加 WRR(加权轮询)支持。(#41750)
- 【核心】升级至 protobuf 35。(#42512)
PHP
- 【回溯版本】[v1.82.x][PHP] 为 PHP 扩展添加 PIE 支持。(#42873)
Python
添加于 2026-07-12:
注意!此 gRPC Python 版本 1.82.0 已于 2026-07-07 因问题 https://github.com/grpc/grpc/issues/42906 被从 PyPI 撤回。
- 【Python】【Pyright】第 2 部分 - 为 src/python/grpcio/grpc/aio/_call.py 添加 Pyright 支持。(#42272)
- 【Python】[异步IO] 修复问题 #42393:使用
-O标志运行 Python 时 CPU 占用率 100%。(#42470) - 【Python】【Typeguard】第 6 部分 - 在测试中添加 Typeguard 同步栈。(#40353)
- 【Python】【Pyright】第 3 部分 - 为 src/python/grpcio/grpc/aio/_metadata.py 添加 Pyright 支持。(#42273)
- 【Python】在 fork 子进程中取消调用而不关闭通道。(#41784)
- 【Python】已迁移至 protobuf
3.35。
Ruby
更新内容 (原始)
This is release gRPC Core 1.82.0 (glacier).
For gRPC documentation, see grpc.io. For previous releases, see Releases.
This release contains refinements, improvements, and bug fixes. This is release 1.82.0 (glacier) of gRPC Core.
For gRPC documentation, see grpc.io. For previous releases, see Releases.
This release contains refinements, improvements, and bug fixes, with highlights listed below.
Core
- [call creds] Add support for looking up and attaching regional access boundary policy metadata. (#41594)
- Unregister CFStream callbacks during endpoint shutdown. (#42211)
- Fix fd 0 incorrectly treated as invalid across POSIX socket code. (#41764)
- [xDS] enable new ORCA-to-LRS propagation behavior (gRFC A85). (#42411)
- [RetryFilter::LegacyCallData]: avoid tripping abseil nullopt assertion. (#42405)
- [xds] Implement A114: WRR support for custom backend metrics. (#41750)
- [Core] Upgrade to protobuf 35 (#42512)
PHP
- [Backport][v1.82.x][PHP] Add PIE support for PHP extention. (#42873)
Python
Added 2026-07-12:
CAUTION! This gRPC Python release 1.82.0 was yanked from PyPI on 2026-07-07 due to issue https://github.com/grpc/grpc/issues/42906.
- [Python] [Pyright] Part 2 - Pyright for src/python/grpcio/grpc/aio/_call.py. (#42272)
- [Python][aio] Fix issue #42393: 100% CPU when Python run with -O flag. (#42470)
- [Python] [Typeguard] Part 6 - Add Typeguard SYNC Stack in tests. (#40353)
- [Python] [Pyright] Part 3 - Pyright for src/python/grpcio/grpc/aio/_metadata.py. (#42273)
- [Python] Cancel calls without closing channels in fork child. (#41784)
- [Python] Migrated to protobuf
3.35.
Ruby
- [Ruby] Implemented Pure Ruby Call Credentials. (#41946)
- [Ruby] Fix Ruby interceptors not running in FIFO order. (#42346)