releases.shpreview
htmx/htmx/1.9.7

1.9.7

htmx 1.9.7 has been released!

November 3, 2023htmxView original ↗
$npx @buildinternet/releases get rel_KyKrJgc5HyKqxcMqhV2KH

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 the response-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 and previous 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 to false to disable scrolling the top of the body into view for boosted elements

Thank you to everyone who contributed, and enjoy!

Fetched May 5, 2026