v0.140.0
The big new feature in this release is js.Batch – this enables JavaScript bundle groups (e.g. scripts per section) with global code splitting and flexible hooks/runners setup.
Bug fixes
- Fix panic on server rebuilds when using both base templates and template.Defer a5e5be2 @bep #12963
- js: Fix js.Batch for multihost setups 565c30e @bep #13151
- parser/pageparser: Fix Org Mode summary delimiter assignment 48dd6a9 @jmooring #13152
- Fix a rebuild on resource rename case 744b856 @bep
- tpl/tplimpl: Fix title attribute in details shortcode a32c889 @jmooring
- Fix Sass imports on the form index.{scss,sass} 5ab38de @bep #13123
- markup/goldmark: Fix blockquote render hook text parsing 3437340 @jmooring #12913 #13119
Improvements
- js/esbuild: Add missing es2024 target 5c80cb0 @bep
- js/esbuild: Add runners after scripts 7de5317 @bep
- js/esbuild: Batch: Avoid nil Instances slice 4cbd4ef @bep
- tpl/tplimpl: Update youtube shortcode 852d868 @jmooring
- tpl/tplimpl: Update details shortcode 1e34e5b @jmooring
- tpl/collections: Allow querify to accept a map argument 641d261 @jmooring #13131
- js/esbuild: Build groups in order of their ID a834bb9 @bep
- tpl/tplimpl: Add details shortcode 4f130f6 @racehd
- Write all logging (INFO, WARN, ERROR) to stderr 9dfa112 @bep #13074
- js/esbuild: Add platform option ec1933f @bep #13136
- Add config option disableDefaultLanguageRedirect 75ad9cd @bep #13133
- Add js.Batch e293e7c @bep #12626 #7499 #9978 #12879 #13113 #13116
- Upgrade to Go 1.23.4 6be2530 @bep #13130
- Remove some old and unused shell scripts 989b299 @bep
Dependency Updates
- build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 157d864 @dependabot[bot]
- build(deps): bump golang.org/x/tools from 0.27.0 to 0.28.0 947e4e6 @dependabot[bot]
- build(deps): bump github.com/hairyhenderson/go-codeowners 5f89786 @dependabot[bot]
- build(deps): bump golang.org/x/net from 0.31.0 to 0.32.0 7b69218 @dependabot[bot]