Change8

Migrating to HTMX v4.0.0-beta6

Version v4.0.0-beta6 introduces 1 breaking change. This guide details how to update your code.

Released: 7/23/2026

1
Breaking Changes
1
Migration Steps
9
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

htmx:swap:finallyhtmx:finally:swapHCONhx-multiparthx-livesafeEvalhx-wsoptimisticcloneNode

Breaking Changes

Issue #1

The event `htmx:swap:finally` has been renamed to `htmx:finally:swap`. Update any event listeners that use the old event name.

Migration Steps

  1. 1
    Rename event listeners from `htmx:swap:finally` to `htmx:finally:swap`.

Release Summary

This release introduces a new `hx-multipart` extension, history scroll restoration, and support for custom request methods. It also includes performance improvements for `hx-live` and a breaking change in event naming.

Need More Details?

View the full release notes and all changes for HTMX v4.0.0-beta6.

View Full Changelog