Skip to content

chore: bump github.com/gohugoio/hugo from 0.147.0 to 0.161.1#720

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/gohugoio/hugo-0.161.1
Open

chore: bump github.com/gohugoio/hugo from 0.147.0 to 0.161.1#720
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/gohugoio/hugo-0.161.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps github.com/gohugoio/hugo from 0.147.0 to 0.161.1.

Release notes

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

v0.161.1

What's Changed

v0.161.0

This release contains two security hardening fixes:

  • We now run the Node tools PostCSS, Babel and TailwindCSS, by default, with the --permission flag with the permissions defined in security.node.permissions. This means that you need Node >= 22 installed and that css.TailwindCSS now requires that the Tailwind CSS CLI must be installed as a Node.js package. The standalone executable is no longer supported
  • We have made the defaults in security.http.urls more restrictive.

But there are some notable new features, as well:

Nested vars support in css.Build and css.Sass

A practical example in css.Build would be to have something like this in hugo.toml:

[params.style]
    primary    = "[#000000](https://github.com/gohugoio/hugo/issues/000000)"
    background = "#ffffff"
    [params.style.dark]
        primary    = "#ffffff"
        background = "[#000000](https://github.com/gohugoio/hugo/issues/000000)"

And in the stylesheet:

@import "hugo:vars";
@import "hugo:vars/dark" (prefers-color-scheme: dark);
:root {
color-scheme: light dark;
}

Slice-based permalinks config

The permalinks configuration is now much more flexible (the old setup still works). It uses the same target matchers as in the cascade config, meaning you can now do:

permalinks:
  - target:
      kind: page
      path: "/books/**"
</tr></table> 

... (truncated)

Commits
  • ea8f66a releaser: Bump versions for release of 0.161.1
  • c4eba92 resources: Honor Retry-After header in resources.GetRemote retries
  • 8b40a96 warpc: Move to parson.c in https://github.com/kgabis/parson
  • d65af84 config/security: Add AllowChildProcess to security.node.permissions
  • 454450a config/security: Restrict default http.urls "@" deny to userinfo
  • 2bfcc6b releaser: Prepare repository for 0.162.0-DEV
  • 98d396c releaser: Bump versions for release of 0.161.0
  • d4ae662 build(deps): bump github.com/getkin/kin-openapi from 0.135.0 to 0.137.0
  • 9ede5fb build(deps): bump github.com/mattn/go-isatty from 0.0.21 to 0.0.22
  • 833a878 build(deps): bump github.com/tdewolff/minify/v2 from 2.24.12 to 2.24.13
  • 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo) from 0.147.0 to 0.161.1.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Commits](gohugoio/hugo@v0.147.0...v0.161.1)

---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
  dependency-version: 0.161.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 May 4, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 4, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
codeserver 060fe77 May 04 2026, 01:36 PM

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang/​golang.org/​x/​oauth2@​v0.29.0 ⏵ v0.36.071 +1100100100100
Updatedgolang/​github.com/​aws/​aws-sdk-go-v2@​v1.36.3 ⏵ v1.41.671 +1100100100100
Updatedgolang/​github.com/​aws/​smithy-go@​v1.22.3 ⏵ v1.25.072 +1100100100100
Updatedgolang/​golang.org/​x/​crypto@​v0.39.0 ⏵ v0.50.074 +1100 +3100100100
Updatedgolang/​golang.org/​x/​net@​v0.41.0 ⏵ v0.53.075 +1100 +2100100100
Updatedgolang/​github.com/​gohugoio/​hugo@​v0.147.0 ⏵ v0.161.175 +1100 +2100100100
Updatedgolang/​golang.org/​x/​tools@​v0.33.0 ⏵ v0.44.075100100100100
Updatedgolang/​google.golang.org/​grpc@​v1.73.0 ⏵ v1.80.075 +1100 +75100100100
Updatedgolang/​google.golang.org/​protobuf@​v1.36.6 ⏵ v1.36.1175 +1100100100100
Updatedgolang/​go.opentelemetry.io/​otel@​v1.37.0 ⏵ v1.43.076 +1100 +16100100100
Updatedgolang/​golang.org/​x/​text@​v0.26.0 ⏵ v0.36.077100100100100
Updatedgolang/​google.golang.org/​api@​v0.231.0 ⏵ v0.276.079 +1100100100100
Updatedgolang/​github.com/​prometheus/​client_model@​v0.6.1 ⏵ v0.6.210010010010080
Updatedgolang/​golang.org/​x/​sys@​v0.33.0 ⏵ v0.43.084100100100100
Updatedgolang/​github.com/​aws/​aws-sdk-go-v2/​config@​v1.29.14 ⏵ v1.32.288100100100100
Updatedgolang/​github.com/​stretchr/​testify@​v1.10.0 ⏵ v1.11.196 +1100100100100
Updatedgolang/​golang.org/​x/​mod@​v0.25.0 ⏵ v0.35.096100100100100
Updatedgolang/​github.com/​spf13/​pflag@​v1.0.6 ⏵ v1.0.1097100100100100
Updatedgolang/​github.com/​go-jose/​go-jose/​v4@​v4.1.0 ⏵ v4.1.498100 +16100100100
Updatedgolang/​cloud.google.com/​go/​compute/​metadata@​v0.7.0 ⏵ v0.9.098 +1100100100100
Updatedgolang/​go.opentelemetry.io/​otel/​sdk@​v1.37.0 ⏵ v1.43.098 +1100 +22100100100
Updatedgolang/​go.opentelemetry.io/​otel/​exporters/​otlp/​otlptrace/​otlptracegrpc@​v1.35.0 ⏵ v1.38.099 +1100100100100
Updatedgolang/​golang.org/​x/​sync@​v0.15.0 ⏵ v0.20.099100100100100
Updatedgolang/​go.opentelemetry.io/​otel/​trace@​v1.37.0 ⏵ v1.43.0100 +1100100100100
Updatedgolang/​golang.org/​x/​term@​v0.32.0 ⏵ v0.42.0100 +1100100100100
Updatedgolang/​github.com/​aws/​aws-sdk-go-v2/​feature/​rds/​auth@​v1.5.1 ⏵ v1.6.14100100100100100
Updatedgolang/​github.com/​mattn/​go-isatty@​v0.0.20 ⏵ v0.0.22100100100100100
Updatedgolang/​go.opentelemetry.io/​otel/​exporters/​otlp/​otlptrace@​v1.35.0 ⏵ v1.38.0100100100100100

View full report

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.

0 participants