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
Changes
- all: Rewrite deprecated constructs in tests 5a5f4a5 @bep
- tpl/tplimpl: Support sub paths in layouts passed to .Render d83ce27 @bep #15056
- Add markup.rst.syntaxHighlight option c6acc24 @bep #5349
- tpl/resources: Deprecate resources.PostProcess in favour of templates.Defer 29ed932 @bep #15086
- tpl/collections: Include key in IsSet unsupported-type warning 671897a @bejaratommy #11794
- create: Keep new content placeholders buildable 499794d @sjh9714 #15078
- hugio: Speedup hasBytesWriter 65c8217 @bep
- tpl/crypto: Add crypto.Hash dfb35dc @bep #15072
- Add encoding.HexDecode/Encode a5ec542 @bep #15068 #15060
- tpl/tplimpl: Make template name lookup case-insensitive e46d37a @jmooring #15057
- hugolib: Return error from .Render when template not found fe06735 @jmooring #15052
- markup/pandoc: Add citation support 128fb17 @jmooring #15062
Dependency Updates
- build(deps): bump github.com/JohannesKaufmann/html-to-markdown/v2 921db7b @dependabot[bot]
- build(deps): bump golang.org/x/tools from 0.45.0 to 0.47.0 786ce71 @dependabot[bot]
- build(deps): bump golang.org/x/image from 0.42.0 to 0.43.0 5ad2846 @dependabot[bot]
- build(deps): bump golang.org/x/net from 0.55.0 to 0.56.0 36ad9f5 @dependabot[bot]
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.4.2 to 2.4.3 7c0a0bc @dependabot[bot]
- build(deps): bump github.com/getkin/kin-openapi from 0.139.0 to 0.140.0 a879ebf @dependabot[bot]
- build(deps): bump golang.org/x/mod from 0.36.0 to 0.37.0 332d5ec @dependabot[bot]
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.3.1 to 2.4.2 212cc11 @dependabot[bot]
- deps: Upgrade github.com/evanw/esbuild v0.28.0 => v0.28.1 884439b @bep #15033
- deps: Add Chroma dark/light mode support 790a8aa @bep #15017