Releases: chialab/dna
Releases · chialab/dna
v4.5.0
v4.4.5
v4.4.4
v4.4.3
v4.4.2
v4.4.1
v4.4.0
Minor Changes
- 5456c52: Add support for
on:event listeners in order to improve listeners typings. - d930319: Add
sveltetypings integration. - 91eaf98: Clean up rendering state when removing a node.
- 91eaf98: Components now only render when connected.
- 03f3830: Introducing
@firesdecorator for custom events. - 688b198: Improve JSX typings.
- 207d5b8: Introducing the
childListChangedCallback. - 8d82190: Move properties hooks before observers.
- 48de4e6: Scope CSS text using DOM api.
- 91eaf98: Node slotting now works only for methods that actually mutate the tree.
- cbc9280: Introducing the
useIdhook and thegetUniqueIdmethod. - 879e016: Introducing the
useEffecthook.
Patch Changes
- 4ac523d: Polyfill
createElementNSandimportNodefor custom elements support in Safari. - 1bd3452: Fix life cycle during initialization.
- cb3a0dd: Declare DNA
IntrinsicAttributesandIntrinsicElementsonly when using JSX runtime. - b3563a5: Prevent double
connectedCallbackinvokation when upgrading via polyfill. - fda24a5: Do not throw when a child is already been removed when rendering.
- 5e11f50: Fix keyed function conmponents re-render after state changed.
- 76209ec: Make
EventHandlercompatible with core event handlers. - b281fa2: Fix JSX typings with extended elements.
- 5799e50: Fix render state cleanup once disconnected.
- 8229dd7: Do not proxy host element.
- 68afc33: Handle
slotChildNodeswhen component is not connected. - 9573913: Restore deprecated
Realm.childNodesBySlotmethod. - bd60abc: Improve compatibility with other frameworks without breaking tree traversal.
- b0a5a9b: Add params to
EventHandlerto override core event handlers. - b1fc35e: Set
isattribute if the element is not a custom element (yet). - a11f565: Reduce prototype polluting.
- 918fee4: Improve frameworks compatibility.
- 2879385: Export
MembersandAttrstypes. - 57197a0: Move
Realmmethod to prototype level again.