Skip to content

Releases: gohugoio/hugo

v0.133.1

26 Aug 14:31
@bep bep
Compare
Choose a tag to compare

Bug fixes

v0.133.0

17 Aug 20:13
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.132.2

14 Aug 16:32
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.132.1

13 Aug 10:24
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.132.0

12 Aug 15:39
@bep bep
Compare
Choose a tag to compare

Server-side math rendering using KaTeX with Markdown render hooks support, blockquote Markdown render hooks with GitHub style alerts syntax support, and more.

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.131.0

02 Aug 09:24
@bep bep
Compare
Choose a tag to compare

Note that if you use Hugo's image processing, your processed images will get new (shorter!) file names when you build your site with this release. We have upgraded a third party hashing library to fix some rare but potential hash collisions, and since this would change some of the image hashes, we thought we might as well do some other related changes: We now use xxHash to create the image file hashes (very fast!) and we have removed the verbose processing information, making the filenames much shorter.

This release is also a full dependency refresh and it comes with one notable and very useful new feature. It is now possible to use permalinks tokens in the front matter url. See the documentation for more info. Thanks to @n1xx1 for the implementation.

Note

  • identity: Use xxHash in hashstructure (note) 2babd64 @bep

Bug fixes

Improvements

Dependency Updates

  • build(deps): bump github.com/bep/godartsass/v2 from 2.0.0 to 2.1.0 be64358 @dependabot[bot]
  • build(deps): bump google.golang.org/api from 0.152.0 to 0.189.0 20e4dd2 @dependabot[bot]
  • build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 f411499 @dependabot[bot]
  • build(deps): bump gocloud.dev from 0.36.0 to 0.38.0 47fee83 @dependabot[bot]
  • build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.3 99665ef @dependabot[bot]
  • build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.12 to 2.2.13 eb2eeee @dependabot[bot]
  • deps: Upgrade github.com/hairyhenderson/go-codeowners v0.4.0 => v0.5.0 bea5a46 @bep
  • build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0 f1a7f3d @dependabot[bot]
  • build(deps): bump github.com/evanw/esbuild from 0.21.4 to 0.23.0 08243be @dependabot[bot]
  • build(deps): bump github.com/tdewolff/minify/v2 from 2.20.36 to 2.20.37 0490a8a @dependabot[bot]
  • Revert "deps: Set toolchain go1.21.0 in go.mod" d795cac @bep
  • deps: Set toolchain go1.21.0 in go.mod 78c9a18 @bep
  • deps: Upgrade golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d => v0.23.0 79aa2ab @bep
  • deps: Replace github.com/mitchellh/hashstructure/v2 with github.com/gohugoio/hashstructure c9d7577 @bep #11644
  • deps: Upgrade github.com/bep/imagemeta v0.7.4 => v0.7.5 9989404 @bep
  • deps: Upgrade github.com/aws/aws-sdk-go-v2 v1.26.1 => v1.30.3 b81ba2a @bep
  • deps: Upgrade to github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 afdd87d @bep

v0.130.0

29 Jul 14:08
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.129.0

17 Jul 13:42
@bep bep
Compare
Choose a tag to compare

This release brings a rewrite of the logic around browser refreshes when running hugo server. We have seen some situations where asset changes (e.g. image/CSS/JS) has not been refreshed reliably in all browsers, even with the developer console open and the cache disabled. We suspect this comes from a recent browser bug (typically: Works fine in Safari, does not refresh in Chrome). The strategy we've been using when a change triggers multiple changes (e.g. both HTML and CSS) is to do one "browser force refresh", which in LiveReload ends up as a window.location.reload(). With this release we:

  1. Are more specific about what we refresh, but fall back to "force refresh" for bigger change sets.
  2. INFO log exactly what we do in these situations with the prefix livereload.

Start the server with:

hugo server --logLevel info

And you should see how Hugo handles browser updates when you change content/templates etc.

A related tip; start the server with

hugo server --logLevel info -N

Hugo will navigate to the content file you're changing and log it in the console.

Also new in this release a new xxHash hashing function that is much faster than any of the other hashing functions in Hugo, especially for larger inputs.

Note

We have upgraded the integration with Git used to load GitInfo to be part of Hugo's Security Policy. We have added git to the default whitelist, but if you have a custom security policy, you may have to update that.

Bug fixes

Improvements

Dependency Updates

  • deps: Upgrade github.com/bep/gitmap v1.4.0 => v1.6.0 (note) 7be0377 @bep #8627
  • deps: Go mod tidy 439f07e @bep
  • deps: Upgraded github.com/tdewolff/minify/v2 v2.20.20 => v2.20.36 ce5a2ce @bep
  • deps: Upgrade to golang.org/x/image v0.18.0 0f42d97 @bep

v0.128.2

04 Jul 08:29
@bep bep
Compare
Choose a tag to compare

What's Changed

  • Fix site.GetPage, never do short lookups for paths with leadig slash 8cf96f2 @bep #12638

v0.128.1

02 Jul 08:10
@bep bep
Compare
Choose a tag to compare

What's Changed