Download Latest Version hugo_0.169.0_windows-amd64.zip (22.4 MB)
Home / v0.166.0
Name Modified Size InfoDownloads / Week
Parent folder
hugo_0.166.0_checksums.txt 2026-09-09 3.7 kB
hugo_withdeploy_0.166.0_linux-amd64.deb 2026-09-09 31.1 MB
hugo_withdeploy_0.166.0_linux-arm64.deb 2026-09-09 28.5 MB
hugo_extended_0.166.0_linux-amd64.deb 2026-09-09 22.6 MB
hugo_extended_0.166.0_linux-arm64.deb 2026-09-09 20.9 MB
hugo_extended_withdeploy_0.166.0_linux-amd64.deb 2026-09-09 32.0 MB
hugo_extended_withdeploy_0.166.0_linux-arm64.deb 2026-09-09 29.3 MB
hugo_0.166.0_linux-amd64.deb 2026-09-09 21.8 MB
hugo_0.166.0_linux-arm64.deb 2026-09-09 20.2 MB
hugo_withdeploy_0.166.0_windows-amd64.zip 2026-09-09 31.8 MB
hugo_0.166.0_windows-arm64.zip 2026-09-09 20.4 MB
hugo_extended_0.166.0_windows-amd64.zip 2026-09-09 23.4 MB
hugo_extended_withdeploy_0.166.0_windows-amd64.zip 2026-09-09 33.0 MB
hugo_0.166.0_windows-amd64.zip 2026-09-09 22.2 MB
hugo_extended_withdeploy_0.166.0_darwin-universal.pkg 2026-09-09 60.2 MB
hugo_withdeploy_0.166.0_darwin-universal.pkg 2026-09-09 58.5 MB
hugo_0.166.0_darwin-universal.pkg 2026-09-09 41.0 MB
hugo_extended_0.166.0_darwin-universal.pkg 2026-09-09 42.6 MB
hugo_extended_0.166.0_linux-arm64.tar.gz 2026-09-09 20.1 MB
hugo_extended_withdeploy_0.166.0_linux-arm64.tar.gz 2026-09-09 28.2 MB
hugo_withdeploy_0.166.0_linux-arm64.tar.gz 2026-09-09 27.4 MB
hugo_extended_withdeploy_0.166.0_Linux-64bit.tar.gz 2026-09-09 30.7 MB
hugo_withdeploy_0.166.0_Linux-64bit.tar.gz 2026-09-09 29.9 MB
hugo_withdeploy_0.166.0_linux-amd64.tar.gz 2026-09-09 29.9 MB
hugo_0.166.0_openbsd-amd64.tar.gz 2026-09-09 20.9 MB
hugo_0.166.0_solaris-amd64.tar.gz 2026-09-09 20.9 MB
hugo_extended_0.166.0_Linux-64bit.tar.gz 2026-09-09 21.7 MB
hugo_extended_0.166.0_linux-amd64.tar.gz 2026-09-09 21.7 MB
hugo_extended_withdeploy_0.166.0_linux-amd64.tar.gz 2026-09-09 30.7 MB
hugo_0.166.0_netbsd-amd64.tar.gz 2026-09-09 20.9 MB
hugo_0.166.0_dragonfly-amd64.tar.gz 2026-09-09 20.9 MB
hugo_0.166.0_freebsd-amd64.tar.gz 2026-09-09 20.9 MB
hugo_0.166.0_Linux-64bit.tar.gz 2026-09-09 20.9 MB
hugo_0.166.0_linux-amd64.tar.gz 2026-09-09 20.9 MB
hugo_0.166.0_linux-arm64.tar.gz 2026-09-09 19.3 MB
hugo_0.166.0_linux-arm.tar.gz 2026-09-09 19.5 MB
README.md 2026-09-09 5.7 kB
v0.166.0 source code.tar.gz 2026-09-09 12.0 MB
v0.166.0 source code.zip 2026-09-09 13.4 MB
Totals: 39 Items   990.4 MB 1

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:

:::diff

- <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]
  • tpl: Separate deferred templates by escaping mode 49835f8f @Soundcreates [#15234]
  • resources: Validate the resolved address on remote fetches d6e6f9e5 @bep [#15247]
  • markup: Escape code-fence attribute values in the default renderer e4dc48cf @bep [#15247]
  • hugolib: Make .Render take an optional context argument bcde8063 @bep [#15077]
  • modules/npm: Make the generated workspace package private with a stable name df4ac348 @bep [#15245]
  • common/hstore: Keep read lock while sorting map values 166d3ee1 @Soundcreates [#15237]
  • metrics: Improve template metrics duration formatting a25af7fa @Shiwang0-0 [#15027]
  • Remove comments from rebuild test functions 723579ff @bep
  • hugolib: Add some fast render mode integration tests 85ad5e48 @bep
  • Upgrade to Go 1.27 e31ff547 @bep [#15228]
  • tpl: Improve the return keyword in templates 8405b802 @bep [#15212]
  • page: Add IndexOf method to Pages bf05832d @Shiwang0-0 [#13589]
  • tpl/resources: Add resources.Publish a05736cb @bep [#15208]
  • markup/pandoc: Support pandoc 3.11 and later 423e9cea @jmooring [#15271] [#15280]

Dependency Updates

Source: README.md, updated 2026-09-09