Skip to content

Releases: dy/sprae

v4.0.0

16 Mar 18:13
@dy dy
Compare
Choose a tag to compare
  • Added autoinit entry sprae.auto.js to avoid including as module
  • :with renamed to :scope
  • Removed :aria, :data as non-essential
  • Async batched updates

Full Changelog: v3.0.0...v4.0.0

v3.0.0

26 Feb 21:20
@dy dy
Compare
Choose a tag to compare
  • @preact/signals and signal-struct is replaced with in-house proxy-based effectful state.
  • Added sandboxing with extensibility.
  • Size reduced (5.1kb -> 3.8kb).
  • Removed reactive fields support. They can be connected manually or via sube.

Full Changelog: v2.14.2...v3.0.0

v2.14.0

06 Feb 02:21
@dy dy
Compare
Choose a tag to compare
  • Make parallel chain events
  • Add .toggle modifier
  • Better modifiers organization
  • Chains support modifiers
  • .alnum, .arrow, .character, .digit modifiers
  • Fix throttle and debounce
  • Add css variables support :style="{'--foo': bar}"

Full Changelog: v2.13.0...v2.8.0

v2.8.0

13 Jan 19:55
@dy dy
Compare
Choose a tag to compare
  • Generic event modifiers
  • Key event modifiers
  • Mutable arrays in store

Full Changelog: v2.7.1...v2.8.0

v2.7.1

11 Jan 02:38
@dy dy
Compare
Choose a tag to compare
  • Add :key attribute for caching :each
  • Make directive teardowns
  • Make :if, :with, :each primary attributes
  • Resprae runs batch update

Full Changelog: v2.5.5...v2.7.1

v2.5.0

29 Dec 04:08
@dy dy
Compare
Choose a tag to compare
  • Reintroduce reworked optimized prototype-based :with

v2.4.0

28 Dec 17:41
@dy dy
Compare
Choose a tag to compare
  • Event ranges: :onfocus..onblur instead of dash - that allows custom event names
  • Better error message for :onevt

v2.3.0

26 Dec 11:07
@dy dy
Compare
Choose a tag to compare
  • Streamlined internal update flow
  • More transparent state: removed :with directive, less shadowing
  • Removed element-props in favor of direct updates
  • Getters turn into computed
  • :ref exposes elements into state
  • Fixed events sequence