Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 31, 2025

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Update Change
aqua:gohugoio/hugo/hugo-extended minor 0.147.40.154.5

Release Notes

gohugoio/hugo (aqua:gohugoio/hugo/hugo-extended)

v0.154.5

Compare Source

What's Changed

v0.154.4

Compare Source

What's Changed

Also see the new Page.OutputFormats.Canonical method.

v0.154.3

Compare Source

What's Changed

v0.154.2

Compare Source

What's Changed

  • Fix alpha/fuzzy border issue with new webp decoder for images with with transparent background e9b9b36 @​bep #​14339

v0.154.1

Compare Source

What's Changed

v0.154.0

Compare Source

Hugo v0.154.0 is the 14th release this year (not counting patch releases) and introduces partial decorators, or “partials with a twist.” This is a very powerful construct that I, @​bep, have always wanted to have in Hugo, but I could never wrap my head around an implementation. Until now.

A small and not very useful example:

{{ with partial "b.html" "World" }}Hello {{ . }}{{ end }}
{{ define "_partials/b.html" }}<b>{{ inner . }}</b>{{ end }}

The above renders to:

<b>Hello World</b>
  • The new inner keyword can be used zero or more times in a partial template, typically with different data (e.g. pages in a range), and its presence signals a reversal of the execution -- the callee becomes the caller.
  • Decorators can be deeply nested, see this PR for an example.

This release also brings some new utility funcs in the reflect package to identify the core types in Hugo. For example, to identify an processable image hasn't been trivial, now it is:

{{ $obj := . }}
{{ if reflect.IsResource $obj }}
   {{ if reflect.IsImageResource $obj }}
        // It has width/height and we can process it.
   {{ else }}
       // Just link to it.
   {{ end }}
{{ end }}

Bug fixes

Improvements

Dependency Updates

v0.153.5

Compare Source

What's Changed

v0.153.4

Compare Source

What's Changed

v0.153.3

Compare Source

What's Changed

v0.153.2

Compare Source

What's Changed

v0.153.1

Compare Source

[!note]
This is a bug fix release. See the main release for a list of new features.

v0.153.0

Compare Source

[!note]
There is a newer bug fix release available here.

This is a good one! Hugo v0.153.0 comes with a powerful new multidimensional content model (languages, versions and roles) and completely overhauls WebP image support, and much more:

  • For the new multidimensional content model, start reading sites matrix and sites complements. The matrix is what gets written to disk, complements allows e.g. a site in Swedish to fill in missing gaps in the site in Norwegian's page and resource collections. Also see the new Rotate method, that allows you to rotate the content tree in a given dimension.
  • For WebP we now build a WASM version of libwebp (v1.6.0) and run it in the Wazero runtime. We use this for both encoding and decoding. This solves an old and annoying issue with Go's stdlib's decoder, with loss of contrast and muted colors in some photos, but it also means that you don't need the extended version of Hugo to handle WebP images. And, drum roll, we now also support animated WebP, including converting to and from animated GIFs.
  • For MacOS, we now build signed and notarised pkg installers.

Also:

Notes

  • tpl/css: Deprecate libsass in favor of dartsass (note) 9937a5d @​bep #​14261
  • Build Order: Hugo builds sites based on the sorted dimensions (see below). In earlier versions, we built the sites starting with the default content language. This change is also reflected in the sort order of .Site.Sites to make it consistent with .Site.Languages.
  • Sort Order: The dimensions are sorted as follows, which affects build order and complement selection:
    • languages: By weight, then by name.
    • versions: By weight, then by semantic versioning (descending).
    • roles: By weight, then by name.
  • Deprecations:
  • Logging: We no longer log warnings about potential duplicate content paths, as this becomes impractical to reason about with a
    complex sites matrix.

Bug fixes

Improvements

Dependency Updates

Build Setup

Documentation

v0.152.2

Compare Source

In v0.152.0 we tightened the source validation for file mounts. We always said that project mounts can mount with absolute file/directorynames, modules/themes are restricted to relative. In v0.152.0 we narrowed module/themes mounts to be local, which made the setup in the bug report listed below fail:

[[module.mounts]]
source = '../../node_modules/bootstrap'
target = 'assets/vendor/bootstrap'

One part of this is security. But the construct above is usually very odd (the project uses files in a theme/module, not the other way around) and not very portable. But the example above demonstrates a valid exception, that we now have added support for in a portable way. The above example now works as it did before v0.152.0, but going forward you can also write:

[[module.mounts]]
source = 'node_modules/bootstrap'
target = 'assets/vendor/bootstrap'

We now have the node_modules as a special case: For themes/modules we first check if the mounted source exists locally, if not we try relative to the project root.

What's Changed

v0.152.1

Compare Source

These fixes are are all related to the YAML library upgrade in v0.152.0.

v0.152.0

Compare Source

The big new thing and the motivation behind this release is the upgrade to a more modern YAML library in @​goccy 's github.com/goccy/go-yaml. It's been a surprisingly long and winding road to get here. Note that this upgrade comes with some minor breaking changes, most notably that the old YAML 1.1 spec listed a set of strings that, when unquoted, were treated as boolean true or false. So if you're using any of the values in the table below as booleans, you need to adjust your YAML, but I suspect that fixing this very surprising behavior will fix more issues than it introduces. A big new thing with this new YAML library is the support for YAML anchors and aliases which helps to reduce duplication in e.g. your configuration. There are some examples in Hugo's release build configuration and in the Hugo's CI release setup.

Values Old meaning New meaning
yes, Yes, YES, y, Y, on, On, ON true (bool) yes, Yes, YES, y, Y, on, On, ON (string)
no, No, NO, n, N, off, Off, OFF false (bool) no, No, NO, n, N, off, Off, OFF (string)

Note

Improvements

Dependency Updates

Build Setup

v0.151.2

Compare Source

What's Changed

v0.151.1

Compare Source

This release is mostly motivated by some upstream security fixes:

I, @​bep, have inspected the above issues, and none of them seem to be relevant for Hugo, but we understand that many want to have a clean security report.

Bug fixes

Improvements

Dependency Updates

v0.151.0

Compare Source

Some notable new features in Hugo v0.151.0 are:

Note

Improvements and bug fixes

Dependency Updates

v0.150.1

Compare Source

What's Changed

  • hugolib: Change duplicate content path warning to an

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 3c1bab1 to 3fff7b4 Compare June 1, 2025 15:32
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.147.6 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.147.7 Jun 1, 2025
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.147.7 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.147.8 Jun 8, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 3fff7b4 to d3a5e8e Compare June 8, 2025 09:41
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from d3a5e8e to cd12b62 Compare July 5, 2025 07:46
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.147.8 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.147.9 Jul 5, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from cd12b62 to d0ddd0e Compare July 12, 2025 23:55
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.147.9 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.148.1 Jul 12, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from d0ddd0e to d2bc3ca Compare July 30, 2025 22:06
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.148.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.148.2 Jul 30, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from d2bc3ca to 055fc8c Compare September 1, 2025 11:49
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.148.2 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.149.0 Sep 1, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 055fc8c to ee51d5b Compare September 5, 2025 11:09
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.149.0 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.149.1 Sep 5, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from ee51d5b to 420ea10 Compare September 9, 2025 07:46
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.149.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.150.0 Sep 9, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 420ea10 to 8da159c Compare September 26, 2025 15:59
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.150.0 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.150.1 Sep 26, 2025
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.150.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.151.0 Oct 2, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 8da159c to 457fee7 Compare October 2, 2025 23:48
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 457fee7 to 4346a82 Compare October 15, 2025 19:45
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.151.0 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.151.1 Oct 15, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 4346a82 to ed5329d Compare October 17, 2025 00:15
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.151.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.151.2 Oct 17, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from ed5329d to 2d047c0 Compare October 25, 2025 07:10
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.151.2 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.152.2 Oct 25, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 2d047c0 to 3d9eee7 Compare December 19, 2025 23:39
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.152.2 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.0 Dec 19, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 3d9eee7 to ca654d3 Compare December 21, 2025 02:13
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.0 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.1 Dec 21, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from ca654d3 to 72ef892 Compare December 23, 2025 15:40
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.2 Dec 23, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 72ef892 to f669d01 Compare December 27, 2025 07:42
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.2 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.3 Dec 27, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from f669d01 to 95792ec Compare December 29, 2025 12:08
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.3 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.4 Dec 29, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 95792ec to a97171a Compare December 30, 2025 12:13
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.4 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.5 Dec 30, 2025
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from a97171a to f1ee338 Compare January 1, 2026 19:40
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.153.5 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.1 Jan 1, 2026
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from f1ee338 to 05dac99 Compare January 3, 2026 11:11
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.2 Jan 3, 2026
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 05dac99 to a27e3f7 Compare January 7, 2026 19:57
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.2 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.3 Jan 7, 2026
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from a27e3f7 to 2fa471a Compare January 11, 2026 07:50
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.3 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.4 Jan 11, 2026
@renovate renovate bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 2fa471a to 884676f Compare January 12, 2026 03:59
@renovate renovate bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.4 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.5 Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant