v0.116.0
There are two notable changes in this release. For one, we have changed the default location of the cacheDir
(where Hugo stores all its file caches). Having the cache stored in a /tmp
folder has had its issues, especially for the module cache and especially on MacOS. The current new default should be better and more stable. See See Configure CacheDir for more info.
Also in this release: The where
template func finally supports regular expressions with the new like operator.
Note
- Deprecate taxonomyTerm bec9b80 @bep #11256
- Warn about unknown kinds in disableKinds 1c97095 @bep #11256
- The default value for
cacheDir
is changed to be stored below the directory as defined by Go's os.UserCacheDir. See Configure CacheDir
Bug fixes
- resources: Fix spelling in method name be8e2de @bep
- Fix so temporary images do not get published fbb8eb3 @bep #10255
- readme: Fix link 87d9bff @tfsojon
- tpl/collections: Fix description of apply function dc2a544 @jmooring
- Fix multiple languages in HUGO_DISABLELANGUAGES 7f058b8 @bep #11278
Improvements
- config: Do not fail on unknown config keys c1df5b1 @bep
- commands: Update cacheDir description d9fdcbe @jmooring
- Update where.md 295d733 @bep
- Deprecate taxonomyTerm bec9b80 @bep #11256
- Warn about unknown kinds in disableKinds 1c97095 @bep #11256
- Move all Kind constants to its own package b3cb678 @bep #11256
- Remove unused autogenerated method 36b5126 @bep
- tpl/collections: Add BenchmarkWhereOps ef6e813 @bep
- tpl/collections: Add like operator to where function f4598a0 @jmooring #11279
- Use os.UserCacheDir as first fallback if cacheDir is not set b3f1055 @bep #11286 #11291
- Add a common regexp cache 4d7af75 @bep
- commands: Replace deprecated ioutil with os 2589b12 @alexandear
Dependency Updates
- build(deps): bump github.com/evanw/esbuild from 0.18.11 to 0.18.17 d7db096 @dependabot[bot]
- build(deps): bump github.com/rogpeppe/go-internal 5542f02 @dependabot[bot]
- build(deps): bump golang.org/x/image from 0.8.0 to 0.9.0 0bc7ed9 @dependabot[bot]
- deps: Upgrade github.com/yuin/goldmark v1.5.4 => v1.5.5 739d10e @jmooring
Documentation
- docs: Regenerate CLI docs d297c8e @bep
- docs: Update where d524778 @bep
- docs: Update where function operators 036e260 @jmooring
- docs: Rework the cacheDir documentation a50356b @bep