Notable new features in this release are:
- The Chroma highlighter styles now introduces dark/light pairs. See also the new flags on the hugo gen chromastyles command.
- New template funcs encoding.HexEncode, encoding.HexDecode, and crypto.Hash.
- New markup.rst.syntaxHighlight option.
- We added Pandoc citation support.
- We now spport sub paths in layouts passed to Page.Render.
- This release also fixes a performance regression introduced in Hugo v0.128.0. This should mostly be prominent in bigger sites. See this discussion for some background.
Notes
- tpl/resources: Deprecate resources.PostProcess in favour of templates.Defer 29ed9325 @bep #15086
Changes
- all: Rewrite deprecated constructs in tests 5a5f4a54 @bep
- tpl/tplimpl: Support sub paths in layouts passed to .Render d83ce27a @bep #15056
- Add markup.rst.syntaxHighlight option c6acc246 @bep #5349
- tpl/resources: Deprecate resources.PostProcess in favour of templates.Defer 29ed9325 @bep #15086
- tpl/collections: Include key in IsSet unsupported-type warning 671897ae @bejaratommy #11794
- create: Keep new content placeholders buildable 499794d1 @sjh9714 #15078
- hugio: Speedup hasBytesWriter 65c82178 @bep
- tpl/crypto: Add crypto.Hash dfb35dcd @bep #15072
- Add encoding.HexDecode/Encode a5ec5423 @bep #15068 #15060
- tpl/tplimpl: Make template name lookup case-insensitive e46d37a9 @jmooring #15057
- hugolib: Return error from .Render when template not found fe067352 @jmooring #15052
- markup/pandoc: Add citation support 128fb17c @jmooring #15062
Dependency Updates
- build(deps): bump github.com/JohannesKaufmann/html-to-markdown/v2 921db7b5 @dependabot[bot]
- build(deps): bump golang.org/x/tools from 0.45.0 to 0.47.0 786ce71e @dependabot[bot]
- build(deps): bump golang.org/x/image from 0.42.0 to 0.43.0 5ad28461 @dependabot[bot]
- build(deps): bump golang.org/x/net from 0.55.0 to 0.56.0 36ad9f58 @dependabot[bot]
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.4.2 to 2.4.3 7c0a0bc9 @dependabot[bot]
- build(deps): bump github.com/getkin/kin-openapi from 0.139.0 to 0.140.0 a879ebfa @dependabot[bot]
- build(deps): bump golang.org/x/mod from 0.36.0 to 0.37.0 332d5ec8 @dependabot[bot]
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.3.1 to 2.4.2 212cc11a @dependabot[bot]
- deps: Upgrade github.com/evanw/esbuild v0.28.0 ⇒ v0.28.1 884439b9 @bep #15033
- deps: Add Chroma dark/light mode support 790a8aa4 @bep #15017