Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Releases: composi/core

Version 2.7.5

21 Dec 23:42
Compare
Choose a tag to compare
v2.7.5

Destructed union test.

Version 2.5.8

30 Oct 16:13
Compare
Choose a tag to compare
Update to vdom for onupdate hook.

1. Previous the onupdate hook always fired whether the props changed or not. Introduced a check to only fire onupdate when an element's props have changed.

Vesion 2.5.6

26 Oct 18:17
Compare
Choose a tag to compare
V2.5.6

Improved types for effects.js and union.js.

Version 2.5.0

18 Oct 20:01
Compare
Choose a tag to compare
Update for changes to state in runtime.

1. Runtime init function now return state without square brackes.
2. Update actions now return state without square brackets.
3. Test updated for changes to runtime.

Version 2.0.0

08 Oct 17:59
Compare
Choose a tag to compare
Updated runtime test.

1. Previous runtime tests were not passing due to changes in how subscriptions work. Updated them to pass.

Version 1.6.3

06 Jul 00:53
Compare
Choose a tag to compare
Minor updates to h, createVNode and patch functions.

1. Simplified childNodes assignment in h function.
2. Removed unnecessary parameter in createVNode call.
3. createVNode now has default values of null for key and flag parameters.
4. Updated tests to reflect changes in h function.
5. Instead of assigning default value to createVNode function inside its body, moved assignment as default value in the call signature itself.
6. Marked flag parameter as optional.

Version 1.6.1

07 Jun 14:20
Compare
Choose a tag to compare
Refined VNode comparison for better exists.

1. Created new property on container: previousVNode. This contains a clone of the previous VNode before patching. This means its element properties all have null values, same as a newly provided VNode would.
2. The patchElement function in vdom.js now check the container's previousVNode property to check with the provided VNode from render. If the two objects are identical, it exists. Before this didn't happen because the default vnode property on the container has references to DOM elements from the last patch.

Version 0.9.4

05 Nov 03:03
Compare
Choose a tag to compare
Code cleanup.

1. General clean up.
2. Replaced for loops with while loops.

Version 0.9.3

04 Nov 22:14
Compare
Choose a tag to compare
v0.9.3

Minor update for readibility.

Version 0.9.2

04 Nov 15:23
Compare
Choose a tag to compare
Added error checking for when user provides invalid container for ren…

…der function.

1. Composi will now log an error and bail when an invalid container argument is used with the render function.
2. Will output an error message detailing the reason for failure to render, along with the selector used.