This repository was archived by the owner on Feb 18, 2026. It is now read-only.
v0.8.1
Pre-release
Pre-release
What's Changed
- Feature/0.8.0 embrace functional programming for core by @estherbrunner in #12
- Bugfix/v8.0.1 by @estherbrunner in #13
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)andthis.all(selector)pass(stateMap)is now a partially applied function to connect to the chainable UI interfaceon(event, handler)andoff(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
attributeMapis now also static (likeobservedAttributes,providedContexts,consumedContextsthis.pass(element, stateMap)is nowthis.[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