Releases: gohugoio/hugo
Releases · gohugoio/hugo
v0.124.1
v0.124.0
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]
Documentation
Build Setup
v0.123.8
- docs: Fix hyphens and grammar in synopsis of command 'hugo server' ada3fce @deining
- Fix resource name in resources.ByType a4b1747 @bep #12190
- Fix global resource isn't published when using an uncommon code construct 4d5e173 @bep #12190
- Fix section page resource not published if resource filename partially matches content file name 4271b6b @bep #12198
- Fix taxonomy kind template lookup issue 0567a3e @bep #12193
- markup/goldmark: TOC: render strikethrough, emojis 134e7d1 @lyind #7169 #11783 #12022
- Add hugo.IsMultiHost 1f48b71 @razonyang
- resources/images: Retain newlines with text overlays 05e23bd @jmooring #12206
- Don't auto-create empty sections for nested taxonomies 7afac3f @bep #12188
- tpl/tplimpl: Honor markdown attributes in embedded image render hook 632ad74 @jmooring #12203
v0.123.7
What's Changed
- hugofs: Fix vertical mount merge issue 2b2f2b7 @bep #12175
- Fix and add integration test for the Bootstrap SCSS module for both Dart Sass and Libsass 0d6e593 @bep #12178
- Fix resources.GetMatch, resources.Match, and resources.ByType to they don't normalize permalinks 7023cf0 @bep #12182
- Make sure that sitemaps gets generated even if there is a content bundle with the same path 9dfa9e7 @bep #12183
- resources/page: Make Taxonomy.Get and Taxonomy.Count case-insensitive 3f217fd @jmooring #12177
v0.123.6
v0.123.5
What's Changed
v0.123.4
- Fix cascade-pattern-with-extension for cascade in site config 1736ef7 @bep #12151
- Fix term template lookup when its backed by a content file f27e578 @bep #12146
- Fix panic for disableKinds page for content resources 049dd1d @bep #12144
- tocss: Fix the import resolving from absolute to relative assets paths 189b723 @bep #12137
- config/allconfig: Fix typo 80e6934 @jmooring #12134
- resource: Revert the normalization of Resource.Name d310595 @bep #12142
- build(deps): bump github.com/spf13/fsync from 0.10.0 to 0.10.1 d4be164 @dependabot[bot]
v0.123.3
Bug fixes
- hugolib: Fix a .Page.GetPage from bundle case f521336 @bep #12120
- cache/dynacache: Reset ticker in case one cache eviction takes some time 03b88c6 @bep #12129
- Speed up GetPage bf14d0c @bep
- resources: Skip the image golden tests when running locally c4fe45f @bep #12119
- js: Support JSX and JSXImportSourceOptions 554aa58 @baltpeter #12118
- hugolib: Add capitalizeListTitles config option 36bf3cb @jmooring #9793 #12115
v0.123.2
What's Changed
- Fix it so not all bundled resources are removed when one translation is drafted db3bb62 @bep #12105
- commands/mod: Ignore invalid module path f5fd7ec @razonyang
- Fix regression on handling of overlapping file mounts 16406d9 @bep #12103
- Sitemap should not use list.xml e757849 @bep #12101
- Fix rebuild when adding a bundle with space in name b8ab5c9 @bep #12092
- Fix relative import issue in libsass/dart sass cf7023c @bep #12094
- Fix relref regression with trailing slash fd0185a @bep #12096
v0.123.1
- Fix server rebuilding of pages without default content language eceeb19 @bep #12082
- Fix dart sass import regression 621194a @bep #12072
- Fix robots.txt using the built-in template regression a118cb4 @bep #12071
- tpl/tplimpl: Resolve fragments in link render hook c9f7ebf @jmooring #12084
- Fall back to original name in Resources.GetMatch/Match 48eec2a @bep #12076