v0.131.0
Note that if you use Hugo's image processing, your processed images will get new (shorter!) file names when you build your site with this release. We have upgraded a third party hashing library to fix some rare but potential hash collisions, and since this would change some of the image hashes, we thought we might as well do some other related changes: We now use xxHash to create the image file hashes (very fast!) and we have removed the verbose processing information, making the filenames much shorter.
This release is also a full dependency refresh and it comes with one notable and very useful new feature. It is now possible to use permalinks
tokens in the front matter url
. See the documentation for more info. Thanks to @n1xx1 for the implementation.
Note
Bug fixes
Improvements
- revamp pagegroup tests with quicktest 914fa13 @n1xx1
- allow nested params when using Pages.GroupByParam and Pages.GroupByParamDate 51f09b1 @n1xx1
- Run go mod tidy a5db76f @bep
- resources/page: Expand parmalinks tokens in
url
566fe7b @n1xx1 #9714 - Bump to go 1.21 in go.mod 9257301 @bep
- tpl: Sync Go template packages with the Go 1.22.5 source 071f8b4 @bep
- Upgrade to Go 1.22.5 ae9d5e7 @bep
- Shorten processed image filenames 216a69a @bep #12688 #12656
- Consolidate all hashing to the common/hashing package e67886c @bep
- Replace the MD5 hashing of images with xxHash d5eda13 @bep
- resources: Add BenchmarkHashImage 8b5d796 @bep
- identity: Upgrade to github.com/mitchellh/hashstructure/v2 v2.0.2 78db8ae @bep #11644
- identity: Add BenchmarkHashString 3140e0b @bep
Dependency Updates
- build(deps): bump github.com/bep/godartsass/v2 from 2.0.0 to 2.1.0 be64358 @dependabot[bot]
- build(deps): bump google.golang.org/api from 0.152.0 to 0.189.0 20e4dd2 @dependabot[bot]
- build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 f411499 @dependabot[bot]
- build(deps): bump gocloud.dev from 0.36.0 to 0.38.0 47fee83 @dependabot[bot]
- build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.3 99665ef @dependabot[bot]
- build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.12 to 2.2.13 eb2eeee @dependabot[bot]
- deps: Upgrade github.com/hairyhenderson/go-codeowners v0.4.0 => v0.5.0 bea5a46 @bep
- build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0 f1a7f3d @dependabot[bot]
- build(deps): bump github.com/evanw/esbuild from 0.21.4 to 0.23.0 08243be @dependabot[bot]
- build(deps): bump github.com/tdewolff/minify/v2 from 2.20.36 to 2.20.37 0490a8a @dependabot[bot]
- Revert "deps: Set toolchain go1.21.0 in go.mod" d795cac @bep
- deps: Set toolchain go1.21.0 in go.mod 78c9a18 @bep
- deps: Upgrade golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d => v0.23.0 79aa2ab @bep
- deps: Replace github.com/mitchellh/hashstructure/v2 with github.com/gohugoio/hashstructure c9d7577 @bep #11644
- deps: Upgrade github.com/bep/imagemeta v0.7.4 => v0.7.5 9989404 @bep
- deps: Upgrade github.com/aws/aws-sdk-go-v2 v1.26.1 => v1.30.3 b81ba2a @bep
- deps: Upgrade to github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 afdd87d @bep