v0.142.0

gohugoio/hugov0.142.0Jan 22, 2025by bep

AI Summary

A bug fix release focusing on image cache key issues and ensuring compatibility with Go 1.24.

Key Highlights

  • Fixes image file cache key issues
  • Fixes build with Go 1.24
  • Fixes render hook PlainText with typographer extension

Full Release Notes

This is is mostly a bug fix release. It's a minor and not a patch release because of the image file cache issue fixes (see #13273 #13272). Fixing this required us to break the hashes for many of the generated images so we used this opportunity to simplify how we generate these hashes/image filenames. 

## Bug fixes

* Fix render hook's PlainText with typographer extension enabled 6aa72acaf @bep #13286 #13292 
* Fix build with Go 1.24 4b0c194fb @flyn-org 
* tpl/tplimpl: Fix context in shortcode error messages 8de4ffb29 @jmooring #13279 
* resources: Fix 2 image file cache key issues 1f5a15aba @bep #13273 #13272 

## Improvements
* Also handle inline HTML comments 637995ba8 @bep 
* Do not warn on potentially unsafe HTML comments when unsafe=false f1de5d2a0 @bep #13278 
* tpl: Add loading attribute to qr shortcode 889711366 @nfriedli