Skip to content

Releases: Nefsen402/destam-dom

v0.11.3

21 Mar 05:43
Compare
Choose a tag to compare

This is a bug fix release backwards compatible with the last.

Fixes:

  • Don't remove element after when trying to unmount null

v0.11.2

20 Mar 18:25
Compare
Choose a tag to compare

This is a bugfix release backwards compatible with the last.

Fixes:

  • When calculating if it's possible to do a fast path clear, make sure to not mutate the dom

Improvements:

  • Added unit tests to catch above fix.
  • Added additional asserts to catch the above error as well.

v0.11.1

18 Mar 17:12
Compare
Choose a tag to compare

This is a bugfix release that is backwards compatible with all other 0.11 releases.

Fixes:

  • Fix a crash when trying to remove a node twice

v0.11.0

13 Mar 23:16
Compare
Choose a tag to compare

This is a major release from the last. There are minor breaking changes mostly around how we handle undefined/null in some edge cases. Actual breakage shouldn't be common.

Breaking changes:

  • Passing undefined as a $paramater will not coerce to null but instead remain undefined.

Improvements:

  • Vastly improved unit tests (100% coverage)
  • Improve assertions
  • transform/staticMount: Fix a number of miscompilations and crashes
  • Clarified documentation
  • Fix broken examples

v0.10.2

24 Dec 07:11
Compare
Choose a tag to compare

This is a bugfix release backwards compatible with the last release.

Fixes:

  • Fix array removal under certain conditions

v0.10.1

23 Dec 23:43
Compare
Choose a tag to compare

This is a bugfix release backwards compatible with the last.

Fixes:

  • Fix mounting order of hypertext children

v0.10.0

23 Dec 21:43
Compare
Choose a tag to compare

This release offers breaking changes and inherits breaking changes from destam v0.5.0. This release simply offers compatibility with it.

Improvements:

  • Reduced memory usage
  • Allow duck typing node elements to support use cases where a component needs to know the raw nodes that get mounted
  • Disallow null mounts. These can be replaced with a ducked type node that does nothing.

v0.9.2

16 Nov 20:34
Compare
Choose a tag to compare

This is a minor bugfix release backwards compatible with the previous release.

Fixes:

  • Remove broken optimization that might lead to components not being mounted
  • transform: Handle meta properties for imports

v0.9.0

08 Nov 16:58
Compare
Choose a tag to compare

This release inherits breaking changes from destam v0.4.0.

Improvements:

  • Added support for contexts .mount() can take a context as its fourth paramater, and that will be passed to all child elements that were mounted.

v0.8.11

25 Oct 06:34
Compare
Choose a tag to compare

This is a bugfix release API compatible with previous versions.

Fixes:

  • Fix elements being inserted in the wrong order during specific order of deferred mounts
  • transform/util: Fix case where variables would be incorrectly allocated.