htmx 1.9.7 has been released!
htmx 1.9.7 Release
I’m happy to announce the 1.9.7 release of htmx.
Improvements & Bug fixes
- Fixed a bug where a button associated with a form that is swapped out of the DOM caused errors
- The
hx-target-error
attribute was added to theresponse-targets
extension, allowing you to capture all 400 & 500 responses with a single attribute hx-on
now properly supports multiple listeners- The
hx-confirm
prompt is now passed into custom confirmation handlers next
andprevious
are now valid extended CSS symbols in htmx- The
htmx:beforeHistoryUpdate
event was added - Properly ignore the
dialog
formmethod on buttons when resolving the HTTP method to use - Added a
htmx.config.scrollIntoViewOnBoost
option that may be set tofalse
to disable scrolling the top of the body into view for boosted elements
Thank you to everyone who contributed, and enjoy!