I'm happy to announce the 1.8.0 release of htmx.
NOTE: This was a big release with some changes to very touchy code that is hard to test (e.g. history support) so please test thoroughly and let us know if there are any issues.
hx-replace-urlattribute was introduced, allowing you to replace the current URL in history (to complement
mis now a valid timing modifier (e.g.
previousare now valid extended query selector modifiers, e.g.
hx-target="next div"will target the next div from the current element
HX-Locationresponse header now implements client-side redirects entirely within htmx
HX-Reswapresponse header allows you to change the swap behavior of htmx
hx-select-oobattribute selects one or more elements from a server response to swap in via an out of band swap
hx-replace-urlattribute can be used to replace the current URL in the location bar (very similar to
hx-push-urlbut no new history entry is created). The corresponding
HX-Replace-Urlresponse header can be used as well.
hx-push-url='false'to your boosted forms
hx-boostwill boost anchor tags with a
loadevent now properly supports event filters
ws-sendattributes connecting in new elements
hx-get, etc. attributes