发布日期: 2025-06-07
版本号: v1.73.0

这是gRPC Core的1.73.0版本发布,主要包含一系列优化、改进和错误修复。核心层面,MacOS与iOS平台的gRPC现在将使用Abseil的同步功能以与其他平台保持一致,如遇问题可通过启用GPR_DISABLE_ABSEIL_SYNC来禁用;此外更新了Protobuf依赖至v31.0,修复了URI解析、EventEngine关闭时的循环等问题,并将EventEngine相关实验默认启用。C++部分将OpenCensus及其依赖API标记为已弃用。Python部分固定了Cython版本,并改进了proto路径的处理方式。Ruby部分则在优化构建中增加了清理未使用工件的功能。

更新内容 (中文)

这是gRPC Core的1.73.0版本(G代表梯度)。

gRPC文档请参见grpc.io。历史版本请参见发布版本

本版本包含优化、改进和错误修复,主要亮点如下。

核心

从本版本起,MacOS和iOS平台上的gRPC将使用Abseil的同步特性,与其他平台保持一致。如果因本次更新遇到问题,可通过启用GPR_DISABLE_ABSEIL_SYNC来禁用该特性。如采取此操作,请在https://github.com/grpc/grpc提交问题报告。

  • [依赖] 更新Protobuf至v31.0版本。(#39392)
  • [核心] 新增GPR_DISABLE_ABSEIL_SYNC配置项。(#39562)
  • [xds_override_host] 创建子通道时传递端点级参数。(#39532)
  • 新增GRPC_OPENSSL_CLEANUP_TIMEOUT环境变量,用于控制关闭阶段的宽限时间。(#39297)
  • [URI] 修复代理设置中user_info字段的解析问题。(#39004)
  • [EventEngine] 修复线程池关闭时的忙循环问题。(#39258)
  • [依赖] 新增构建选项,支持使用openssl替代boringssl。(#39188)
  • [EventEngine] 清理优化:EventEngine客户端、监听器和DNS实验功能现默认全平台启用。(#39079)

C++

  • [OpenCensus] 将OpenCensus及其依赖API标记为已弃用。(#39554)

Python

  • [Python] 固定Cython版本为3.1.1。(#39609)
  • [Python] grpc_tools: 使PythonGrpcGenerator处理proto路径中的点号.时,与原生Generator/PyiGenerator保持一致。(#39586)

Ruby

  • [Ruby] 在优化构建中添加remove_unused_artifacts选项。(#39593)

更新内容 (原始)

This is release 1.73.0 (gradient) 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

As of this version, gRPC on MacOS & iOS will utilize Abseil’s synchronization features, aligning it with other platforms. Should you encounter any issues due to this update, you can disable it by enabling GPR_DISABLE_ABSEIL_SYNC. If you do this, please report any problems by filing a bug at https://github.com/grpc/grpc.

  • [Dep] Update Protobuf to v31.0. (#39392)
  • [Core] Added GPR_DISABLE_ABSEIL_SYNC. (#39562)
  • [xds_override_host] pass through per-endpoint args when creating subchannels. (#39532)
  • Expose GRPC_OPENSSL_CLEANUP_TIMEOUT to control shutdown grace period. (#39297)
  • [URI] fix parsing of user_info in proxy settings. (#39004)
  • [EventEngine] Fix busy loop in thread pool when shutting down. (#39258)
  • [Dep] Added a flag to build with openssl instead of boringssl. (#39188)
  • [EventEngine] Cleanup: EventEngine client, listener, and dns experiments are on by default on all platforms. (#39079)

C++

  • [OpenCensus] Mark OpenCensus and dependent APIs as deprecated. (#39554)

Python

  • [Python] Pin Cython to 3.1.1. (#39609)
  • [Python] grpc_tools: make PythonGrpcGenerator handle dot . in proto paths the same way as native Generator/PyiGenerator. (#39586)

Ruby

  • [Ruby] add remove_unused_artifacts to opt build. (#39593)

下载链接