# Changelog ## [2.0.10] - 2026-04-21 * [Fixed](https://github.com/bigskysoftware/htmx/issues/3757) restored missing TypeScript type definitions (`htmx.esm.d.ts`) accidentally removed in 2.0.9 * [Fixed](https://github.com/bigskysoftware/htmx/pull/3752) improved escaping of tag and id in settle lookup using `CSS.escape()` (thanks @MichaelWest22) ## [2.0.9] - 2026-04-15 * [Fixed](https://github.com/bigskysoftware/htmx/commit/a706897e84ed271528658c84a0b73eb5e3f2fe57) `HX-Location` to correctly honor `replace` when `push` is `false` (thanks @MichaelWest22) * [Fixed](https://github.com/bigskysoftware/htmx/commit/7c0732352df80770d893c9e8806bffe4a9d55686) history `normalizePath` to resolve relative paths against the current page location rather than a dummy base URL (thanks @MichaelWest22) * [Fixed](https://github.com/bigskysoftware/htmx/commit/bd442b56396da2fffcf756613329b01c16035e67) empty `class=""` attribute being left on elements after htmx utility classes (`htmx-swapping`, `htmx-settling`, `htmx-request`) are removed (thanks @manwithacat) * [Fixed](https://github.com/bigskysoftware/htmx/commit/8183f074a669b26a26f6af4ad5e24303b9a26bed) `hx-disabled-elt` to preserve elements that were already `disabled` in the source HTML (thanks @StabbarN) * [Added](https://github.com/bigskysoftware/htmx/commit/31430d995fff37b858188a85f704cfd32b07608a) the failing selector to the `htmx:oobErrorNoTarget` event detail and error log for easier debugging (thanks @RensDimmendaal) ## [2.0.8] - 2025-10-24 * [Updated](https://github.com/bigskysoftware/htmx/commit/b9336a96fbdcf28550699971dc2218a90c7a4e01) `parseHTML` to use the (unfortunately named) [`Document.parseHTMLUnsafe()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/parseHTMLUnsafe_static) method for better Web Components support * [Added](https://github.com/bigskysoftware/htmx/commit/83a1449a89b1fcd1c1655039ede02d74d61e4800) `pushURL` option to the `htmx.ajax()` API * [Fixed](https://github.com/bigskysoftware/htmx/commit/cd045c3e0eb31776a80e3a4b4c74e37d0631c1f1) `hx-sync` and `htmx:abort` within the Shadow Dom [Issue 3419](https://github.com/bigskysoftware/htmx/issues/3419) * [Fixed](https://github.com/bigskysoftware/htmx/commit/04d6c7249b7fd7b8518ddca92e7a70fdcc651b34) a long-standing bug in history support with respect to relative paths [Issue 3449](https://github.com/bigskysoftware/htmx/issues/3449) * Once again, this is a release mainly done by @MichaelWest22's heroic work, thank you! ## [2.0.7] - 2025-09-08 * Fix not preventing link when inside htmx enabled element (fixes https://github.com/bigskysoftware/htmx/issues/3395) * Implement `reportValidity()` for reporting proper form validation errors behind config flag (fixes https://github.com/bigskysoftware/htmx/issues/2372) * Update indicator style to have `visibility:hidden` for screen readers (fixes https://github.com/bigskysoftware/htmx/issues/3354) * Bugfix: swap="outerHTML" on