grpc v1.71.2 版本更新介绍
发布日期: 2025-06-28
版本号: v1.71.2
gRPC Core 发布 1.71.2 版本(代号 gears),包含改进、优化和错误修复。C++ 方面,保护了生成的源代码免受不需要的系统宏影响。Python 方面,修复了客户端在某些情况下无法重新连接的问题,并将 Cython 版本固定为 3.1.1 以解决多个相关缺陷,包括版本不一致和内存泄漏问题。
更新内容 (中文)
这是gRPC Core的1.71.2版本(gears)。
如需gRPC文档,请访问grpc.io。查看以前的版本,请参阅版本发布。
此版本包含改进、优化和错误修复,重点内容如下:
C++
- [将#39266回溯移植至v1.71.x] 保护gRPC生成的源文件免受非预期系统宏影响(#39484)。
Python
- [将#39894回溯移植至v1.71.x] 修复gRPC Python客户端在某些情况下无法重连的问题:#38290、#39113、#39631(#39948)。
- [将#39609回溯移植至v1.71.x] 将Cython版本固定为3.1.1(#39636)。该更新解决了以下问题:
- #39588:同一grpcio版本中发布的平台特定wheel包使用了不一致的Cython版本。
- cython/cython#6878:多个已发布的grpcio wheel包是使用Cython 3.1.0构建的,在使用AsyncIO API(
grpc.aio.*)时受Cython内存泄漏问题影响。
更新内容 (原始)
This is release 1.71.2 (gears) 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.
C++
- [Backport of #39266 to v1.71.x] Protect grpc generated sources from unwanted system macros (#39484).
Python
- [Backport of #39894 to v1.71.x] Fix the issue with gRPC Python Client not reconnecting in certain situations: #38290, #39113, #39631 (#39948).
- [Backport of #39609 to v1.71.x] Pin Cython to 3.1.1 (#39636). This addresses several issues:
- #39588 Using inconsistent Cython version in released platform-specific wheels within the same grpcio release.
- cython/cython#6878 Several published grpcio wheels were built with Cython 3.1.0 and are affected by Cython memory leak issue when using AsyncIO APIs (
grpc.aio.*).