htmx 1.9.3 has been released!
htmx 1.9.3 Release
I’m happy to announce the 1.9.3 release of htmx.
New Features
- The
hx-onattribute has been deprecated (sorry) in favor ofhx-on:<event name>attributes. Seehx-onfor more information. - You can now configure if a type of HTTP request uses the body for parameters or not. In particular, the
DELETEshould use query parameters, according to the spec. htmx has used the body, instead. To avoid breaking code we are keeping this undefined behavior for now, but allowing people to fix it for their use cases by updating thehtmx.config.methodsThatUseUrlParamsconfig option. Thank you to Alex and Vincent for their feedback and work on this issue! - The
thissymbol is now available in event filter expressions, and refers to the element thehx-triggeris on - The
HX-ReselectHTTP response header has been added to change the selection from the returned content
Improvements & Bug fixes
- We now have functioning CI using GitHub actions!
- Fix bug where the
htmx:afterSettleevent was raised multiple times with oob swaps occurred - A large number of accessibility fixes were made in the docs (Thank you Denis & crew!)
- Fixed bug w/ WebSocket extension initialization caused by “naked”
hx-triggerfeature - Many other smaller bug fixes
Thank you to everyone who contributed, and enjoy!