hugo v0.143.0 版本更新介绍
发布日期: 2025-02-01
版本号: v0.143.0
该版本主要针对Bug修复及功能改进,重点解决了部分服务器重建、并发映射读写错误、TailwindCSS相关重建问题及自定义输出格式等多项问题。新增了
resources.GetRemote
的responseHeaders
选项,允许从服务器响应中提取头部信息。其他改进包括优化别名页面渲染、移除Youtube短代码生成的多余空格、弃用gist
和comment
短代码,并提升模板测试覆盖率。部分修复涉及区块引用空格处理、短代码参数解析及级联逻辑重叠等细节优化,同时确保配置顺序的确定性。
更新内容 (中文)
详见原始内容
更新内容 (原始)
This is mostly a bug fix release, ironing out some quirks with the partial server rebuilds etc., but notable is also the new responseHeaders option on resources.GetRemote
that allows you to extract headers from the server’s response.
Bug fixes
- Fix some server/watch rebuild issues db28695ff @bep #13316
- Fix “concurrent map iteration and map write” in pages from data 329b2342f @bep #13254
- Fix TailwindCSS related server rebuild issue 6c68142cc @bep #13316
- Fix some server rebuild issues for non-HTML custom output formats cd7dc7a37 @bep #13014
- Fix cascade with overlapping sections bb7b3d3cd @bep #12465
- markup/goldmark: Fix typo in func comment f704d7569 @chalin
Improvements
- Don’t re-render aliases on server rebuilds 778f0d900 @bep
- tpl/tplimpl: Remove leading whitespaces produced by Youtube shortcode 13b208e2f @alex-shpak
- resources: Remove debug statement 33b46d8a4 @jmooring #13320
- markup/goldmark: Trim space from blockquote render hook text e08d9af21 @jmooring #13302
- parser/pageparser: Don’t allow parameters after closing tag in shortcodes c939c33fd @guilhas07
- tpl/tplimpl: Improve shortcode test coverage 873a5cda1 @jmooring
- tpl/tplimpl: Deprecate gist shortcode f42a4b6af @jmooring #13211
- resources: Remove conditional used for debugging a5637831c @bep
- resources: Add responseHeaders option to resources.GetRemote 68586c891 @bep #12521
- tpl/tplimpl: Skip TestTemplateFuncsExamples on s390x 51bb2feda @bep #13204
- Make cascade front matter order deterministic 7f0f50b13 @bep #12594
- tpl/tplimpl: Deprecate comment shortcode 77a8e347b @jmooring
下载链接
- hugo_0.143.0_checksums.txt
- hugo_0.143.0_darwin-universal.tar.gz
- hugo_0.143.0_dragonfly-amd64.tar.gz
- hugo_0.143.0_freebsd-amd64.tar.gz
- hugo_0.143.0_Linux-64bit.tar.gz
- hugo_0.143.0_linux-amd64.deb
- hugo_0.143.0_linux-amd64.tar.gz
- hugo_0.143.0_linux-arm.tar.gz
- hugo_0.143.0_linux-arm64.deb
- hugo_0.143.0_linux-arm64.tar.gz
- hugo_0.143.0_netbsd-amd64.tar.gz
- hugo_0.143.0_openbsd-amd64.tar.gz
- hugo_0.143.0_solaris-amd64.tar.gz
- hugo_0.143.0_windows-amd64.zip
- hugo_0.143.0_windows-arm64.zip
- hugo_extended_0.143.0_darwin-universal.tar.gz
- hugo_extended_0.143.0_Linux-64bit.tar.gz
- hugo_extended_0.143.0_linux-amd64.deb
- hugo_extended_0.143.0_linux-amd64.tar.gz
- hugo_extended_0.143.0_linux-arm64.deb
- hugo_extended_0.143.0_linux-arm64.tar.gz
- hugo_extended_0.143.0_windows-amd64.zip
- hugo_extended_withdeploy_0.143.0_darwin-universal.tar.gz
- hugo_extended_withdeploy_0.143.0_Linux-64bit.tar.gz
- hugo_extended_withdeploy_0.143.0_linux-amd64.deb
- hugo_extended_withdeploy_0.143.0_linux-amd64.tar.gz
- hugo_extended_withdeploy_0.143.0_linux-arm64.deb
- hugo_extended_withdeploy_0.143.0_linux-arm64.tar.gz
- hugo_extended_withdeploy_0.143.0_windows-amd64.zip