Skip to content

Releases: bit-badger/Giraffe.Htmx

2.0.0-beta1

19 Mar 00:32
Compare
Choose a tag to compare
2.0.0-beta1 Pre-release
Pre-release

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

19 Mar 00:20
Compare
Choose a tag to compare

Updates the Script tag to pull v1.9.11 of htmx. This was an upstream bug-fix release, so no attribute or header changes were required.

v2.0.0-alpha2

13 Feb 02:21
Compare
Choose a tag to compare
v2.0.0-alpha2 Pre-release
Pre-release

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

31 Jan 14:07
9276db7
Compare
Choose a tag to compare
v2.0.0-alpha1 Pre-release
Pre-release

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

03 Jan 00:33
Compare
Choose a tag to compare

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 an HxEvent 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

23 Nov 00:40
Compare
Choose a tag to compare
  • Update htmx script tags to v1.9.8
  • Include support for .NET 8

1.9.6

28 Sep 00:40
Compare
Choose a tag to compare

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

25 Aug 17:57
Compare
Choose a tag to compare

This updates the Script module to load v1.9.5; no further changes were required to support the upstream release.

1.9.4

26 Jul 17:01
Compare
Choose a tag to compare

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

15 Jul 22:04
Compare
Choose a tag to compare

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