htmx 0.4.0 has been released!
htmx 0.4.0 Release
Iām pleased to announce the 0.4 release of htmx.
Changes
New Features
- Now support the
HX-RedirectandHX-Refreshresponse headers for redirecting client side and triggering a page refresh, respectively hx-varsnow overrides input values<title>tags in responses will be used to update page titles- All uses of
eval()have been removed in favor ofFunction hx-valsis available as a save alternative tohx-vars. It usesJSON.parse()rather than evaluation, if you wish to safely pass user-provided values through to htmx.
Bug Fixes
- Eliminated perf issues around
hx-boostin large pages that are not using that attribute - Fixed bug which prevented evaluation when a script tag was the leading content in a response
Enjoy!