# Source: https://github.com/bigskysoftware/htmx/blob/master/www/content/posts/2023-11-03-htmx-1.9.7-is-released.md

+++
title = "htmx 1.9.7 has been released!"
date = 2023-11-03
[taxonomies]
tag = ["posts", "announcements"]
+++

## htmx 1.9.7 Release

I'm happy to announce the [1.9.7 release](https://unpkg.com/browse/htmx.org@1.9.7/) 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!