-
1.9.0 Stable
released this
2023-04-14 20:56:08 +00:00 | 33 commits to main since this releaseThis release contains two new attributes for
Giraffe.ViewEngine.Htmx, both supporting changes in htmx 1.9.0:_hxOnwill render anhx-onattribute. 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._hxSwapWithTransitionwill apply anhx-swapattribute as_hxSwapdoes, but will append the newtransition:truesuffix to enable CSS transitions.
The
Scripttags also now target v1.9.0 of htmx.Downloads
-
1.8.6 Stable
released this
2023-03-03 17:26:40 +00:00 | 34 commits to main since this releaseFunctionality Changes
This release updates the
Script.minifiedandScript.unminifiedfunctions 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
-
1.8.5 Stable
released this
2023-01-18 01:41:54 +00:00 | 41 commits to main since this releasev1.8.5 supports htmx 1.8.5. New this release:
All Packages
The released packages now support both .NET 6 and .NET 7.
Giraffe.ViewEngine.Htmx(client-side views)- The new
_hxHistoryflag generates thehx-historyattribute (added in htmx 1.8.5). Script.minifiedandScript.unminifiedload htmx 1.8.5
Downloads
- The new
-
1.8.4 Stable
released this
2022-11-24 16:34:07 +00:00 | 42 commits to main since this releasev1.8.4 supports htmx 1.8.4. New this release:
Giraffe.ViewEngine.Htmx(client-side views)- The
Scriptmodule generates links for v1.8.4. - The new
_hxValidateflag generates thehx-validateattribute (added in htmx 1.8.1). - The new
RenderFragmentmodule enables fragment rendering.
(No changes were required to
Giraffe.Htmx.CommonorGiraffe.Htmx, but both packages were updated for version 1.8.4.)Downloads
- The
-
1.8.0 Stable
released this
2022-07-14 13:24:49 +00:00 | 45 commits to main since this releaseThis release brings support for new headers and attributes added in htmx v1.8.0.
Giraffe.Htmx(server-side)- Adds
withHxReplaceUrlto send anHX-Replace-Urlresponse header; this takes either a specific URL, the stringtrueto replace with the response's URL, or the stringfalseto explicitly not replace the browser's URL - Adds
withHxNoReplaceUrlto send anHX-Replace-Urlresponse header with the value offalse - Adds
withHxReswapto send anHX-Reswapresponse header; valid values are in theHxSwapmodule, which is visible whenGiraffe.Htmxis opened - Adds
withHxPushUrlto send anHX-Push-Urlresponse header; this works aswithHxReplaceUrldoes, but for pushing a new URL into the history stack instead of replacing the current one - Adds
withHxNoPushUrlto send anHX-Push-Urlresponse header with the value offalse - Obsoletes
withHxPushandwithHxNoPush, as these were changed towithHxPushUrlandwithHxNoPushUrl. The former functions will set the new header, so they will continue to function without breaking; however, they should be replaced, as they will eventually be removed from this library (likely at v2).
Giraffe.ViewEngine.Htmx(client-side views)- Updates
Script.minifiedandScript.unminifiednodes to load version 1.8.0. - Adds
_hxReplaceUrlto generate anhx-replace-urlattribute; valid values are "true", "false", or a URL - Adds
_hxSelectOobto generate anhx-select-oobattribute; it takes a string with the selector for the content you wish to select from the out-of-band response - BREAKING CHANGE: Changed
_hxPushUrlto be a standard attribute rather than a flag (attribute with no value); it now takes "true", "false", or a URL. To get the same functionality as v1.7.0, change_hxPushUrlto_hxPushUrl "true". - BREAKING CHANGE: The
HxSwapsupport module now requires you toopen Giraffe.Htmxbefore it is accessible. (It was moved to a common project, so that the same values could be visible from server-side and client-side. You do not need to install theGiraffe.Htmxpackage, just open the namespace.)
Downloads
- Adds
-
1.7.0 Stable
released this
2022-02-24 02:54:51 +00:00 | 47 commits to main since this releaseThis release incorporates changes in htmx v1.7.0:
- A new
withHxNoPushhandler to force theHX-Pushresponse header to have a value offalse(explicitly preventing a URL from being pushed into the browser's history) - New
_hxDisinheritand_hxSync; both take a string for the attribute value Script.minifiedandScript.unminifiednow pull v1.7.0 of the htmx script
Downloads
- A new
-
1.6.1 Stable
released this
2022-01-07 02:31:36 +00:00 | 49 commits to main since this releaseThis is the initial production-ready release of this library. It supports htmx v1.6.1.
Downloads
-
0.9.3 Pre-Release
released this
2021-11-26 17:49:48 +00:00 | 51 commits to main since this releaseAdd support for the
HX-Retargetheader added in htmx 1.6.1. (#2)(This only affected the
Giraffe.Htmxpackage; the view engine package's latest version remains0.9.2.)Downloads
-
0.9.2 Pre-Release
released this
2021-11-11 23:40:22 +00:00 | 52 commits to main since this release- Complete support modules for
Giraffe.ViewEngine.Htmx - Add NuGet README files
Downloads
- Complete support modules for
-
0.9.1 Pre-Release
released this
2021-11-08 23:41:03 +00:00 | 54 commits to main since this releaseInitial pre-release of Giraffe/htmx extensions project
Downloads