- Added support for MathML
- Removed restriction that keys are unique within a parent Element
- Added better handling of statics when importing an Element
- Allow importing of server-side rendered DOM without transmitting keys
- This relies on the first patch being a no-op in order for things to line up correctly
elementOpenand friends can now take a CustomElement constructor instead of a tag name- Added an output target that generates Closure Compiler typed code
- Removed
symbols.placeholder - Removed
#elementPlaceholder - Fixed camelCase SVG tags not being imported correctly
- Fixed bug where focus was not being maintained on a keyed item
- Changed
#patchOuterto allow removing or replacing the node with another single node - Changed keyed items to allow being replaced with a different tag
- Added
#importNodefunction to help perserve DOM mutations made on DOM before the first patch - Added
#currentPoiner- the next Node Incrementl DOM will patch - Added
#skipNode- skips the node pointed to by#currentPointer - Added support for dashed CSS properties (e.g.
background-color), including CSS custom properties, in a style object
- Deprecated
symbols.placeholder, will be removed in 0.5.0 - Fixed performance issue with
textcall - Added
patchOuterfunction, which patches an Element rather than an Element's children - Added
patchInneras an alias ofpatch - Added support for
xlink:hrefand otherxlink:attributes
- Added
skipfunction - Added
currentElementfunction - Added more asserts
- Added asserts to non-minified build to help ensure proper usage
- Added support for creating SVG elements
- Fixed two bugs related to attributes not being properly updated or removed
- Changed
nullandundefinedkeys to be treated as equivalent - Added an optional parameter to patch to pass data
- Changed elementOpen, elementVoid, elementClose to return the associated Element
- Added hooks to specify how attributes/properties are set
- Changed main file to not include a UMD header
- Added formatting function variable arguments to the
textfunction
- Initial release