You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,35 @@
1
1
# Changelog
2
2
3
+
## [1.8.0] - 2022-12-7
4
+
5
+
***NOTE**: This release involved some changes to toughy code (e.g. history support) so please test thoroughly and let
6
+
us know if you see any issues
7
+
* Boosted forms now will automatically push URLs into history as with links. The [response URL](https://caniuse.com/mdn-api_xmlhttprequest_responseurl)
8
+
detection API support is good enough that we feel comfortable making this the default now.
9
+
* If you do not want this behavior you can add `hx-push-url='false'` to your boosted forms
10
+
* The [`hx-replace-url`](https://htmx.org/attributes/hx-replace-url) attribute was introduced, allowing you to replace
11
+
the current URL in history (to complement `hx-push-url`)
12
+
* Bug fix - if htmx is included in a page more than once, we do not process elements multiple times
13
+
* Bug fix - When localStorage is not available we do not attempt to save history in it
14
+
*[Bug fix](https://github.com/bigskysoftware/htmx/issues/908) - `hx-boost` respects the `enctype` attribute
15
+
*`m` is now a valid timing modifier (e.g. `hx-trigger="every 2m"`)
16
+
*`next` and `previous` are now valid extended query selector modifiers, e.g. `hx-target="next div"` will target the
17
+
next div from the current element
18
+
* Bug fix - `hx-boost` will boost anchor tags with a `_self` target
19
+
* The `load` event now properly supports event filters
20
+
* The websocket extension has had many improvements: (A huge thank you to Denis Palashevskii, our newest committer on the project!)
21
+
* Implement proper `hx-trigger` support
22
+
* Expose trigger handling API to extensions
23
+
* Implement safe message sending with sending queue
24
+
* Fix `ws-send` attributes connecting in new elements
25
+
* Fix OOB swapping of multiple elements in response
26
+
* The `HX-Location` response header now implements client-side redirects entirely within htmx
27
+
* The `HX-Reswap` response header allows you to change the swap behavior of htmx
28
+
* The new [`hx-select-oob`](/attributes/hx-select-oob) attribute selects one or more elements from a server response to swap in via an out of band swap
29
+
* The new [`hx-replace-url`](/attributes/hx-replace-url) attribute can be used to replace the current URL in the location
30
+
bar (very similar to `hx-push-url` but no new history entry is created). The corresponding `HX-Replace-Url` response header can be used as well.
31
+
* htmx now properly handles anchors in both boosted links, as well as in `hx-get`, etc. attributes
32
+
3
33
## [1.7.0] - 2022-02-2
4
34
5
35
* The new [`hx-sync`](/attributes/hx-sync) attribute allows you to synchronize multiple element requests on a single
0 commit comments