Hugo Versions Save

The world’s fastest framework for building websites.

v0.124.1

1 week ago

What's Changed

  • Fix potential deadlock in Translations 758a876f9 @bep #12129
  • Fix rebuild when changing mixed case named templates 19937a20a @bep #12165
  • testing: Set usesFMA as true for riscv64 too c1ea22a23 @anthonyfok
  • Fix regression for outputs defined in front matter for term pages 0750a9ec9 @bep #12275

v0.124.0

1 week ago

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 https://github.com/golang/go/issues/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 f1d755965 @bep #12263
  • hugolib: Fix sitemap index with monolingual site 3935faa41 @jmooring #12266
  • all: Typo fixes 78178d0c2 @coliff
  • Fix translationKey handling for term pages 68d92ef9d @bep #12261
  • Fix intersect and similar for term entry page collections b40f3c7df @bep #12254
  • Fix server rebuilds when adding sub sections especially on Windows 07b2e535b @bep #12230
  • Fix panic when changing archetype files when servere is running 9ca1de09d @bep #12195
  • Fix front matter date location when value gets inherited from other dates 9668759ad @bep #12236
  • Fix Name for nested resourced fetched in resources.ByName and similar 9e9b1f110 @bep #12214

Improvements

  • Add segments config + --renderSegments flag 1f1c62e6c @bep #10106
  • hugolib: Remove Site.HomeAbsURL 558f74f00 @bep
  • hugolib: Deprecate site methods Author, Authors, and Social d4d49e0f0 @jmooring #12228
  • Upgrade to Go 1.22.1 57206e727 @bep #12250
  • tpl/tplimpl: Modify figure shortcode to look for page resource 48a0fea87 @jmooring #12244 #12245
  • common/hugo: Rename IsMultiHost and IsMultiLingual dc6a29213 @jmooring #12232
  • hugolib: Deprecate .Site.MultiLingual in favor of hugo.IsMultiLingual 4f92f949e @jmooring #12224
  • tpl/tplimpl: Remove deprecated method from sitemapindex.xml f038a51b3 @jmooring

Dependency Updates

  • deps: Upgrade github.com/gohugoio/hugo-goldmark-extensions/passthrough v0.1.0 => v0.2.0 ba03114aa @bep
  • build(deps): bump github.com/evanw/esbuild from 0.20.1 to 0.20.2 b1f867634 @dependabot[bot]
  • build(deps): bump golang.org/x/tools from 0.18.0 to 0.19.0 b4bff6190 @dependabot[bot]
  • build(deps): bump github.com/tdewolff/minify/v2 from 2.20.17 to 2.20.19 d2cebee27 @dependabot[bot]
  • deps: Upgrade github.com/alecthomas/chroma/v2 to v2.13.0 be914ff34 @myitcv #11862
  • build(deps): bump golang.org/x/mod from 0.15.0 to 0.16.0 e62675002 @dependabot[bot]

Documentation

  • docs: Regen CLI docs 76ef3f42f @bep
  • docs: Regen docshelper 0ccb6cdc0 @bep

Build Setup

  • snap: Transition to from core20 to core22 d24ffdde5 @jmooring #12219

v0.123.8

3 weeks ago
  • docs: Fix hyphens and grammar in synopsis of command 'hugo server' ada3fceea @deining
  • Fix resource name in resources.ByType a4b17470a @bep #12190
  • Fix global resource isn't published when using an uncommon code construct 4d5e173cf @bep #12190
  • Fix section page resource not published if resource filename partially matches content file name 4271b6be0 @bep #12198
  • Fix taxonomy kind template lookup issue 0567a3e6f @bep #12193
  • markup/goldmark: TOC: render strikethrough, emojis 134e7d1d3 @lyind #7169 #11783 #12022
  • Add hugo.IsMultiHost 1f48b717c @razonyang
  • resources/images: Retain newlines with text overlays 05e23bd55 @jmooring #12206
  • Don't auto-create empty sections for nested taxonomies 7afac3f1a @bep #12188
  • tpl/tplimpl: Honor markdown attributes in embedded image render hook 632ad74fc @jmooring #12203

v0.123.7

3 weeks ago

What's Changed

  • hugofs: Fix vertical mount merge issue 2b2f2b75e @bep #12175
  • Fix and add integration test for the Bootstrap SCSS module for both Dart Sass and Libsass 0d6e593ff @bep #12178
  • Fix resources.GetMatch, resources.Match, and resources.ByType to they don't normalize permalinks 7023cf0f0 @bep #12182
  • Make sure that sitemaps gets generated even if there is a content bundle with the same path 9dfa9e70e @bep #12183
  • resources/page: Make Taxonomy.Get and Taxonomy.Count case-insensitive 3f217fd66 @jmooring #12177

v0.123.6

1 month ago

What's Changed

  • Fix panic when cascading headless from site config to section that does not have an _index.md file fce8d82b7 @bep #12172
  • Fix assets vs data issue 4a502f7eb @bep #12133
  • Fix draft for non-default content when content in default language does not exist be1dbba0f @bep #12132

v0.123.5

1 month ago

What's Changed

  • Fix .Page.Pages with similary named sections 6a8b25e29 @bep #12169
  • Fix single mount rename panic a322282e7 @bep #12141
  • Fix multihost processed image not copied to non-default content languages 6bc0d745a @bep #12163
  • build(deps): bump github.com/bep/overlayfs from 0.9.1 to 0.9.2 218690328 @dependabot[bot]

v0.123.4

1 month ago
  • Fix cascade-pattern-with-extension for cascade in site config 1736ef745 @bep #12151
  • Fix term template lookup when its backed by a content file f27e57871 @bep #12146
  • Fix panic for disableKinds page for content resources 049dd1d7e @bep #12144
  • tocss: Fix the import resolving from absolute to relative assets paths 189b72331 @bep #12137
  • config/allconfig: Fix typo 80e69344d @jmooring #12134
  • resource: Revert the normalization of Resource.Name d310595a2 @bep #12142
  • build(deps): bump github.com/spf13/fsync from 0.10.0 to 0.10.1 d4be1643a @dependabot[bot]

v0.123.3

1 month ago

Bug fixes

  • hugolib: Fix a .Page.GetPage from bundle case f521336c8 @bep #12120
  • cache/dynacache: Reset ticker in case one cache eviction takes some time 03b88c6dd @bep #12129
  • Speed up GetPage bf14d0cb2 @bep
  • resources: Skip the image golden tests when running locally c4fe45ff4 @bep #12119
  • js: Support JSX and JSXImportSourceOptions 554aa58db @baltpeter #12118
  • hugolib: Add capitalizeListTitles config option 36bf3cb98 @jmooring #9793 #12115

v0.123.2

1 month ago

What's Changed

  • Fix it so not all bundled resources are removed when one translation is drafted db3bb623d @bep #12105
  • commands/mod: Ignore invalid module path f5fd7ec8c @razonyang
  • Fix regression on handling of overlapping file mounts 16406d9d7 @bep #12103
  • Sitemap should not use list.xml e75784930 @bep #12101
  • Fix rebuild when adding a bundle with space in name b8ab5c9be @bep #12092
  • Fix relative import issue in libsass/dart sass cf7023cb9 @bep #12094
  • Fix relref regression with trailing slash fd0185a84 @bep #12096

v0.123.1

1 month ago
  • Fix server rebuilding of pages without default content language eceeb1975 @bep #12082
  • Fix dart sass import regression 621194a31 @bep #12072
  • Fix robots.txt using the built-in template regression a118cb413 @bep #12071
  • tpl/tplimpl: Resolve fragments in link render hook c9f7ebf00 @jmooring #12084
  • Fall back to original name in Resources.GetMatch/Match 48eec2a4e @bep #12076