Change Log


All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.2.1 (2020-05-31)

Bug Fixes

  • cache: removes unnecessary set protection guard (#116) (72ae0ce)

4.2.0 (2020-05-26)


  • html: adds support for constructable stylesheets (#112) (80ad928)

4.1.9 (2020-05-09)

Bug Fixes

  • define: rewire own props values after upgrade (#115) (e849849)

4.1.8 (2020-05-01)

Bug Fixes

  • cache: deps should be always restored (7f62207)

  • html: remove circular dependencies (adda038)

4.1.7 (2020-03-31)

Bug Fixes

  • cache: restore deep deps for observed keys (ee85006)

4.1.6 (2020-03-05)

Bug Fixes

  • node: do not transpile es2015+ code for the node environment (#100) (047b6df)

4.1.5 (2020-02-26)

Bug Fixes

  • cache: add guard for accessing entry contexts property (#96) (e6444b0)

  • cache: ensure contexts are set in the observe setup (df9a823)

  • html: broken property names in template with all whitespace characters (#97) (14c415f)

4.1.4 (2020-02-24)

Bug Fixes

  • cache: add guard for accessing entry contexts property (#96) (4b8a916)

4.1.3 (2020-01-31)

Bug Fixes

  • property: correct attribute value for other than booleans (49a9eb1)

4.1.2 (2020-01-28)

Bug Fixes

  • cache: optmize context clean up for observed property (39baaa8)

  • html: fix replacing event listener callback (c64f4fd)

  • types: dispatch first argument (fb76ece)

4.1.1 (2020-01-17)

Bug Fixes

  • render: allow update before schedule; render call should return target (#87) (905b7af)

  • types: missing dispatch, minor template fixes, docs update (de328c1)

4.1.0 (2020-01-14)


4.0.4 (2020-01-08)

Bug Fixes

  • html: properly walk parent nodes for ShadyDOM polyfill (9e52b2f)

4.0.3 (2019-11-12)

Bug Fixes

  • cache: avoid memory leak in contexts for complex elements structure (8dc72df)

  • property: fixing error message (#54) (92f7939)

4.0.2 (2019-06-05)

Bug Fixes

  • html: nested custom elements in template break indexing parts (4c2ee3f)

4.0.1 (2019-06-04)

Bug Fixes

  • define: hmr in development mode only uses connect/disconnect callbacks (d74685e)

  • html: clear last arguments when template changes (d117ba8)

4.0.0 (2019-05-29)


  • define: change detection refactor (#51) (d8f7365)

  • define: exclude objects without descriptor methods from translation process (0a3e279)


  • define: Change detection mechanism no longer dispatches @invalidate DOM event. For side effects use the observe() method from the property descriptor. Read more in descriptors section of the documentation.

  • define: Objects without descriptor methods are no longer translated to property factory. You have to explicitly use property({...}) as the descriptor value. However, translation for array instances works as before (it always translates them to property factory). Read more in translation section of the documentation.

3.0.2 (2019-05-17)

Bug Fixes

  • render: minor performance refactor fixes (85b7b46)

3.0.1 (2019-05-16)

Bug Fixes

  • cache: minor performance refactor (c2c42f5)

  • html: minor performance refactor (07d0d28)

  • render: clear startTime fix & missing test (c48711d)

  • render: update sheduler refactor for performance boost (0ed17e4)

  • utils: memonize camelToDash result (18fa15c)

3.0.0 (2019-05-09)


  • html: set helper for event callbacks (993c52b)

  • shim: Remove shim.js in favor of @webcomponents/webcomponentsjs bundle (8c9b89b)


  • shim: hybrids/shim entry is no longer available. For older browsers support use @webcomponents/webcomponentsjs package.

2.0.2 (2019-03-05)

Bug Fixes

  • html: clear array items cache when value changes (f32fe1a)

2.0.1 (2019-03-04)

Bug Fixes

  • html: allows property expressions inside of table elements (92ce234)

  • test: edge and ie broken test fixes for the newest shadydom version (9cc7ad7)

2.0.0 (2019-01-08)

Bug Fixes

  • define: Translate only objects without get, set and connect keys (661dd32)

  • errors: simpler error messages (17b83e7)

  • html: add styles formatting and list separator (3331ee7)

  • utils: Support acronyms in pascalToDash fn. (85b7c17)


  • html: add style helper (a3c552a)

  • process.env fallback object for browsers usage (f840606)


  • define: Property as an object with connect key will not translate to property(value).

1.5.0 (2018-12-07)

Bug Fixes

  • property: remove unused default argument (312664e)


  • html: template engine refactor (50eb13d)

1.4.2 (2018-11-01)

Bug Fixes

  • utils: use window object instead of global proposal (#17) (84d1942)

1.4.1 (2018-10-04)

Bug Fixes

  • children: trigger invalidate host if one of children changes (33e9412)

  • define: remove element class bridge thanks to babel v7 (c0d6c9a)

1.4.0 (2018-09-25)


  • render: add options object for shadowRoot control (#14) (d56f028), closes #13

1.3.1 (2018-08-29)

Bug Fixes

  • cache: ensure calculation of deep dependency state (0f96ced)

1.3.0 (2018-08-28)

Bug Fixes

  • cache: stringify target with tag name in error messages (7b3752a)

  • cache: update cache only when value getter changes (990f00d)

  • html: upfront remove unused parts when update array expression (aa6c8de)


  • define: define with two modes for support of a map of elements (12984a0)

  • html: throws for missing element defintions in dev environment (4067ff5)

1.2.1 (2018-08-13)

Bug Fixes

  • hmr: sync render and html define helper for better HMR support (66250d4)

  • html: consistent order of attribute expressions during compilation (d391839)

  • parent: call check function only if hybrids are defined (b6527aa)

1.2.0 (2018-07-18)

Bug Fixes

  • html: svg element expressions always set attribute value (6000823)


  • children: function as an argument for complex conditions (5583f01)

  • parent: function as an argument for complex conditions (bd942f4)

1.1.4 (2018-06-12)

Bug Fixes

  • define: translate to render factory only if render key is a function (120a5ae)

  • html: allow non-unique keys for array items with efficient re-order (db2f9aa)

1.1.3 (2018-06-07)

Bug Fixes

  • html: ensure unique template id, exclude comments walking nodes (609c884)

1.1.2 (2018-06-06)

Bug Fixes

  • cache: prevent multiple get call after invalidate (c193107)

  • html: Support for external custom elements with shadow dom set in constructor (fd16d8a)

  • property: freeze only not null object values for IE11 support (cd378f7)

1.1.1 (2018-05-30)

Bug Fixes

  • cache: invalidate should increase state for related values (a9f29ea)

1.1.0 (2018-05-26)

Bug Fixes

  • children: dynamic added child should properly re-render element (74a1009)


  • dispatch: return host.dispatchEvent() result (#4) (474dc10)

  • shim: include required web api polyfills for IE11 directly in shim (89f2d60)

1.0.4 (2018-05-24)

Bug Fixes

  • deps: Use npm version of shims to support StackBlitz (9899247)

1.0.3 (2018-05-24)

Bug Fixes

  • children: defer children invalidation to not cache value too early (5d4d72f)

  • render: ShadyDOM slotted elements invalidation event dispatch (9af285c)

1.0.2 (2018-05-22)

Bug Fixes

  • cache: clear previous value only if flag is set (856e5c8)

  • css: use ShadyCSS api to support css custom properties in IE11 (b2062c8)

  • html: expressions in table family elements (87f7a55)

1.0.1 (2018-05-18)

Bug Fixes

  • hmr: catch render errors and clear state for module replacement (#3) (168340c)

1.0.0 (2018-05-14)