7.4 KiB
date: 2021-09-02 title: "Go 1.17 Update" description: "Hugo 0.88.0 brings Go 1.17 support, a dependency refresh, and more." categories: ["Releases"]
The most important piece in this release is the Go 1.17 update. This release is built with that new Go version, but also and more importantly, the Hugo Modules logic has been updated to support Go's new way of (lazy) loading transitive dependencies. If you already have Go 1.17 installed, building existing Hugo Modules backed projects have not been an issue, but hugo mod init
for a new project could give you too new versions of transitive dependencies. Hugo 0.88 fixes this.
This release represents 26 contributions by 6 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], @helfper, and @wzshiming for their ongoing contributions.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 9 contributions by 6 contributors. A special thanks to @bep, @jmooring, @StevenMaude, and @coliff for their work on the documentation site.
Hugo now has:
- 53915+ stars
- 430+ contributors
- 404+ themes
Notes
- We have fixed a bug with the import order in
js.Build
for the case./foo
when both./foo.js
and./foo/index.js
exists. This is in line with how both Node and ESBuild's native import resolver does it. We discovered this trying to build AlpineJS v3 from source mounted in/assets
. See cf73cc2e @bep #8945.
Enhancements
Templates
Other
- Run go mod tidy 6631c9c7 @bep
- Don't fail on template errors on go mod graph etc. 7d1f806e @bep #8942
- bump github.com/getkin/kin-openapi from 0.74.0 to 0.75.0 04b59599 @dependabot[bot]
- bump github.com/frankban/quicktest from 1.13.0 to 1.13.1 c278b6e4 @dependabot[bot]
- bump github.com/evanw/esbuild from 0.12.22 to 0.12.24 107c86fe @dependabot[bot]
- Avoid failing with "module not found" for hugo mod init and similar a0489c2d @bep #8940
- Update to Go 1.17 0fc2ce9e @bep #8930
- Remove Pygments from snapcraft.yml 32569285 @anthonyfok
- bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.0 5a46eefb @bep #8920
- Add tabindex when code is not highlighted 7a15edaf @helfper
- bump github.com/evanw/esbuild from 0.12.17 to 0.12.22 2f0945ba @dependabot[bot]
- bump golang.org/x/text from 0.3.6 to 0.3.7 7ba3f3d2 @dependabot[bot]
- bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.0 f7016524 @dependabot[bot]
- Prevent minifier from removing quotes around post-processed attributes bc0743ed @bep #8884
- Avoid too many watch file handles causing the server to fail to start ffa2fe61 @bep
- Remove some pygments references d966f5d0 @helfper
- Avoid too many watch file handles causing the server to fail to start 3f38c785 @wzshiming #8904
- bump github.com/getkin/kin-openapi from 0.68.0 to 0.74.0 24589c08 @dependabot[bot]
- Update github.com/spf13/cast v1.4.0 => v1.4.1 efebd756 @bep #8891
- Import time/tzdata on Windows 58b6742c @bep #8892
- Indent TOML tables 9bba9a3a @bep #8850