Go 1.24 upgrade, several performance improvements, new :contentbasename and :slugorcontentbasename permalink tokens, enable KaTeX mhchem
extension for transform.ToMath, full dependency refresh, new drop
option for js.Build, new auth module option useful for private module repositories, autoID support for definition terms, new configurationTypes
configuration option, and more. For more details, see this topic.
Note
- Fix auto generated header ids so they don't contain e.g. hyperlink destinations (note) 24cc255 @bep #13405 #13410
Bug fixes
- markup/goldmark: Fix panic on stray attribute nodes 85c1727 @bep
- Fix Position for passthrough hooks 641403f @bep #13406
- config: Fix server.redirects.fromRe being ignored unless server.redirects.from is also set c1f4228 @p-weston
- Fix shortcode name in error message on self-closing shortcodes with no .Inner e865d59 @bep #13344
Improvements
- config/allconfig: Deprecate :filename and :slugorfilename tokens 5de3913 @jmooring
- resources/page: Revise the new contentbasename permalinks tokens 7b7a0f3 @bep #11722
- resources/page: Add :contentbasename and :contentbasenameorslug permalink tokens cb7a433 @hacdias #11722
- Add autoID for definition terms 157d370 @bep #13403 #11566
- internal/warpc: Enable KaTeX mhchem extension 503dcf6 @jmooring
- modules: Add GOAUTH to module config 2c77719 @bep #13385
- Support menus as maps in content adapters fd38aee @bep #13384
- js/esbuild: Add drop option d25f7ec @bep #13362
- config: Remove unused code 34dcac5 @jmooring
- commands: Use punctuation consistently in short description ee43860 @jmooring
- Upgrade to Go 1.24 fd8b0fb @bep #13381
- Deprecate kind, lang, and path from front matter 9b5f786 @bep #12484
- commands: Move the CHMOD event filter up e6feb9e @bep #13373
- parser: Handle org-mode filetags as slice f02da7f @theSuess
- Add ContentTypes to config c2fb221 @bep #12274
- commands: Validate style argument passed to gen chromastyles a352e69 @jmooring #13357
- Update CONTRIBUTING.md 1dd27be @bep
- Move "print unused templates" after renderDeferred eb7a5aa @bep #13355
- Add some more server options/improvements 029d1e0 @bep
Dependency Updates
- build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1 a2ca956 @dependabot[bot]
- build(deps): bump github.com/sanity-io/litter from 1.5.7 to 1.5.8 367fe52 @dependabot[bot]
- build(deps): bump github.com/sanity-io/litter from 1.5.5 to 1.5.7 9c2f8ec @dependabot[bot]
- build(deps): bump github.com/gohugoio/hugo-goldmark-extensions/extras bd77944 @dependabot[bot]
- build(deps): bump golang.org/x/tools from 0.29.0 to 0.30.0 2e835d0 @dependabot[bot]
- build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront d89b9d8 @dependabot[bot]
- build(deps): bump google.golang.org/api from 0.206.0 to 0.221.0 8721a35 @dependabot[bot]
- build(deps): bump github.com/bep/imagemeta from 0.8.3 to 0.8.4 c054e18 @dependabot[bot]
- build(deps): bump golang.org/x/image from 0.22.0 to 0.24.0 5e4ffa0 @dependabot[bot]
- build(deps): bump golang.org/x/mod from 0.22.0 to 0.23.0 0cdcc2b @dependabot[bot]
- build(deps): bump github.com/gohugoio/hashstructure from 0.3.0 to 0.5.0 a591c44 @dependabot[bot]
- build(deps): bump github.com/bep/simplecobra from 0.4.0 to 0.5.0 2d86a05 @dependabot[bot]
- build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront 22ee091 @dependabot[bot]
- build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.32.4 to 1.36.1 b50ab04 @dependabot[bot]
- build(deps): bump github.com/getkin/kin-openapi from 0.123.0 to 0.129.0 b772f0e @dependabot[bot]
- build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6 d58c019 @dependabot[bot]