Skip to content

chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.164.0#25

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/aqua-gohugoio-hugo-hugo-extended-0.x
Open

chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.164.0#25
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/aqua-gohugoio-hugo-hugo-extended-0.x

Conversation

@renovate

@renovate renovate Bot commented May 31, 2025

Copy link
Copy Markdown
Contributor

ℹ️ 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.164.0

Release Notes

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

v0.164.0

Compare Source

Notable new features in this release are:

Notes

Changes

Dependency Updates

v0.163.3

Compare Source

What's Changed

v0.163.2

Compare Source

What's Changed

v0.163.1

Compare Source

The majority of the fixes in this release are security related (including the upstream fix in 93c8c7d (golang.org/x/image)). Thanks to @​vnth4nhnt for finding the issues fixed in a00b5c7 and cf9c8f9 (I will do the CVE work on this later). There has been a uptick in security reports lately, which doesn't mean that Hugo has gotten less secure, this is mostly the work of the new and powerful AI tools using Hugo's restrictive security model as their baseline. Just take a look at Go's recent security issue list to see a demonstration of this.

What's Changed

v0.163.0

Compare Source

The main topic in this release is improvements to the AVIF image handling that we introduced in v0.162.0. See the docs for details, but:

  • We have turned down the default quality for AVIF to 60. Turns out, JPEG/WebP with quality 75 is comparable to AVIF with quality 60. You can now also set quality per image format in your project config (and also per image processed if needed).
  • We have added a hint to the AVIF with the same values as for WEBP. For lossy compression, the photo/picture hints (and the default) encodes with YUV420 chroma subsampling instead of YUV444, keeping 444 for text/icon/drawing. This greatly reduces the memory needed to encode these images.
Improvements
Dependency Updates

v0.162.1

Compare Source

What's Changed

v0.162.0

Compare Source

The notable new feature in this release is support for AVIF images (both encoder and decoder). There's a demo site set up that demonstrates the difference between HDR AVIF and SDR JPEG images. Note that that demo is only really interesting if viewed on an HDR capable screen (e.g. Apple Retina).

Security fixes

There are some notable security fixes in this release.

Security fixes in Go

This release upgrades from Go 1.26.1 to 126.3, which brings a set of security fixes. Some relevant for Hugo are:

  • XSS in html/template (CVE-2026-39826 & CVE-2026-39823): Two separate vulnerabilities where escaper bypasses in html/template could lead to Cross-Site Scripting (XSS).
  • html/template: Fixes an issue where JS template literal contexts were incorrectly tracked across template branches, which could lead to improper content escaping.
Security fixes and hardening in Hugo

The following changes either fix a concrete issue or reduce the default attack surface of hugo builds.

  • Disallow text/html content files by default (e41a064). A new security.allowContent policy gates which content media types may be used for pages under /content. text/html is denied by default; sites that rely on hand-authored or adapter-emitted HTML content can opt back in with security.allowContent = ['.*'].
  • Re-check security.http.urls on every redirect hop in resources.GetRemote (86fbb0f).
  • Reject symlinked entries in resources.Get (f8b5fa0).

We will update this section later with links to CVEs where applicable.

All changes

v0.161.1

Compare Source

What's Changed

v0.161.0

Compare Source

This release contains two security hardening fixes:

  • We now run the Node tools PostCSS, Babel and TailwindCSS, by default, with the --permission flag with the permissions defined in security.node.permissions. This means that you need Node >= 22 installed and that css.TailwindCSS now requires that the Tailwind CSS CLI must be installed as a Node.js package. The standalone executable is no longer supported
  • We have made the defaults in security.http.urls more restrictive.

But there are some notable new features, as well:

Nested vars support in css.Build and css.Sass

A practical example in css.Build would be to have something like this in hugo.toml:

[params.style]
    primary    = "#​000000"
    background = "#ffffff"
    [params.style.dark]
        primary    = "#ffffff"
        background = "#​000000"

And in the stylesheet:

@​import "hugo:vars";
@​import "hugo:vars/dark" (prefers-color-scheme: dark);

:root {
  color-scheme: light dark;
}

Slice-based permalinks config

The permalinks configuration is now much more flexible (the old setup still works). It uses the same target matchers as in the cascade config, meaning you can now do:

permalinks:
  - target:
      kind: page
      path: "/books/**"
    pattern: /books/:year/:slug/
  - target:
      kind: section
      path: "/{books,books/**}"
    pattern: /libros/:sections[1:]
  - target:
      kind: page
    pattern: /other/:slug/

The above example isn't great, but it at least shows the gist of it.

A more flexible scheme for identifiers in filenames

What we had before was e.g. content/mypost.en.md which told Hugo that the content files was in English. With the new setup you could also name the file content/mypost._language_en_.md. This alone doesn't sound very useful, but this allows you to use more prefixes:

Prefix Description Relevant for
language_ Language Content and layout files.
role_ Role Content and layout files.
version_ Version Content and layout files.
outputformat_ Output format Layout files.
mediatype_ Media type Layout files.
kind_ Page kind Layout files.
layout_ Layout Layout files.

All Changes

v0.160.1

Compare Source

What's Changed

v0.160.0

Compare Source

Now you can inject CSS vars, e.g. from the configuration, into your stylesheets when building with css.Build. Also, now all the render hooks has a .Position method, now also more accurate and effective.

Bug fixes

Improvements

Dependency Updates

Documentation

v0.159.2

Compare Source

Note that the security fix below is not a potential threat if you either:

EDIT IN: This release also adds release archives for non-extended-withdeploy builds.

What's Changed

v0.159.1

Compare Source

The regression fixed in this release isn't new, but it's so subtle that we thought we'd release this sooner rather than later. For some time now, the minifier we use have stripped namespaced attributes in SVGs, which broke dynamic constructs using e.g. AlpineJS' x-bind: namespace (library used by Hugo's documentation site).

To fix this, the upstream library has hadded a keepNamespaces slice option. It was not possible to find a default that would make all happy, so we opted for an option that at least would make AlpineJS sites work out of the box:

 [minify.tdewolff.svg]
      keepNamespaces = ['', 'x-bind']

What's Changed

v0.159.0

Compare Source

This release greatly improves and simplifies management of Node.js/npm dependencies in a multi-module setup. See this page for more information.

Note

  • Replace deprecated site.Data with hugo.Data in tests a8fca59 @​bep
  • Replace deprecated excludeFiles and includeFiles with files in tests 182b104 @​bep
  • Replace deprecated :filename with :contentbasename in the permalinks test eb11c3d @​bep

Bug fixes

Improvements

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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 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
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 884676f to 2227281 Compare January 29, 2026 03:15
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.154.5 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.155.0 Jan 29, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 2227281 to 5b367e2 Compare January 31, 2026 07:11
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.155.0 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.155.1 Jan 31, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 5b367e2 to c8f3662 Compare February 3, 2026 08:02
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.155.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.155.2 Feb 3, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from c8f3662 to 2a8dfbe Compare February 9, 2026 12:09
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.155.2 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.155.3 Feb 9, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 2a8dfbe to 7b0dd1b Compare February 19, 2026 00:14
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.155.3 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.156.0 Feb 19, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 7b0dd1b to 22a180d Compare March 1, 2026 12:14
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.156.0 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.157.0 Mar 1, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 22a180d to 4c2ad14 Compare March 31, 2026 17:14
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.157.0 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.159.1 Mar 31, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 4c2ad14 to e8f3f39 Compare April 15, 2026 16:02
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.159.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.160.1 Apr 15, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from e8f3f39 to 7efac4e Compare April 30, 2026 03:09
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.160.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.161.1 Apr 30, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 7efac4e to 9d611a7 Compare May 27, 2026 00:09
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.161.1 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.162.0 May 27, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-hugo-extended-0.x branch from 9d611a7 to 5642bed Compare May 30, 2026 08:15
@renovate renovate Bot changed the title chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.162.0 chore(deps): update dependency aqua:gohugoio/hugo/hugo-extended to v0.162.1 May 30, 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