Skip to content

Comments

fix(deps): update module github.com/gohugoio/hugo to v0.156.0#1920

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-gohugoio-hugo-0.x
Open

fix(deps): update module github.com/gohugoio/hugo to v0.156.0#1920
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-gohugoio-hugo-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 22, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
github.com/gohugoio/hugo v0.124.1v0.156.0 age confidence

Release Notes

gohugoio/hugo (github.com/gohugoio/hugo)

v0.156.0

Compare Source

This release brings significant speedups of collections.Where and collections.Sort – but this is mostly a "spring cleaning" release, to make the API cleaner and simpler to understand/document.

Deprecated
  • Site.AllPages is Deprecated
  • Site.BuildDrafts is Deprecated
  • Site.Languages is Deprecated
  • Site.Data is deprecated, use hugo.Data
  • Page.Sites and Site.Sites is Deprecated, use hugo.Sites

See this topic for more info.

Removed

These have all been deprecated at least since v0.136.0 and any usage have been logged as an error for a long time:

Template functions

  • data.GetCSV / getCSV (use resources.GetRemote)
  • data.GetJSON / getJSON (use resources.GetRemote)
  • crypto.FNV32a (use hash.FNV32a)
  • resources.Babel (use js.Babel)
  • resources.PostCSS (use css.PostCSS)
  • resources.ToCSS (use css.Sass)

Page methods:

  • .Page.NextPage (use .Page.Next)
  • .Page.PrevPage (use .Page.Prev)

Paginator:

  • .Paginator.PageSize (use .Paginator.PagerSize)

Site methods:

  • .Site.LastChange (use .Site.Lastmod)
  • .Site.Author (use .Site.Params.Author)
  • .Site.Authors (use .Site.Params.Authors)
  • .Site.Social (use .Site.Params.Social)
  • .Site.IsMultiLingual (use hugo.IsMultilingual)
  • .Sites.First (use .Sites.Default)

Site config:

  • paginate (use pagination.pagerSize)
  • paginatePath (use pagination.path)

File caches:

  • getjson cache
  • getcsv cache
Notes
Bug fixes
Improvements
Dependency Updates
Build Setup
Documentation

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(deps): bump github.com/goccy/go-yaml from 1.19.0 to 1.19.1 39649dc @​dependabot[bot]
  • build(deps): bump github.com/alecthomas/chroma/v2 from 2.21.0 to 2.21.1 614fb16 @​dependabot[bot]
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront 33542d3 @​dependabot[bot]
  • deps: Upgrade github.com/alecthomas/chroma/v2 v2.20.0 => v2.21.0 588d20b @​bep #​14266
  • build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.40.1 to 1

Configuration

📅 Schedule: 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 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 enabled auto-merge (squash) August 22, 2025 23:18
@renovate
Copy link
Contributor Author

renovate bot commented Aug 22, 2025

ℹ Artifact update notice

File name: deps/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 13 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.18 -> 1.24.0
github.com/bep/godartsass/v2 v2.0.0 -> v2.5.0
github.com/bep/golibsass v1.1.1 -> v1.2.0
github.com/bep/overlayfs v0.9.2 -> v0.10.0
github.com/fatih/color v1.16.0 -> v1.18.0
github.com/niklasfasching/go-org v1.7.0 -> v1.9.1
github.com/pelletier/go-toml/v2 v2.1.1 -> v2.2.4
github.com/spf13/afero v1.11.0 -> v1.15.0
github.com/spf13/cast v1.6.0 -> v1.10.0
github.com/tdewolff/parse/v2 v2.7.12 -> v2.8.5-0.20251020133559-0efcf90bef1a
golang.org/x/net v0.22.0 -> v0.46.0
golang.org/x/sys v0.18.0 -> v0.37.0
golang.org/x/text v0.14.0 -> v0.30.0
google.golang.org/protobuf v1.31.0 -> v1.36.9

@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch 3 times, most recently from 7d320d1 to 1fd64d0 Compare August 27, 2025 21:06
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.148.2 fix(deps): update module github.com/gohugoio/hugo to v0.149.0 Aug 27, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 1fd64d0 to 78e8936 Compare September 4, 2025 16:50
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.149.0 fix(deps): update module github.com/gohugoio/hugo to v0.149.1 Sep 4, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 78e8936 to d1f0165 Compare September 8, 2025 14:07
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.149.1 fix(deps): update module github.com/gohugoio/hugo to v0.150.0 Sep 8, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from d1f0165 to 2f151bc Compare September 16, 2025 19:13
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 2f151bc to fd01f5e Compare September 25, 2025 13:26
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.150.0 fix(deps): update module github.com/gohugoio/hugo to v0.150.1 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from fd01f5e to 66a1931 Compare October 2, 2025 16:34
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.150.1 fix(deps): update module github.com/gohugoio/hugo to v0.151.0 Oct 2, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 66a1931 to ef44c18 Compare October 15, 2025 16:47
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.151.0 fix(deps): update module github.com/gohugoio/hugo to v0.151.1 Oct 15, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from ef44c18 to 00dd4c6 Compare October 16, 2025 22:08
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.151.1 fix(deps): update module github.com/gohugoio/hugo to v0.151.2 Oct 16, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 00dd4c6 to 419661a Compare October 22, 2025 03:33
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.151.2 fix(deps): update module github.com/gohugoio/hugo to v0.152.0 Oct 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 419661a to 0be6ff7 Compare October 22, 2025 20:13
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.152.0 fix(deps): update module github.com/gohugoio/hugo to v0.152.1 Oct 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 0be6ff7 to 83e87ae Compare October 24, 2025 22:09
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.152.1 fix(deps): update module github.com/gohugoio/hugo to v0.152.2 Oct 24, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ Artifact update notice

File name: deps/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 14 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.18 -> 1.25.0
github.com/bep/godartsass/v2 v2.0.0 -> v2.5.0
github.com/bep/golibsass v1.1.1 -> v1.2.0
github.com/bep/overlayfs v0.9.2 -> v0.10.0
github.com/fatih/color v1.16.0 -> v1.18.0
github.com/mattn/go-colorable v0.1.13 -> v0.1.14
github.com/niklasfasching/go-org v1.7.0 -> v1.9.1
github.com/pelletier/go-toml/v2 v2.1.1 -> v2.2.4
github.com/spf13/afero v1.11.0 -> v1.15.0
github.com/spf13/cast v1.6.0 -> v1.10.0
github.com/tdewolff/parse/v2 v2.7.12 -> v2.8.5
golang.org/x/net v0.22.0 -> v0.50.0
golang.org/x/sys v0.18.0 -> v0.41.0
golang.org/x/text v0.14.0 -> v0.34.0
google.golang.org/protobuf v1.31.0 -> v1.36.11

@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 83e87ae to effa6f0 Compare December 20, 2025 15:11
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.152.2 fix(deps): update module github.com/gohugoio/hugo to v0.153.0 Dec 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from effa6f0 to 30e3621 Compare December 21, 2025 03:06
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.153.0 fix(deps): update module github.com/gohugoio/hugo to v0.153.1 Dec 21, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.153.1 fix(deps): update module github.com/gohugoio/hugo to v0.153.2 Dec 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 1213c59 to 05711b2 Compare December 27, 2025 08:08
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.153.2 fix(deps): update module github.com/gohugoio/hugo to v0.153.3 Dec 27, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 05711b2 to a3775e5 Compare December 29, 2025 01:52
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.153.3 fix(deps): update module github.com/gohugoio/hugo to v0.153.4 Dec 29, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from a3775e5 to b3c28a5 Compare December 30, 2025 15:12
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.153.4 fix(deps): update module github.com/gohugoio/hugo to v0.153.5 Dec 30, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from b3c28a5 to fb2951d Compare December 31, 2025 16:58
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.153.5 fix(deps): update module github.com/gohugoio/hugo to v0.154.0 Dec 31, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from fb2951d to 5eddcb2 Compare January 1, 2026 21:57
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.154.0 fix(deps): update module github.com/gohugoio/hugo to v0.154.1 Jan 1, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 5eddcb2 to 13c2fe2 Compare January 2, 2026 21:39
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.154.1 fix(deps): update module github.com/gohugoio/hugo to v0.154.2 Jan 2, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 13c2fe2 to a065acb Compare January 6, 2026 21:49
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.154.2 fix(deps): update module github.com/gohugoio/hugo to v0.154.3 Jan 6, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from a065acb to 83b6c13 Compare January 11, 2026 04:05
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.154.3 fix(deps): update module github.com/gohugoio/hugo to v0.154.4 Jan 11, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 83b6c13 to c615789 Compare January 12, 2026 07:55
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.154.4 fix(deps): update module github.com/gohugoio/hugo to v0.154.5 Jan 12, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from c615789 to 92ab0f8 Compare January 28, 2026 18:40
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.154.5 fix(deps): update module github.com/gohugoio/hugo to v0.155.0 Jan 28, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 92ab0f8 to db54036 Compare January 31, 2026 06:24
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.155.0 fix(deps): update module github.com/gohugoio/hugo to v0.155.1 Jan 31, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from db54036 to dd5208f Compare February 2, 2026 14:58
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.155.1 fix(deps): update module github.com/gohugoio/hugo to v0.155.2 Feb 2, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from dd5208f to e224717 Compare February 9, 2026 07:00
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.155.2 fix(deps): update module github.com/gohugoio/hugo to v0.155.3 Feb 9, 2026
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from e224717 to ec07561 Compare February 18, 2026 19:42
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.155.3 fix(deps): update module github.com/gohugoio/hugo to v0.156.0 Feb 18, 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