15 KiB
Hugo 0.83
finally brings WebP image processing support. Note that you need the extended version of Hugo to encode to WebP. If you want to target all Hugo versions, you may use a construct such as this:
FOO
Also worth highlighting:
- Some important language/i18n fixes (thanks to @jmooring for helping out with these):
- You can now use slice syntax in the sections permalinks config2dc222ce @bep #8363.
This release represents 61 contributions by 9 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @dependabot[bot], @jmooring, and @anthonyfok for their ongoing contributions. And a big thanks to @digitalcraftsman for his relentless work on keeping the themes site in pristine condition.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 10 contributions by 5 contributors. A special thanks to @lupsa, @jmooring, @bep, and @arhuman for their work on the documentation site.
Hugo now has:
- 51594+ stars
- 432+ contributors
- 370+ themes
Notes
- We have updated ESBUild to v0.11.16. There are no breaking changes on the API side, but you may want to read the release upstream release notes: https://github.com/evanw/esbuild/releases/tag/v0.10.0 https://github.com/evanw/esbuild/releases/tag/v0.11.0
Enhancements
Templates
Output
- Make the shortcode template lookup for output formats stable 0d86a32d @bep #7774
- Only output mediaType once in docshelper JSON 7b4ade56 @bep #8379
Other
- Regenerate docs helper a9b52b41 @bep
- Regenerate CLI docs b073a1c9 @bep
- Remove all dates from gendoc 4227cc1b @bep
- Update getkin/kin-openapi v0.60.0 => v0.61. 3cc4fdd6 @bep
- Update github.com/evanw/esbuild v0.11.14 => v0.11.16 78c1a6a7 @bep
- Remove .Site.Authors from embedded templates f6745ad3 @jmooring #4458
- Don't treat a NotFound response for Delete as a fatal error. f523e9f0 @vangent
- Switch to deb packages of nodejs and python3-pygments 63cd05ce @anthonyfok
- Install bin/node from node/14/stable 902535ef @anthonyfok
- bump github.com/getkin/kin-openapi from 0.55.0 to 0.60.0 70aebba0 @dependabot[bot]
- bump github.com/evanw/esbuild from 0.11.13 to 0.11.14 3e3b7d44 @dependabot[bot]
- Update to Chroma v0.9.1 048418ba @caarlos0
- Improve plural handling of floats eebde0c2 @bep #8464
- bump github.com/evanw/esbuild from 0.11.12 to 0.11.13 65c502cc @dependabot[bot]
- Revise the plural implementation 537c905e @bep #8454#7822
- Update to "base: core20" 243951eb @anthonyfok
- bump github.com/frankban/quicktest from 1.11.3 to 1.12.0 fe2ee028 @dependabot[bot]
- bump google.golang.org/api from 0.44.0 to 0.45.0 316d65cd @dependabot[bot]
- bump github.com/aws/aws-sdk-go from 1.37.11 to 1.38.23 b95229ab @dependabot[bot]
- Correct function name in comment 0551df09 @xhit
- Upgraded github.com/evanw/esbuild v0.11.0 => v0.11.12 057e5a22 @bep
- Regen docs helper fd96f65a @bep
- bump github.com/tdewolff/minify/v2 from 2.9.15 to 2.9.16 d3a64708 @dependabot[bot]
- bump golang.org/x/text from 0.3.5 to 0.3.6 3b56244f @dependabot[bot]
- Remove some unreachable code f5d3d635 @bep
- bump github.com/getkin/kin-openapi from 0.39.0 to 0.55.0 0d3c42da @dependabot[bot]
- Some performance tweaks for the HTML elements collector ef34dd8f @bep
- Exclude comment and doctype elements from writeStats bc80022e @dirkolbrich #8396#8417
- Merge branch 'release-0.82.1' 2bb9496c @bep
- bump github.com/yuin/goldmark from 1.3.2 to 1.3.5 3ddffd06 @jmooring #8377
- Remove duplicate references from release notes 6fc52d18 @jmooring #8360
- bump github.com/spf13/afero from 1.5.1 to 1.6.0 73c3ae81 @dependabot[bot]
- bump github.com/pelletier/go-toml from 1.8.1 to 1.9.0 7ca118fd @dependabot[bot]
- Add webp image encoding support 33d5f805 @bep #5924
- bump google.golang.org/api from 0.40.0 to 0.44.0 509d39fa @dependabot[bot]
- bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2 7725c41d @dependabot[bot]
- bump github.com/rogpeppe/go-internal from 1.6.2 to 1.8.0 5d36d801 @dependabot[bot]
- Remove extraneous space from figure shortcode 9b34d42b @jmooring #8401
- bump github.com/magefile/mage from 1.10.0 to 1.11.0 c2d8f87c @dependabot[bot]
- bump github.com/google/go-cmp from 0.5.4 to 0.5.5 cbc24661 @dependabot[bot]
- Disable broken pretty relative links feature fa432b17 @niklasfasching
- Update go-org to v1.5.0 0cd55c66 @niklasfasching
- bump github.com/jdkato/prose from 1.2.0 to 1.2.1 0d5cf256 @dependabot[bot]
- bump github.com/spf13/cobra from 1.1.1 to 1.1.3 36527576 @dependabot[bot]
- Add complete dependency list in "hugo env -v" 9b83f45b @bep #8400
- Add hugo.IsExtended 7fdd2b95 @bep #8399
- Also test minified HTML in the element collector 3d5dbdcb @bep #7567
- Skip script, pre and textarea content when looking for HTML elements 8a308944 @bep #7567
- Add slice syntax to sections permalinks config 2dc222ce @bep #8363
- Upgrade github.com/evanw/esbuild v0.9.6 => v0.11.0 4d22ad58 @bep
Fixes
Templates
Output
- Regression in media type suffix lookup 6e9d2bf0 @bep #8406
- Regression in media type suffix lookup e73f7a77 @bep #8406
Other
- Fix multiple unknown language codes 7eb80a9e @bep #7838
- Fix permalinks pattern detection for some of the sections variants c13d3687 @bep #8363
- Fix Params case handling in where with slices of structs (e.g. Pages) bca40cf0 @bep #7009
- Fix typo in docshelper.go 7c7974b7 @jmooring #8380
- Try to fix the fuzz build 5e2f1289 @bep