Skip to content

Commit bad8995

Browse files
author
carson
committed
release docs
1 parent 0f7f93f commit bad8995

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

www/posts/2022-02-22-htmx-1.7.0-is-released.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,23 @@ I'm happy to announce the [1.7.0 release](https://unpkg.com/browse/htmx.org@1.7.
1414
* The new [`hx-sync`](/attributes/hx-sync) attribute allows you to synchronize multiple element requests on a single
1515
element using various strategies (e.g. replace)
1616
* You can also now abort an element making a request by sending it the `htmx:abort` event
17-
* Server Sent Events and Web Sockets are now available as extensions, in addition to the normal core support. In
18-
htmx 2.0, the current `hx-sse` and `hx-ws` attributes will be moved entirely out to these new extensions. By
19-
moving these features to extensions we will be able to add functionality to both of them without compromising the
20-
core file size of htmx. You are encouraged to move over to the new extensions, but `hx-sse` and `hx-ws` will continue
21-
to work indefinitely in htmx 1.x.
17+
* [Server Sent Events](/extensions/server-sent-events) and [Web Sockets](/extensions/web-sockets) are now available as
18+
extensions, in addition to the normal core support. In htmx 2.0, the current `hx-sse` and `hx-ws` attributes will be
19+
moved entirely out to these new extensions. By moving these features to extensions we will be able to add functionality
20+
to both of them without compromising the core file size of htmx. You are encouraged to move over to the new
21+
extensions, but `hx-sse` and `hx-ws` will continue to work indefinitely in htmx 1.x.
2222
* You can now mask out [attribute inheritance](/docs#inheritance) via the [`hx-disinherit`](/attributes/hx-disinherit) attribute.
2323
* The `HX-Push` header can now have the `false` value, which will prevent a history snapshot from occuring.
24-
* A new [`alpine-morph`](/extensions/alpine-morph) allows you to use Alpine's swapping engine, which preserves Alpine
25-
* A [restored](/extensions/restored) extension was added that will trigger a `restore` event on all elements in the DOM
26-
on history restoration.
24+
* Many new extensions, with a big thanks to all the contributors!
25+
* A new [`alpine-morph`](/extensions/alpine-morph) allows you to use Alpine's swapping engine, which preserves Alpine
26+
* A [restored](/extensions/restored) extension was added that will trigger a `restore` event on all elements in the DOM
27+
on history restoration.
28+
* A [loading-states](/extensions/loading-states) extension was added that allows you to easily manage loading states
29+
while a request is in flight, including disabling elements, and adding and removing CSS classes.
2730
* The `this` symbol now resolves properly for the [`hx-include`](/attributes/hx-include) and [`hx-indicator`](/attributes/hx-indicator)
2831
attributes
2932
* When an object is included via the [`hx-vals`](/attributes/hx-vals) attribute, it will be converted to JSON (rather
30-
than rendering as the string "\[Object object]")
33+
than rendering as the string `[Object object]"`)
3134
* You can now pass a swap style in to the `htmx.ajax()` function call.
3235
* Poll events now contain a `target` attribute, allowing you to filter a poll on the element that is polling.
3336
* Two new Out Of Band-related events were added: `htmx:oobBeforeSwap` & `htmx:oobAfterSwap`

0 commit comments

Comments
 (0)