Skip to content

Bump gohugoio/hugo from v0.167.0 to v0.168.0 - #53

Merged
andrew merged 1 commit into
mainfrom
dependabot/docker/gohugoio/hugo-v0.168.0
Oct 15, 2026
Merged

andrew merged 1 commit into
mainfrom
dependabot/docker/gohugoio/hugo-v0.168.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Cooldown could not be applied because no publication date was available from the registry.

Bumps gohugoio/hugo from v0.167.0 to v0.168.0.

Release notes

Sourced from gohugoio/hugo's releases.

v0.168.0

Notable new features

  • New imaging.firstFrameOnly option (and a matching processing flag) to only decode/encode the first frame of animated images. Hugo now also only decodes the first frame when the target format doesn't support animation, and fails early with an informative error if processing all frames would exceed the WASM memory limit.
  • New FrameCount method on images, e.g. to check if an image is animated.
  • site.Language now has Translate and Format* methods, so you can e.g. range over site.Languages and translate into each language.
  • New charset option for js.Build and css.Build.
  • Basic support for the OSC 7501 program status (working/done/idle/error) in terminals that support it, alongside the existing OSC 9;4 progress.

Security fixes

This release is built with Go 1.27.2, which includes 15 security fixes. The most relevant for Hugo are:

  • Two html/template escaping fixes, which also apply to Hugo's fork of the package: CVE-2026-94448 (context tracking not reset on consecutive expressions in JS template literals) and CVE-2026-97030 (yield not recognized as a regexp preceder keyword). Both could lead to incorrect escaping of inline JavaScript.
  • Several net/http fixes (HTTP/2 server crash and memory exhaustion, connection desynchronization, unbounded Range header parsing), relevant for hugo server and remote resources. The corresponding HTTP/2 fixes are also included via the upgrade of golang.org/x/net to v0.61.0.
  • CVE-2026-56857: os.Root.Mkdir(All) could follow junctions out of the root on Windows.

Also:

  • github.com/tdewolff/minify is upgraded to v2.24.19, which fixes GHSA-3ppm-p7r9-c5w3: </script> (and <!--) inside inline scripts was not properly escaped (case-insensitively) when minifying JS in HTML.
  • Hugo now ignores module.replacements defined in themes; only the project can define replacements.

Changes

  • Fix PAGE.IsNode warning in jsonify 0732eadd @​bep #15420
  • hugolib: Fix rebuild when content is also mounted as assets ac62c804 @​taekop #12838
  • Fix deprecation issues in tests be8ffd62 @​bep
  • circleci: Update config.yml to version 2.1 285d0efc @​bep
  • warpc: Upgrade libavif, AOM, dav1d versions c94bdf92 @​bep
  • warpc: Upgrade to javy 9.1.0 63fb71ca @​bep
  • warpc: Upgrade to wasi-sdk-34 2f2f33b2 @​bep
  • ci: Drop extended build tag on Windows tests 53aae446 @​bep
  • Add imaging.firstFrameOnly and some animation performance improvements 13ee7e97 @​bep #15433
  • js, css: Add charset option to js.Build and css.Build 0688a8cd @​bep #15435
  • Add ImageResource.FrameCount c9f6e4d4 @​bep #15430
  • Add Translate and Format* methods to Language df8badea @​bep #7844
  • Add basic support for OSC 7501 program status d1024ae6 @​bep #15425
  • modules: Ignore module.replacements defined in themes 6883b55a @​bep
  • Upgrade to Go 1.27.2 f44c355e @​bep #15427
  • ci: Add temporary workaround for staticcheck vs Go 1.27.2 46123a60 @​bep
  • transform/metainject: Inject Hugo generator tag last in 31f5395d @​toddy15
  • Make tests run on GOARCH 386 6b3ba3a7 @​bep #15403
  • Update vulnerability reporting instructions ec69d0e6 @​bep

Dependency Updates

  • build(deps): bump golang.org/x/image from 0.46.0 to 0.47.0 2bbad501 @​dependabot[bot]
  • build(deps): bump golang.org/x/mod from 0.41.0 to 0.42.0 030619b4 @​dependabot[bot]
  • build(deps): bump golang.org/x/net from 0.59.0 to 0.61.0 13ef7079 @​dependabot[bot]
  • build(deps): bump github.com/bits-and-blooms/bitset 846b1d74 @​dependabot[bot]

... (truncated)

Commits
  • e27a676 releaser: Bump versions for release of 0.168.0
  • 285d0ef circleci: Update config.yml to version 2.1
  • 2bbad50 build(deps): bump golang.org/x/image from 0.46.0 to 0.47.0
  • 030619b build(deps): bump golang.org/x/mod from 0.41.0 to 0.42.0
  • c94bdf9 warpc: Upgrade libavif, AOM, dav1d versions
  • 63fb71c warpc: Upgrade to javy 9.1.0
  • 2f2f33b warpc: Upgrade to wasi-sdk-34
  • 13ef707 build(deps): bump golang.org/x/net from 0.59.0 to 0.61.0
  • 53aae44 ci: Drop extended build tag on Windows tests
  • 13ee7e9 Add imaging.firstFrameOnly and some animation performance improvements
  • 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 [gohugoio/hugo](https://github.com/gohugoio/hugo) from v0.167.0 to v0.168.0.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Commits](gohugoio/hugo@v0.167.0...v0.168.0)

---
updated-dependencies:
- dependency-name: gohugoio/hugo
  dependency-version: v0.168.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file docker Pull requests that update docker code labels Oct 15, 2026
@andrew
andrew merged commit 3ca19b0 into main Oct 15, 2026
2 checks passed
@andrew
andrew deleted the dependabot/docker/gohugoio/hugo-v0.168.0 branch October 15, 2026 08:11
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 docker Pull requests that update docker code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant