Skip to content

Releases: gohugoio/hugo

v0.126.0

14 May 13:37
@bep bep
Compare
Choose a tag to compare

This release brings, drum roll, a long-awaited Hugo feature that has had many names. At one point we named it pages from data. You can read all about it in the documentation where it's titled Content Adapters.

Also worth mentioning are the new Extras Goldmark Extensions, which allows you to enable Markdown syntax for inserted text, mark text, subscript and superscript. A big thanks to @bowman2001 for the implementation.

Improvements

Dependency Updates

Documentation

Build Setup

v0.125.7

08 May 15:05
@bep bep
Compare
Choose a tag to compare

Note that this release is only relevant if you use Hugo's openapi3.Unmarshal template function.

What's Changed

  • deps: Downgrade github.com/getkin/kin-openapi v0.124.0 => v0.123.0 3c6260f @bep

v0.125.6

05 May 11:16
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.125.5

01 May 17:29
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.125.4

25 Apr 13:43
@bep bep
Compare
Choose a tag to compare

What Changed

v0.125.3

22 Apr 17:36
@bep bep
Compare
Choose a tag to compare

This release fixes a security issue reported by @ejona86 (see #12411) that could allow XSS injection from Markdown content files if one of the internal link or image render hook templates added in Hugo 0.123.0 are enabled. You typically control and trust the content files, but according to Hugo's security model, we state that "template and configuration authors (you) are trusted, but the data you send in is not."

v0.125.2

20 Apr 15:42
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.125.1

18 Apr 08:49
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.125.0

16 Apr 15:24
@bep bep
Compare
Choose a tag to compare

Some of the notable new features in this release:

  • strings.Diff template func.
  • .PageInner in render hooks to get the inner page when using .RenderShortcode in a shortcode, typically used to resolve links and page resources relative to an included Page.
  • Add Luminance to $image.Color, allowing for sorting by relative luminance. e197c7b @bep #10450

This release is built with Go 1.22.2 (#12351) which comes with a fix for security issue CVE-2023-45288. We don't see how that could be exploited in Hugo, but we do appreciate that people want a clean security report.

Bug fixes

Improvements

Dependency Updates

Documentation

v0.124.1

20 Mar 11:54
@bep bep
Compare
Choose a tag to compare

What's Changed