grpc v1.66.0 版本更新介绍
发布日期: 2024-08-22
版本号: v1.66.0
gRPC Core 1.66.0版本(代号Gladiator)已发布,本次更新包含核心功能优化、问题修复及多项改进。核心部分更新包括:通过调用管理域优化Python OpenTelemetry调用追踪器的生命周期管理(v1.66.x向后移植)、升级第三方BoringSSL库、将Protobuf依赖升级至v27.2、修复日志模块的Gpr到Abst转换的缺陷,以及修复chttp2传输层在端点销毁后仍可能访问的问题。C++部分修复了OpenTelemetry回调添加与删除时的竞态条件问题,并解决了RlsLB负载均衡器的死锁问题。Python方面将版本不兼容警告调整为运行时错误,修复了问题#36613相关缺陷,改进了调用元数据返回类型提示,并新增关于PyPi版本与GitHub版本可能不一致的提示。Ruby部分更新了支持Protobuf 3.x和4.x版本的依赖,并优化了完成队列在处理信号及进程关闭时的操作逻辑。
更新内容 (中文)
这是 gRPC Core 的 1.66.0 版本(gladiator)。
关于 gRPC 的文档,请参阅 grpc.io。历史版本请查看版本发布。
此版本包含优化、改进和错误修复,重点内容如下:
Core
- [Python Otel] 通过调用域管理调用追踪器的生命周期(v1.66.x 回溯移植)(#37479)
- [BoringSSL] 更新第三方依赖
third_party/boringssl-with-bazel
(#37223) - [Dep] 升级 Protobuf 至 v27.2 (#36753)
- [Gpr_To_Absl_Logging] 修复错误 (#36961)
- [chttp2] 若端点已销毁,则不在传输操作中访问该端点 (#36921)
C++
Python
- [Python Distrib] 针对版本不兼容问题将警告改为 RuntimeError(v1.66.x 回溯移植)(#37477)
- 修复 issues/36613 (#37022)
- [fix] 更新
invocation_metadata
返回类型提示 (#36894) - [Release] 添加关于 PyPi 最新版本可能与 GitHub 最新版本不一致的警告 (#36965)
Ruby
更新内容 (原始)
This is release 1.66.0 (gladiator) 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
- [Python Otel] Manage call tracer life cycle use call arena. (v1.66.x backport). (#37479)
- [BoringSSL] Update third_party/boringssl-with-bazel. (#37223)
- [Dep] Upgrading Protobuf to v27.2. (#36753)
- [Gpr_To_Absl_Logging] Fixing bugs . (#36961)
- [chttp2] don’t access endpoint in transport ops if it’s already been destroyed. (#36921)
C++
- [OTel C++] Fix race when adding and removing callbacks (#37485). (#37508)
- [RlsLB] Fix Deadlock (#37459). (#37502)
Python
- [Python Distrib] Change warning to RuntimeError for version incompatibility (v1.66.x backport). (#37477)
- Fix issues/36613. (#37022)
- [fix] updated invocation_metadata return type hint. (#36894)
- [Release] Add warning about PyPi latest version not necessarily matching Github latest version. (#36965)
Ruby
- [ruby] Update google-protobuf dep to allow 3.x and 4.x versions. (#36982)
- [ruby] improve the way completion queue pluck operations handle signals and process shutdown. (#36903)