Skip to content

Bump gohugoio/hugo from v0.165.0 to v0.166.0 - #47

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/docker/gohugoio/hugo-v0.166.0
Open

Bump gohugoio/hugo from v0.165.0 to v0.166.0#47
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/docker/gohugoio/hugo-v0.166.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 10, 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.165.0 to v0.166.0.

Release notes

Sourced from gohugoio/hugo's releases.

v0.166.0

Note

  • tpl/transform: Bump fileCacheEntryVersion in transform.ToMath (note) 8d88b8b4 @​bep #15267
  • resources/images: Bump formatVersionNumbers.PNG and fix version cache busting for images.Filter (note) d19e0a4b @​bep #12536 #12543 #15266
  • warpc/js: Upgrade katex to 0.18.4 (note) ec52e638 @​bep #15254
  • hexec: Fail on symlinks that escape the Node.js permission paths c05c012a @​bep
  • config/security: Deny text/org content by default e6abb9c3 @​bep
  • config/security: Add http.proxyFromEnvironment and document the resolved address check 6a2a955d @​bep #15301 #15302

When upgrading to Hugo v0.166.0, sites using transform.ToMath with the output option set to html or htmlAndMathml must update the KaTeX stylesheet referenced in their template(s) to version 0.18.4 or higher. Using older CSS versions like 0.16.21 will cause certain mathematical or chemical expressions to render incorrectly.

Example update:

- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css">
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.18.4/dist/katex.min.css">

See these examples:

Bug fixes

  • tpl/strings: Fix replaceRE with zero-width assertions ae07063f @​youdie006
  • common/hreflect: Fix the off-by-one in the float to int overflow guards 5130d000 @​youdie006
  • resources/images: Fix filters on transparent colors and paletted images 77856683 @​bep #12536 #12543
  • github: Fix workflow for stale issues efe5cbc7 @​jmooring #15261
  • all: Run modernize -fix ./... 7b5199fd @​bep
  • commands: Fix lang flag description in config command 87260e4a @​jmooring #15223
  • hugolib: Fix slice bounds panic when deleting multiple nodes at same path 49dceb19 @​bep #15207
  • hugolib: Fix ReadingTime and FuzzyWordCount calculations 5e709925 @​jmooring #15206

Improvements

  • js: Add es2025 as supported build target 857120b7 @​bep #15307
  • hugofs: Drop symlinked mount roots 938c8206 @​bep
  • markup/highlight: Escape lineAnchors before passing it to Chroma 3b2d3b82 @​bep
  • tpl/partials: Slight performance improvement of the common partialCached case 9c2527f8 @​bep
  • Add internalExternal.IgnoreTailwindCSSSecurityError config option a36bd274 @​bep
  • config/security: Harden the default http.urls and resolved address checks (#15285) 24d5e42f @​bep
  • resources/images: Preserve the source palette for geometric filter chains 9e7c978e @​bep #12543
  • resources/images: Add golden test cases for geometric filter chains on paletted images 6b5b7d82 @​bep #12543
  • resources/images: Add some golden test cases 62e24b7e @​bep #12536 #12543
  • related: Speed up index creation f61346ed @​bep
  • related: Add tokenize option for index values 850f11c0 @​jmooring #7515 #15199
  • resources/page: Don't let a title's "/" split an auto-derived slug 39507d51 @​ipince #4092 #3577 #5571 #4090
  • config/allconfig: Improve resilience of hugo mod init 90fe5068 @​jmooring #15253

... (truncated)

Commits
  • 78400b4 releaser: Bump versions for release of 0.166.0
  • 3fbfd27 build(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2
  • 393de58 build(deps): bump golang.org/x/sync from 0.22.0 to 0.23.0
  • 870f746 build(deps): bump golang.org/x/mod from 0.40.0 to 0.41.0
  • ae07063 tpl/strings: Fix replaceRE with zero-width assertions
  • 6152e22 build(deps): bump github.com/getkin/kin-openapi from 0.146.0 to 0.149.0
  • 5b6e7c2 build(deps): bump github.com/bits-and-blooms/bitset
  • 5130d00 common/hreflect: Fix the off-by-one in the float to int overflow guards
  • c05c012 hexec: Fail on symlinks that escape the Node.js permission paths
  • 857120b js: Add es2025 as supported build target
  • 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.165.0 to v0.166.0.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Commits](gohugoio/hugo@v0.165.0...v0.166.0)

---
updated-dependencies:
- dependency-name: gohugoio/hugo
  dependency-version: v0.166.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 Sep 10, 2026
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.

0 participants