Skip to content

v4.0.1

Latest

Choose a tag to compare

@1cg 1cg released this 01 Nov 23:06
· 136 commits to master since this release

v4.0.1

  • Any trigger now cancels a pending delay or throttle trigger on the same element, as in 2.x
  • Fixed an older response overwriting a newer one with hx-sync replace (#4028)
  • Fixed a response with only hx-partial blanking the body, and ignoreTitle support in hx-partial
  • Improved history back and forward reliability, and fixed the hx-history-cache POST stamp (#4067)
  • hx-trigger now works on boosted elements (#4127)
  • every 2s [cond] now honors its filter (#4133)
  • Fixed the changed modifier on forms and multiple changed triggers on one element (#4035, #4096)
  • scrollTarget and showTarget now work with window and document (#4159), and with relative selectors (#4089)
  • intersect now supports the from modifier (#4080)
  • hx-sse and hx-multipart: reconnect timeout for unresponsive servers (#4099)
  • hx-live: boolean attribute binding with :?attr (#4022)
  • hx-download: exposed ctx in events (#4152), and prefer filename* (#4043)
  • hx-head no longer appends duplicate titles (#4083)
  • implicitInheritance no longer inherits verbs, hx-action or hx-trigger
  • Worked around Chrome 150-156 dropping HTML comments (#4150)
  • htmx-2-compat: corrected the timing of htmx:load, htmx:afterOnLoad, htmx:beforeOnLoad and htmx:beforeProcessNode
  • Corrected event mappings in the upgrade guide and upgrade-check (#4128)
  • Removed stale hx-compat and hx-optimistic files from dist/ext (#4042)
  • Many, many, many smaller fixes