Skip to content

v0.8.0

Choose a tag to compare

@ZoneCNH ZoneCNH released this 05 Jun 23:26

v0.8.0 说明

  • 语义硬化:errx.IsKindretryx.ShouldRetry 现在遍历 wrapped/joined error tree,迁移时请确认依赖“只检查首个错误分支”的调用方预期。
  • 安全格式化:obsx.SecretString 增强 %#v/debug 格式脱敏,fmt.GoStringer/fmt.Formatter 输出不再泄露原始 secret。
  • 使用约束:contextx.Key 零值误用会 fail fast;迁移代码应统一通过 contextx.NewKey 创建键。
  • 发布门禁:ci 纳入 coverage-thresholdworkflow-pin-check,workflow action 引用要求不可变 40 字符 SHA pin;coverage gate 已兼容 GitHub runner 的 /bin/sh

验证:

  • VERSION=v0.8.0 make ci
  • VERSION=v0.8.0 make evidence
  • VERSION=v0.8.0 make release-evidence-check
  • Remote GitHub Actions on fcfd6c7: kernel-ci success, kernel-security success

Full Changelog: v0.7.3...v0.8.0