Changelog
v0-2-0
v0.2.0
features
Features
Create and restore snapshots
The new operations snap
and restore
make it possible to store
the result of many operations under a chosen name
and restore it
at a later time by only sending the snapshot name over the wire.
snap
- Takes a snapshot of attribute values.restore
- Applies a snapshot to selected elements
In the Live Favicon Example application it is used to send all changes required to switch between an dynamic SVG counter and static PNG message-icon once, and toggle the state between them; creating a flashing notification. As it also makes a snapshot of the state before the favicon begins to flash, the icon on the page can be restored to it's value as soon as the user read the unread messages.
Use multiple placeholders
You can now use multiple custom named placeholders, instead of only one {dynamic}
per attribute.
fixes
Fixes
- Unstable order of change execution when using multiple queries / libs.
breaking
BREAKING
- the attribute value of
dynamic
is now used as name for the target placeholder. As a result, it is not possible anymore to target a specific attribute. Migration is as easy as using different names per attribute when necessary.
v0-1-2
v0.1.2
Discards previous changes put in events for given element or attribute when using reset
.
- Fix: preserve event order
- Fix: predictable behavior when using
reset/1
orreset/2
. - Fix: undefined class name after reset
v0-1-1
v0.1.1
Fix: Loosen dependency versions
v0-1-0
v0.1.0
Release
v0-0-1
v0.0.1
Initial commit