What changed in htmx from 2 to 4

1 release numbered after v2.0.9 up to and including v4.0.0, stable releases only. v2.0.9 and v4.0.0 are the newest stable releases of 2 and 4 we track; this page follows them as new ones ship.

19 changes across 1 release

Added 5

v4.0.0

  • Add etag support
  • Add hx-confirm htmx:confirm event with async issueRequest
  • Implement hx-custom template tag support
  • Add Websocket extension for HTMX
  • Add hx-target hx-source and hx-request-type headers
Changed 4

v4.0.0

  • Replace state on initial state load
  • Move tokenizer to parseConfig for all the things
  • Generalize hx-status and fix ajax issues
  • Move to registerExtension to avoid extension upgrade confusion
Fixed 9

v4.0.0

  • Fix select and strip and title handling
  • Bind window context for Firefox compatibility
  • Attribute value only return string again
  • Optimize oob and fix partial tests
  • Fix bug in hx-config setting wrong level for + merge
  • Fix up handle swap extension point
  • Fix title not decoded on boost
  • Handle inputs for web components that are form associated
  • Handle duplicates in action query params and form data
Removed 1

v4.0.0

  • Remove find ext tokenizer

Original release notes, newest first

The list above is our reading of these notes; the originals from htmx are here, one fold per release.

v4.0.0
What's Changed
New Contributors

Full Changelog: https://github.com/bigskysoftware/htmx/compare/v2.0.8...v4.0.0

View originalPermalink