发布日期: 2025-06-23
版本号: v0.147.9

本次更新主要解决了资源和页面处理中的初始化问题,改进了HTML表格渲染钩子的兼容性,将远程资源获取错误改为可抑制的警告,修复了Windows平台的颜色输出支持,并移除了过时的测试。同时更新了多个依赖库的版本,包括Google API、AWS SDK、图像处理库和类型转换库。

更新内容 (中文)

改进和修复

  • 移除具有错误负例的警告 WARN 6a4a3ab8f @bep #13806
  • resources/page: 确保映射始终初始化 36f6f987a @bep #13810
  • tpl/tplimpl: 将嵌入的HTML表格渲染钩子复制到每个输出格式 18a9ca7d7 @jmooring #13351
  • tpl/tplimpl: 将resources.GetRemote错误更改为可抑制的警告 b6c8dfa9d @jmooring #13803
  • common/terminal: 在Windows上启用彩色输出 4217fee4b @jmooring #8209
  • hugolib: 移除对未来弃用功能的测试 4ef572014 @bep

依赖更新

  • build(deps): 将google.golang.org/api从0.221.0升级到0.237.0 621ea42f3 @dependabot[bot]
  • build(deps): 将github.com/aws/aws-sdk-go-v2从1.36.1升级到1.36.4 34e83789f @dependabot[bot]
  • build(deps): 将golang.org/x/image从0.27.0升级到0.28.0 4d3ebe4d2 @dependabot[bot]
  • deps: 将github.com/spf13/cast从v1.8.0升级到v1.9.2 b5c0383bd @jmooring

更新内容 (原始)

Improvements and fixes

  • Remove WARN with false negatives 6a4a3ab8f @bep #13806
  • resources/page: Make sure a map is always initialized 36f6f987a @bep #13810
  • tpl/tplimpl: Copy embedded HTML table render hook to each output format 18a9ca7d7 @jmooring #13351
  • tpl/tplimpl: Change resources.GetRemote errors to suppressible warnings b6c8dfa9d @jmooring #13803
  • common/terminal: Enable color output on windows 4217fee4b @jmooring #8209
  • hugolib: Remove test for deprecated future 4ef572014 @bep

Dependency Updates

  • build(deps): bump google.golang.org/api from 0.221.0 to 0.237.0 621ea42f3 @dependabot[bot]
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.36.1 to 1.36.4 34e83789f @dependabot[bot]
  • build(deps): bump golang.org/x/image from 0.27.0 to 0.28.0 4d3ebe4d2 @dependabot[bot]
  • deps: Upgrade github.com/spf13/cast v1.8.0 => v1.9.2 b5c0383bd @jmooring

下载链接