Hugo

Latest version: v0.145.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 54

0.128.0

This release brings [TailwindCSS v4 (alpha)](https://gohugo.io/functions/css/tailwindcss/) support. For more info about the TailwindCSS 4 integration, see [this repo](https://github.com/bep/hugo-testing-tailwindcss-v4). Also notable is the new [templates.Defer](https://gohugo.io/functions/templates/defer/) template func and the dramatically improved performance of `$page.GetTerms` for bigger sites.


Bug fixes

* tpl/debug: Fix reset of debug timers when running the server c880faa99 bep 12621
* Fix Erroridf/Warnidf mixed case issue 8731d8822 bep 12617
* Fix live reload when both CSS and HTML changes ad6d91cab bep 12600
* config: Fix typo 7ee36b371 razonyang

Improvements

* Add css.TailwindCSS e1317dd32 bep 12618 12620
* Clean up the css related template funcs package structure eddcd2bac bep 12618
* modules: Remove newly introduced "mount source" does not exist warning 16e4662b7 bep
* Implement defer 6cd0784e4 bep 8086 12589
* common/hexec: Fall back to the binary in PATH if npx fails 1c85830bc bep 12486
* deploy: Add stripIndexHtml target option d5542ed28 depp 12607
* Speed up GetTerms 478a9107a bep 12610
* markup/goldmark: Add the Hugo Goldmark Extras "delete" extension 8efc75b73 jmooring 12597
* resources: Update Dart Sass error message 57165d44e jmooring
* resources/page: Deprecate PageSize in favor of PagerSize 9c3143c45 bep 12572
* Rename DefaultPageSize => PagerSize 9f22bc441 bep
* resources/page: Let GroupByParam return nil instead of error cba2de6ec jmooring 12578
* Add option to not generate aliases for first page of pagination pages 9c4e14eb4 bep 12572
* js: Support more recent targets with js.Build / esbuild 1cdd3d0a9 bep 12575

Dependency Updates

* deps: Upgrade github.com/yuin/goldmark v1.7.2 => v1.7.4 79da24a0e jmooring
* deps: Upgrade github.com/yuin/goldmark-emoji v1.0.2 => v1.0.3 b187c0658 jmooring
* deps: Upgrade github.com/alecthomas/chroma v2.13.0 => v2.14.0 8cf94aea7 jmooring 12580
* deps: Upgrade github.com/evanw/esbuild v0.20.2 => v0.21.4 b57306d61 bep 12575

Build Setup

* Delete unused release hook script 1687a9a58 bep 12378

Documentation

* Update README.md 3b724462c bep
* Update README.md b46d101d5 bep

0.127.0

This release brings proper [HTTP caching and live reloading](https://gohugo.io/getting-started/configuration/#configure-http-cache) of remote resources fetched with [resources.GetRemote](https://gohugo.io/functions/resources/getremote/), especially useful when used with [content adapters](https://gohugo.io/content-management/content-adapters/).


Note that this isn't enabled out of the box, so if you need this, you need to add some configuration. The demo below is configured as:

toml
[httpcache]
[httpcache.cache]
[httpcache.cache.for]
includes = ['https://sheets.googleapis.com/**']
[[httpcache.polls]]
low = '1s'
high = '30s'
[httpcache.polls.for]
includes = ['https://sheets.googleapis.com/**']


https://github.com/gohugoio/hugo/assets/394382/85ecc217-3342-4ed2-ae8a-ed357a658b64


What's Changed

* Add a HTTP cache for and polling configuration for remote resources. 447108fed bep 12502 11891
* Misc remote HTTP/content adapter enhancements 2b05a50f8 bep 12502 12570

0.126.3

* content adapter: Fix site.GetPage using the base part of the path 917199a94 bep 12561
* resources/page: Deprecate .Sites.First in favor of .Sites.Default c8dac67de jmooring 12513
* metrics: Increase maximum length of cumulative duration to 15 0068f0329 razonyang
* content adapter: Handle more separator in content.value 0221ddb39 bep 12556

0.126.2

Bug fixes

* content adapter: Fix server crash on partial edit 1464091ad bep 12538
* content adapter: Fix issue with content starting out with a shortcode 519f41dbd bep 12544
* tpl/tplimpl: Resolve render hook destinations with leading ./ b893a09aa jmooring 12514


Improvements

* Delete .github/workflows/test-dart-sass-v1.yml 2c88e454d bep
* commands: Add shorthand flags -M (--renderToMemory) and -N (--navigateToChanged) eaa42a875 bep 12530
* content adapter: Add support for menus in AddPage 245928a1f bep 12507
* hugolib: Allow override of sitemap file name 7f3061723 jmooring 12525
* commands: Improve list command 931e096f2 jmooring 12520
* config: Remove extraneous BuildConfig setting 548dc2137 jmooring 12519
* Also warn about duplicate content paths with --printPathWarnings 6b006616e bep 12511

0.126.1

What's Changed

* Fix mixed case Page params handling in content adapters 39cf906bc bep 12497
* Fix paths with dots issue with content adapters 1aacfced3 bep 12493

0.126.0

This release brings, drum roll, a long-awaited Hugo feature that has had many names. At one point we named it _pages from data_. You can read all about it in the documentation where it's titled [Content Adapters](https://gohugo.io/content-management/content-adapters/).

Also worth mentioning are the new [Extras Goldmark Extensions](https://gohugo.io/getting-started/configuration-markup/#extras-extension), which allows you to enable Markdown syntax for inserted text, mark text, subscript and superscript. A big thanks to bowman2001 for the implementation.

Improvements

* tpl/tplimpl: Plainify title and description in twitter_cards.html 74ab839cc jmooring 12433
* tpl/tplimpl: Plainify title and description in schema.html 92290aa89 jmooring 12432
* resources/images: Handle NaN EXIF latitude and longitude 6dbbe6dd3 jmooring 12490
* Create pages from _content.gotmpl e2d66e321 bep 12427 12485 6310 5074
* create/skeletons: Remove superfluous language code fallback 55dea41c1 jmooring 12479
* tpl/tplimpl: Improve locale value in opengraph.html 87ab7f7ff jmooring 12480
* tpl/tplimpl: Retain query string and fragment in render-image.html 6dfeb9f03 jmooring 12468
* markup/goldmark: Support extras extension ca9a77ef9 jmooring

Dependency Updates

* build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0 ee26e69ce dependabot[bot]
* build(deps): bump golang.org/x/image from 0.15.0 to 0.16.0 6e83d00a8 dependabot[bot]

Documentation

* docs: Regen docshelper 266140251 bep

Build Setup

* livereload: Improve the livereload script build and update to v4.0.2 d02f0622b bep 12451 6290

Page 8 of 54

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.