Some bug fixes, dependency upgrades and a new $image.Colors
method. This method returns a slice of the most dominant colors in an image. The library we use is implemented by @marekm4 and is both fast and accurate. One use case for this may be to use as a placeholder before the image is loaded, as seen on this Hugo gallery [theme source]. You need a slow enough internet connection to notice this effect so you may want to try this with Chrome's dev console open and throttle the network to slow 3G, which would make it look something like this:
colorsani1.mp4
Bug fixes
- hugofs: Fix glob case-sensitivity bug 281554e @satotake
- server: Fix 404 redirects on Windows f3560aa @bep #10314
Improvements
- Consolidate the glob case logic 5c41653 @bep
- Run go mod tidy 0171fb2 @bep
- resources/images: Add $image.Colors a402811 @bep #10307
- commands: Skip flaky test on CI 08f0984 @bep
- config/security: Allow proxy variables in subcommands 86653fa @sathieu
Dependency Updates
- build(deps): bump github.com/evanw/esbuild from 0.15.8 to 0.15.9 edf9038 @dependabot[bot]
- build(deps): bump github.com/yuin/goldmark from 1.4.14 to 1.4.15 78f49b4 @dependabot[bot]
- build(deps): bump github.com/getkin/kin-openapi from 0.100.0 to 0.103.0 fa4b77e @dependabot[bot]
- build(deps): bump github.com/alecthomas/chroma/v2 from 2.2.0 to 2.3.0 4d909d4 @dependabot[bot]
- build(deps): bump github.com/evanw/esbuild from 0.15.7 to 0.15.8 4eb6d97 @dependabot[bot]