htmx v2.0.11

v2.0.11
Added 1
  • Added `<hx-partial>` tag support, backported from 4.0, so a response can carry `<hx-partial hx-target="...">` elements that swap into their own targets.
Changed 1
  • Changed internal object iteration to use `Object.keys()` instead of `for...in`.
Fixed 4
  • Fixed `hx-push-url="false"` on an ancestor of a boosted element being ignored (Issue 3966).
  • Fixed `hasHeader()` substring match on response header names, which could throw a `TypeError` (Issue 527).
  • Fixed OOB swap targets not being found when the context element is detached from the document (Issue 3959).
  • Fixed the `@default` JSDoc value for `selfRequestsOnly`.

From htmx

  • Added <hx-partial> tag support, backported from 4.0: a response can carry <hx-partial hx-target="..."> elements that swap into their own targets (thanks @MichaelWest22)
  • Fixed hx-push-url="false" on an ancestor of a boosted element being ignored Issue 3966 (thanks @MichaelWest22)
  • Fixed hasHeader() substring match on response header names, which could throw a TypeError Issue 527 (thanks @manwithacat)
  • Fixed OOB swap targets not found when the context element is detached from the document Issue 3959 (thanks @yfwmaniish)
  • Updated internal object iteration to use Object.keys() instead of for...in (thanks @yawaramin)
  • Fixed @default JSDoc value for selfRequestsOnly (thanks @blister)
View original

Upgraded? How did it go?

Discussion