CHANGELOG.md
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
## Changelog ### Lucky Lurian - v600-0 (2026-06-17) - Re-released using Convergent Versioning. - Removed support for distributing minified version. - Updated dependencies. ### Keen Klingon - v0.11.0 (2020-10-31) - Now removing properties from old VNode only if new VNode property value is null or undefined. - Fixed bug in object equality check. - Now only setting new attributes if properties are numeric or string. - It is not possible to stop rendering of a screen by returning false from the setup method. In this case, a $navigation event will be dispatched with null as data parameter. - Added support for initial value for button and option. - Improved management of value and ID attributes. - Setting node properties in case new properties are added when redrawing - Classes are not added if set to false (useful when creating classList logic) - Noe executing redraws within a requestAnimationFrame callback. - Fixed a few errors in docs. ### Jittery Jem’Hadar - v0.10.0 (2020-08-01) - Now supporting multiple arguments to create children (besides single node and array). - Renamed VNode#attributes into VNode#props. - Improved handling of boolean attributes. - Improved handling of the value attribute. - h3 can no longer be used as HyperScript constructor, use h function instead. - Added h3.screen method - Improved VNode diffing algorithm ### Impeccable Iconian - v0.9.0 (2020-07-05) - Non-string VNode attributes are now saved to properties (and no longer added as attributes) - Now also distributing a minified version (h3.min.js) - Fixed selector regex to allow ID only. - Allowing redrawing in $onrender. ### Humble Human - v0.8.0 (2020-06-09) - Completely rewritten child redrawing algorithm to use a single node map and optimize node operations. - No exception is thrown when trying to specify a falsy event listener. - Now executing $onrender callbacks every time a node is added to the DOM, regardless of whether it’s during a render or redraw. - Removed $key special attribute. Please use DOM data attributes instead to ensure node/vnode uniqueness. ### Gory Gorn - v0.7.0 (2020-05-30) - Improved redrawing algorithm to be more fine-grained and optimized. - Ensured that $onrender callbacks are cleared before each navigation occurs. - $onrender callbacks are now executed also when redrawing a VNode containing an $html property. - Fixed redrawing bug that prevented redrawing of lists containing the same nodes in different order. - Made the selector to create VNodes more restrictive: /([a-z][a-z0-9:_=-]*)(#[a-z0-9:_=-]+)?(\.[^ ]+)*$/ ### Furtive Ferengi - v0.6.0 (2020-05-23) - Added the concept of Route Components, i.e. first-level components with local state and two async lifecycle hooks (for now): setup and teardown. - Now queueing $onrender callbacks so that they are called only once rendered nodes have been added to the DOM. ### Experienced El-Aurian - v0.5.0 (2020-05-17) - Added the $onrender special attribute to facilitate integration with third-party libraries. - Now preventing redraws if another redraw/navigation is in progress. ### Dedicated Denobulan - v0.4.0 (2020-05-09) - $navigation event is now fired before redraw starts. - Boolean attributes are now handled properly (the corresponding property is set to false when false). - Greatly improved redraw performance by applying some simple optimizations to the equal function. ### Cunning Cardassian - v0.3.0 (2020-05-01) - undefined, false and null children are now automatically ignored if specified. - Fixed redraw problem when substituting a textual node with a non-textual node. - Fixed redrawing when updating existing children. - Optimized children redrawing to avoid removing different nodes of the same type - Resetting $key attribute when redrawing ### Brave Bajoran - v0.2.0 (2020-04-23) - Ensured DOM value, id and style.cssText are set to empty strings when null or undefined. - Now always scrolling to top when performing navigation. - Removed h2.equal method (used only internally). - 100% test coverage! ### Audacious Andorian - v0.1.0 (2020-04-21) Initial release. |