Skip to content

Releases: dy/sprae

v11.0.0

22 Oct 10:35
@dy dy
Compare
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
Compare
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
Compare
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

v10.1.2

19 May 03:50
@dy dy
Compare
Choose a tag to compare

What's Changed

  • Reintroduced proxy state: simpler user-side code, simpler internals
  • Removed DOM diffing
  • Store separated into object / array store for different optimization strategies
  • Flat with / each scopes
  • Better signal providers interop
  • Misc optimizations
  • Smaller size
  • Better performance

Full Changelog: v9.0.0...v10.1.2

v9.0.0

06 Mar 18:25
@dy dy
Compare
Choose a tag to compare

What's Changed

  • Safe eval & sandbox via justin
  • Native signals based on ulive, switchable to other providers
  • Pluggable directives
  • Added fragments for :text, :if, :each via <template>
  • Added simple string interpolation via 'a $<b>'
  • Reorganized & streamlined internals, optimized engine

Full Changelog: v8.0.1...v9.0.0

v8.0.1

18 Nov 05:23
@dy dy
Compare
Choose a tag to compare

What's Changed

  • Signals-proxy is used as a base for store
  • Full support of array store
  • Removed dom-diff algo in favor of direct items management
  • Fixed memory leaks
  • Enhanced performance
  • Made unkeyed
  • Fixed js-framework-benchmark cases

Full Changelog: v7.0.0...v8.0.0

v7.0.0

31 Oct 03:05
@dy dy
Compare
Choose a tag to compare

What's Changed

  • Reintroduces signals-based store with enhanced performance & fixed bugs

Full Changelog: v6.0.0...v7.0.0

v6.0.0

14 Apr 01:47
@dy dy
Compare
Choose a tag to compare
  • Introduces @evt attributes for inline events
  • Removes events chaining due to limited usefulness
  • Removes .toggle modifier
  • Removes :on directive, keeps :onevt for raw event listeners

Full Changelog: v5.3.0...v6.0.0

v5.3.0

13 Apr 16:17
@dy dy
Compare
Choose a tag to compare
  • Fixes 1-index for number iterator
  • Enables per-element context as :each :with
  • Make state support getters with proper context and subscription
  • Handle undefined classes

Full Changelog: v5.1.0...v5.3.0

v5.1.0

19 Mar 19:28
@dy dy
Compare
Choose a tag to compare
  • Introduce :render for instantiating templates
  • Renambe :scope back to :with to use as :render :with
  • Extend sandbox with window, document etc
  • Fix :class for SVG elements
  • Fix Object.constructor access for state
  • Minor perf improvement
  • Minor state update bugs

Full Changelog: v4.0.0...v5.1.0