-
v2.0.0-alpha1 Pre-Release
released this
2024-01-31 04:04:19 +00:00 | 18 commits to main since this releaseThis 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 ofhx-on
that has been removed is not the form thatGiraffe.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.
Downloads
-
1.9.10 Stable
released this
2024-01-03 00:26:09 +00:00 | 21 commits to main since this releaseNew 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).
Downloads
-
1.9.8 Stable
released this
2023-11-22 21:13:57 +00:00 | 23 commits to main since this release- Update htmx script tags to v1.9.8
- Include support for .NET 8
Downloads
-
1.9.6 Stable
released this
2023-09-28 00:31:56 +00:00 | 25 commits to main since this releaseThis 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
Downloads
- [ViewEngine] Add support for the new
-
1.9.5 Stable
released this
2023-08-25 16:36:30 +00:00 | 26 commits to main since this releaseThis updates the
Script
module to load v1.9.5; no further changes were required to support the upstream release.Downloads
-
1.9.4 Stable
released this
2023-07-26 16:54:48 +00:00 | 27 commits to main since this releaseThis updates the
Script
module to load v1.9.4; no further changes were required to support the upstream bug-fix release.Downloads
-
1.9.3 Stable
released this
2023-07-15 21:54:01 +00:00 | 28 commits to main since this releaseThis 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
Downloads
- [Htmx] Added
-
1.9.2 Stable
released this
2023-05-06 17:14:58 +00:00 | 29 commits to main since this releaseThis updates the
Script
values to load htmx v1.9.2; no other functionality changed between this and the prior release.Downloads
-
1.9.0 Stable
released this
2023-04-14 20:56:08 +00:00 | 30 commits to main since this releaseThis release contains two new attributes for
Giraffe.ViewEngine.Htmx
, both supporting changes in htmx 1.9.0:_hxOn
will render anhx-on
attribute. Multiple events can be specified by separating the events with a new-line character. Giraffe View Engine will apply attribute escaping on the value provided, but in initial testing, htmx still interpreted it as intended._hxSwapWithTransition
will apply anhx-swap
attribute as_hxSwap
does, but will append the newtransition:true
suffix to enable CSS transitions.
The
Script
tags also now target v1.9.0 of htmx.Downloads
-
1.8.6 Stable
released this
2023-03-03 17:26:40 +00:00 | 31 commits to main since this releaseFunctionality Changes
This release updates the
Script.minified
andScript.unminified
functions to load htmx v1.8.6 instead of 1.8.5. As there were no new attributes or headers introduced in this htmx release, this is the only change.Build Changes
Between v1.8.5 and this release, a GitHub Action was set up to build, test, and package on each commit. The packages on NuGet were produced by this process.
Downloads