The two main new things is the new css.ChromaStyles template func and the new importContext option demonstrated below.
The importContext is relevant for css.Build, js.Build, css.Sass, and css.PostCSS. and it allows you to make resources (e.g. built from resources.FromString) resolvable in e.g. CSS @import statements.
Note
Bug fixes
- Fix resource transformation chaining after content access f772998 @bep #15189
- Fix server static file detection for deleted files/directories in the static syncer 2ffaf1f @bep
- Fix server errors when deleting static files or directories a808f6e @bep #15174
- Fix panic on server atomic save edits on MacOS 6bf1524 @bep #15130
- markup/asciidocext: Fix TOC parsing for asciidoctor-html5s f961093 @jmooring #15121
- snap: Fix snap home environment 984358f @jmooring #15114
Improvements
- resources: Resume chained resource transformations 995a215 @bep #15189 #15189
- resources/jsconfig: Drop source root mapping for the current source root f88f0a9 @bep #15169
- circleci: Upgrade to Go 1.26.5 52c9bd7 @bep
- Add Data.Artifacts to css.Build and js.Build 44da086 @bep #15173
- css: Add classDark and classLight options to css.ChromaStyles and gen chromastyles 33d1f2c @bep #15167
- markup/highlight: Re-emit token colors dropped by Chroma's minifier 64da6d7 @bep #15161
- Add importContext option to css.Build, js.Build, css.Sass and css.TailwindCSS 70db201 @bep #15103
- Remove some old deprecations 8a468df @bep
- Add css.ChromaStyles 615e45d @bep #15112
- check.sh: Handle staticcheck not installed/in PATH a243a61 @Soundcreates
- warpc: Improve AVIF error message on memory allocation failure 7d90277 @bep
- cache/filecache: Don't prune used cache entries with mixed-case dir names 861ede6 @bep #15101
- Drop symlinks in parent directories f228c87 @bep
- Delete .gemini 7df45f6 @bep
- common/hugo: Include non-go dependencies in go env output 89b8c32 @jmooring #15116
Dependency Updates
- build(deps): bump github.com/bep/imagemeta from 0.17.3 to 1.0.0 0bb337b @dependabot[bot]
- build(deps): bump github.com/evanw/esbuild from 0.28.1 to 0.28.2 03dc917 @dependabot[bot]
- build(deps): bump github.com/tdewolff/minify/v2 from 2.24.14 to 2.24.16 c829b73 @dependabot[bot]
- build(deps): bump github.com/getkin/kin-openapi from 0.145.0 to 0.146.0 94f3908 @dependabot[bot]
- build(deps): bump github.com/rogpeppe/go-internal from 1.15.0 to 1.16.0 75fcc75 @dependabot[bot]
- build(deps): bump github.com/mattn/go-isatty from 0.0.22 to 0.0.24 b5fa03d @dependabot[bot]
- build(deps): bump github.com/yuin/goldmark from 1.8.4 to 1.8.5 9da472d @dependabot[bot]
- build(deps): bump golang.org/x/tools from 0.47.0 to 0.48.0 635532a @dependabot[bot]
- build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.13 to 2.2.14 9c71f60 @dependabot[bot]
- build(deps): bump github.com/getkin/kin-openapi from 0.144.0 to 0.145.0 420527f @dependabot[bot]
- build(deps): bump golang.org/x/image from 0.43.0 to 0.44.0 7fe786e @dependabot[bot]
- build(deps): bump github.com/bep/imagemeta from 0.17.2 to 0.17.3 03b244f @dependabot[bot]
- build(deps): bump github.com/tdewolff/minify/v2 from 2.24.13 to 2.24.14 9611813 @dependabot[bot]
- build(deps): bump github.com/yuin/goldmark from 1.8.2 to 1.8.4 e35b7f0 @dependabot[bot]
- build(deps): bump golang.org/x/net from 0.56.0 to 0.57.0 0796fa7 @dependabot[bot]
- build(deps): bump golang.org/x/text from 0.38.0 to 0.40.0 1b701b7 @dependabot[bot]
- build(deps): bump github.com/getkin/kin-openapi from 0.140.0 to 0.144.0 a32d70b @dependabot[bot]
- build(deps): bump google.golang.org/grpc from 1.80.0 to 1.82.1 948cfb9 @dependabot[bot]
- build(deps): bump golang.org/x/mod from 0.37.0 to 0.38.0 8930802 @dependabot[bot]