发布日期: 2025-07-23
版本号: v3.5.0

Traefik v3.5.0发布,包含多项增强功能、错误修复及文档更新。增强功能主要包括ACME相关改进(如OCSP装订、延迟选项和超时配置)、健康检查命令增加URL选项和不健康间隔配置、Kubernetes网关API版本更新及Ingress前缀匹配行为调整、新增NGINX Ingress Provider、ForwardAuth中间件上下文取消处理、插件安全配置、引入后量子安全TLS支持,以及将仪表板UI迁移至React并改进错误中间件可视化。错误修复方面,回退了健康检查URL参数的添加,补充了资源属性检测器,为OTel指标添加资源属性选项,并优化了追踪配置。文档更新涉及标签提供程序限制说明、NGINX注解支持文档等,并移除了失效链接。其他杂项为常规分支合并操作。升级前请务必查阅迁移指南。

更新内容 (中文)

重要提示: 请阅读迁移指南

功能增强:

  • [acme] OCSP 装订 (#8393,由 alekitto 提交)
  • [acme] 添加 acme.httpChallenge.delay 选项 (#11643,由 ldez 提交)
  • [acme] 允许配置 ACME 提供商 HTTP 超时 (#11637,由 tkw1536 提交)
  • [healthcheck] 为健康检查命令添加 url 选项 (#11711,由 Nelwhix 提交)
  • [healthcheck] 在健康检查配置中添加不健康间隔 (#10610,由 sswastik02 提交)
  • [k8s/gatewayapi] 升级 sigs.k8s.io/gateway-api 至 v1.3.0 (#11719,由 rtribotte 提交)
  • [k8s/ingress] 使 Ingress 中前缀匹配的行为与 Kubernetes 文档保持一致 (#11203,由 charlie0129 提交)
  • [k8s] NGINX Ingress 提供商 (#11844,由 rtribotte 提交)
  • [中间件,认证] 在 ForwardAuth 中间件中处理上下文取消 (#11817,由 bengentree 提交)
  • [插件] 允许通过插件清单在 yaegi 中启用 unsafe (#11589,由 Rydez 提交)
  • [tls] 引入用于后量子安全 TLS 的 X25519MLKEM768 (#11731,由 fzoli 提交)
  • [webui] 将 Traefik Proxy 仪表盘 UI 迁移到 React (#11674,由 gndz07 提交)
  • [webui] 改进错误中间件 StatusRewrites 选项的可视化 (#11806,由 sevensolutions 提交)

错误修复:

  • [healthcheck] 撤销 11711 在健康检查命令中添加 url 参数 (#11927,由 lbenguigui 提交)
  • [日志,指标,追踪,访问日志,otel] 添加缺失的资源属性检测器 (#11874,由 rtribotte 提交)
  • [日志,追踪,k8s,otel] 自动添加 k8s 资源属性 (#11906,由 kevinpollet 提交)
  • [指标,otel] 为 OTel 指标添加 resourceAttributes 选项 (#11908,由 kevinpollet 提交)
  • [中间件,追踪] 引入追踪详细程度配置,并默认生成更少的跨度 (#11870,由 rtribotte 提交)

文档:

  • [docker,ecs,docker/swarm,consulcatalog,nomad] 为标签提供商添加约束键限制说明 (#11893,由 bluepuma77 提交)
  • [k8s] 添加扩展的 NGinX 注解支持文档 (#11920,由 nmengin 提交)
  • 移除指向 Peka 博客的失效链接 (#11934,由 kevinpollet 提交)
  • 准备发布 v3.5.0-rc2 (#11899,由 kevinpollet 提交)
  • 准备发布 v3.5.0-rc1 (#11865,由 rtribotte 提交)

其他:

更新内容 (原始)

Important: Please read the migration guide.

Enhancements:

  • [acme] OCSP stapling (#8393 by alekitto)
  • [acme] Add acme.httpChallenge.delay option (#11643 by ldez)
  • [acme] Allow configuration of ACME provider http timeout (#11637 by tkw1536)
  • [healthcheck] Add url option to healthcheck command (#11711 by Nelwhix)
  • [healthcheck] Add unhealthy Interval to the health check configuration (#10610 by sswastik02)
  • [k8s/gatewayapi] Bump sigs.k8s.io/gateway-api to v1.3.0 (#11719 by rtribotte)
  • [k8s/ingress] Make the behavior of prefix matching in Ingress consistent with Kubernetes doc (#11203 by charlie0129)
  • [k8s] NGINX Ingress Provider (#11844 by rtribotte)
  • [middleware,authentication] Handle context canceled in ForwardAuth middleware (#11817 by bengentree)
  • [plugins] Ability to enable unsafe in yaegi through plugin manifest (#11589 by Rydez)
  • [tls] Introduce X25519MLKEM768 for Post-Quantum-Secure TLS (#11731 by fzoli)
  • [webui] Migrate Traefik Proxy dashboard UI to React (#11674 by gndz07)
  • [webui] Improve visualization for StatusRewrites option of errors middleware (#11806 by sevensolutions)

Bug fixes:

  • [healthcheck] Revert 11711 adding url param to healthcheck command (#11927 by lbenguigui)
  • [logs,metrics,tracing,accesslogs,otel] Add missing resource attributes detectors (#11874 by rtribotte)
  • [logs,tracing,k8s,otel] Add k8s resource attributes automatically (#11906 by kevinpollet)
  • [metrics,otel] Add resourceAttributes option to OTel metrics (#11908 by kevinpollet)
  • [middleware,tracing] Introduce trace verbosity config and produce less spans by default (#11870 by rtribotte)

Documentation:

Misc:

下载链接