Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: chialab/dna

v4.5.0

13 Jan 10:17

Choose a tag to compare

Minor Changes

  • 246d231: Add support for importing globalStyles.

v4.4.5

30 Sep 16:33
c47f7ae

Choose a tag to compare

Patch Changes

  • 3e7ff72: Add support for frameworks that run hydration.

v4.4.4

26 Sep 05:18
87fa0b7

Choose a tag to compare

Patch Changes

  • de3ad89: Fix rendering when Realm exists but element is not yet connected (polyfilled elements case).

v4.4.3

25 Sep 20:51
c890393

Choose a tag to compare

Patch Changes

  • 9f94ba6: Fix polyfilled component scope on Realm changes.

v4.4.2

24 Sep 07:08
ee6286b

Choose a tag to compare

Patch Changes

  • 63eff35: Bind decorated properties to prototype.

v4.4.1

24 Sep 05:12
143dd31

Choose a tag to compare

Patch Changes

  • ca80679: Collect properties, observers and listeners by component name.
  • bce3dd9: Fix Symbol.metadata typings.
  • 16b139f: Fix listeners bound reference.

v4.4.0

23 Sep 23:27
2c615b5

Choose a tag to compare

Minor Changes

  • 5456c52: Add support for on: event listeners in order to improve listeners typings.
  • d930319: Add svelte typings integration.
  • 91eaf98: Clean up rendering state when removing a node.
  • 91eaf98: Components now only render when connected.
  • 03f3830: Introducing @fires decorator 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 useId hook and the getUniqueId method.
  • 879e016: Introducing the useEffect hook.

Patch Changes

  • 4ac523d: Polyfill createElementNS and importNode for custom elements support in Safari.
  • 1bd3452: Fix life cycle during initialization.
  • cb3a0dd: Declare DNA IntrinsicAttributes and IntrinsicElements only when using JSX runtime.
  • b3563a5: Prevent double connectedCallback invokation 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 EventHandler compatible 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 slotChildNodes when component is not connected.
  • 9573913: Restore deprecated Realm.childNodesBySlot method.
  • bd60abc: Improve compatibility with other frameworks without breaking tree traversal.
  • b0a5a9b: Add params to EventHandler to override core event handlers.
  • b1fc35e: Set is attribute if the element is not a custom element (yet).
  • a11f565: Reduce prototype polluting.
  • 918fee4: Improve frameworks compatibility.
  • 2879385: Export Members and Attrs types.
  • 57197a0: Move Realm method to prototype level again.

v4.1.2

17 Jul 13:42
e830926

Choose a tag to compare

Patch Changes

  • 2287eda: Polyfill Node.prototype.cloneNode behavior for Safari.

v4.1.1

17 Jul 11:30
1378411

Choose a tag to compare

Patch Changes

  • 1b17025: Polyfill document.createElement and Element.prototype.innerHTML behaviors for Safari.

v4.1.0

09 Jul 12:36
6b03787

Choose a tag to compare

Minor Changes

  • baef96b: Use TreeWalker for custom elements polyfill.