v0.128.0
This release brings TailwindCSS v4 (alpha) support. For more info about the TailwindCSS 4 integration, see this repo. Also notable is the new templates.Defer template func and the dramatically improved performance of $page.GetTerms
for bigger sites.
Bug fixes
- tpl/debug: Fix reset of debug timers when running the server c880faa @bep #12621
- Fix Erroridf/Warnidf mixed case issue 8731d88 @bep #12617
- Fix live reload when both CSS and HTML changes ad6d91c @bep #12600
- config: Fix typo 7ee36b3 @razonyang
Improvements
- Add css.TailwindCSS e1317dd @bep #12618 #12620
- Clean up the css related template funcs package structure eddcd2b @bep #12618
- modules: Remove newly introduced "mount source" does not exist warning 16e4662 @bep
- Implement defer 6cd0784 @bep #8086 #12589
- common/hexec: Fall back to the binary in PATH if npx fails 1c85830 @bep #12486
- deploy: Add stripIndexHtml target option d5542ed @depp #12607
- Speed up GetTerms 478a910 @bep #12610
- markup/goldmark: Add the Hugo Goldmark Extras "delete" extension 8efc75b @jmooring #12597
- resources: Update Dart Sass error message 57165d4 @jmooring
- resources/page: Deprecate PageSize in favor of PagerSize 9c3143c @bep #12572
- Rename DefaultPageSize => PagerSize 9f22bc4 @bep
- resources/page: Let GroupByParam return nil instead of error cba2de6 @jmooring #12578
- Add option to not generate aliases for first page of pagination pages 9c4e14e @bep #12572
- js: Support more recent targets with js.Build / esbuild 1cdd3d0 @bep #12575
Dependency Updates
- deps: Upgrade github.com/yuin/goldmark v1.7.2 => v1.7.4 79da24a @jmooring
- deps: Upgrade github.com/yuin/goldmark-emoji v1.0.2 => v1.0.3 b187c06 @jmooring
- deps: Upgrade github.com/alecthomas/chroma v2.13.0 => v2.14.0 8cf94ae @jmooring #12580
- deps: Upgrade github.com/evanw/esbuild v0.20.2 => v0.21.4 b57306d @bep #12575