Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 19, 2025

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

This PR contains the following updates:

Package Update Change
gohugoio/hugo minor v0.147.2v0.154.5

Release Notes

gohugoio/hugo (gohugoio/hugo)

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 conten

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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 requested a review from a team as a code owner May 19, 2025 02:45
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.147.3 chore(deps): update dependency gohugoio/hugo to v0.147.4 May 20, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from f628f70 to c9c3a0a Compare May 20, 2025 11:41
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.147.4 chore(deps): update dependency gohugoio/hugo to v0.147.5 May 22, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from c9c3a0a to 9b871d1 Compare May 22, 2025 13:01
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.147.5 chore(deps): update dependency gohugoio/hugo to v0.147.6 May 27, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 9b871d1 to 97c8a6b Compare May 27, 2025 13:16
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.147.6 chore(deps): update dependency gohugoio/hugo to v0.147.7 May 31, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 97c8a6b to 6a03c81 Compare May 31, 2025 13:34
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.147.7 chore(deps): update dependency gohugoio/hugo to v0.147.8 Jun 7, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 6a03c81 to 4e312a2 Compare June 7, 2025 17:48
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.147.8 chore(deps): update dependency gohugoio/hugo to v0.147.9 Jun 23, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 4e312a2 to baf55df Compare June 23, 2025 13:32
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.147.9 chore(deps): update dependency gohugoio/hugo to v0.148.1 Jul 12, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from baf55df to 724f931 Compare July 12, 2025 16:13
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.148.1 chore(deps): update dependency gohugoio/hugo to v0.148.2 Jul 27, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 724f931 to 4d4d6d5 Compare July 27, 2025 18:11
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 4d4d6d5 to 333a5f4 Compare August 27, 2025 21:35
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.148.2 chore(deps): update dependency gohugoio/hugo to v0.149.0 Aug 27, 2025
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.149.0 chore(deps): update dependency gohugoio/hugo to v0.149.1 Sep 4, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 333a5f4 to 10b3e59 Compare September 4, 2025 17:37
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.149.1 chore(deps): update dependency gohugoio/hugo to v0.150.0 Sep 8, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 10b3e59 to 83c4700 Compare September 8, 2025 18:36
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 83c4700 to 3de403c Compare September 25, 2025 14:03
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.150.0 chore(deps): update dependency gohugoio/hugo to v0.150.1 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 3de403c to 73d18a8 Compare October 2, 2025 17:11
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.150.1 chore(deps): update dependency gohugoio/hugo to v0.151.0 Oct 2, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 73d18a8 to cdff3c4 Compare October 15, 2025 16:37
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.151.0 chore(deps): update dependency gohugoio/hugo to v0.151.1 Oct 15, 2025
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.151.1 chore(deps): update dependency gohugoio/hugo to v0.151.2 Oct 16, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 8c30415 to b4b0326 Compare October 22, 2025 23:13
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.152.0 chore(deps): update dependency gohugoio/hugo to v0.152.1 Oct 22, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from b4b0326 to 70534f1 Compare October 24, 2025 19:48
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.152.1 chore(deps): update dependency gohugoio/hugo to v0.152.2 Oct 24, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch 2 times, most recently from f0fac38 to 6886a21 Compare December 19, 2025 15:43
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.152.2 chore(deps): update dependency gohugoio/hugo to v0.153.0 Dec 19, 2025
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.153.0 chore(deps): update dependency gohugoio/hugo to v0.153.1 Dec 20, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch 2 times, most recently from 6d6069e to 2ded66e Compare December 22, 2025 21:35
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.153.1 chore(deps): update dependency gohugoio/hugo to v0.153.2 Dec 22, 2025
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.153.2 chore(deps): update dependency gohugoio/hugo to v0.153.3 Dec 26, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch 2 times, most recently from 8b18539 to 6918ca7 Compare December 29, 2025 00:44
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.153.3 chore(deps): update dependency gohugoio/hugo to v0.153.4 Dec 29, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 6918ca7 to 1b4da32 Compare December 30, 2025 14:01
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.153.4 chore(deps): update dependency gohugoio/hugo to v0.153.5 Dec 30, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 1b4da32 to 8367574 Compare December 31, 2025 19:41
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.153.5 chore(deps): update dependency gohugoio/hugo to v0.154.0 Dec 31, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 8367574 to 69bfbd4 Compare January 1, 2026 18:03
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.154.0 chore(deps): update dependency gohugoio/hugo to v0.154.1 Jan 1, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 69bfbd4 to 4a8ea9f Compare January 2, 2026 20:37
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.154.1 chore(deps): update dependency gohugoio/hugo to v0.154.2 Jan 2, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 4a8ea9f to 186b52e Compare January 6, 2026 17:45
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.154.2 chore(deps): update dependency gohugoio/hugo to v0.154.3 Jan 6, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 186b52e to c0ce072 Compare January 10, 2026 17:38
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.154.3 chore(deps): update dependency gohugoio/hugo to v0.154.4 Jan 10, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from c0ce072 to 31769ee Compare January 12, 2026 01:54
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.154.4 chore(deps): update dependency gohugoio/hugo 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