htmx-go

</> Build awesome HTMX + Go projects faster.

MIT License

Stars
701
htmx-go - Version 0.5.0 Latest Release

Published by angelofallars 9 months ago

Changelog

Full Changelog: https://github.com/angelofallars/htmx-go/compare/v0.4.1...v0.5.0

htmx-go - Version 0.4.1

Published by angelofallars 11 months ago

Changelog

  • @julianooi Fix: Using Response.LocationContext should no longer always result in an error while writing a response. (Commit: 9703a2dca79529cb3615affe31ab66710ae28c87, PR: #5)

Full Changelog: https://github.com/angelofallars/htmx-go/compare/v0.4.0...v0.4.1

htmx-go - Version 0.4.0

Published by angelofallars 11 months ago

Thanks for the appreciation for my library. Your enthusiasm for HTMX is amazing!

Changelog

  • f8167a3322caf54dd7fdf2344dcc620d1f2f375b New feature: Add the Swap Strategy API. SwapStrategy values for HX-Reswap can now have modifiers added to them in a type-safe way. (#1)
    • 8e2d8f80d5c040686ed583988c17f1a79da46dc7 @rafiramadhana Test: Added tests for Swap Strategy methods. (#4)
  • c6ac95c6763c3f1f2957a2857e1260155a1ec941 Fix: LocationContext should now render SwapStrategy values without errors.
  • d8939a5cb9a103a5254e1e0cf6bbb72634e06bcd Docs: Doc comment links to other parts of htmx-go have been added.

Full Changelog: https://github.com/angelofallars/htmx-go/compare/v0.3.0...v0.4.0

htmx-go - 3️⃣ Version 0.3.0

Published by angelofallars 11 months ago

Because having just one release in a day isn't enough. 😅

Changelog

  • New HTTP status code: htmx.StatusStopPolling is a constant with the value 286 that tells HTMX to stop polling for an element.
  • Bug fix: The type of the Values field in htmx.LocationContext has been modified from []string to map[string]string.
    • I saw that the type in the equivalent HTMX Django library (reference) is a dict[str, str], so here it should be the equivalent, map[string]string.
  • Documentation: Added a few more links to the HTMX documentation in the exported doc comments.
    • Happy document reading!
htmx-go - Version 0.2.0

Published by angelofallars 11 months ago

Changelog

  • New feature: TriggerObject (formerly TriggerKeyValue) can now accept any value. Be sure to only feed it JSON-serializable objects! Maybe use map[string]string to be safe.
  • BREAKING CHANGE: rename TriggerValue into TriggerDetail
  • BREAKING CHANGE: rename TriggerKeyValue into TriggerObject

Full Changelog: https://github.com/angelofallars/htmx-go/compare/v0.1.0...v0.2.0

Package Rankings
Top 10.11% on Proxy.golang.org
Badges
Extracted from project README
GoDoc GitHub Workflow Status (with event) License Stars Discord