I’m happy to announce the 1.1.0 release of htmx.
This is a surprisingly big release, but the star of the show isn’t htmx itself, but rather the new preload extension which allows you to preload requests into the cache, cutting down on latency. (This extension is used in the htmx website!)
There are also new examples, including keyboard shortcuts and drag and drop list reordering with Sortable.js.
ignore:modifier for extensions
hx-preserveattribute, which allows you to preserve elements across requests (for example, to keep a video element playing properly)
hx-triggerto allow an element to respond to events on other elements.
htmx:beforeProcessNodeevent, renamed the (previously undocumented)
closestsyntax support for the
on loadsupport for the newest version of hyperscript
htmx.config.allowEvalconfiguration value, for CSP compatibility