Improve 1.2.0 release notes

* Fix some `impages` typo and unclosed bracket
* The mixed indentation of the sub-lists didn't work in my markdown renderer - the second list wasn't indented. Instead, use semantic h3's for the two sections.
This commit is contained in:
Adam Johnson 2021-02-07 12:00:38 +00:00
parent ec57534150
commit de25fa1c10

View File

@ -3,20 +3,23 @@
## [1.2.0] - 2021-2-6 ## [1.2.0] - 2021-2-6
* New Features ### New Features
* `hx-vars` has been deprecated in favor of `hx-vals`
* `hx-vals` now supports a `javascript:` prefix to achieve the behavior that `hx-vars` provided * `hx-vars` has been deprecated in favor of `hx-vals`
* The new `hx-headers` attribute allows you to add headers to a request via an attribute. Like `hx-vals` it supports * `hx-vals` now supports a `javascript:` prefix to achieve the behavior that `hx-vars` provided
JSON or javascript via the `javascript:` prefix * The new `hx-headers` attribute allows you to add headers to a request via an attribute. Like `hx-vals` it supports
* `hx-include` will now include all inputs under an element, even if that element is not a form tag JSON or javascript via the `javascript:` prefix
* The [preload extension](https://htmx.org/extensions/preload/) now offers a `preload-images="true"` attribute that will aggressively load impages in preloaded content * `hx-include` will now include all inputs under an element, even if that element is not a form tag
* Improvements & Bug fixes * The [preload extension](https://htmx.org/extensions/preload/) now offers a `preload-images="true"` attribute that will aggressively load images in preloaded content
* Improved handling of precedence of input values to favor the enclosing form (see [here](https://github.com/bigskysoftware/htmx/commit/a10e43d619dc340aa324d37772c06a69a2f47ec9)
* Moved event filtering logic *after* `preventDefault` so filtering still allows events to be properly handled ### Improvements & Bug fixes
* No longer trigger after swap events on elements that have been removed via an `outerHTML` swap
* Properly remove event handlers added to other elements when an element is removed from the DOM * Improved handling of precedence of input values to favor the enclosing form (see [here](https://github.com/bigskysoftware/htmx/commit/a10e43d619dc340aa324d37772c06a69a2f47ec9))
* Handle the `scroll:` modifier in `hx-swap` properly when an `outerHTML` swap occurs * Moved event filtering logic *after* `preventDefault` so filtering still allows events to be properly handled
* Lots of docs fixes * No longer trigger after swap events on elements that have been removed via an `outerHTML` swap
* Properly remove event handlers added to other elements when an element is removed from the DOM
* Handle the `scroll:` modifier in `hx-swap` properly when an `outerHTML` swap occurs
* Lots of docs fixes
## [1.1.0] - 2021-1-6 ## [1.1.0] - 2021-1-6