v0.149.1

gohugoio/hugov0.149.1Sep 4, 2025by bep

AI Summary

This release prioritizes security by upgrading to Go 1.25.1 and updates CSS minification targets to CSS3, removing specific optimizations that were specific to CSS2.

Key Highlights

  • Upgraded to Go 1.25.1 for security fixes
  • CSS minification now targets CSS3 standard
  • Fixed nil pointer errors in Table of Contents
  • Fixed collection arguments to require integers

Full Release Notes

The main motivation behind this release is the [Go 1.25.1](https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ) upgrade, which comes with a [security fix](https://github.com/golang/go/issues/75054). Hugo does not use the feature in question, but we understand that many Hugo users like to have a clean security report.

## Note

Note that CSS minification now targets CSS3, removing certain optimizations that were specific to CSS2.

## What's Changed

* Remove noindex meta tag from alias.html 25c0f2408 @lzap 
* Fix nilpointer on ToC heading 4f2d2b2cc @bep #11843 
* tpl/collections: Require collections.D args to be ints b8eb45c9d @bep #13952 
* Upgrade to Go 1.25.1 1d90afff1 @bep #13960 
* Fix config env handling for some slice options e751afa9b @PikachuTW #13950 
* minifiers: Update deprecation handling a09b8a60e @jmooring #11893 #13947 #13948