v0.152.1

gohugoio/hugov0.152.1Oct 22, 2025by bep

AI Summary

A bug fix release addressing regressions introduced by the YAML library upgrade in v0.152.0, specifically regarding numeric types and map assignments.

Key Highlights

  • Expanded numeric conversions to template funcs/methods.
  • Fixed 'where' function with uint64.
  • Fixed YAML integer types usage in Go int contexts.
  • Fixed 'assignment to entry in nil map' on empty YAML configs.

Full Release Notes

These fixes are are all related to the YAML library upgrade in [v0.152.0](https://github.com/gohugoio/hugo/releases/tag/v0.152.0).

* Expand the numeric conversions to template funcs/methods e08278d16 @bep #14079 
* Fix where with uint64 df4f80d54 @bep #14081 
* Fix it so YAML integer types can be used where Go int types are expected d4c78885a @bep #14079 
* tpl/compare: Fix compare/sort of uint64s 29e2c2fa9 @bep #14078 
* Fix "assignment to entry in nil map" on empty YAML config files 0579afc3c @bep #14074