hugo v0.149.1 版本更新介绍
发布日期: 2025-09-04
版本号: v0.149.1
本次更新主要出于升级至 Go 1.25.1 以包含安全修复的考量。虽然 Hugo 本身未使用相关功能,但为了确保用户的安全报告完整,仍进行了此升级。此外,更新还包括将 CSS 压缩目标调整为 CSS3、移除别名页面中的 noindex 元标签、修复目录标题的空指针错误、调整集合操作参数要求、改进配置环境处理以及更新弃用处理等多项改进。
更新内容 (中文)
此次更新的主要动机是升级至 Go 1.25.1,该版本包含一项 安全修复。虽然 Hugo 未使用相关功能,但我们理解许多 Hugo 用户希望获得清晰的安全报告。
注意事项
请注意,CSS 压缩功能现以 CSS3 为目标,已移除某些针对 CSS2 的特定优化。
变更内容
- 从 alias.html 中移除 noindex 元标签 25c0f2408 @lzap
- 修复目录标题的空指针问题 4f2d2b2cc @bep #11843
- tpl/collections:要求 collections.D 参数为整数 b8eb45c9d @bep #13952
- 升级至 Go 1.25.1 1d90afff1 @bep #13960
- 修复某些切片选项的配置环境处理 e751afa9b @PikachuTW #13950
- 压缩器:更新弃用处理逻辑 a09b8a60e @jmooring #11893 #13947 #13948
更新内容 (原始)
The main motivation behind this release is the Go 1.25.1 upgrade, which comes with a security fix. Hugo does not use the feature in question, but we understand that many Hugo users like to have a clean security report.
Note
Note that CSS minification now targets CSS3, removing certain optimizations that were specific to CSS2.
What’s Changed
- Remove noindex meta tag from alias.html 25c0f2408 @lzap
- Fix nilpointer on ToC heading 4f2d2b2cc @bep #11843
- tpl/collections: Require collections.D args to be ints b8eb45c9d @bep #13952
- Upgrade to Go 1.25.1 1d90afff1 @bep #13960
- Fix config env handling for some slice options e751afa9b @PikachuTW #13950
- minifiers: Update deprecation handling a09b8a60e @jmooring #11893 #13947 #13948
下载链接
- hugo_0.149.1_checksums.txt
- hugo_0.149.1_darwin-universal.tar.gz
- hugo_0.149.1_dragonfly-amd64.tar.gz
- hugo_0.149.1_freebsd-amd64.tar.gz
- hugo_0.149.1_Linux-64bit.tar.gz
- hugo_0.149.1_linux-amd64.deb
- hugo_0.149.1_linux-amd64.tar.gz
- hugo_0.149.1_linux-arm.tar.gz
- hugo_0.149.1_linux-arm64.deb
- hugo_0.149.1_linux-arm64.tar.gz
- hugo_0.149.1_netbsd-amd64.tar.gz
- hugo_0.149.1_openbsd-amd64.tar.gz
- hugo_0.149.1_solaris-amd64.tar.gz
- hugo_0.149.1_windows-amd64.zip
- hugo_0.149.1_windows-arm64.zip
- hugo_extended_0.149.1_darwin-universal.tar.gz
- hugo_extended_0.149.1_Linux-64bit.tar.gz
- hugo_extended_0.149.1_linux-amd64.deb
- hugo_extended_0.149.1_linux-amd64.tar.gz
- hugo_extended_0.149.1_linux-arm64.deb
- hugo_extended_0.149.1_linux-arm64.tar.gz
- hugo_extended_0.149.1_windows-amd64.zip
- hugo_extended_withdeploy_0.149.1_darwin-universal.tar.gz
- hugo_extended_withdeploy_0.149.1_Linux-64bit.tar.gz
- hugo_extended_withdeploy_0.149.1_linux-amd64.deb
- hugo_extended_withdeploy_0.149.1_linux-amd64.tar.gz
- hugo_extended_withdeploy_0.149.1_linux-arm64.deb
- hugo_extended_withdeploy_0.149.1_linux-arm64.tar.gz
- hugo_extended_withdeploy_0.149.1_windows-amd64.zip