8000 Releases · will-wow/typed-htmx-go · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: will-wow/typed-htmx-go

v0.2.0

25 May 06:39
Compare
Choose a tag to compare

Breaking Changes

  • Rename trigger.Filter to trigger.When for more readable triggers

Other changes

  • Add many HTMX extensions, all of which take an hx as a parameter to support all renderers
  • Expose a new htmx.NewStringAttrs() hx type for attributes that render to a simple HTML string

Examples

  • Progress Bar
  • Server-Send Events
  • Keyboard shortcuts

Full Changelog: v0.1.0...v0.2.1

v0.1.0

13 Mar 07:29
Compare
Choose a tag to compare

Full Changelog: v0.0.3...v0.1.0

  • Improve CSS selector handling by always taking a typed string for any "extended selector", that has types and helpers for everything outside of normal CSS selectors (which can still be passed as strings).
  • switch to top-level functions for each selector, and support Gomponents by using generics to construct a per-library version of hx
  • support htmx global config
  • use On and Poll instead of NewEvent and NewPoll for a more fluent trigger API
  • errors in Vals, Headers, and Config now return "{}" instead of nothing
  • full test coverage

v0.0.4

26 Feb 09:33
Compare
Choose a tag to compare
  • more convenient selectors, by having relevant attribute methods take a single typed selector, which may be constructed with a Relative function
  • added a few examples, hosted at https://typed-htmx-go.vercel.app/

v0.0.3

23 Feb 09:46
Compare
Choose a tag to compare
  • extended triggers
  • support go 1.21
  • disinherit and unset support by exposing attribute types
  • improve and normalize some functions to match htmx
  • increase docs and tests

Initial Release

21 Feb 08:03
Compare
Choose a tag to compare

Implements all HTMX attributes, and documents and tests most of the core attributes.

0