mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 05:21:18 +00:00
1.7 KiB
1.7 KiB
+++ title = "htmx 0.0.6 has been released!" date = 2020-06-20 [taxonomies] tag = ["posts", "announcements"] +++
htmx 0.0.6 Release
I'm pleased to announce the 0.0.6 release of htmx.
Changes
_hyperscript
With this release comes the release of a new sibling project:
hyperscript is a scripting language designed to be embedded directly in HTML and inspired by HyperTalk, the programming language of HyperCard.
You can see how hyperscript and htmx work together in the docs.
Breaking Changes
- Custom request/response headers no longer start with the
X-
prefix, which is no longer recommended - The
X-HTTP-Method-Override
is now part of themethod-override
extension, and AJAX requests use the actual http method specified for requests. - Extensions that handle swaps must explicitly return an array of elements to process after the swap
- The
hx-error-url
attribute was removed in favor of hyperscript
Other Changes
- empty verb attributes are now allowed and follow the anchor tag semantics (e.g.
<div hx-get></div>
) - nunjuks inline rendering is now supported in the
client-side-templates
extension - the new
ajax-header
extension includes theX-Requested-With
header - bad JSON is now handled more gracefully
hx-swap="none"
will cause no swap to take place https://github.com/bigskysoftware/htmx/issues/89hx-trigger
now supports athrottle
modifier https://github.com/bigskysoftware/htmx/issues/88- the focused element is preserved if possible after a replacement
- perf improvements for large DOM trees with sparse
hx-
annotations - general bug fixes
Enjoy!