Releases: bit-badger/Giraffe.Htmx
2.0.0-beta1
This release updates the Script
module tags to pull htmx v2.0.0-beta1. No other changes were required.
See the full htmx 1 to 2 migration guide for details on htmx v2.
1.9.11
v2.0.0-alpha2
This release updates the Script
tags to pull htmx v2.0-alpha2. There remain no header changes for Giraffe.Htmx
, but in this release for Giraffe.ViewEngine.Htmx
, the deprecated _hxOn
attribute has been removed (as promised). If you are listening for an htmx event, use _hxOnHxEvent
with the HxEvent
discriminated union; if you are listening for an HTML or custom event, use _hxOnEvent
with the event passed as a string
.
See the full htmx 1 to 2 migration guide for details on htmx v2.
v2.0.0-alpha1
This release updates the script tag generated by the Script
functions to load htmx v2.0.0-alpha1. Currently, there are no v2 changes that impact server headers (Giraffe.Htmx
), and the form of hx-on
that has been removed is not the form that Giraffe.ViewEngine.Htmx
generated as of v1.9.10. If your project compiled with v1.9.10 with no deprecation warnings, this upgrade should cause no code changes. (For this release, _hxOn
is still present; in the next prerelease, it will be removed.)
See the full htmx 1 to 2 migration guide for details on htmx v2.
1.9.10
New Features
Htmx.Script
modules now load v1.9.10_hxOn
has been deprecated; new attributes_hxOnEvent
(for HTML events) and_hxOnHxEvent
(for htmx events) are now available. There is also anHxEvent
discriminated union that defines the available htmx events and translates them to their proper hx-on:* values- NuGet packages now have an icon
Bug Fixes
- Library now has minimum
FSharp.Core
requirement of v6.0.0 (thanks @SIRHAMY for reporting and @baronfel for guidance on the fix) _hxDisabledElt
was misspelled; this has been corrected
Dependency Updates
- Giraffe.Htmx now depends on Giraffe 6.2.0 (up from 5.0.0).
1.9.8
- Update htmx script tags to v1.9.8
- Include support for .NET 8
1.9.6
This updates the packages to support htmx 1.9.6.
- [ViewEngine] Add support for the new
hx-disabled-elt
attribute - [ViewEngine]
Script
module tags now load htmx 1.9.6
1.9.5
This updates the Script
module to load v1.9.5; no further changes were required to support the upstream release.
1.9.4
This updates the Script
module to load v1.9.4; no further changes were required to support the upstream bug-fix release.
1.9.3
This updates the library to support htmx 1.9.3.
- [Htmx] Added
HX-Reselect
response header (allows a response to override which portion of it will be swapped into the destination document) - [ViewEngine]
Script
module tags now pull v1.9.3 from unpkg.com