• 4.0.0-beta4 Pre-Release

    danieljsummers released this 2026-06-15 01:29:34 +00:00 | 0 commits to htmx-v4 since this release

    This synchronizes changes made in htmx v4 development between alpha8 and beta4.

    • [NEW] htmx is packaging an htmax bundle which contains several common extensions. The library-provided packages now also include this, using Htmx.Script.Max.local (from Giraffe.ViewEngine.Htmx). Additionally, Giraffe.ViewEngine.Htmx now has an Htmax module which contains attributes, events, and strongly-typed configuration parameters for these extensions; HxSwap supports swap values from those extension; and Giraffe.Htmx has header extensions and handler functions for server-side support of the htmax-bundled extensions.
    • [NEW] Giraffe.Htmx now has support for the HX-Request-Type header.
    • [NEW] Giraffe.ViewEngine.Htmx now supports the hx-status attribute to handle responses based on the HTTP status code of the response.
    • [DEPRECATION] The response headers HX-Trigger-After-Settle and HX-Trigger-After-Swap have been removed in v4. Giraffe.Htmx will generate warnings for these calls, and will generate an HX-Trigger header instead. The handler functions will be removed when v4 is released.
    • [DEPRECATION] As the SSE extension was moved to htmax, these items have been deprecated in the Htmx module; they will be removed once v4 is released.
    • [BUG FIX] HxSwap.OuterMorph was generating the wrong swap value; it has been corrected.
    • [DEPENDENCIES] These libraries are now built against Giraffe 8.2.0 and FSharp.Core 10.1.301.
    Downloads