Skip to content

deps: Bump github.com/gohugoio/hugo from 0.149.1 to 0.159.2#29

Merged
kan merged 1 commit intomainfrom
dependabot/go_modules/github.com/gohugoio/hugo-0.159.2
Apr 13, 2026
Merged

deps: Bump github.com/gohugoio/hugo from 0.149.1 to 0.159.2#29
kan merged 1 commit intomainfrom
dependabot/go_modules/github.com/gohugoio/hugo-0.159.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 3, 2026

Bumps github.com/gohugoio/hugo from 0.149.1 to 0.159.2.

Release notes

Sourced from github.com/gohugoio/hugo's releases.

v0.159.2

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

  • Fix potential content XSS by escaping dangerous URLs in Markdown links and images 479fe6c6 @​bep
  • resources/page: Fix shared reader in Source.ValueAsOpenReadSeekCloser df520e31 @​jmooring #14684

v0.159.1

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

  • minifiers: Keep x-bind and blank namespace in SVG minification 42289d76 @​bep #14669

v0.159.0

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 a8fca598 @​bep
  • Replace deprecated excludeFiles and includeFiles with files in tests 182b1045 @​bep
  • Replace deprecated :filename with :contentbasename in the permalinks test eb11c3d0 @​bep

Bug fixes

Improvements

  • create: Return error instead of panic when page not found 807cae1d @​mango766 #14112
  • commands: Preserve non-content files in convert output c4fb61d9 @​xndvaz #4621
  • npm: Use workspaces to simplify hugo mod npm pack d88a29e0 @​bep

... (truncated)

Commits
  • 5f4646a releaser: Bump versions for release of 0.159.2
  • 479fe6c Fix potential content XSS by escaping dangerous URLs in links and images
  • 81a5cdc releaser: Add standard withdeploy release assets
  • df520e3 resources/page: Fix shared reader in Source.ValueAsOpenReadSeekCloser
  • b55d452 testing: Simplify line ending handling in tests
  • ea7eac6 readme: Update Go version to 1.25.0
  • 458ebdd releaser: Prepare repository for 0.160.0-DEV
  • 86c7d3a releaser: Bump versions for release of 0.159.1
  • 42289d7 minifiers: Keep x-bind and blank namespace in SVG minification
  • 0c013c2 Adjust depreceated syntax in tests
  • Additional commits viewable in compare view

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 3, 2026

Labels

The following labels could not be found: go. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 3, 2026
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gohugoio/hugo-0.159.2 branch from 2a2e83b to 2b7ac96 Compare April 13, 2026 01:49
@kan
Copy link
Copy Markdown
Owner

kan commented Apr 13, 2026

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gohugoio/hugo-0.159.2 branch from 2b7ac96 to 63545a2 Compare April 13, 2026 06:21
@kan
Copy link
Copy Markdown
Owner

kan commented Apr 13, 2026

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gohugoio/hugo-0.159.2 branch from 63545a2 to 07bc7a0 Compare April 13, 2026 06:27
@kan
Copy link
Copy Markdown
Owner

kan commented Apr 13, 2026

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gohugoio/hugo-0.159.2 branch from 07bc7a0 to 9c72a3e Compare April 13, 2026 06:34
@kan
Copy link
Copy Markdown
Owner

kan commented Apr 13, 2026

@dependabot rebase

Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo) from 0.149.1 to 0.159.2.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Commits](gohugoio/hugo@v0.149.1...v0.159.2)

---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
  dependency-version: 0.159.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gohugoio/hugo-0.159.2 branch from 9c72a3e to ae52373 Compare April 13, 2026 06:56
@kan kan merged commit 79f18b5 into main Apr 13, 2026
9 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/gohugoio/hugo-0.159.2 branch April 13, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant