Skip to content

chore(deps): bump github.com/gohugoio/hugo from 0.157.0 to 0.159.2 in /packages/api in the go_modules group across 1 directory#2530

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/packages/api/go_modules-22214a4e5f
Closed

chore(deps): bump github.com/gohugoio/hugo from 0.157.0 to 0.159.2 in /packages/api in the go_modules group across 1 directory#2530
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/packages/api/go_modules-22214a4e5f

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 30, 2026

Bumps the go_modules group with 1 update in the /packages/api directory: github.com/gohugoio/hugo.

Updates github.com/gohugoio/hugo from 0.157.0 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the go_modules group with 1 update in the /packages/api directory: [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo).


Updates `github.com/gohugoio/hugo` from 0.157.0 to 0.159.2
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Commits](gohugoio/hugo@v0.157.0...v0.159.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 30, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 30, 2026
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, straightforward Dependabot bump of Hugo (indirect dep) and kin-openapi minor version.

Extended reasoning...

Overview

This PR bumps github.com/gohugoio/hugo from 0.157.0 to 0.159.2 and github.com/getkin/kin-openapi from 0.133.0 to 0.134.0 in packages/api. Changes are limited to go.mod and go.sum with associated transitive dependency updates (e.g., tdewolff/minify, evanw/esbuild, yuin/goldmark). Hugo is an indirect dependency, pulled in via kin-openapi.

Security risks

The Hugo 0.159.2 release contains a content XSS fix for dangerous URLs in Markdown links/images, but that codepath is only relevant when rendering untrusted Markdown — not exercised by API code that uses kin-openapi for OpenAPI schema validation. No new direct security-sensitive surface is introduced.

Level of scrutiny

Low. This is a mechanical Dependabot update with no source code changes. CI (build/test) is the right gate for verifying compatibility, not human review.

Other factors

The bug hunting system found no issues. No prior reviewer comments to address. Patch/minor version bumps within the same major are low risk.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 1, 2026

Superseded by #2539.

@dependabot dependabot Bot closed this May 1, 2026
@dependabot dependabot Bot deleted the dependabot/go_modules/packages/api/go_modules-22214a4e5f branch May 1, 2026 22:27
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant