v0.143.0

gohugoio/hugov0.143.0Feb 1, 2025by bep

AI Summary

A bug fix release addressing server rebuild issues and adding a new option to extract headers from remote resources.

Key Highlights

  • New `responseHeaders` option on `resources.GetRemote`
  • Fixes for server/watch rebuild issues
  • Fixes for concurrent map iteration in pages from data

New Features

  • New `responseHeaders` option for `resources.GetRemote`

Full Release Notes

This is mostly a bug fix release, ironing out some quirks with the partial server rebuilds etc., but notable is also the new [responseHeaders ](https://gohugo.io/functions/resources/getremote/#responseheaders) option on `resources.GetRemote` that allows you to extract headers from the server’s response.

## Bug fixes

* Fix some server/watch rebuild issues db28695ff @bep #13316 
* Fix "concurrent map iteration and map write" in pages from data 329b2342f @bep #13254 
* Fix TailwindCSS related server rebuild issue 6c68142cc @bep #13316 
* Fix some server rebuild issues for non-HTML custom output formats cd7dc7a37 @bep #13014 
* Fix cascade with overlapping sections bb7b3d3cd @bep #12465 
* markup/goldmark: Fix typo in func comment f704d7569 @chalin 

## Improvements

* Don't re-render aliases on server rebuilds 778f0d900 @bep 
* tpl/tplimpl: Remove leading whitespaces produced by Youtube shortcode 13b208e2f @alex-shpak 
* resources: Remove debug statement 33b46d8a4 @jmooring #13320 
* markup/goldmark: Trim space from blockquote render hook text e08d9af21 @jmooring #13302 
* parser/pageparser: Don't allow parameters after closing tag in shortcodes c939c33fd @guilhas07 
* tpl/tplimpl: Improve shortcode test coverage 873a5cda1 @jmooring 
* tpl/tplimpl: Deprecate gist shortcode f42a4b6af @jmooring #13211 
* resources: Remove conditional used for debugging a5637831c @bep 
* resources: Add responseHeaders option to resources.GetRemote 68586c891 @bep #12521 
* tpl/tplimpl: Skip TestTemplateFuncsExamples on s390x 51bb2feda @bep #13204 
* Make cascade front matter order deterministic 7f0f50b13 @bep #12594 
* tpl/tplimpl: Deprecate comment shortcode 77a8e347b @jmooring