Skip to content

chore(deps): update hugo to v0.171.0 - #520

Merged
renovate[bot] merged 3 commits into
mainfrom
renovate/hugo
Dec 3, 2026
Merged

renovate[bot] merged 3 commits into
mainfrom
renovate/hugo

Conversation

@renovate

@renovate renovate Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
ghcr.io/gohugoio/hugo minor v0.170.1 → v0.171.0
hugo uses-with minor 0.170.1 → 0.171.0

Release Notes

gohugoio/hugo (ghcr.io/gohugoio/hugo)

v0.171.0

Compare Source

The notable new feature in this release is the images.Meta filter, which writes copyright, creator, title, description, date and GPS position as EXIF and XMP metadata to processed JPEG, PNG, WebP, TIFF and AVIF images. Other notable changes:

  • Better performance and memory usage in some setups: highlighted code is now cached across sites, pages with tables no longer get their content rendered again for every output format (e.g. RSS), and the dynamic cache has a new partition sizing and eviction strategy for memory-constrained builds.
  • Templates without an output format in the file name (e.g. list.xml) are now used for all output formats sharing that suffix (e.g. RSS and a custom Atom format), not just the first one.
  • The embedded link and image render hooks now default to fallback for all projects. Before, this depended on the language setup in a way that was hard to reason about.
  • The hash sign (#) is now stripped from published file names, as some hosts (e.g. Netlify) reject them.
  • strings.Truncate now returns a string for string input, which avoids HTML escaping in plain text output formats.
  • --printPathWarnings now detects aliases that overwrite pages.

Notes

  • hugo.IsExtended is deprecated and now always returns true.
  • The renderHooks.{image,link}.useEmbedded value auto is now an alias for fallback, which is the new default for all projects. If you relied on the embedded hooks being disabled, set useEmbedded = "never".
  • Special purpose templates (sitemap, sitemap index and robots.txt) must now be selected by output format; e.g. a user-provided all.txt no longer renders robots.txt.
  • Pages with the same language weight are now sorted by Lang as a tiebreaker.

Security

  • If you use roles to separate content (e.g. guests vs. members), resources with the role set in the file name (e.g. foo._role_member_.txt) in a page bundle spanning multiple roles were published for all roles. This is fixed in this release; the role set in the file name now wins over the mount (#​15627).

Changes

Dependency Updates


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 November 30, 2026 19:09
@renovate
renovate Bot enabled auto-merge (rebase) November 30, 2026 19:09
| datasource      | package               | from     | to       |
| --------------- | --------------------- | -------- | -------- |
| docker          | ghcr.io/gohugoio/hugo | v0.170.1 | v0.171.0 |
| github-releases | gohugoio/hugo         | v0.170.1 | v0.171.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
mnencia and others added 2 commits December 3, 2026 09:15
Hugo 0.171 enables it by default. It resolves links to the static docs
under assets/ as resources and fails to publish them over existing
directories.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Hugo 0.158 deprecated the languageCode config key and
.Site.LanguageCode in favour of locale and .Site.Language.Locale.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
@renovate
renovate Bot merged commit 6222fb9 into main Dec 3, 2026
5 checks passed
@renovate
renovate Bot deleted the renovate/hugo branch December 3, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants