Skip to content

Releases: gohugoio/hugo

v0.146.3

12 Apr 17:38
@bep bep
Compare
Choose a tag to compare

What's Changed

  • tpl: Make any layout set in front matter higher priority 30b9c19 @bep #13588
  • tpl: Fix it so embedded render-codeblock-goat is used even if custom render-codeblock exists c871062 @bep #13595

v0.146.2

11 Apr 17:40
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.146.1

10 Apr 16:59
@bep bep
Compare
Choose a tag to compare

This fixes a regression introduced in v0.146.0 released earlier today.

v0.146.0

10 Apr 15:14
@bep bep
Compare
Choose a tag to compare

Note

There's a v0.146.1 bug fix release that fixes a regression introduced in this release.

The big new thing in this release is a fully refreshed template system – simpler and much better. We're working on the updated documentation for this, but see this issue for some more information. We have gone to great lengths to make this as backwards compatible as possible, but make sure you test your site before going live with this new version. This version also comes with a full dependency refresh and some useful new template funcs:

  • templates.Current: Info about the current executing template and its call stack. Very useful for debugging.
  • time.In: Returns the given date/time as represented in the specified IANA time zone.

Bug fixes

Improvements

Dependency Updates

Documentation

  • commands/gen: Set url in command pages to /docs/reference/commands/ a98ec3b @jmooring

v0.145.0

26 Feb 16:00
@bep bep
Compare
Choose a tag to compare

The notable new feature is the new transform.PortableText function that makes it possible to use the Sanity CMS with Hugo.

Bug fixes

Improvements

  • Use the page path and not the backing filename as the last resort in the default sort c498d0f @bep
  • tpl: HTTPS the instagram Shortcode JS 2f4e666 @coliff
  • Add transform.PortableText 04f21b4 @bep
  • hugolib: Deprecate _build front matter key in favor of build d0ce942 @jmooring

Dependency Updates

  • deps: Upgrade github.com/rogpeppe/go-internal v1.13.1 => v1.14.1 6927e6f @bep #13449
  • build(deps): bump github.com/yuin/goldmark-emoji from 1.0.4 to 1.0.5 b7ae24b @dependabot[bot]
  • build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 1a4851f @dependabot[bot]
  • build(deps): bump github.com/tetratelabs/wazero from 1.8.2 to 1.9.0 d1f2330 @dependabot[bot]

Documentation

  • github: Build docker image with both extended and withdeploy tags e5eecbd @margau

Build Setup

v0.144.2

19 Feb 12:57
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.144.1

18 Feb 12:32
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.144.0

17 Feb 16:40
@bep bep
Compare
Choose a tag to compare

Go 1.24 upgrade, several performance improvements, new :contentbasename and :slugorcontentbasename permalink tokens, enable KaTeX mhchem extension for transform.ToMath, full dependency refresh, new drop option for js.Build, new auth module option useful for private module repositories, autoID support for definition terms, new configurationTypes configuration option, and more. For more details, see this topic.

Note

  • Fix auto generated header ids so they don't contain e.g. hyperlink destinations (note) 24cc255 @bep #13405 #13410

Bug fixes

  • markup/goldmark: Fix panic on stray attribute nodes 85c1727 @bep
  • Fix Position for passthrough hooks 641403f @bep #13406
  • config: Fix server.redirects.fromRe being ignored unless server.redirects.from is also set c1f4228 @p-weston
  • Fix shortcode name in error message on self-closing shortcodes with no .Inner e865d59 @bep #13344

Improvements

Dependency Updates

Documentation

v0.143.1

04 Feb 09:16
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.143.0

01 Feb 16:10
@bep bep
Compare
Choose a tag to compare

This is mostly a bug fix release, ironing out some quirks with the partial server rebuilds etc., but notable is also the new responseHeaders option on resources.GetRemote that allows you to extract headers from the server’s response.

Bug fixes

Improvements