Skip to content

Releases: dy/sprae

v12.3.0

14 Nov 18:44
@dy dy

Choose a tag to compare

  • Factored out :on directive
  • Separate sequences directive
  • Added micro bundle
  • Streamlined modifiers engine
  • Signals fixes

Full Changelog: v12.2.0...v12.3.0

v12.2.0

26 Oct 20:40
@dy dy

Choose a tag to compare

  • Make target modifiers available for prop directives, :style.root={"--x":x}
  • Add .body, .root modifiers
  • Expose version as sprae.version

Full Changelog: v12.1.0...v12.2.0

v12.1.0

17 Oct 03:55
@dy dy

Choose a tag to compare

What's Changed

  • Prop modifiers .debounce, .throttle, .once
  • Better expr syntax allowance
  • Async/await support
  • Functions as directives values
  • :with renamed to :scope
  • Scope write transparency
  • Autoinit lifecycle watcher

Full Changelog: v11.5.3...v12.1.0

v11.5.3

12 Apr 02:56
@dy dy

Choose a tag to compare

Full Changelog: v11.5.1...v11.5.3

v11.5.1

01 Apr 20:06
@dy dy

Choose a tag to compare

  • Configurable attributes prefix :
  • Autoinit as <script src="https://unpkg.com/sprae" prefix="s-">
  • UMD as dist/sprae.umd
  • Squiiish! <4kb
  • Fixed :each="(a)in{b}"
  • Perf optimizations

Full Changelog: v11.1.3...v11.5.1

v11.1.1

31 Mar 03:19
@dy dy

Choose a tag to compare

What's Changed

  • Pause effects by @dy in #56
  • Ensure :value, :ref props in state #53
  • dir constructor for directives
  • Optimized :each directive
  • Optimized :if directive
  • -200 bytes, slightly better perf

Full Changelog: v11.0.5...v11.1.3

v11.0.5

12 Feb 02:25
@dy dy

Choose a tag to compare

  • Fixes :each batch, increasing append perfornace from O(n2) to O(n)
  • Fixes events within fragments #51
  • Fixes select multiple cases #52

Full Changelog: v11.0.0...v11.0.5

v11.0.0

22 Oct 10:35
@dy dy

Choose a tag to compare

What's Changed

  • :ref made functional, :ref="el=>(...)"
  • Removed :html directive: use :ref="el=>el.innerHTML=..." instead
  • Fixed :data dash-case
  • Fixed integration of :value with justin
  • Fixed <select :value> issue - now preselects options properly
  • Fixed <select multiple>
  • Fixed :if updating effects when branch doesn't match
  • Fixed passing global objects like Math
  • Fixed disposal
  • Reworked building
  • Fixed entries names
  • Added tests

New Contributors

  • @Inqnuam made their first contribution in #39
  • @n9 made their first contribution in #43

Full Changelog: v10.9.1...v11.0.0

v10.9.1

12 Jul 20:47
@dy dy

Choose a tag to compare

  • Introduces sprae.umd.js entry for standalone use
  • Makes :value binding, like :model in alpine
  • :style understands camel case
  • Optimizes bundling

v10.8.2

29 Jun 17:00
@dy dy

Choose a tag to compare

What's Changed

  • <template :each :if :text> #20
  • Fixed :each :if :text combinations
  • Removed $<value> interpolation
  • Fixed events chains :ona..onb
  • stopImmediatePropagation as :onevt.stop.immediate
  • .escape -> .esc, .character -> .char
  • .letter modifier matches any unicode, not just latin
  • Untracked props as {_x}
  • Streamlined store API
  • Avoid subscriptions to non-mutable array methods like .filter
  • Removed class marker
  • Optimized core engine
  • :with as mixin instead of prototype chain

Full Changelog: v10.0.1...v10.8.0