Skip to content

Releases: gohugoio/hugo

v0.142.0

22 Jan 12:37
@bep bep
Compare
Choose a tag to compare

This is is mostly a bug fix release. It's a minor and not a patch release because of the image file cache issue fixes (see #13273 #13272). Fixing this required us to break the hashes for many of the generated images so we used this opportunity to simplify how we generate these hashes/image filenames.

Bug fixes

Improvements

v0.141.0

16 Jan 13:28
@bep bep
Compare
Choose a tag to compare

This release adds try, a new general mechanism for handling errors within templates, a new images.Mask image filter, a new images.QR function, a new alignx option to control horizontal alignment in images.Text, and more.

Note

Bug fixes

Improvements

Dependency Updates

  • deps: Upgrade github.com/gohugoio/hashstructure from 0.1.0 to 0.3.0 a2edf04 @bep
  • build(deps): bump golang.org/x/tools from 0.28.0 to 0.29.0 f024a50 @dependabot[bot]
  • build(deps): bump golang.org/x/net from 0.33.0 to 0.34.0 80704bc @dependabot[bot]
  • build(deps): bump github.com/evanw/esbuild from 0.24.0 to 0.24.2 b7b49fb @dependabot[bot]
  • build(deps): bump github.com/alecthomas/chroma/v2 from 2.14.0 to 2.15.0 a837976 @dependabot[bot]

Documentation

Build Setup

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