Skip to content

Releases: jyrimatti/htmx-sqlite

v1.9.2

13 Oct 09:48
Compare
Choose a tag to compare

Http backend is now shared within closest element having hx-db or hx-request attribute instead of the closest having hx-db attribute.

v1.9.1

09 Oct 19:28
Compare
Choose a tag to compare

Removed feature to clear content on empty result set. Not the empty array is just passed forward, and is thus always valid json.

v1.9.0

09 Oct 18:01
Compare
Choose a tag to compare

Changes:

  • Removed hx-sql attribute. Now SQL is written inside hx-get/hx-post/hx-put/hx-delete attributes. No need to artifical hx-boost anymore.
  • Utilizes builtin Htmx code farter. Remove a lot of copy-pasted code.
  • Configuration can now be changed with hx-request instead of hx-db-config.
  • Now triggers standard htmx:xhr:loadstart/htmx:xhr:loadend/htmx:xhr:progress instead of custom htmx:sql:... variants.
  • evt.detail.xhr.response is now text. JSON response is available in evt.detail.xhr.responseJSON.

Please let me know if you think some of these changes were a bad move.

v1.0.0

25 Aug 18:21
Compare
Choose a tag to compare
npm and version...