github starfederation/datastar v1.0.0-beta.8

19 hours ago

Added

  • Added the ability for checkbox input elements to set bound signals to an array of values by predefining the signal as an array (#664).

Changed

  • Updated Idiomorph to version 0.7.2.
  • When using data-bind on an element, the signal value now defaults to the element’s value attribute, provided the signal has not already been defined (#685).
  • The expression passed into data-on-signals-change is no longer executed on page load (#682).
  • Whitespace is now maintained in merged fragments (#658).
  • Attribute plugins now define a hash of their contents, preventing duplicate applies (#691).
  • Attribute plugins are now applied to the html element instead of the body element (#691).

Fixed

  • Fixed a bug in which datastar-remove-fragments events were not having any effect (#664).
  • Fixed a bug in which datastarNaN could be used as an auto-generated element ID (#679).
  • Fixed a bug in which data-attr was not removing the element attribute when using object syntax and the value was false (#693).

Removed

  • Removed the Datastar class. The apply, load, and setAlias functions are exported instead.

Don't miss a new datastar release

NewReleases is sending notifications on new releases.