Skip to content

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

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.159.0#250
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-gohugoio-hugo-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 15, 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.146.4v0.159.0 age confidence

Release Notes

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

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

Dependency Updates

Documentation

v0.158.0

Compare Source

This release adds css.Build, native and very fast bundling/transformation/minifying of CSS resources. Also see the new strings.ReplacePairs, a very fast option if you need to do many string replacements.

Notes
Deprecations

The methods and config options are deprecated and will be removed in a future Hugo release.

Also see this article

Language configuration
  • languageCode → Use locale instead.
  • languages.<lang>.languageCode → Use languages.<lang>.locale instead.
  • languages.<lang>.languageName → Use languages.<lang>.label instead.
  • languages.<lang>.languageDirection → Use languages.<lang>.direction instead.
Language methods
  • .Site.LanguageCode → Use .Site.Language.Locale instead.
  • .Language.LanguageCode → Use .Language.Locale instead.
  • .Language.LanguageName → Use .Language.Label instead.
  • .Language.LanguageDirection → Use .Language.Direction instead.
Bug fixes
Improvements
Dependency Updates

v0.157.0

Compare Source

The notable new feature is GitInfo support for Hugo Modules. See this repo for a runnable demo where multiple versions of the same content is mounted into different versions.

Bug fixes

Improvements

Dependency Updates

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 so

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) April 15, 2025 22:58
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.146.5 fix(deps): update module github.com/gohugoio/hugo to v0.146.6 Apr 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch 2 times, most recently from 0b9a7ca to 8086773 Compare April 22, 2025 19:48
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.146.6 fix(deps): update module github.com/gohugoio/hugo to v0.146.7 Apr 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 8086773 to d416638 Compare April 25, 2025 19:48
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.146.7 fix(deps): update module github.com/gohugoio/hugo to v0.147.0 Apr 25, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from d416638 to a9dc9f7 Compare May 1, 2025 15:08
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.0 fix(deps): update module github.com/gohugoio/hugo to v0.147.1 May 1, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from a9dc9f7 to 39013f2 Compare May 6, 2025 17:35
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.1 fix(deps): update module github.com/gohugoio/hugo to v0.147.2 May 6, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 39013f2 to 892a285 Compare May 12, 2025 13:18
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.2 fix(deps): update module github.com/gohugoio/hugo to v0.147.3 May 12, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 892a285 to a046dd2 Compare May 20, 2025 11:43
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.3 fix(deps): update module github.com/gohugoio/hugo to v0.147.4 May 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from a046dd2 to e6fbac6 Compare May 22, 2025 12:27
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.4 fix(deps): update module github.com/gohugoio/hugo to v0.147.5 May 22, 2025
@renovate
Copy link
Contributor Author

renovate bot commented May 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):

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

Details:

Package Change
go 1.23.0 -> 1.24.0
github.com/gohugoio/hashstructure v0.5.0 -> v0.6.0
github.com/niklasfasching/go-org v1.7.0 -> v1.9.1
github.com/spf13/afero v1.14.0 -> v1.15.0
github.com/spf13/cast v1.7.1 -> v1.10.0
github.com/tdewolff/parse/v2 v2.7.18 -> v2.8.5-0.20251020133559-0efcf90bef1a
golang.org/x/net v0.39.0 -> v0.46.0
golang.org/x/sys v0.32.0 -> v0.37.0
golang.org/x/text v0.24.0 -> v0.30.0
google.golang.org/protobuf v1.36.5 -> v1.36.9

@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from e6fbac6 to 645c19a Compare May 27, 2025 13:15
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.5 fix(deps): update module github.com/gohugoio/hugo to v0.147.6 May 27, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.6 fix(deps): update module github.com/gohugoio/hugo to v0.147.7 May 31, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 645c19a to 360b6dc Compare May 31, 2025 13:58
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 360b6dc to 48c65b9 Compare June 7, 2025 18:32
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.7 fix(deps): update module github.com/gohugoio/hugo to v0.147.8 Jun 7, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 48c65b9 to 4cc4230 Compare June 23, 2025 11:48
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.8 fix(deps): update module github.com/gohugoio/hugo to v0.147.9 Jun 23, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.147.9 fix(deps): update module github.com/gohugoio/hugo to v0.147.9 - autoclosed Jun 29, 2025
@renovate renovate bot closed this Jun 29, 2025
auto-merge was automatically disabled June 29, 2025 09:31

Pull request was closed

@renovate renovate bot deleted the renovate/github.com-gohugoio-hugo-0.x branch June 29, 2025 09:31
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 1aeeb42 to 69655b2 Compare July 11, 2025 19:31
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.148.0 fix(deps): update module github.com/gohugoio/hugo to v0.148.1 Jul 11, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 69655b2 to 58d4153 Compare July 27, 2025 13:56
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.148.1 fix(deps): update module github.com/gohugoio/hugo to v0.148.2 Jul 27, 2025
@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.148.2 - autoclosed Jul 29, 2025
@renovate renovate bot closed this Jul 29, 2025
auto-merge was automatically disabled July 29, 2025 18:11

Pull request was closed

@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.148.2 - autoclosed fix(deps): update module github.com/gohugoio/hugo to v0.148.2 Jul 30, 2025
@renovate renovate bot reopened this Jul 30, 2025
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 78e5b48 to 58d4153 Compare July 30, 2025 00:58
@renovate renovate bot enabled auto-merge (squash) July 30, 2025 07:12
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 58d4153 to 9fa8e01 Compare August 27, 2025 21:54
@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 9fa8e01 to 285189e Compare September 4, 2025 17:58
@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 285189e to 88b5d0f Compare September 8, 2025 17:45
@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 88b5d0f to 34b19f1 Compare September 25, 2025 13:15
@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 34b19f1 to 635fc7e Compare October 2, 2025 17:28
@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 635fc7e to 8ab478c Compare October 15, 2025 15:48
@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 8ab478c to 31ca32b Compare October 16, 2025 22:14
@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 31ca32b to 923a25d Compare October 22, 2025 02:45
@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 923a25d to 01784a3 Compare October 22, 2025 21:36
@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):

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

Details:

Package Change
go 1.23.0 -> 1.25.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/spf13/afero v1.14.0 -> v1.15.0
github.com/spf13/cast v1.7.1 -> v1.10.0
github.com/tdewolff/parse/v2 v2.7.18 -> v2.8.10
golang.org/x/net v0.39.0 -> v0.52.0
golang.org/x/sys v0.32.0 -> v0.42.0
golang.org/x/text v0.24.0 -> v0.35.0
google.golang.org/protobuf v1.36.5 -> v1.36.11

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