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) 7fd6762 @AndrewChubatiuk
Improvements and bug fixes
- Fix file caching for 404 responses in resources.GetRemote 03b33ec @bep #14019
- markup/goldmark: Enhance footnote extension with backlinkHTML option b462980 @jmooring #11434
- markup/goldmark: Enhance footnote extension with auto-prefixing option 47678d8 @jmooring #8045
- Adjust the terminal progress reporter a little 510d98b @bep
- Add transform.HTMLToMarkdown c5dca3b @bep #13946
- Report OSC 9;4 progress when building ec463c0 @bep
- tpl: Workaround s390x precision of Atan and Tan 105d3bc @toddy15
- cache/httpcache: Add respectCacheControlNoStoreInResponse and respectCacheControlNoStoreInRequest options 3e46ba5 @bep #13990
- common/hreflect: Speed up IsTrutfulValue 4d13035 @bep
Dependency Updates
- build(deps): bump google.golang.org/api from 0.248.0 to 0.251.0 584f052 @dependabot[bot]
- build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront b76d717 @dependabot[bot]
- build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.38.1 to 1.39.2 4d2743e @dependabot[bot]
- build(deps): bump golang.org/x/tools from 0.36.0 to 0.37.0 c20f70d @dependabot[bot]
- build(deps): bump github.com/spf13/afero from 1.14.0 to 1.15.0 1b55621 @dependabot[bot]
- build(deps): bump github.com/tdewolff/minify/v2 from 2.24.2 to 2.24.3 106c8e6 @dependabot[bot]
- build(deps): bump github.com/evanw/esbuild from 0.25.9 to 0.25.10 9928122 @dependabot[bot]
- build(deps): bump golang.org/x/text from 0.28.0 to 0.29.0 9943c1b @dependabot[bot]
- build(deps): bump github.com/olekukonko/tablewriter from 1.0.9 to 1.1.0 7667573 @dependabot[bot]
- build(deps): bump github.com/spf13/cast from 1.9.2 to 1.10.0 d71c07c @dependabot[bot]