Skip to content

Releases: gohugoio/hugo

v0.140.2

30 Dec 15:33
@bep bep
Compare
Choose a tag to compare

The timing of this release comes from the security fix in golang.org/x/net's html.Parse function. This is used in two places in Hugo:

  1. Extracting table of contents from Asciidoctor rendered output.
  2. Collecting HTML classes etc. when build stats is enabled

It's a little bit of a stretch to see how this could be exploited in Hugo, but we understand that many want a clean security report. See this issue for details.

What's Changed

v0.140.1

23 Dec 16:41
@bep bep
Compare
Choose a tag to compare

Some bug fixes in the (most likely) last Hugo release of the year. Of some technical interest to some, I can mention that I, @bep, have reworked hugoreleaser to use YAML (with anchors/aliases) instead of TOML for the release configuration. Have a look at the end result.

What's Changed

v0.140.0

17 Dec 14:41
@bep bep
Compare
Choose a tag to compare

The big new feature in this release is js.Batch – this enables JavaScript bundle groups (e.g. scripts per section) with global code splitting and flexible hooks/runners setup.

Bug fixes

Improvements

Dependency Updates

v0.139.5

14 Dec 19:18
@bep bep
d0a5aa4
Compare
Choose a tag to compare

This is a release created for technical reasons, see #13147

It's the same as https://github.com/gohugoio/hugo/releases/tag/v0.139.4 -- go there for release archives.

v0.139.4

09 Dec 18:00
@bep bep
Compare
Choose a tag to compare

This release contains a security fix. See this Security Advisory for details. Note that this is only relevant if you don't trust your content (e.g. Markdown) files.

What's Changed

v0.139.3

29 Nov 15:53
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.139.2

23 Nov 15:53
@bep bep
Compare
Choose a tag to compare

Note that this is the second patch release today. See v0.139.1. We had to do this release to get the Hugo Docs build running.

What's Changed

v0.139.1

23 Nov 14:34
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.139.0

18 Nov 16:33
@bep bep
Compare
Choose a tag to compare

This release is mostly about removing code that has been deprecated for a long time. This has been shown as an ERROR in the build log and failed the build for at least the last 6 minor Hugo versions, in most cases much longer.

But this is also a full dependency refresh, and there are also some new stuff. For one, we added a -O flag to hugo server to open up the site in your browser after start. This is now my (@bep) shortcut to start the server:

function h() {
  hugo server  -F -O -N -D
}

Note

  • dartsass: Remove support for v1 of the protocol/binary (note) 1fd845e @bep
  • Remove deprecations <= v0.122.0 (note) ad43d13 @bep

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.138.0

18 Nov 17:36
@bep bep
Compare
Choose a tag to compare

What's Changed