Sourced from github.com/gohugoio/hugo's releases.
v0.151.2
What's Changed
- parser/pageparser: Add a testcase for nested shortcodes of the same name 989454a52
@bep#14054- parser/pageparser: Fix shortcode nesting regression 1e91e4652
@bep#14054v0.151.1
This release is mostly motivated by some upstream security fixes:
- Upgrade from Go 1.25.1 to Go 1.25.3 which comes with 10 security fixes.
- Go's
net/htmlpackage also has one security patchI,
@bep, have inspected the above issues, and none of them seem to be relevant for Hugo, but we understand that many want to have a clean security report.Bug fixes
- tpl: Fix strings/truncate CJK handling 88aea5668
@oishikazuo#14039- parser/pagerparser: Fix closing shortcode error handling when repeated a133393ed
@bepImprovements
- Upgrade Go to 1.25.3 e2fb0b0e8
@bep- create/skeletons: Wrap section and home lists with section tags 29cf87444
@imomaliev- markup/goldmark: Align blockquote default output with Goldmark 1b4dd436d
@jmooring#14046- parser/pageparser: Store shortcode names as unique.Handle[string] to save memory allocations 4414ef73f
@bep- testscripts: Make test assertion less specific 9197debbf
@bepDependency Updates
- build(deps): bump github.com/gohugoio/hashstructure from 0.5.0 to 0.6.0 f4c11571b
@dependabot[bot]- build(deps): bump golang.org/x/image from 0.30.0 to 0.32.0 54075acc2
@dependabot[bot]- build(deps): bump github.com/evanw/esbuild from 0.25.10 to 0.25.11 8b52303e3
@dependabot[bot]- build(deps): bump golang.org/x/tools from 0.37.0 to 0.38.0 3d45d30a4
@dependabot[bot]- build(deps): bump golang.org/x/mod from 0.28.0 to 0.29.0 095157cd6
@dependabot[bot]v0.151.0
Some notable new features in Hugo v0.151.0 are:
- New transform.HTMLToMarkdown template function. One possible use case would be to provide LLM friendly content.
- Hugo now reports OSC 9;4 progress when building; progress bars/indicators are supported by terminals such as Ghostty on Macos and Linux, Windows terminal.
- Several new config options for Markdown foot notes.
Note
- transform/livereloadinject: Skip livereload.js injection if no tags found (note) 7fd6762c1
@AndrewChubatiuk
... (truncated)
a3574f6
releaser: Bump versions for release of 0.151.2989454a
parser/pageparser: Add a testcase for nested shortcodes of the same
name1e91e46
parser/pageparser: Fix shortcode nesting regression8a57d0f
testscripts: Add and improve commands tests for static mountsb76c50a
releaser: Prepare repository for 0.152.0-DEV1cdd178
releaser: Bump versions for release of 0.151.1e2fb0b0
Upgrade Go to 1.25.388aea56
tpl: Fix strings/truncate CJK handlingf4c1157
build(deps): bump github.com/gohugoio/hashstructure from 0.5.0 to
0.6.054075ac
build(deps): bump golang.org/x/image from 0.30.0 to 0.32.0