The new feature in this release is a new segments configuration section and a new --renderSegments
flag/config key. This release also updates to Go 1.22.1 that fixes a security issue in the template package that Hugo uses (CVE-2023-45289, see golang/go#65697). We don't see how this could be exploited in Hugo, but we appreciate that Hugo users want to have a clean security report.
Bug fixes
- Fix .Parent when there are overlapping regular pages inbetween f1d7559 @bep #12263
- hugolib: Fix sitemap index with monolingual site 3935faa @jmooring #12266
- all: Typo fixes 78178d0 @coliff
- Fix translationKey handling for term pages 68d92ef @bep #12261
- Fix intersect and similar for term entry page collections b40f3c7 @bep #12254
- Fix server rebuilds when adding sub sections especially on Windows 07b2e53 @bep #12230
- Fix panic when changing archetype files when servere is running 9ca1de0 @bep #12195
- Fix front matter date location when value gets inherited from other dates 9668759 @bep #12236
- Fix Name for nested resourced fetched in resources.ByName and similar 9e9b1f1 @bep #12214
Improvements
- Add segments config + --renderSegments flag 1f1c62e @bep #10106
- hugolib: Remove Site.HomeAbsURL 558f74f @bep
- hugolib: Deprecate site methods Author, Authors, and Social d4d49e0 @jmooring #12228
- Upgrade to Go 1.22.1 57206e7 @bep #12250
- tpl/tplimpl: Modify figure shortcode to look for page resource 48a0fea @jmooring #12244 #12245
- common/hugo: Rename IsMultiHost and IsMultiLingual dc6a292 @jmooring #12232
- hugolib: Deprecate .Site.MultiLingual in favor of hugo.IsMultiLingual 4f92f94 @jmooring #12224
- tpl/tplimpl: Remove deprecated method from sitemapindex.xml f038a51 @jmooring
Dependency Updates
- deps: Upgrade github.com/gohugoio/hugo-goldmark-extensions/passthrough v0.1.0 => v0.2.0 ba03114 @bep
- build(deps): bump github.com/evanw/esbuild from 0.20.1 to 0.20.2 b1f8676 @dependabot[bot]
- build(deps): bump golang.org/x/tools from 0.18.0 to 0.19.0 b4bff61 @dependabot[bot]
- build(deps): bump github.com/tdewolff/minify/v2 from 2.20.17 to 2.20.19 d2cebee @dependabot[bot]
- deps: Upgrade github.com/alecthomas/chroma/v2 to v2.13.0 be914ff @myitcv #11862
- build(deps): bump golang.org/x/mod from 0.15.0 to 0.16.0 e626750 @dependabot[bot]