Skip to content

v13.0.0

Latest

Choose a tag to compare

@dy dy released this 14 Mar 17:05
· 41 commits to main since this release

Features

  • Observer directives: :mount, :change, :intersect, :resize
  • Web component boundaries: directives on custom elements are treated as prop setters, parent traversal stops at component boundary
  • define-element integration
  • :ref path refs and callback refs

Changes

  • :value is now one-way state → DOM
  • Use :change for DOM → state write-back
  • Use :mount for setup/cleanup instead of lifecycle-style :ref
  • :intersect and :resize handle their own modifiers

Fixes

  • Fixed radio and select-multiple handling in :value
  • Fixed style property filtering
  • Caret preservation in :text

Improvements

  • Faster clsx, class iteration, and sequence parse setup
  • More tests for portal, fx, hidden, events, text, default attrs, forms, and custom elements
  • Docs, recipes, and comparison updates for v13

Full Changelog: v12.4.17...v13.0.0