v4.0.1
- Any trigger now cancels a pending
delayorthrottletrigger on the same element, as in 2.x - Fixed an older response overwriting a newer one with
hx-syncreplace (#4028) - Fixed a response with only
hx-partialblanking the body, andignoreTitlesupport inhx-partial - Improved history back and forward reliability, and fixed the
hx-history-cachePOST stamp (#4067) hx-triggernow works on boosted elements (#4127)every 2s [cond]now honors its filter (#4133)- Fixed the
changedmodifier on forms and multiplechangedtriggers on one element (#4035, #4096) scrollTargetandshowTargetnow work withwindowanddocument(#4159), and with relative selectors (#4089)intersectnow supports thefrommodifier (#4080)hx-sseandhx-multipart: reconnect timeout for unresponsive servers (#4099)hx-live: boolean attribute binding with:?attr(#4022)hx-download: exposedctxin events (#4152), and preferfilename*(#4043)hx-headno longer appends duplicate titles (#4083)implicitInheritanceno longer inherits verbs,hx-actionorhx-trigger- Worked around Chrome 150-156 dropping HTML comments (#4150)
htmx-2-compat: corrected the timing ofhtmx:load,htmx:afterOnLoad,htmx:beforeOnLoadandhtmx:beforeProcessNode- Corrected event mappings in the upgrade guide and
upgrade-check(#4128) - Removed stale
hx-compatandhx-optimisticfiles fromdist/ext(#4042) - Many, many, many smaller fixes