Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

v0.8.1

Pre-release
Pre-release

Choose a tag to compare

@estherbrunner estherbrunner released this 21 Aug 18:05
· 298 commits to main since this release

What's Changed

New Features

  • Scheduler that can deduplicate DOM Instructions on same element property in the same tick
  • Chainable UI API for everything with elements (using arrays):
    • this.self, this.first(selector) and this.all(selector)
    • pass(stateMap) is now a partially applied function to connect to the chainable UI interface
    • on(event, handler) and off(event, handler) are now partially applied functions to connect to the chainable UI interface
    • Auto-Effects also connect to the chainable UI interface:
      • setText(state)
      • setProperty(key, state=key)
      • setAttribute(name, state=name)
      • toggleAttribute(name, state=name)
      • toggleClass(token, state=token)
      • setStyle(prop, state=prop)
      • dispatch(event, state=event)
  • All attribute parser functions and functions to connect to the new chainable UI interface are now part of core

Breaking Changes to Core Features since v0.7.3

  • attributeMap is now also static (like observedAttributes, providedContexts, consumedContexts
  • this.pass(element, stateMap) is now this.[first|all](selector).map(pass(stateMap)) – connecting the the new chainable UI interface

Breaking Changes to Non-Core Features since 0.7.3

  • All methods to connect to the new chainable UI interface were removed (and some renamed) from the old UI interface
  • Function components component(tag, componentProps, connected) are no longer supported – use standard class-based web components instead

Full Changelog: 0.7.3...v0.8.1