Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 16, 2024

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
gohugoio/hugo action minor v0.124.1v0.155.3

Release Notes

gohugoio/hugo (gohugoio/hugo)

v0.155.3

Compare Source

What's Changed

v0.155.2

Compare Source

Note that the bug fix below is for the two new dimensions introduced in v0.153.0 (version and role), multiple languages worked fine. Also, changes to the first version and role also worked, which had me head-scratching for a while. Oh, well, enjoy.

v0.155.1

Compare Source

What's Changed

v0.155.0

Compare Source

Some notable new things in this release are:

  • Improvements to how versions are handled: We now support version (and also for the other dimension) range queries (e.g. >= v1.0.0), and we now cache Go module version queries, which makes mounting multiple versions of the same GitHub repo with different version much more practical and enjoyable, se this site and config for an annotated example.
  • We finally have XMP and IPTC image metadata support, in addition to EXIF, see #​13146
  • Page aliases now works in multidimensional sites (e.g. multiple languages), and it is now much easier to create e.g. Netlify _redirects files that works in such setups.
  • There are several performance related WebP improvements in this release.
  • Also, image processing in general (e.g. resize operations) should be considerably more effective.

Breaking change

Prior to v0.155.0, alias paths beginning with a slash (/) were treated as server-relative. In v0.155.0 and later, they are now site-relative. This change only affects multilingual single-host projects that used alias paths beginning with a slash (/) to cross language boundaries. See details.

Note

Bug fixes

Improvements

Dependency Updates

Build Setup

Documentation

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.

  • Expand the numeric conversions to template funcs/meth

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/gohugoio-hugo-0.x branch from e29eb69 to f1a9970 Compare April 18, 2024 09:36
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.125.0 chore(deps): update gohugoio/hugo action to v0.125.1 Apr 18, 2024
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.125.1 chore(deps): update gohugoio/hugo action to v0.125.2 Apr 20, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch 2 times, most recently from 7aecbba to 429d1c2 Compare April 22, 2024 20:32
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.125.2 chore(deps): update gohugoio/hugo action to v0.125.3 Apr 22, 2024
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.125.3 chore(deps): update gohugoio/hugo action to v0.125.4 Apr 25, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch 2 times, most recently from 922f690 to 0ea659d Compare May 1, 2024 18:02
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.125.4 chore(deps): update gohugoio/hugo action to v0.125.5 May 1, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 0ea659d to 6826242 Compare May 5, 2024 12:58
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.125.5 chore(deps): update gohugoio/hugo action to v0.125.6 May 5, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 6826242 to 21a23ab Compare May 8, 2024 16:19
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.125.6 chore(deps): update gohugoio/hugo action to v0.125.7 May 8, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 21a23ab to 19e1963 Compare May 14, 2024 13:54
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.125.7 chore(deps): update gohugoio/hugo action to v0.126.0 May 14, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 19e1963 to 2ebd19c Compare May 15, 2024 17:19
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.126.0 chore(deps): update gohugoio/hugo action to v0.126.1 May 15, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 2ebd19c to f826fc6 Compare May 30, 2024 18:32
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.126.1 chore(deps): update gohugoio/hugo action to v0.126.2 May 30, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from f826fc6 to 375cded Compare June 2, 2024 15:32
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.126.2 chore(deps): update gohugoio/hugo action to v0.126.3 Jun 2, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 375cded to 54c2880 Compare June 5, 2024 13:44
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.126.3 chore(deps): update gohugoio/hugo action to v0.127.0 Jun 5, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 54c2880 to 254ff04 Compare June 25, 2024 20:06
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.127.0 chore(deps): update gohugoio/hugo action to v0.128.0 Jun 25, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 254ff04 to 05a73e3 Compare July 2, 2024 09:15
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.128.0 chore(deps): update gohugoio/hugo action to v0.128.1 Jul 2, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 05a73e3 to 91b3ab7 Compare July 4, 2024 09:47
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.128.1 chore(deps): update gohugoio/hugo action to v0.128.2 Jul 4, 2024
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.153.0 chore(deps): update gohugoio/hugo action to v0.153.1 Dec 20, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from d4b6ccb to 10f9da6 Compare December 22, 2025 18:46
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.153.1 chore(deps): update gohugoio/hugo action to v0.153.2 Dec 22, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 10f9da6 to 30ab7a4 Compare December 26, 2025 17:11
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.153.2 chore(deps): update gohugoio/hugo action to v0.153.3 Dec 26, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 30ab7a4 to d2167d2 Compare December 29, 2025 01:00
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.153.3 chore(deps): update gohugoio/hugo action to v0.153.4 Dec 29, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from d2167d2 to 0e47ed3 Compare December 30, 2025 15:08
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.153.4 chore(deps): update gohugoio/hugo action to v0.153.5 Dec 30, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 0e47ed3 to 1806ad2 Compare December 31, 2025 18:54
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.153.5 chore(deps): update gohugoio/hugo action to v0.154.0 Dec 31, 2025
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 1806ad2 to faf431d Compare January 1, 2026 21:00
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.154.0 chore(deps): update gohugoio/hugo action to v0.154.1 Jan 1, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from faf431d to 7b7c5d0 Compare January 2, 2026 17:09
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.154.1 chore(deps): update gohugoio/hugo action to v0.154.2 Jan 2, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 7b7c5d0 to 1538dbb Compare January 6, 2026 22:13
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.154.2 chore(deps): update gohugoio/hugo action to v0.154.3 Jan 6, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 1538dbb to 0874088 Compare January 10, 2026 20:37
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.154.3 chore(deps): update gohugoio/hugo action to v0.154.4 Jan 10, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 0874088 to ed291e1 Compare January 11, 2026 21:41
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.154.4 chore(deps): update gohugoio/hugo action to v0.154.5 Jan 11, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from ed291e1 to 7d8e4c6 Compare January 28, 2026 18:48
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.154.5 chore(deps): update gohugoio/hugo action to v0.155.0 Jan 28, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 7d8e4c6 to 70337a8 Compare January 30, 2026 14:11
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.155.0 chore(deps): update gohugoio/hugo action to v0.155.1 Jan 30, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 70337a8 to 0d0723f Compare February 2, 2026 12:51
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.155.1 chore(deps): update gohugoio/hugo action to v0.155.2 Feb 2, 2026
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 0d0723f to 5443432 Compare February 8, 2026 17:27
@renovate renovate bot changed the title chore(deps): update gohugoio/hugo action to v0.155.2 chore(deps): update gohugoio/hugo action to v0.155.3 Feb 8, 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.

0 participants