From 4f650dc6fc4bc5a38fbf1b3657a81d8c16fd2b85 Mon Sep 17 00:00:00 2001 From: Masquerade Circus Date: Mon, 6 Apr 2020 08:47:45 -0500 Subject: [PATCH] Release 4.3.0 --- CHANGELOG.md | 547 ++++++++++++++++++------------------------- dist/valyrian.min.js | 2 +- package.json | 2 +- 3 files changed, 233 insertions(+), 318 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce0e55a..c3233f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,733 +1,648 @@ -### [4.2.3](https://github.com/Masquerade-Circus/valyrian.js/compare/4.2.2...4.2.3) (2020-04-04) +## [4.3.0](https://github.com/Masquerade-Circus/valyrian.js/compare/4.2.3...4.3.0) (2020-04-06) + + +### Features +* **directives:** add v-model directive as plugin ([9f26926](https://github.com/Masquerade-Circus/valyrian.js/commit/9f269264ddcfba238571daefd5c2a08ed75f7fca)) + +### [4.2.3](https://github.com/Masquerade-Circus/valyrian.js/compare/4.2.2...4.2.3) (2020-04-04) ### Bug Fixes -* **router:** fix v-route directive ([1247e9a](https://github.com/Masquerade-Circus/valyrian.js/commit/1247e9ab297f5e1fde8602d5280c8123032385d5)) +- **router:** fix v-route directive ([1247e9a](https://github.com/Masquerade-Circus/valyrian.js/commit/1247e9ab297f5e1fde8602d5280c8123032385d5)) ### [4.2.2](https://github.com/Masquerade-Circus/valyrian.js/compare/4.2.1...4.2.2) (2020-04-04) - ### Code Refactoring -* **directives:** improved directives and attach v- before the name of the directive ([f2f11da](https://github.com/Masquerade-Circus/valyrian.js/commit/f2f11da0f8f2806d3314b1641e0c462982e9a437)) - +- **directives:** improved directives and attach v- before the name of the directive ([f2f11da](https://github.com/Masquerade-Circus/valyrian.js/commit/f2f11da0f8f2806d3314b1641e0c462982e9a437)) ### General changes -* Release 4.2.2 ([823b844](https://github.com/Masquerade-Circus/valyrian.js/commit/823b844ffa2e16784f479c12c7d65c6c2bdfaade)) +- Release 4.2.2 ([823b844](https://github.com/Masquerade-Circus/valyrian.js/commit/823b844ffa2e16784f479c12c7d65c6c2bdfaade)) ### [4.2.1](https://github.com/Masquerade-Circus/valyrian.js/compare/4.2.0...4.2.1) (2020-03-28) - ### Bug Fixes -* **main:** fix keyed lists not updating children ([56296fc](https://github.com/Masquerade-Circus/valyrian.js/commit/56296fc1365d2c96390f740af0c8942937e6f3e2)) - +- **main:** fix keyed lists not updating children ([56296fc](https://github.com/Masquerade-Circus/valyrian.js/commit/56296fc1365d2c96390f740af0c8942937e6f3e2)) ### Code Refactoring -* **directives:** remove v-text directive does not improve performance ([26c6780](https://github.com/Masquerade-Circus/valyrian.js/commit/26c6780f765d3a31e0cad881ea596cc4a6fc144e)) - +- **directives:** remove v-text directive does not improve performance ([26c6780](https://github.com/Masquerade-Circus/valyrian.js/commit/26c6780f765d3a31e0cad881ea596cc4a6fc144e)) ### General changes -* Release 4.2.1 ([00818d3](https://github.com/Masquerade-Circus/valyrian.js/commit/00818d38c06988f0702493480eeb6403c393a8fa)) +- Release 4.2.1 ([00818d3](https://github.com/Masquerade-Circus/valyrian.js/commit/00818d38c06988f0702493480eeb6403c393a8fa)) ## [4.2.0](https://github.com/Masquerade-Circus/valyrian.js/compare/4.1.0...4.2.0) (2020-03-27) - ### Features -* **directives:** add v-pre directive to direct raw html render ([dc16e92](https://github.com/Masquerade-Circus/valyrian.js/commit/dc16e922bcefa1f84921b8f3cf6c07fe067d31e3)) -* **directives:** add v-text directive ([b6523ae](https://github.com/Masquerade-Circus/valyrian.js/commit/b6523ae211a3a1ee55ca82999645a19066418a67)) - +- **directives:** add v-pre directive to direct raw html render ([dc16e92](https://github.com/Masquerade-Circus/valyrian.js/commit/dc16e922bcefa1f84921b8f3cf6c07fe067d31e3)) +- **directives:** add v-text directive ([b6523ae](https://github.com/Masquerade-Circus/valyrian.js/commit/b6523ae211a3a1ee55ca82999645a19066418a67)) ### Code Refactoring -* **directives:** change model directive to data directive ([f2eaf8b](https://github.com/Masquerade-Circus/valyrian.js/commit/f2eaf8ba346f59a7603927e32c53cc8a905bffb7)) -* **directives:** change v-pre to v-html ([280cf58](https://github.com/Masquerade-Circus/valyrian.js/commit/280cf58f6e591d92549e6aa6655e32a0e0efd234)) -* **directives:** rename v-noop to v-once ([3159099](https://github.com/Masquerade-Circus/valyrian.js/commit/31590990e17d99d863e967e5bbdd89b79a14a5db)) - +- **directives:** change model directive to data directive ([f2eaf8b](https://github.com/Masquerade-Circus/valyrian.js/commit/f2eaf8ba346f59a7603927e32c53cc8a905bffb7)) +- **directives:** change v-pre to v-html ([280cf58](https://github.com/Masquerade-Circus/valyrian.js/commit/280cf58f6e591d92549e6aa6655e32a0e0efd234)) +- **directives:** rename v-noop to v-once ([3159099](https://github.com/Masquerade-Circus/valyrian.js/commit/31590990e17d99d863e967e5bbdd89b79a14a5db)) ### Tests -* **directives:** add v-skip directive test ([6d50ecc](https://github.com/Masquerade-Circus/valyrian.js/commit/6d50ecc73bc61810a067e81267af3f85544826da)) - +- **directives:** add v-skip directive test ([6d50ecc](https://github.com/Masquerade-Circus/valyrian.js/commit/6d50ecc73bc61810a067e81267af3f85544826da)) ### General changes -* Release 4.2.0 ([823d1b0](https://github.com/Masquerade-Circus/valyrian.js/commit/823d1b032e077bfc3ce11e387e4e90d48038d597)) +- Release 4.2.0 ([823d1b0](https://github.com/Masquerade-Circus/valyrian.js/commit/823d1b032e077bfc3ce11e387e4e90d48038d597)) ## [4.1.0](https://github.com/Masquerade-Circus/valyrian.js/compare/4.0.2...4.1.0) (2020-03-20) - ### Features -* **main lib:** add newInstance method to allow to handle multiple mounts ([d09a2a6](https://github.com/Masquerade-Circus/valyrian.js/commit/d09a2a6ae35926d4010830f46da583d784ddcbc2)) - +- **main lib:** add newInstance method to allow to handle multiple mounts ([d09a2a6](https://github.com/Masquerade-Circus/valyrian.js/commit/d09a2a6ae35926d4010830f46da583d784ddcbc2)) ### General changes -* Release 4.1.0 ([57aec3a](https://github.com/Masquerade-Circus/valyrian.js/commit/57aec3a2e94da2eb4e006b6a426d1466723693fd)) -* Create FUNDING.yml ([074e0b8](https://github.com/Masquerade-Circus/valyrian.js/commit/074e0b84c98c2269aee433823cc103f411a0385f)) +- Release 4.1.0 ([57aec3a](https://github.com/Masquerade-Circus/valyrian.js/commit/57aec3a2e94da2eb4e006b6a426d1466723693fd)) +- Create FUNDING.yml ([074e0b8](https://github.com/Masquerade-Circus/valyrian.js/commit/074e0b84c98c2269aee433823cc103f411a0385f)) ### [4.0.2](https://github.com/Masquerade-Circus/valyrian.js/compare/4.0.1...4.0.2) (2020-03-06) - ### Code Refactoring -* **main lib:** remove v-list directive. Don't show null and undefined as text ([61e24fd](https://github.com/Masquerade-Circus/valyrian.js/commit/61e24fdff7fbeb67f995c9d2b52e55caa00da928)) - +- **main lib:** remove v-list directive. Don't show null and undefined as text ([61e24fd](https://github.com/Masquerade-Circus/valyrian.js/commit/61e24fdff7fbeb67f995c9d2b52e55caa00da928)) ### General changes -* Release 4.0.2 ([a0a5bab](https://github.com/Masquerade-Circus/valyrian.js/commit/a0a5babc36d661d04c555ccf7c4e1364b8993674)) +- Release 4.0.2 ([a0a5bab](https://github.com/Masquerade-Circus/valyrian.js/commit/a0a5babc36d661d04c555ccf7c4e1364b8993674)) ### [4.0.1](https://github.com/Masquerade-Circus/valyrian.js/compare/4.0.0...4.0.1) (2020-01-26) - ### Bug Fixes -* **main:** fix replace error when the old node has been deleted or moved ([ba7b5c5](https://github.com/Masquerade-Circus/valyrian.js/commit/ba7b5c5d4d6b567f991bc0ac8d3ac237f44bfe8b)) - +- **main:** fix replace error when the old node has been deleted or moved ([ba7b5c5](https://github.com/Masquerade-Circus/valyrian.js/commit/ba7b5c5d4d6b567f991bc0ac8d3ac237f44bfe8b)) ### General changes -* Release 4.0.1 ([9feea1b](https://github.com/Masquerade-Circus/valyrian.js/commit/9feea1b13e81c99594e7e3ae8be6b8280bc87589)) +- Release 4.0.1 ([9feea1b](https://github.com/Masquerade-Circus/valyrian.js/commit/9feea1b13e81c99594e7e3ae8be6b8280bc87589)) ## [4.0.0](https://github.com/Masquerade-Circus/valyrian.js/compare/3.3.4...4.0.0) (2020-01-26) - ### ⚠ BREAKING CHANGES -* **main:** Lifecycle methods renamed. +- **main:** Lifecycle methods renamed. ### Features -* **main:** add a reserved model property to pass data to the vnodes ([496f3ce](https://github.com/Masquerade-Circus/valyrian.js/commit/496f3ce15d84b187cdaa897d415a77138120ae55)) - +- **main:** add a reserved model property to pass data to the vnodes ([496f3ce](https://github.com/Masquerade-Circus/valyrian.js/commit/496f3ce15d84b187cdaa897d415a77138120ae55)) ### Bug Fixes -* **main:** handle TextVnode as newVnode ([f29cec3](https://github.com/Masquerade-Circus/valyrian.js/commit/f29cec3c47310c2f4aa8719f5fd0659f52f8388d)) -* **main (directives):** fix use of v-if with v-for trigger an error ([dec8522](https://github.com/Masquerade-Circus/valyrian.js/commit/dec8522ec4328c7321d526fa77fb6bd308081541)) -* **main (keyed lists):** fix error replaced vnode with undefined node and updating with defined node ([782dbe7](https://github.com/Masquerade-Circus/valyrian.js/commit/782dbe77856965df3f18602ff4dd713ac622d949)) - +- **main:** handle TextVnode as newVnode ([f29cec3](https://github.com/Masquerade-Circus/valyrian.js/commit/f29cec3c47310c2f4aa8719f5fd0659f52f8388d)) +- **main (directives):** fix use of v-if with v-for trigger an error ([dec8522](https://github.com/Masquerade-Circus/valyrian.js/commit/dec8522ec4328c7321d526fa77fb6bd308081541)) +- **main (keyed lists):** fix error replaced vnode with undefined node and updating with defined node ([782dbe7](https://github.com/Masquerade-Circus/valyrian.js/commit/782dbe77856965df3f18602ff4dd713ac622d949)) ### Performance Improvements -* **main:** increase performance for all new changes ([b4b1a0d](https://github.com/Masquerade-Circus/valyrian.js/commit/b4b1a0d440ba8d699827b5a155a2d877c69d6c47)) - +- **main:** increase performance for all new changes ([b4b1a0d](https://github.com/Masquerade-Circus/valyrian.js/commit/b4b1a0d440ba8d699827b5a155a2d877c69d6c47)) ### improvement -* **main:** rename lifecycle methods to write more easily in object props ([25b1eba](https://github.com/Masquerade-Circus/valyrian.js/commit/25b1eba52a34a54bcfdbf1e8304c0e7ad0de65b7)) - +- **main:** rename lifecycle methods to write more easily in object props ([25b1eba](https://github.com/Masquerade-Circus/valyrian.js/commit/25b1eba52a34a54bcfdbf1e8304c0e7ad0de65b7)) ### Tests -* **signals tests:** fix signals tests, change deprecated v-remove to onremove lifecycle ([3da0f10](https://github.com/Masquerade-Circus/valyrian.js/commit/3da0f100666c6487bc58ca3ee022a15ed8793759)) - +- **signals tests:** fix signals tests, change deprecated v-remove to onremove lifecycle ([3da0f10](https://github.com/Masquerade-Circus/valyrian.js/commit/3da0f100666c6487bc58ca3ee022a15ed8793759)) ### General changes -* Release 4.0.0 ([faed4a8](https://github.com/Masquerade-Circus/valyrian.js/commit/faed4a864b88f948f3617d72bdcb122e4ef36200)) +- Release 4.0.0 ([faed4a8](https://github.com/Masquerade-Circus/valyrian.js/commit/faed4a864b88f948f3617d72bdcb122e4ef36200)) ### [3.3.4](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.3.3...3.3.4) (2020-01-24) - ### Bug Fixes -* fix release-it hooks order ([20ef775](https://github.com/Masquerade-Circus/valyrian.js/commit/20ef7754ed7108e5951d7b1981b67a44e2016082)) - +- fix release-it hooks order ([20ef775](https://github.com/Masquerade-Circus/valyrian.js/commit/20ef7754ed7108e5951d7b1981b67a44e2016082)) ### Build System -* add release-it to the repo ([2a75faa](https://github.com/Masquerade-Circus/valyrian.js/commit/2a75faa18565adf680c3f9088073f386ff9e69c6)) - +- add release-it to the repo ([2a75faa](https://github.com/Masquerade-Circus/valyrian.js/commit/2a75faa18565adf680c3f9088073f386ff9e69c6)) ### General changes -* Release 3.3.4 ([d5c3fba](https://github.com/Masquerade-Circus/valyrian.js/commit/d5c3fba28838bd74a3197cc2b3104cc0630ba694)) +- Release 3.3.4 ([d5c3fba](https://github.com/Masquerade-Circus/valyrian.js/commit/d5c3fba28838bd74a3197cc2b3104cc0630ba694)) ### [3.3.3](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.3.2...v3.3.3) (2020-01-24) - ### Bug Fixes -* make if directives work with truthy and falsy values ([624eae6](https://github.com/Masquerade-Circus/valyrian.js/commit/624eae6f505229431adef59827d2afeb1b09a0fe)) - +- make if directives work with truthy and falsy values ([624eae6](https://github.com/Masquerade-Circus/valyrian.js/commit/624eae6f505229431adef59827d2afeb1b09a0fe)) ### General changes -* 3.3.3 ([3849c4c](https://github.com/Masquerade-Circus/valyrian.js/commit/3849c4c28eb2bc0dadbcb86303be973d656ca56a)) +- 3.3.3 ([3849c4c](https://github.com/Masquerade-Circus/valyrian.js/commit/3849c4c28eb2bc0dadbcb86303be973d656ca56a)) ### [3.3.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.3.1...v3.3.2) (2020-01-24) - ### Bug Fixes -* fix v.trust not returning correct text dom ([32a52a8](https://github.com/Masquerade-Circus/valyrian.js/commit/32a52a86d02fb8ea165344d9f566deac9f349d5a)) - +- fix v.trust not returning correct text dom ([32a52a8](https://github.com/Masquerade-Circus/valyrian.js/commit/32a52a86d02fb8ea165344d9f566deac9f349d5a)) ### General changes -* 3.3.2 ([b574d93](https://github.com/Masquerade-Circus/valyrian.js/commit/b574d9394872f97a2345d5aec6fb80f32c0185fb)) +- 3.3.2 ([b574d93](https://github.com/Masquerade-Circus/valyrian.js/commit/b574d9394872f97a2345d5aec6fb80f32c0185fb)) ### [3.3.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.3.0...v3.3.1) (2020-01-22) - ### Bug Fixes -* fix cleanup not working correctly ([ff26b5b](https://github.com/Masquerade-Circus/valyrian.js/commit/ff26b5ba069b3c5a4c42c90a8e91fcec333967b5)) - +- fix cleanup not working correctly ([ff26b5b](https://github.com/Masquerade-Circus/valyrian.js/commit/ff26b5ba069b3c5a4c42c90a8e91fcec333967b5)) ### Code Refactoring -* improve performance and size. Add commitizen ([6cafa51](https://github.com/Masquerade-Circus/valyrian.js/commit/6cafa513d4db9e2e9f7e51811c7b8906f8b4b73c)) - +- improve performance and size. Add commitizen ([6cafa51](https://github.com/Masquerade-Circus/valyrian.js/commit/6cafa513d4db9e2e9f7e51811c7b8906f8b4b73c)) ### General changes -* 3.3.1 ([dec23e7](https://github.com/Masquerade-Circus/valyrian.js/commit/dec23e7d59a4132fb49e945283d4638e451ed342)) -* Improve size and performance. ([d767121](https://github.com/Masquerade-Circus/valyrian.js/commit/d76712109ac1e215ec9db8243a5daf21e8090774)) +- 3.3.1 ([dec23e7](https://github.com/Masquerade-Circus/valyrian.js/commit/dec23e7d59a4132fb49e945283d4638e451ed342)) +- Improve size and performance. ([d767121](https://github.com/Masquerade-Circus/valyrian.js/commit/d76712109ac1e215ec9db8243a5daf21e8090774)) ## [3.3.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.2.0...v3.3.0) (2020-01-17) - ### General changes -* 3.3.0 ([df06727](https://github.com/Masquerade-Circus/valyrian.js/commit/df067276f2f306f7e3abf9ea153b3cc68bfcd2f2)) -* 3.2.1 ([727d27e](https://github.com/Masquerade-Circus/valyrian.js/commit/727d27e7d40dbcce974eef4ac3a297475c59221b)) -* Simplified hooks. Some minor upgrades and updates. ([e084a14](https://github.com/Masquerade-Circus/valyrian.js/commit/e084a14135daa0f3e9a6e4d9e7bdf61d89ff3614)) -* Hooks (#11) ([98e0a76](https://github.com/Masquerade-Circus/valyrian.js/commit/98e0a7690fb31cc5da9f0374d0b29ca013b4a749)), closes [#11](https://github.com/Masquerade-Circus/valyrian.js/issues/11) -* Improved performance ([973fec6](https://github.com/Masquerade-Circus/valyrian.js/commit/973fec673aa6095721e23252767f2f4d0b78ec4f)) -* Minor changes in logic ([693e0b8](https://github.com/Masquerade-Circus/valyrian.js/commit/693e0b823e2eefdaf06b27aa7d1d45c725a415d2)) +- 3.3.0 ([df06727](https://github.com/Masquerade-Circus/valyrian.js/commit/df067276f2f306f7e3abf9ea153b3cc68bfcd2f2)) +- 3.2.1 ([727d27e](https://github.com/Masquerade-Circus/valyrian.js/commit/727d27e7d40dbcce974eef4ac3a297475c59221b)) +- Simplified hooks. Some minor upgrades and updates. ([e084a14](https://github.com/Masquerade-Circus/valyrian.js/commit/e084a14135daa0f3e9a6e4d9e7bdf61d89ff3614)) +- Hooks (#11) ([98e0a76](https://github.com/Masquerade-Circus/valyrian.js/commit/98e0a7690fb31cc5da9f0374d0b29ca013b4a749)), closes [#11](https://github.com/Masquerade-Circus/valyrian.js/issues/11) +- Improved performance ([973fec6](https://github.com/Masquerade-Circus/valyrian.js/commit/973fec673aa6095721e23252767f2f4d0b78ec4f)) +- Minor changes in logic ([693e0b8](https://github.com/Masquerade-Circus/valyrian.js/commit/693e0b823e2eefdaf06b27aa7d1d45c725a415d2)) ## [3.2.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.1.1...v3.2.0) (2019-11-21) - ### General changes -* 3.2.0 ([d8cab4c](https://github.com/Masquerade-Circus/valyrian.js/commit/d8cab4c74e1c5107af79836145b1fabe7385eb55)) -* Upgrade dependencies. Add a way to update a single property ([6a275ce](https://github.com/Masquerade-Circus/valyrian.js/commit/6a275ce302b8b5a802aced114e666ede9ae132b6)) +- 3.2.0 ([d8cab4c](https://github.com/Masquerade-Circus/valyrian.js/commit/d8cab4c74e1c5107af79836145b1fabe7385eb55)) +- Upgrade dependencies. Add a way to update a single property ([6a275ce](https://github.com/Masquerade-Circus/valyrian.js/commit/6a275ce302b8b5a802aced114e666ede9ae132b6)) ### [3.1.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.1.0...v3.1.1) (2019-09-28) - ### General changes -* 3.1.1 ([e8faa24](https://github.com/Masquerade-Circus/valyrian.js/commit/e8faa24d670cd1f3dda2549f25b4b3ee62d09878)) -* Reorganize code base ([18639ce](https://github.com/Masquerade-Circus/valyrian.js/commit/18639ce396b5e1baef0d178bb83cc206e09da2c8)) -* Improved server side dom implementation. Added test for request plugin. ([2185e50](https://github.com/Masquerade-Circus/valyrian.js/commit/2185e501bfca16031a73bfd7d110bf9e4bdb7d4a)) +- 3.1.1 ([e8faa24](https://github.com/Masquerade-Circus/valyrian.js/commit/e8faa24d670cd1f3dda2549f25b4b3ee62d09878)) +- Reorganize code base ([18639ce](https://github.com/Masquerade-Circus/valyrian.js/commit/18639ce396b5e1baef0d178bb83cc206e09da2c8)) +- Improved server side dom implementation. Added test for request plugin. ([2185e50](https://github.com/Masquerade-Circus/valyrian.js/commit/2185e501bfca16031a73bfd7d110bf9e4bdb7d4a)) ## [3.1.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.0.2...v3.1.0) (2019-09-27) - ### General changes -* 3.1.0 ([475e118](https://github.com/Masquerade-Circus/valyrian.js/commit/475e118c945abb5d4de61890a37eb7bbfaf29312)) -* Upgrade dependencies ([47b3472](https://github.com/Masquerade-Circus/valyrian.js/commit/47b34728b66af19684e1af6ca3c10e7aa3c7612b)) -* Minor updates ([c4f70aa](https://github.com/Masquerade-Circus/valyrian.js/commit/c4f70aad71a3b1cd49ea2f8f4af64379fd4b8b86)) -* Change uncss for purgecss ([d5f4306](https://github.com/Masquerade-Circus/valyrian.js/commit/d5f4306befe271a079f4e5e8a563a4e800fabb1e)) -* Minor updates ([0aabde2](https://github.com/Masquerade-Circus/valyrian.js/commit/0aabde234dff24ba764a411149018e29e7e19df1)) +- 3.1.0 ([475e118](https://github.com/Masquerade-Circus/valyrian.js/commit/475e118c945abb5d4de61890a37eb7bbfaf29312)) +- Upgrade dependencies ([47b3472](https://github.com/Masquerade-Circus/valyrian.js/commit/47b34728b66af19684e1af6ca3c10e7aa3c7612b)) +- Minor updates ([c4f70aa](https://github.com/Masquerade-Circus/valyrian.js/commit/c4f70aad71a3b1cd49ea2f8f4af64379fd4b8b86)) +- Change uncss for purgecss ([d5f4306](https://github.com/Masquerade-Circus/valyrian.js/commit/d5f4306befe271a079f4e5e8a563a4e800fabb1e)) +- Minor updates ([0aabde2](https://github.com/Masquerade-Circus/valyrian.js/commit/0aabde234dff24ba764a411149018e29e7e19df1)) ### [3.0.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.0.1...v3.0.2) (2019-09-09) - ### General changes -* Repo cleanup ([808039a](https://github.com/Masquerade-Circus/valyrian.js/commit/808039a976cf8632c98dbd7220bebc0f891c3e16)) -* Repo cleanup ([75500e2](https://github.com/Masquerade-Circus/valyrian.js/commit/75500e20839f1892605ed58ff476ff1ed9fc93e8)) +- Repo cleanup ([808039a](https://github.com/Masquerade-Circus/valyrian.js/commit/808039a976cf8632c98dbd7220bebc0f891c3e16)) +- Repo cleanup ([75500e2](https://github.com/Masquerade-Circus/valyrian.js/commit/75500e20839f1892605ed58ff476ff1ed9fc93e8)) ### [3.0.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v3.0.0...v3.0.1) (2019-09-09) - ### General changes -* Change key diff algorithm. Improve performance ([b4593da](https://github.com/Masquerade-Circus/valyrian.js/commit/b4593da76878a2241415991b712924ae7a466160)) -* Change key diff algorithm. Improve performance ([a420863](https://github.com/Masquerade-Circus/valyrian.js/commit/a4208638048b9ca6faa3a8064db9f91dc94c2bde)) +- Change key diff algorithm. Improve performance ([b4593da](https://github.com/Masquerade-Circus/valyrian.js/commit/b4593da76878a2241415991b712924ae7a466160)) +- Change key diff algorithm. Improve performance ([a420863](https://github.com/Masquerade-Circus/valyrian.js/commit/a4208638048b9ca6faa3a8064db9f91dc94c2bde)) ## [3.0.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.7.0...v3.0.0) (2019-09-08) - ### General changes -* Implemented key-diff algorithm and improved performance ([a7ba2d0](https://github.com/Masquerade-Circus/valyrian.js/commit/a7ba2d0a6d09a49d81eef9741999c46a458373ac)) -* Fix buildAssets file ([a911f3f](https://github.com/Masquerade-Circus/valyrian.js/commit/a911f3f06e95a115772d198cc2ed441b75e39130)) -* Enhancements (#8) ([e6fb137](https://github.com/Masquerade-Circus/valyrian.js/commit/e6fb1370fff0863cd6334802e6003a7c639f77a0)), closes [#8](https://github.com/Masquerade-Circus/valyrian.js/issues/8) +- Implemented key-diff algorithm and improved performance ([a7ba2d0](https://github.com/Masquerade-Circus/valyrian.js/commit/a7ba2d0a6d09a49d81eef9741999c46a458373ac)) +- Fix buildAssets file ([a911f3f](https://github.com/Masquerade-Circus/valyrian.js/commit/a911f3f06e95a115772d198cc2ed441b75e39130)) +- Enhancements (#8) ([e6fb137](https://github.com/Masquerade-Circus/valyrian.js/commit/e6fb1370fff0863cd6334802e6003a7c639f77a0)), closes [#8](https://github.com/Masquerade-Circus/valyrian.js/issues/8) ## [2.7.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.6.0...v2.7.0) (2019-03-09) - ### General changes -* 2.7.0 ([5895be9](https://github.com/Masquerade-Circus/valyrian.js/commit/5895be968c1a98a938d18fd82d6fc988c33b8326)) -* Updated tests and convert nodes before patch ([d0ec751](https://github.com/Masquerade-Circus/valyrian.js/commit/d0ec7518839a684d3b911c3c52e500485f19e9d1)) -* Updated patch, always assign methods ([e35ab92](https://github.com/Masquerade-Circus/valyrian.js/commit/e35ab92f39799c4091ba61dce5b459a710d341d0)) +- 2.7.0 ([5895be9](https://github.com/Masquerade-Circus/valyrian.js/commit/5895be968c1a98a938d18fd82d6fc988c33b8326)) +- Updated tests and convert nodes before patch ([d0ec751](https://github.com/Masquerade-Circus/valyrian.js/commit/d0ec7518839a684d3b911c3c52e500485f19e9d1)) +- Updated patch, always assign methods ([e35ab92](https://github.com/Masquerade-Circus/valyrian.js/commit/e35ab92f39799c4091ba61dce5b459a710d341d0)) ## [2.6.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.5.3...v2.6.0) (2019-03-05) - ### General changes -* 2.6.0 ([472c947](https://github.com/Masquerade-Circus/valyrian.js/commit/472c9472e12ddc6d06053b42122755c1aee3beac)) -* Add onbeforeupdate method ([1f8e5e5](https://github.com/Masquerade-Circus/valyrian.js/commit/1f8e5e5aa23e3228a4d10fd9f8399124a9b39723)) -* Added attribute bindings ([d537709](https://github.com/Masquerade-Circus/valyrian.js/commit/d537709c51c921263be6709eab91b00278c9202d)) +- 2.6.0 ([472c947](https://github.com/Masquerade-Circus/valyrian.js/commit/472c9472e12ddc6d06053b42122755c1aee3beac)) +- Add onbeforeupdate method ([1f8e5e5](https://github.com/Masquerade-Circus/valyrian.js/commit/1f8e5e5aa23e3228a4d10fd9f8399124a9b39723)) +- Added attribute bindings ([d537709](https://github.com/Masquerade-Circus/valyrian.js/commit/d537709c51c921263be6709eab91b00278c9202d)) ### [2.5.3](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.5.2...v2.5.3) (2019-03-05) - ### General changes -* 2.5.3 ([cf5d3e7](https://github.com/Masquerade-Circus/valyrian.js/commit/cf5d3e77a9c455a22b42195a2ef8c5ff3bcc640e)) -* Fix not updating dom property directly ([f3cff2b](https://github.com/Masquerade-Circus/valyrian.js/commit/f3cff2b4f9dfcbfc4444b7ba667623cc543e2297)) +- 2.5.3 ([cf5d3e7](https://github.com/Masquerade-Circus/valyrian.js/commit/cf5d3e77a9c455a22b42195a2ef8c5ff3bcc640e)) +- Fix not updating dom property directly ([f3cff2b](https://github.com/Masquerade-Circus/valyrian.js/commit/f3cff2b4f9dfcbfc4444b7ba667623cc543e2297)) ### [2.5.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.5.1...v2.5.2) (2019-03-04) - ### General changes -* 2.5.2 ([ea23c73](https://github.com/Masquerade-Circus/valyrian.js/commit/ea23c739f6bd1ea31cab9e92664d643bfb75e121)) +- 2.5.2 ([ea23c73](https://github.com/Masquerade-Circus/valyrian.js/commit/ea23c739f6bd1ea31cab9e92664d643bfb75e121)) ### [2.5.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.5.0...v2.5.1) (2019-03-04) - ### General changes -* 2.5.1 ([cdba9a8](https://github.com/Masquerade-Circus/valyrian.js/commit/cdba9a86bfe2c755f0eaef2e269e275297df17b3)) -* Fix lifecycleCall ([21899e7](https://github.com/Masquerade-Circus/valyrian.js/commit/21899e7c600fd75893cd3f51ff76e38bef983dee)) +- 2.5.1 ([cdba9a8](https://github.com/Masquerade-Circus/valyrian.js/commit/cdba9a86bfe2c755f0eaef2e269e275297df17b3)) +- Fix lifecycleCall ([21899e7](https://github.com/Masquerade-Circus/valyrian.js/commit/21899e7c600fd75893cd3f51ff76e38bef983dee)) ## [2.5.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.4.2...v2.5.0) (2019-03-04) - ### General changes -* 2.5.0 ([c98993f](https://github.com/Masquerade-Circus/valyrian.js/commit/c98993fa1fcd8e8b44c0f6f51bb2f1ddc09c9a0c)) -* Reduced size and improve performance. ([8c31273](https://github.com/Masquerade-Circus/valyrian.js/commit/8c31273e752c582ef8905ee79c95bbf0b8581c4b)) -* Updated patch ([12a0054](https://github.com/Masquerade-Circus/valyrian.js/commit/12a0054d290e5314c7217b63b3b23b4d339771d5)) +- 2.5.0 ([c98993f](https://github.com/Masquerade-Circus/valyrian.js/commit/c98993fa1fcd8e8b44c0f6f51bb2f1ddc09c9a0c)) +- Reduced size and improve performance. ([8c31273](https://github.com/Masquerade-Circus/valyrian.js/commit/8c31273e752c582ef8905ee79c95bbf0b8581c4b)) +- Updated patch ([12a0054](https://github.com/Masquerade-Circus/valyrian.js/commit/12a0054d290e5314c7217b63b3b23b4d339771d5)) ### [2.4.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.4.1...v2.4.2) (2019-03-01) - ### General changes -* 2.4.2 ([eaa3e0d](https://github.com/Masquerade-Circus/valyrian.js/commit/eaa3e0dfbf5230bb47c77b12b53aeb6c36b80e46)) -* Update router plugin ([dc21cf9](https://github.com/Masquerade-Circus/valyrian.js/commit/dc21cf9b8be94daafa3df94806dc106c85bfbf88)) +- 2.4.2 ([eaa3e0d](https://github.com/Masquerade-Circus/valyrian.js/commit/eaa3e0dfbf5230bb47c77b12b53aeb6c36b80e46)) +- Update router plugin ([dc21cf9](https://github.com/Masquerade-Circus/valyrian.js/commit/dc21cf9b8be94daafa3df94806dc106c85bfbf88)) ### [2.4.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.4.0...v2.4.1) (2019-02-27) - ### General changes -* 2.4.1 ([b4b401a](https://github.com/Masquerade-Circus/valyrian.js/commit/b4b401abf386f25df0e8f58f2e11dfdae5f76646)) -* Fix router ([eadfba5](https://github.com/Masquerade-Circus/valyrian.js/commit/eadfba50f470546afd4fca507856b4425aebfaa8)) +- 2.4.1 ([b4b401a](https://github.com/Masquerade-Circus/valyrian.js/commit/b4b401abf386f25df0e8f58f2e11dfdae5f76646)) +- Fix router ([eadfba5](https://github.com/Masquerade-Circus/valyrian.js/commit/eadfba50f470546afd4fca507856b4425aebfaa8)) ## [2.4.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.3.1...v2.4.0) (2019-02-27) - ### General changes -* 2.4.0 ([b7bedce](https://github.com/Masquerade-Circus/valyrian.js/commit/b7bedce21bd46ec04337c1da4ecbdc1abb778d08)) -* Update patch method ([25235e7](https://github.com/Masquerade-Circus/valyrian.js/commit/25235e71cd04a00482924f54b63a7dc6ae345dd6)) -* Updated patch ([b4bfe73](https://github.com/Masquerade-Circus/valyrian.js/commit/b4bfe730f02efa2c88ed379e308e2455b1a81d88)) -* Update flat method ([e518e4b](https://github.com/Masquerade-Circus/valyrian.js/commit/e518e4b610f4806b239607a1572c3a4dfb3be9b5)) +- 2.4.0 ([b7bedce](https://github.com/Masquerade-Circus/valyrian.js/commit/b7bedce21bd46ec04337c1da4ecbdc1abb778d08)) +- Update patch method ([25235e7](https://github.com/Masquerade-Circus/valyrian.js/commit/25235e71cd04a00482924f54b63a7dc6ae345dd6)) +- Updated patch ([b4bfe73](https://github.com/Masquerade-Circus/valyrian.js/commit/b4bfe730f02efa2c88ed379e308e2455b1a81d88)) +- Update flat method ([e518e4b](https://github.com/Masquerade-Circus/valyrian.js/commit/e518e4b610f4806b239607a1572c3a4dfb3be9b5)) ### [2.3.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.3.0...v2.3.1) (2019-02-19) - ### General changes -* Fix bug replacing text node with dom node ([3c659fc](https://github.com/Masquerade-Circus/valyrian.js/commit/3c659fc103a39962732d52475615c2fa53246f75)) -* Fix error replacing text node with dom node. Target safari 10. ([0f8271b](https://github.com/Masquerade-Circus/valyrian.js/commit/0f8271b71cda3cf5a9d16e1430d08a64d56bd1cc)) +- Fix bug replacing text node with dom node ([3c659fc](https://github.com/Masquerade-Circus/valyrian.js/commit/3c659fc103a39962732d52475615c2fa53246f75)) +- Fix error replacing text node with dom node. Target safari 10. ([0f8271b](https://github.com/Masquerade-Circus/valyrian.js/commit/0f8271b71cda3cf5a9d16e1430d08a64d56bd1cc)) ## [2.3.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.2.7...v2.3.0) (2019-02-16) - ### General changes -* 2.3.0 ([b0eb9be](https://github.com/Masquerade-Circus/valyrian.js/commit/b0eb9becf1edc6f0a0118ead289151df6029a06d)) -* Removed oninit. ([4d497a5](https://github.com/Masquerade-Circus/valyrian.js/commit/4d497a5c5c5c7a15cc8ab572a05939f73f1aeb25)) +- 2.3.0 ([b0eb9be](https://github.com/Masquerade-Circus/valyrian.js/commit/b0eb9becf1edc6f0a0118ead289151df6029a06d)) +- Removed oninit. ([4d497a5](https://github.com/Masquerade-Circus/valyrian.js/commit/4d497a5c5c5c7a15cc8ab572a05939f73f1aeb25)) ### [2.2.7](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.2.6...v2.2.7) (2019-02-15) - ### General changes -* 2.2.7 ([6857983](https://github.com/Masquerade-Circus/valyrian.js/commit/6857983999af44dd7c4768d1727fe0267784b034)) -* Fix case where newNode is falsy but not undefined. ([4a785f4](https://github.com/Masquerade-Circus/valyrian.js/commit/4a785f485e27a04476a8a00da4db0cfd9c3be695)) +- 2.2.7 ([6857983](https://github.com/Masquerade-Circus/valyrian.js/commit/6857983999af44dd7c4768d1727fe0267784b034)) +- Fix case where newNode is falsy but not undefined. ([4a785f4](https://github.com/Masquerade-Circus/valyrian.js/commit/4a785f485e27a04476a8a00da4db0cfd9c3be695)) ### [2.2.6](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.2.5...v2.2.6) (2019-02-15) - ### General changes -* 2.2.6 ([bf124fb](https://github.com/Masquerade-Circus/valyrian.js/commit/bf124fbc296b9fc47333f084d0d6e68969e4aa77)) -* Fix case where newNode is falsy but not undefined. ([cae8c54](https://github.com/Masquerade-Circus/valyrian.js/commit/cae8c547f7d3709d8f55d5a1aaed9dd3a3260fcd)) +- 2.2.6 ([bf124fb](https://github.com/Masquerade-Circus/valyrian.js/commit/bf124fbc296b9fc47333f084d0d6e68969e4aa77)) +- Fix case where newNode is falsy but not undefined. ([cae8c54](https://github.com/Masquerade-Circus/valyrian.js/commit/cae8c547f7d3709d8f55d5a1aaed9dd3a3260fcd)) ### [2.2.5](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.2.4...v2.2.5) (2019-02-09) - ### General changes -* 2.2.5 ([3bc4c6d](https://github.com/Masquerade-Circus/valyrian.js/commit/3bc4c6d87558398b2f796fd048bf2bb562cc1652)) -* Remove root index.js ([7a72fd5](https://github.com/Masquerade-Circus/valyrian.js/commit/7a72fd56f7ee4301f53848855731bdc4b8b646dc)) -* Added v.routes.link helper method. ([71151dc](https://github.com/Masquerade-Circus/valyrian.js/commit/71151dcd12e4b41f1e4a431eda99a41e88ebf930)) +- 2.2.5 ([3bc4c6d](https://github.com/Masquerade-Circus/valyrian.js/commit/3bc4c6d87558398b2f796fd048bf2bb562cc1652)) +- Remove root index.js ([7a72fd5](https://github.com/Masquerade-Circus/valyrian.js/commit/7a72fd56f7ee4301f53848855731bdc4b8b646dc)) +- Added v.routes.link helper method. ([71151dc](https://github.com/Masquerade-Circus/valyrian.js/commit/71151dcd12e4b41f1e4a431eda99a41e88ebf930)) ### [2.2.4](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.2.3...v2.2.4) (2019-02-09) - ### General changes -* 2.2.4 ([3ce4d5d](https://github.com/Masquerade-Circus/valyrian.js/commit/3ce4d5d6a8e1f778439bcc807e1e02dad849fb0a)) -* Fix not rendering svg's. ([844afac](https://github.com/Masquerade-Circus/valyrian.js/commit/844afac81d34cdcf14c192dc9fcc3de336891ae5)) +- 2.2.4 ([3ce4d5d](https://github.com/Masquerade-Circus/valyrian.js/commit/3ce4d5d6a8e1f778439bcc807e1e02dad849fb0a)) +- Fix not rendering svg's. ([844afac](https://github.com/Masquerade-Circus/valyrian.js/commit/844afac81d34cdcf14c192dc9fcc3de336891ae5)) ### [2.2.3](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.2.2...v2.2.3) (2019-02-09) - ### General changes -* 2.2.3 ([98ba3a1](https://github.com/Masquerade-Circus/valyrian.js/commit/98ba3a145fbe321c927daa55c553c488b333e906)) -* Some fixes and improvements. ([0478d11](https://github.com/Masquerade-Circus/valyrian.js/commit/0478d1145bc8cc42192d52d30d7179731f481c3e)) +- 2.2.3 ([98ba3a1](https://github.com/Masquerade-Circus/valyrian.js/commit/98ba3a145fbe321c927daa55c553c488b333e906)) +- Some fixes and improvements. ([0478d11](https://github.com/Masquerade-Circus/valyrian.js/commit/0478d1145bc8cc42192d52d30d7179731f481c3e)) ### [2.2.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.2.1...v2.2.2) (2019-02-08) - ### General changes -* 2.2.2 ([b757108](https://github.com/Masquerade-Circus/valyrian.js/commit/b7571083898b57dfead269b299b35a7fa7069f35)) -* Fix router. Add router tests. ([dc8a2fc](https://github.com/Masquerade-Circus/valyrian.js/commit/dc8a2fc68cdf9971132e4784c35fbb88991fc626)) +- 2.2.2 ([b757108](https://github.com/Masquerade-Circus/valyrian.js/commit/b7571083898b57dfead269b299b35a7fa7069f35)) +- Fix router. Add router tests. ([dc8a2fc](https://github.com/Masquerade-Circus/valyrian.js/commit/dc8a2fc68cdf9971132e4784c35fbb88991fc626)) ### [2.2.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.2.0...v2.2.1) (2019-02-08) - ### General changes -* 2.2.1 ([459fae8](https://github.com/Masquerade-Circus/valyrian.js/commit/459fae8c5fc6259cb9b2ace425419e978e71d6f2)) -* Remove undom reference ([f71bf58](https://github.com/Masquerade-Circus/valyrian.js/commit/f71bf582ec0f9e8a7a6920f46709036a06782a29)) +- 2.2.1 ([459fae8](https://github.com/Masquerade-Circus/valyrian.js/commit/459fae8c5fc6259cb9b2ace425419e978e71d6f2)) +- Remove undom reference ([f71bf58](https://github.com/Masquerade-Circus/valyrian.js/commit/f71bf582ec0f9e8a7a6920f46709036a06782a29)) ## [2.2.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.1.0...v2.2.0) (2019-02-07) - ### General changes -* 2.2.0 ([fc0ed4b](https://github.com/Masquerade-Circus/valyrian.js/commit/fc0ed4bb62e124fa5ad289cc1745bd4d418bad74)) -* Return to jsdom. Change from butternut to terser. Fix onremove not called for child elements ([3ae6372](https://github.com/Masquerade-Circus/valyrian.js/commit/3ae6372fe452982859f531d8880f64af5f4c0c55)) -* Avoid return promise on update method. Reduce lib size. Improve speed. ([4c183c7](https://github.com/Masquerade-Circus/valyrian.js/commit/4c183c7b1292a2019df8aa94ac5ccab8f0851bcc)) +- 2.2.0 ([fc0ed4b](https://github.com/Masquerade-Circus/valyrian.js/commit/fc0ed4bb62e124fa5ad289cc1745bd4d418bad74)) +- Return to jsdom. Change from butternut to terser. Fix onremove not called for child elements ([3ae6372](https://github.com/Masquerade-Circus/valyrian.js/commit/3ae6372fe452982859f531d8880f64af5f4c0c55)) +- Avoid return promise on update method. Reduce lib size. Improve speed. ([4c183c7](https://github.com/Masquerade-Circus/valyrian.js/commit/4c183c7b1292a2019df8aa94ac5ccab8f0851bcc)) ## [2.1.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.0.4...v2.1.0) (2019-02-06) - ### General changes -* 2.1.0 ([9b1da6d](https://github.com/Masquerade-Circus/valyrian.js/commit/9b1da6d5b38ee3c8a80edaabe7d903c034c8f62f)) -* Add .tmp dir. ([b164140](https://github.com/Masquerade-Circus/valyrian.js/commit/b1641402b3093db9162315efbd67f7fecaebb4ab)) -* Add logo. Update tests. ([2b94f6e](https://github.com/Masquerade-Circus/valyrian.js/commit/2b94f6e4e0fe8a017dba6f16941d65b7517766c3)) -* Added build sizes. ([675c3a9](https://github.com/Masquerade-Circus/valyrian.js/commit/675c3a964ca3f0d844d6ae189a5014481fa762b0)) -* Update.codeclimate.yml ([83eaaa2](https://github.com/Masquerade-Circus/valyrian.js/commit/83eaaa22cba4812509c4a39883c088aeccdb5f89)) -* Update .codeclimate.yml ([f83be74](https://github.com/Masquerade-Circus/valyrian.js/commit/f83be74edac3a0741c39dc93721510aaf426c44d)) -* Update .codeclimate.yml ([a4167be](https://github.com/Masquerade-Circus/valyrian.js/commit/a4167bea38e65ea259fbd9ad8f7d40c5e9d6fc43)) -* Lint code. Add tests. Add badges. ([cbd1077](https://github.com/Masquerade-Circus/valyrian.js/commit/cbd10778a8db74d1856e8adf96bcdf5c4fd21c14)) -* Improve code size ([6b0ef39](https://github.com/Masquerade-Circus/valyrian.js/commit/6b0ef3998320b2e05802f1250d9ce14f8e85a4c7)) -* Changade jsdom to undom. ([25e782c](https://github.com/Masquerade-Circus/valyrian.js/commit/25e782c65065593adba9ac9de957c2f5aabd0c79)) -* Implement a way to do browser tests. ([70f7ed6](https://github.com/Masquerade-Circus/valyrian.js/commit/70f7ed66d4d2d9ab2c16384d2d659e35061c3f71)) -* Moved patch algorithm to another file. Implemented new test framework. Fix mount method. ([82bbba7](https://github.com/Masquerade-Circus/valyrian.js/commit/82bbba7c1f6a0abd3e613a5a1f8ce6cea2bdbae1)) -* Fixed a bug when trigger an event. Improved request plugin. ([7cf6313](https://github.com/Masquerade-Circus/valyrian.js/commit/7cf63138211457997f93025dbe8f8eb505968fc8)) -* Fix replace textNode with elementNode. ([85896fe](https://github.com/Masquerade-Circus/valyrian.js/commit/85896fe378f9e2926071123d9bfd1f0f0eb8ab5b)) -* Build version v2.0.4 ([ba1d905](https://github.com/Masquerade-Circus/valyrian.js/commit/ba1d905ac562273f89b00c8881ca50a1da51f9de)) +- 2.1.0 ([9b1da6d](https://github.com/Masquerade-Circus/valyrian.js/commit/9b1da6d5b38ee3c8a80edaabe7d903c034c8f62f)) +- Add .tmp dir. ([b164140](https://github.com/Masquerade-Circus/valyrian.js/commit/b1641402b3093db9162315efbd67f7fecaebb4ab)) +- Add logo. Update tests. ([2b94f6e](https://github.com/Masquerade-Circus/valyrian.js/commit/2b94f6e4e0fe8a017dba6f16941d65b7517766c3)) +- Added build sizes. ([675c3a9](https://github.com/Masquerade-Circus/valyrian.js/commit/675c3a964ca3f0d844d6ae189a5014481fa762b0)) +- Update.codeclimate.yml ([83eaaa2](https://github.com/Masquerade-Circus/valyrian.js/commit/83eaaa22cba4812509c4a39883c088aeccdb5f89)) +- Update .codeclimate.yml ([f83be74](https://github.com/Masquerade-Circus/valyrian.js/commit/f83be74edac3a0741c39dc93721510aaf426c44d)) +- Update .codeclimate.yml ([a4167be](https://github.com/Masquerade-Circus/valyrian.js/commit/a4167bea38e65ea259fbd9ad8f7d40c5e9d6fc43)) +- Lint code. Add tests. Add badges. ([cbd1077](https://github.com/Masquerade-Circus/valyrian.js/commit/cbd10778a8db74d1856e8adf96bcdf5c4fd21c14)) +- Improve code size ([6b0ef39](https://github.com/Masquerade-Circus/valyrian.js/commit/6b0ef3998320b2e05802f1250d9ce14f8e85a4c7)) +- Changade jsdom to undom. ([25e782c](https://github.com/Masquerade-Circus/valyrian.js/commit/25e782c65065593adba9ac9de957c2f5aabd0c79)) +- Implement a way to do browser tests. ([70f7ed6](https://github.com/Masquerade-Circus/valyrian.js/commit/70f7ed66d4d2d9ab2c16384d2d659e35061c3f71)) +- Moved patch algorithm to another file. Implemented new test framework. Fix mount method. ([82bbba7](https://github.com/Masquerade-Circus/valyrian.js/commit/82bbba7c1f6a0abd3e613a5a1f8ce6cea2bdbae1)) +- Fixed a bug when trigger an event. Improved request plugin. ([7cf6313](https://github.com/Masquerade-Circus/valyrian.js/commit/7cf63138211457997f93025dbe8f8eb505968fc8)) +- Fix replace textNode with elementNode. ([85896fe](https://github.com/Masquerade-Circus/valyrian.js/commit/85896fe378f9e2926071123d9bfd1f0f0eb8ab5b)) +- Build version v2.0.4 ([ba1d905](https://github.com/Masquerade-Circus/valyrian.js/commit/ba1d905ac562273f89b00c8881ca50a1da51f9de)) ### [2.0.4](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.0.3...v2.0.4) (2018-09-15) - ### General changes -* 2.0.4 ([8c97fb8](https://github.com/Masquerade-Circus/valyrian.js/commit/8c97fb8f0ced5eadb921e60fa39e78c43e49ddde)) -* Small fix. need to add children array for text nodes. ([d1890d4](https://github.com/Masquerade-Circus/valyrian.js/commit/d1890d427a8fa4f39aba875cf9d689ba8dccff95)) -* Build with the new version v2.0.2 ([907129c](https://github.com/Masquerade-Circus/valyrian.js/commit/907129ce8d33b7f2778dcebd315e2b2fab97fb90)) +- 2.0.4 ([8c97fb8](https://github.com/Masquerade-Circus/valyrian.js/commit/8c97fb8f0ced5eadb921e60fa39e78c43e49ddde)) +- Small fix. need to add children array for text nodes. ([d1890d4](https://github.com/Masquerade-Circus/valyrian.js/commit/d1890d427a8fa4f39aba875cf9d689ba8dccff95)) +- Build with the new version v2.0.2 ([907129c](https://github.com/Masquerade-Circus/valyrian.js/commit/907129ce8d33b7f2778dcebd315e2b2fab97fb90)) ### [2.0.3](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.0.2...v2.0.3) (2018-09-08) - ### General changes -* 2.0.3 ([e659f1c](https://github.com/Masquerade-Circus/valyrian.js/commit/e659f1cdf4faea6bd4454495b8356084b13d4adf)) -* Fix router replacing oldNode. Fix call onremove on child nodes. ([3bb5c8b](https://github.com/Masquerade-Circus/valyrian.js/commit/3bb5c8b9f51630cfc927ee00a41a255498b5a23e)) -* Build with the new version v2.0.2 ([2dc954c](https://github.com/Masquerade-Circus/valyrian.js/commit/2dc954c320ea617a874c9afff28af6ca60988be7)) +- 2.0.3 ([e659f1c](https://github.com/Masquerade-Circus/valyrian.js/commit/e659f1cdf4faea6bd4454495b8356084b13d4adf)) +- Fix router replacing oldNode. Fix call onremove on child nodes. ([3bb5c8b](https://github.com/Masquerade-Circus/valyrian.js/commit/3bb5c8b9f51630cfc927ee00a41a255498b5a23e)) +- Build with the new version v2.0.2 ([2dc954c](https://github.com/Masquerade-Circus/valyrian.js/commit/2dc954c320ea617a874c9afff28af6ca60988be7)) ### [2.0.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.0.1...v2.0.2) (2018-09-08) - ### General changes -* 2.0.2 ([8d4a2f5](https://github.com/Masquerade-Circus/valyrian.js/commit/8d4a2f50018f4f80cb665ef91acf6e6cb89ce51d)) -* Improved performance ([3c53bad](https://github.com/Masquerade-Circus/valyrian.js/commit/3c53badc08855d7d85a3eaff4dc53b1824786d16)) -* Build with new version ([7931706](https://github.com/Masquerade-Circus/valyrian.js/commit/7931706a97ee6a3e514dfdac39482cc5c09b70fb)) +- 2.0.2 ([8d4a2f5](https://github.com/Masquerade-Circus/valyrian.js/commit/8d4a2f50018f4f80cb665ef91acf6e6cb89ce51d)) +- Improved performance ([3c53bad](https://github.com/Masquerade-Circus/valyrian.js/commit/3c53badc08855d7d85a3eaff4dc53b1824786d16)) +- Build with new version ([7931706](https://github.com/Masquerade-Circus/valyrian.js/commit/7931706a97ee6a3e514dfdac39482cc5c09b70fb)) ### [2.0.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v2.0.0...v2.0.1) (2018-09-01) - ### General changes -* 2.0.1 ([24130ee](https://github.com/Masquerade-Circus/valyrian.js/commit/24130ee52f37d050327d261f88c775d07abce690)) -* Fixed methods for POJO Components ([c8263d6](https://github.com/Masquerade-Circus/valyrian.js/commit/c8263d6617e9d492a25a587dc8e6dccfad90de67)) -* Build with new version ([7c2fb05](https://github.com/Masquerade-Circus/valyrian.js/commit/7c2fb055c2fcb65e542384ec80e07f427596d8a4)) -* Updated package.json ([74db2d5](https://github.com/Masquerade-Circus/valyrian.js/commit/74db2d56e79cb7ed9bfe453170e9eb00844cc3c2)) +- 2.0.1 ([24130ee](https://github.com/Masquerade-Circus/valyrian.js/commit/24130ee52f37d050327d261f88c775d07abce690)) +- Fixed methods for POJO Components ([c8263d6](https://github.com/Masquerade-Circus/valyrian.js/commit/c8263d6617e9d492a25a587dc8e6dccfad90de67)) +- Build with new version ([7c2fb05](https://github.com/Masquerade-Circus/valyrian.js/commit/7c2fb055c2fcb65e542384ec80e07f427596d8a4)) +- Updated package.json ([74db2d5](https://github.com/Masquerade-Circus/valyrian.js/commit/74db2d56e79cb7ed9bfe453170e9eb00844cc3c2)) ## [2.0.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.9.1...v2.0.0) (2018-09-01) - ### General changes -* 2.0.0 ([90a3662](https://github.com/Masquerade-Circus/valyrian.js/commit/90a366202c9d1955f0c5c8b26def42b18f6b7cfb)) -* New version. ([b63c0ca](https://github.com/Masquerade-Circus/valyrian.js/commit/b63c0cabee70f249bad87e2e446cccfe6cf89e7e)) +- 2.0.0 ([90a3662](https://github.com/Masquerade-Circus/valyrian.js/commit/90a366202c9d1955f0c5c8b26def42b18f6b7cfb)) +- New version. ([b63c0ca](https://github.com/Masquerade-Circus/valyrian.js/commit/b63c0cabee70f249bad87e2e446cccfe6cf89e7e)) ### [1.9.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.9.0...v1.9.1) (2018-06-25) - ### General changes -* 1.9.1 ([d16ddfe](https://github.com/Masquerade-Circus/valyrian.js/commit/d16ddfe8d8d6bad2ceebe58c301d746f888fb1be)) -* Router methods updated. ([3b34ab3](https://github.com/Masquerade-Circus/valyrian.js/commit/3b34ab31df9d3f566d7590ed77b1fb3d4d8ed76a)) +- 1.9.1 ([d16ddfe](https://github.com/Masquerade-Circus/valyrian.js/commit/d16ddfe8d8d6bad2ceebe58c301d746f888fb1be)) +- Router methods updated. ([3b34ab3](https://github.com/Masquerade-Circus/valyrian.js/commit/3b34ab31df9d3f566d7590ed77b1fb3d4d8ed76a)) ## [1.9.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.8.1...v1.9.0) (2018-06-22) - ### General changes -* 1.9.0 ([f384d04](https://github.com/Masquerade-Circus/valyrian.js/commit/f384d040420f07a67c8713875de6e3cc9fcf48a4)) -* Now it can create functional components. ([b79a67f](https://github.com/Masquerade-Circus/valyrian.js/commit/b79a67f58200a8560d1421c4e6899e2c52426da9)) +- 1.9.0 ([f384d04](https://github.com/Masquerade-Circus/valyrian.js/commit/f384d040420f07a67c8713875de6e3cc9fcf48a4)) +- Now it can create functional components. ([b79a67f](https://github.com/Masquerade-Circus/valyrian.js/commit/b79a67f58200a8560d1421c4e6899e2c52426da9)) ### [1.8.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.8.0...v1.8.1) (2018-06-21) - ### General changes -* 1.8.1 ([d901eaa](https://github.com/Masquerade-Circus/valyrian.js/commit/d901eaac768634a88a82486c2dc9f3c7569fdc8a)) -* Flatten nodes. ([22cc738](https://github.com/Masquerade-Circus/valyrian.js/commit/22cc7386f18052ca332ac4b93aeb009f71ca973f)) +- 1.8.1 ([d901eaa](https://github.com/Masquerade-Circus/valyrian.js/commit/d901eaac768634a88a82486c2dc9f3c7569fdc8a)) +- Flatten nodes. ([22cc738](https://github.com/Masquerade-Circus/valyrian.js/commit/22cc7386f18052ca332ac4b93aeb009f71ca973f)) ## [1.8.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.7.0...v1.8.0) (2018-06-20) - ### General changes -* 1.8.0 ([def94ac](https://github.com/Masquerade-Circus/valyrian.js/commit/def94acfd6f884cda37b2c1523c5d1833c0cb4eb)) -* Improved hyperscript and some methods. ([dcfe458](https://github.com/Masquerade-Circus/valyrian.js/commit/dcfe4580f7c97f57547f8b5a1d2ba6ab1bcf621a)) +- 1.8.0 ([def94ac](https://github.com/Masquerade-Circus/valyrian.js/commit/def94acfd6f884cda37b2c1523c5d1833c0cb4eb)) +- Improved hyperscript and some methods. ([dcfe458](https://github.com/Masquerade-Circus/valyrian.js/commit/dcfe4580f7c97f57547f8b5a1d2ba6ab1bcf621a)) ## [1.7.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.6.1...v1.7.0) (2018-06-16) - ### General changes -* 1.7.0 ([de9a677](https://github.com/Masquerade-Circus/valyrian.js/commit/de9a6778c443223c77fc638d19a2c0672a081ecc)) -* Run route method updated. ([635779a](https://github.com/Masquerade-Circus/valyrian.js/commit/635779abb797c2ac2ac1ce7d6f13d54553225279)) +- 1.7.0 ([de9a677](https://github.com/Masquerade-Circus/valyrian.js/commit/de9a6778c443223c77fc638d19a2c0672a081ecc)) +- Run route method updated. ([635779a](https://github.com/Masquerade-Circus/valyrian.js/commit/635779abb797c2ac2ac1ce7d6f13d54553225279)) ### [1.6.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.6.0...v1.6.1) (2018-06-16) - ### General changes -* 1.6.1 ([1d9e7aa](https://github.com/Masquerade-Circus/valyrian.js/commit/1d9e7aadbfaa35c20aa95b12e5f08e9f13fb4720)) +- 1.6.1 ([1d9e7aa](https://github.com/Masquerade-Circus/valyrian.js/commit/1d9e7aadbfaa35c20aa95b12e5f08e9f13fb4720)) ## [1.6.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.5.0...v1.6.0) (2018-06-16) - ### General changes -* 1.6.0 ([3e0ae20](https://github.com/Masquerade-Circus/valyrian.js/commit/3e0ae20f3d0644805923e744d44a79f6cc5f7822)) -* Remove ready method. ([dd123fe](https://github.com/Masquerade-Circus/valyrian.js/commit/dd123fe97f7e1fec8baad1ac922dae170f5560e0)) +- 1.6.0 ([3e0ae20](https://github.com/Masquerade-Circus/valyrian.js/commit/3e0ae20f3d0644805923e744d44a79f6cc5f7822)) +- Remove ready method. ([dd123fe](https://github.com/Masquerade-Circus/valyrian.js/commit/dd123fe97f7e1fec8baad1ac922dae170f5560e0)) ## [1.5.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.4.3...v1.5.0) (2018-06-16) - ### General changes -* 1.5.0 ([a748671](https://github.com/Masquerade-Circus/valyrian.js/commit/a748671ad9af1f2a38094516685d8d32cc10b312)) -* Minify css by default. ([440fe82](https://github.com/Masquerade-Circus/valyrian.js/commit/440fe823d7f8ad4c208a25fdf1347d0fdea0c079)) +- 1.5.0 ([a748671](https://github.com/Masquerade-Circus/valyrian.js/commit/a748671ad9af1f2a38094516685d8d32cc10b312)) +- Minify css by default. ([440fe82](https://github.com/Masquerade-Circus/valyrian.js/commit/440fe823d7f8ad4c208a25fdf1347d0fdea0c079)) ### [1.4.3](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.4.2...v1.4.3) (2018-06-15) - ### General changes -* 1.4.3 ([6f05a3c](https://github.com/Masquerade-Circus/valyrian.js/commit/6f05a3c2ac93021199b76761d18d25b5d3fefe20)) -* Build ([679c82c](https://github.com/Masquerade-Circus/valyrian.js/commit/679c82c1029dda572d74d1360d1f981837548bc6)) -* Remove script tags before uncss. ([114b439](https://github.com/Masquerade-Circus/valyrian.js/commit/114b439e378f0cfe05052a1f6b22a11385d3c934)) -* Test with inline resources for uncss. ([5c2f279](https://github.com/Masquerade-Circus/valyrian.js/commit/5c2f279726af3f567bd8cf1a2e4628874e8abdfa)) +- 1.4.3 ([6f05a3c](https://github.com/Masquerade-Circus/valyrian.js/commit/6f05a3c2ac93021199b76761d18d25b5d3fefe20)) +- Build ([679c82c](https://github.com/Masquerade-Circus/valyrian.js/commit/679c82c1029dda572d74d1360d1f981837548bc6)) +- Remove script tags before uncss. ([114b439](https://github.com/Masquerade-Circus/valyrian.js/commit/114b439e378f0cfe05052a1f6b22a11385d3c934)) +- Test with inline resources for uncss. ([5c2f279](https://github.com/Masquerade-Circus/valyrian.js/commit/5c2f279726af3f567bd8cf1a2e4628874e8abdfa)) ### [1.4.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.4.1...v1.4.2) (2018-06-15) - ### General changes -* 1.4.2 ([216d56e](https://github.com/Masquerade-Circus/valyrian.js/commit/216d56e6b17bfe2fecf759ab866feb41fcb998a6)) -* Named some functions and add some improvements. ([cbd264c](https://github.com/Masquerade-Circus/valyrian.js/commit/cbd264cff041a32d18d1c4396a9d04c13013eb00)) +- 1.4.2 ([216d56e](https://github.com/Masquerade-Circus/valyrian.js/commit/216d56e6b17bfe2fecf759ab866feb41fcb998a6)) +- Named some functions and add some improvements. ([cbd264c](https://github.com/Masquerade-Circus/valyrian.js/commit/cbd264cff041a32d18d1c4396a9d04c13013eb00)) ### [1.4.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.4.0...v1.4.1) (2018-06-13) - ### General changes -* 1.4.1 ([ca1b05b](https://github.com/Masquerade-Circus/valyrian.js/commit/ca1b05bb570ba214cf4c526f88ed6d5dfa811f4f)) -* Updated hyperscript. ([6013dad](https://github.com/Masquerade-Circus/valyrian.js/commit/6013dadd266fb682b0af0dfcb11cb39fde4d7a35)) +- 1.4.1 ([ca1b05b](https://github.com/Masquerade-Circus/valyrian.js/commit/ca1b05bb570ba214cf4c526f88ed6d5dfa811f4f)) +- Updated hyperscript. ([6013dad](https://github.com/Masquerade-Circus/valyrian.js/commit/6013dadd266fb682b0af0dfcb11cb39fde4d7a35)) ## [1.4.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.3.0...v1.4.0) (2018-06-13) - ### General changes -* 1.4.0 ([3d0ab44](https://github.com/Masquerade-Circus/valyrian.js/commit/3d0ab44b009d8e21da7e33b839938861a0fed130)) -* Hyperscript updated. Node render updated, Inline method updated. ([c529a11](https://github.com/Masquerade-Circus/valyrian.js/commit/c529a116414d6f3d5ecaf9ca4974760a3ed1df05)) +- 1.4.0 ([3d0ab44](https://github.com/Masquerade-Circus/valyrian.js/commit/3d0ab44b009d8e21da7e33b839938861a0fed130)) +- Hyperscript updated. Node render updated, Inline method updated. ([c529a11](https://github.com/Masquerade-Circus/valyrian.js/commit/c529a116414d6f3d5ecaf9ca4974760a3ed1df05)) ## [1.3.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.2.1...v1.3.0) (2018-06-13) - ### General changes -* 1.3.0 ([2e5389c](https://github.com/Masquerade-Circus/valyrian.js/commit/2e5389cc6012810d1ce2caf468ff253991784458)) -* Change html-element to jsdom. Remove unused libraries. ([1c01bdb](https://github.com/Masquerade-Circus/valyrian.js/commit/1c01bdb383c318a2594233a393e7e849ad323222)) +- 1.3.0 ([2e5389c](https://github.com/Masquerade-Circus/valyrian.js/commit/2e5389cc6012810d1ce2caf468ff253991784458)) +- Change html-element to jsdom. Remove unused libraries. ([1c01bdb](https://github.com/Masquerade-Circus/valyrian.js/commit/1c01bdb383c318a2594233a393e7e849ad323222)) ### [1.2.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.2.0...v1.2.1) (2018-06-13) - ### General changes -* 1.2.1 ([3a09b9a](https://github.com/Masquerade-Circus/valyrian.js/commit/3a09b9a6dbc3a38fd279c2e0c2f2da84e5482527)) -* hyperscript.vnode method updated ([837693d](https://github.com/Masquerade-Circus/valyrian.js/commit/837693d543c513556615630251f9709eaccf6477)) +- 1.2.1 ([3a09b9a](https://github.com/Masquerade-Circus/valyrian.js/commit/3a09b9a6dbc3a38fd279c2e0c2f2da84e5482527)) +- hyperscript.vnode method updated ([837693d](https://github.com/Masquerade-Circus/valyrian.js/commit/837693d543c513556615630251f9709eaccf6477)) ## [1.2.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.1.3...v1.2.0) (2018-06-13) - ### General changes -* 1.2.0 ([8606898](https://github.com/Masquerade-Circus/valyrian.js/commit/86068988fba379825024a52ac1b6d08fc86a397b)) -* Added v.trust method. ([d4aa01a](https://github.com/Masquerade-Circus/valyrian.js/commit/d4aa01aeec23195cd6d284a5898de8ad8e9d45fd)) +- 1.2.0 ([8606898](https://github.com/Masquerade-Circus/valyrian.js/commit/86068988fba379825024a52ac1b6d08fc86a397b)) +- Added v.trust method. ([d4aa01a](https://github.com/Masquerade-Circus/valyrian.js/commit/d4aa01aeec23195cd6d284a5898de8ad8e9d45fd)) ### [1.1.3](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.1.2...v1.1.3) (2018-06-12) - ### General changes -* 1.1.3 ([86cf811](https://github.com/Masquerade-Circus/valyrian.js/commit/86cf811e0612ceeeda2dddf5e59af0a3f10b5fdb)) -* Node factory updated. ([b762151](https://github.com/Masquerade-Circus/valyrian.js/commit/b7621513227089920882c46a99ba644793675c09)) +- 1.1.3 ([86cf811](https://github.com/Masquerade-Circus/valyrian.js/commit/86cf811e0612ceeeda2dddf5e59af0a3f10b5fdb)) +- Node factory updated. ([b762151](https://github.com/Masquerade-Circus/valyrian.js/commit/b7621513227089920882c46a99ba644793675c09)) ### [1.1.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.1.1...v1.1.2) (2018-06-09) - ### General changes -* 1.1.2 ([11ba1fa](https://github.com/Masquerade-Circus/valyrian.js/commit/11ba1fa699f9655d92561d56cf7132138b020eaf)) -* Hyperscript updated. ([33994f7](https://github.com/Masquerade-Circus/valyrian.js/commit/33994f77e45b0bb9d721d1724d7c2ff4bdba8f1b)) +- 1.1.2 ([11ba1fa](https://github.com/Masquerade-Circus/valyrian.js/commit/11ba1fa699f9655d92561d56cf7132138b020eaf)) +- Hyperscript updated. ([33994f7](https://github.com/Masquerade-Circus/valyrian.js/commit/33994f77e45b0bb9d721d1724d7c2ff4bdba8f1b)) ### [1.1.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.1.0...v1.1.1) (2018-06-08) - ### General changes -* 1.1.1 ([4a64d9c](https://github.com/Masquerade-Circus/valyrian.js/commit/4a64d9c28f2c02dba5979291e669101aab3f26ca)) -* Removed unused valyrian.node.min ([9d71636](https://github.com/Masquerade-Circus/valyrian.js/commit/9d716365d71c88b683b030cea1b192a583475e9c)) -* Valyrian api refactored. ([9e455c6](https://github.com/Masquerade-Circus/valyrian.js/commit/9e455c668328aceb3e608e904a8b5dd5232c3ee3)) +- 1.1.1 ([4a64d9c](https://github.com/Masquerade-Circus/valyrian.js/commit/4a64d9c28f2c02dba5979291e669101aab3f26ca)) +- Removed unused valyrian.node.min ([9d71636](https://github.com/Masquerade-Circus/valyrian.js/commit/9d716365d71c88b683b030cea1b192a583475e9c)) +- Valyrian api refactored. ([9e455c6](https://github.com/Masquerade-Circus/valyrian.js/commit/9e455c668328aceb3e608e904a8b5dd5232c3ee3)) ## [1.1.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.0.5...v1.1.0) (2018-06-01) - ### General changes -* 1.1.0 ([af9263c](https://github.com/Masquerade-Circus/valyrian.js/commit/af9263cb69d34cf743001ecad3b0ce3069676f50)) -* Build ([5436446](https://github.com/Masquerade-Circus/valyrian.js/commit/5436446fa032726f1b5b576260b3c3b4e88a1131)) -* Now can import scripts and css from the web. ([31a1810](https://github.com/Masquerade-Circus/valyrian.js/commit/31a1810d25eac509e35549d5c4aed2536ee17283)) -* Refactor code. ([ec12a22](https://github.com/Masquerade-Circus/valyrian.js/commit/ec12a224b2fcbc2e9f77d1da81059f2efaa1026c)) +- 1.1.0 ([af9263c](https://github.com/Masquerade-Circus/valyrian.js/commit/af9263cb69d34cf743001ecad3b0ce3069676f50)) +- Build ([5436446](https://github.com/Masquerade-Circus/valyrian.js/commit/5436446fa032726f1b5b576260b3c3b4e88a1131)) +- Now can import scripts and css from the web. ([31a1810](https://github.com/Masquerade-Circus/valyrian.js/commit/31a1810d25eac509e35549d5c4aed2536ee17283)) +- Refactor code. ([ec12a22](https://github.com/Masquerade-Circus/valyrian.js/commit/ec12a224b2fcbc2e9f77d1da81059f2efaa1026c)) ### [1.0.5](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.0.4...v1.0.5) (2018-05-31) - ### General changes -* 1.0.5 ([5f50e20](https://github.com/Masquerade-Circus/valyrian.js/commit/5f50e20444b146da8e9935af66cb56735b4b5798)) -* Removed console.log. ([6806c8d](https://github.com/Masquerade-Circus/valyrian.js/commit/6806c8d78b2622a7d11bcae7ea1f6ed3d0a88ebc)) +- 1.0.5 ([5f50e20](https://github.com/Masquerade-Circus/valyrian.js/commit/5f50e20444b146da8e9935af66cb56735b4b5798)) +- Removed console.log. ([6806c8d](https://github.com/Masquerade-Circus/valyrian.js/commit/6806c8d78b2622a7d11bcae7ea1f6ed3d0a88ebc)) ### [1.0.4](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.0.3...v1.0.4) (2018-05-31) - ### General changes -* 1.0.4 ([d3f26af](https://github.com/Masquerade-Circus/valyrian.js/commit/d3f26affc6dd7881e10808a1bf65caf2451eb7a7)) -* Updated source code and changed main to valyrian.min.js ([c770021](https://github.com/Masquerade-Circus/valyrian.js/commit/c770021405d695132847c5058ed8802338bbbc64)) +- 1.0.4 ([d3f26af](https://github.com/Masquerade-Circus/valyrian.js/commit/d3f26affc6dd7881e10808a1bf65caf2451eb7a7)) +- Updated source code and changed main to valyrian.min.js ([c770021](https://github.com/Masquerade-Circus/valyrian.js/commit/c770021405d695132847c5058ed8802338bbbc64)) ### [1.0.3](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.0.2...v1.0.3) (2018-05-31) - ### General changes -* 1.0.3 ([cba2684](https://github.com/Masquerade-Circus/valyrian.js/commit/cba2684b35b9ebe25121b6c2ed661eacf39798f9)) -* updated main to point valyrian.esm.js ([ff4800f](https://github.com/Masquerade-Circus/valyrian.js/commit/ff4800fa59fb93229013c1a20070e4c4345969a1)) +- 1.0.3 ([cba2684](https://github.com/Masquerade-Circus/valyrian.js/commit/cba2684b35b9ebe25121b6c2ed661eacf39798f9)) +- updated main to point valyrian.esm.js ([ff4800f](https://github.com/Masquerade-Circus/valyrian.js/commit/ff4800fa59fb93229013c1a20070e4c4345969a1)) ### [1.0.2](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.0.1...v1.0.2) (2018-05-31) - ### General changes -* 1.0.2 ([650e474](https://github.com/Masquerade-Circus/valyrian.js/commit/650e4749a1d4aba81ede124c237bc3512edf9741)) -* updated main to point to lib/index.js ([34e6e31](https://github.com/Masquerade-Circus/valyrian.js/commit/34e6e314508b7bef9b257ea73fde68a01f496e30)) +- 1.0.2 ([650e474](https://github.com/Masquerade-Circus/valyrian.js/commit/650e4749a1d4aba81ede124c237bc3512edf9741)) +- updated main to point to lib/index.js ([34e6e31](https://github.com/Masquerade-Circus/valyrian.js/commit/34e6e314508b7bef9b257ea73fde68a01f496e30)) ### [1.0.1](https://github.com/Masquerade-Circus/valyrian.js/compare/v1.0.0...v1.0.1) (2018-05-31) - ### General changes -* 1.0.1 ([abcecf5](https://github.com/Masquerade-Circus/valyrian.js/commit/abcecf585d1fdfa53a89ad3e82adb66046819eae)) -* Added multiple outputs. ([865a915](https://github.com/Masquerade-Circus/valyrian.js/commit/865a9155778917f5a4aa6518d7913dd031138d21)) -* Added build methods to package-json ([9bd579d](https://github.com/Masquerade-Circus/valyrian.js/commit/9bd579d6b080b5c6f384edbb8f884dc744f7af0e)) -* Added build favicons and manifest. ([f341819](https://github.com/Masquerade-Circus/valyrian.js/commit/f3418194eacc5ded68eb764fe39b71227c703639)) -* Added inline css and js methods. Remove unused css properties. Register of service workers. ([da9b9d0](https://github.com/Masquerade-Circus/valyrian.js/commit/da9b9d0f9a1a726b3f0c47d7691125ab44a110b2)) -* Valyrian imported by the app index.js file. ([1e5b7cf](https://github.com/Masquerade-Circus/valyrian.js/commit/1e5b7cfa08890ebc98b63a7de119bd6317137ab2)) +- 1.0.1 ([abcecf5](https://github.com/Masquerade-Circus/valyrian.js/commit/abcecf585d1fdfa53a89ad3e82adb66046819eae)) +- Added multiple outputs. ([865a915](https://github.com/Masquerade-Circus/valyrian.js/commit/865a9155778917f5a4aa6518d7913dd031138d21)) +- Added build methods to package-json ([9bd579d](https://github.com/Masquerade-Circus/valyrian.js/commit/9bd579d6b080b5c6f384edbb8f884dc744f7af0e)) +- Added build favicons and manifest. ([f341819](https://github.com/Masquerade-Circus/valyrian.js/commit/f3418194eacc5ded68eb764fe39b71227c703639)) +- Added inline css and js methods. Remove unused css properties. Register of service workers. ([da9b9d0](https://github.com/Masquerade-Circus/valyrian.js/commit/da9b9d0f9a1a726b3f0c47d7691125ab44a110b2)) +- Valyrian imported by the app index.js file. ([1e5b7cf](https://github.com/Masquerade-Circus/valyrian.js/commit/1e5b7cfa08890ebc98b63a7de119bd6317137ab2)) ## [1.0.0](https://github.com/Masquerade-Circus/valyrian.js/compare/v0.0.3...v1.0.0) (2018-05-25) - ### General changes -* 1.0.0 ([c1d3a14](https://github.com/Masquerade-Circus/valyrian.js/commit/c1d3a1436a392b22c553ecb787adfcf685ea5d6c)) -* Router reworked. Examples reworked. Store removed. ([5af08aa](https://github.com/Masquerade-Circus/valyrian.js/commit/5af08aa0c420c1cbb807db2468172429eca9df4a)) +- 1.0.0 ([c1d3a14](https://github.com/Masquerade-Circus/valyrian.js/commit/c1d3a1436a392b22c553ecb787adfcf685ea5d6c)) +- Router reworked. Examples reworked. Store removed. ([5af08aa](https://github.com/Masquerade-Circus/valyrian.js/commit/5af08aa0c420c1cbb807db2468172429eca9df4a)) ### [0.0.3](https://github.com/Masquerade-Circus/valyrian.js/compare/v0.0.2...v0.0.3) (2018-04-17) - ### General changes -* 0.0.3 ([835e377](https://github.com/Masquerade-Circus/valyrian.js/commit/835e377559072c6f1fdda91cba74731627f0d07e)) -* Deleted clock and fixedmethod methods from v. ([63b549b](https://github.com/Masquerade-Circus/valyrian.js/commit/63b549bee0fdd64b17879f42268127ac139d39b8)) +- 0.0.3 ([835e377](https://github.com/Masquerade-Circus/valyrian.js/commit/835e377559072c6f1fdda91cba74731627f0d07e)) +- Deleted clock and fixedmethod methods from v. ([63b549b](https://github.com/Masquerade-Circus/valyrian.js/commit/63b549bee0fdd64b17879f42268127ac139d39b8)) ### [0.0.2](https://github.com/Masquerade-Circus/valyrian.js/compare/b1b540c75c0c400967405e73f396cdcc41bdba19...v0.0.2) (2018-04-17) - ### General changes -* 0.0.2 ([d7f8857](https://github.com/Masquerade-Circus/valyrian.js/commit/d7f8857f0a796f0f3a6e988c2d171c231fb5cb69)) -* Changed to rollup. Subcomponents not showing fixed. ([3cd885d](https://github.com/Masquerade-Circus/valyrian.js/commit/3cd885d461f82e49cb1aa2539e456eecb43defd3)) -* Updated package name. ([8a948b7](https://github.com/Masquerade-Circus/valyrian.js/commit/8a948b78861afdac3b85c5e4804da1b9b535bddf)) -* Update server code. ([39f3d96](https://github.com/Masquerade-Circus/valyrian.js/commit/39f3d96b5dfaa3a55b5c892a384d1729f069c42a)) -* Added events to components. ([b692af5](https://github.com/Masquerade-Circus/valyrian.js/commit/b692af5d9fb8cdf05a97dda80d0a9c950750f48e)) -* Lifecycle fully implemented for elements. Removed onbeforeupdate lifecycle. ([703496b](https://github.com/Masquerade-Circus/valyrian.js/commit/703496b9ade3566632b5457e2b18b4466a01b1e8)) -* Created textNode type of vnode. Call onremove when replaceChild is happening. ([8457cfe](https://github.com/Masquerade-Circus/valyrian.js/commit/8457cfe1b6225a825c5fd46674153b3a8a8666aa)) -* Patch method updated. ([87c5caa](https://github.com/Masquerade-Circus/valyrian.js/commit/87c5caa1c70d1ab753f58ab154984d4fdec1513c)) -* Added lifecycles. ([685b9be](https://github.com/Masquerade-Circus/valyrian.js/commit/685b9be7ef2cf340acb28ac37635738ff7977cb8)) -* Code formated. ([1d743ad](https://github.com/Masquerade-Circus/valyrian.js/commit/1d743adc6fc9310f5d2fab6cb57a8c529cb898c7)) -* Custom patch algorithm fixed. ([314e629](https://github.com/Masquerade-Circus/valyrian.js/commit/314e6290e167dd19b975a279ba7aceb031ce0474)) -* New diff method tests updated, there are some bugs. ([68f003f](https://github.com/Masquerade-Circus/valyrian.js/commit/68f003f356e67fe600ca16cc96fa74539ed804a2)) -* Changed to custom patch algorithm. ([0eb6e9f](https://github.com/Masquerade-Circus/valyrian.js/commit/0eb6e9f5812d13a83621606d387b29670878eb03)) -* Added Request methods. ([e730530](https://github.com/Masquerade-Circus/valyrian.js/commit/e730530a23f385adbdf77b4a7f9c21994771f3b8)) -* Library reorganized as a factory function. ([877a3a4](https://github.com/Masquerade-Circus/valyrian.js/commit/877a3a4606abb2ef64e3aa836582e6c7db5d78be)) -* Reorganized methods, hyperscript and store moved apart. ([9cd9456](https://github.com/Masquerade-Circus/valyrian.js/commit/9cd945644e1a01a5f12c5acf035f3173c35d54c0)) -* Added properties parser to hyperscript method. ([3d5a526](https://github.com/Masquerade-Circus/valyrian.js/commit/3d5a526a410c48f56dec6986c59af39260b37cd3)) -* Added default main component for the backend. ([d59fc92](https://github.com/Masquerade-Circus/valyrian.js/commit/d59fc92ad10d1bc2929e574f6755cdf31fe94fdd)) -* Ruter updated.Added method assignAttributes. ([7290880](https://github.com/Masquerade-Circus/valyrian.js/commit/72908805982c616e1f3f9131b3017ef63845ad59)) -* Router updated, added v.isComponent method. ([414b035](https://github.com/Masquerade-Circus/valyrian.js/commit/414b035387f2b9702664d2d99d0ab50bd5143812)) -* Renamed to V. ([7f3b018](https://github.com/Masquerade-Circus/valyrian.js/commit/7f3b0186a3de15169d9e9babc0608ae449f59dd5)) -* Reorganized main app. ([188e5a7](https://github.com/Masquerade-Circus/valyrian.js/commit/188e5a73de6d098e3c3579cd9f5af8a0c6c16f1e)) -* Added support for class and id attributes on hyperscript. ([e1de00a](https://github.com/Masquerade-Circus/valyrian.js/commit/e1de00a3d831b017f6166bc3db99e9fee784b8f7)) -* Router now can be used on the backend too. ([acb49d4](https://github.com/Masquerade-Circus/valyrian.js/commit/acb49d4c6337d2a405871949529229a7f7074f71)) -* Initial frontend router useful. ([e3c17ac](https://github.com/Masquerade-Circus/valyrian.js/commit/e3c17ac87220f7478714d6c87d690ab3d3565d72)) -* Initial commit ([9a356b0](https://github.com/Masquerade-Circus/valyrian.js/commit/9a356b0263aaa64760c3ba402c57a55c413b7532)) -* Initial commit ([b1b540c](https://github.com/Masquerade-Circus/valyrian.js/commit/b1b540c75c0c400967405e73f396cdcc41bdba19)) - +- 0.0.2 ([d7f8857](https://github.com/Masquerade-Circus/valyrian.js/commit/d7f8857f0a796f0f3a6e988c2d171c231fb5cb69)) +- Changed to rollup. Subcomponents not showing fixed. ([3cd885d](https://github.com/Masquerade-Circus/valyrian.js/commit/3cd885d461f82e49cb1aa2539e456eecb43defd3)) +- Updated package name. ([8a948b7](https://github.com/Masquerade-Circus/valyrian.js/commit/8a948b78861afdac3b85c5e4804da1b9b535bddf)) +- Update server code. ([39f3d96](https://github.com/Masquerade-Circus/valyrian.js/commit/39f3d96b5dfaa3a55b5c892a384d1729f069c42a)) +- Added events to components. ([b692af5](https://github.com/Masquerade-Circus/valyrian.js/commit/b692af5d9fb8cdf05a97dda80d0a9c950750f48e)) +- Lifecycle fully implemented for elements. Removed onbeforeupdate lifecycle. ([703496b](https://github.com/Masquerade-Circus/valyrian.js/commit/703496b9ade3566632b5457e2b18b4466a01b1e8)) +- Created textNode type of vnode. Call onremove when replaceChild is happening. ([8457cfe](https://github.com/Masquerade-Circus/valyrian.js/commit/8457cfe1b6225a825c5fd46674153b3a8a8666aa)) +- Patch method updated. ([87c5caa](https://github.com/Masquerade-Circus/valyrian.js/commit/87c5caa1c70d1ab753f58ab154984d4fdec1513c)) +- Added lifecycles. ([685b9be](https://github.com/Masquerade-Circus/valyrian.js/commit/685b9be7ef2cf340acb28ac37635738ff7977cb8)) +- Code formated. ([1d743ad](https://github.com/Masquerade-Circus/valyrian.js/commit/1d743adc6fc9310f5d2fab6cb57a8c529cb898c7)) +- Custom patch algorithm fixed. ([314e629](https://github.com/Masquerade-Circus/valyrian.js/commit/314e6290e167dd19b975a279ba7aceb031ce0474)) +- New diff method tests updated, there are some bugs. ([68f003f](https://github.com/Masquerade-Circus/valyrian.js/commit/68f003f356e67fe600ca16cc96fa74539ed804a2)) +- Changed to custom patch algorithm. ([0eb6e9f](https://github.com/Masquerade-Circus/valyrian.js/commit/0eb6e9f5812d13a83621606d387b29670878eb03)) +- Added Request methods. ([e730530](https://github.com/Masquerade-Circus/valyrian.js/commit/e730530a23f385adbdf77b4a7f9c21994771f3b8)) +- Library reorganized as a factory function. ([877a3a4](https://github.com/Masquerade-Circus/valyrian.js/commit/877a3a4606abb2ef64e3aa836582e6c7db5d78be)) +- Reorganized methods, hyperscript and store moved apart. ([9cd9456](https://github.com/Masquerade-Circus/valyrian.js/commit/9cd945644e1a01a5f12c5acf035f3173c35d54c0)) +- Added properties parser to hyperscript method. ([3d5a526](https://github.com/Masquerade-Circus/valyrian.js/commit/3d5a526a410c48f56dec6986c59af39260b37cd3)) +- Added default main component for the backend. ([d59fc92](https://github.com/Masquerade-Circus/valyrian.js/commit/d59fc92ad10d1bc2929e574f6755cdf31fe94fdd)) +- Ruter updated.Added method assignAttributes. ([7290880](https://github.com/Masquerade-Circus/valyrian.js/commit/72908805982c616e1f3f9131b3017ef63845ad59)) +- Router updated, added v.isComponent method. ([414b035](https://github.com/Masquerade-Circus/valyrian.js/commit/414b035387f2b9702664d2d99d0ab50bd5143812)) +- Renamed to V. ([7f3b018](https://github.com/Masquerade-Circus/valyrian.js/commit/7f3b0186a3de15169d9e9babc0608ae449f59dd5)) +- Reorganized main app. ([188e5a7](https://github.com/Masquerade-Circus/valyrian.js/commit/188e5a73de6d098e3c3579cd9f5af8a0c6c16f1e)) +- Added support for class and id attributes on hyperscript. ([e1de00a](https://github.com/Masquerade-Circus/valyrian.js/commit/e1de00a3d831b017f6166bc3db99e9fee784b8f7)) +- Router now can be used on the backend too. ([acb49d4](https://github.com/Masquerade-Circus/valyrian.js/commit/acb49d4c6337d2a405871949529229a7f7074f71)) +- Initial frontend router useful. ([e3c17ac](https://github.com/Masquerade-Circus/valyrian.js/commit/e3c17ac87220f7478714d6c87d690ab3d3565d72)) +- Initial commit ([9a356b0](https://github.com/Masquerade-Circus/valyrian.js/commit/9a356b0263aaa64760c3ba402c57a55c413b7532)) +- Initial commit ([b1b540c](https://github.com/Masquerade-Circus/valyrian.js/commit/b1b540c75c0c400967405e73f396cdcc41bdba19)) diff --git a/dist/valyrian.min.js b/dist/valyrian.min.js index 7c0ca07..4cfb24a 100644 --- a/dist/valyrian.min.js +++ b/dist/valyrian.min.js @@ -1 +1 @@ -!function(){"use strict";function e(){let e,o,n,t=void 0,d=Array.isArray,r={};function i(e,o,n){this.props=o||{},this.children=n,this.name=e}function l(e){this.dom=e}l.prototype={props:{},children:[]};let p=new l;function s(e,o){return o?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}function c(e,o,n){if(e.props[o])return e.props[o](e,n)}function a(e){if(e instanceof i){for(let o=0,n=e.children.length;o{if(3===e.nodeType)return new l(e);if(1===e.nodeType){let o={};[].forEach.call(e.attributes,e=>o[e.nodeName]=e.nodeValue);let n=new i(e.nodeName,o,[]);n.dom=e;for(let o=0,t=e.childNodes.length;o{let o=s("div");return o.innerHTML=e.trim(),[].map.call(o.childNodes,e=>m.domToVnode(e))};let u=new Map;m.usePlugin=(e,o)=>!u.has(e)&&u.set(e,!0)&&e(m,o),m.reservedWords=["key","v-once","oncreate","onbeforeupdate","onupdate","onremove","data"];let f={};function h(e){let o=e.target,n=`__on${e.type}`;for(;o;){if(o[n])return o[n](e),void(e.defaultPrevented||m.update());o=o.parentNode}}function v(e,o){for(let n in e.props)m.updateProperty(n,e,o)}function g(e,o){for(let n in o.props)-1===m.reservedWords.indexOf(n)&&n in e.props==!1&&"function"!=typeof o.props[n]&&(n in e.dom?e.dom[n]=t:e.dom.removeAttribute(n))}function y(e,o,n){e!==n&&(n?o.replaceChild(e,n):o.appendChild(e))}function V(e){a(e),e.dom&&e.dom.parentNode&&e.dom.parentNode.removeChild(e.dom)}function N(e,o,n,t){let d=e.childNodes[t];n.dom?(o.dom=n.dom,o.props["v-once"]||!1===c(o,"onbeforeupdate",n)?(o.children=n.children,y(o.dom,e,d)):(g(o,n),v(o,n),y(o.dom,e,d),c(o,m.isMounted?"onupdate":"oncreate",n),C(o,n))):(o.dom=s(o.name,o.isSVG),v(o,p),y(o.dom,e,d),c(o,"oncreate"),C(o,p))}m.updateProperty=(e,o,n)=>{if(e in o.props){let t=o.props[e];-1!==m.reservedWords.indexOf(e)?r[e]&&r[e](t,o,n):"function"==typeof t?(f[e=`__${e}`]||(document.addEventListener(e.slice(4),h),f[e]=!0),o.dom[e]=t):e in o.dom&&!o.isSVG?o.dom[e]!==t&&(o.dom[e]=t):t!==n.props[e]&&o.dom.setAttribute(e,t)}};let w=[];function C(e,o){let n=d(e.children)?e.children:[e.children],r=o.children;m.current.parentVnode=e,m.current.oldParentVnode=o;for(let o=0;oe.props.key),d=n.map(e=>e.props.key);for(let i=0,l=d.length;i=o.length?t:i;-1!==n?(r[n].processed=!0,N(e.dom,s,r[n],d)):N(e.dom,s,p,d)}}let i=r.length;for(;i--;)!r[i].processed&&V(r[i])}else{let o=r.length,t=n.length;for(;o-- >t;)V(r[o]);for(o=0;o{let o=m.current.parentVnode;o.onCleanup||(o.onCleanup=[]),o.onCleanup.push(e),-1===w.indexOf(o)&&w.push(o)},m.current={parentVnode:t,oldParentVnode:t,component:t},m.update=(t,...d)=>{if(e)return n&&(!function(){for(let e=w.length;e--;)for(let o of w[e].onCleanup)o();w=[]}(),o=e,e=new i(e.name,e.props,[m(n,t,...d)]),e.dom=o.dom,e.isSVG="svg"===e.name,C(e,o),m.isMounted=!0),m.isNode&&e.dom.innerHTML},m.mount=(o,t,d,...r)=>{let i=m.isNode?s("div"):"string"==typeof o?document.querySelectorAll(o)[0]:o;return e=m.domToVnode(i),n=t,m.update(d,...r)},m.unMount=()=>{n=()=>"";let e=m.update();return n=t,m.isMounted=!1,e},m.directive=(e,o)=>{let n=`v-${e}`;-1===m.reservedWords.indexOf(n)&&(m.reservedWords.push(n),r[n]=o)};let S=e=>(o,n,t)=>{if(e?o:!o){let e=document.createTextNode("");t.dom&&t.dom.parentNode&&(a(t),t.dom.parentNode.replaceChild(e,t.dom)),n.name="",n.children=[],n.props={},n.dom=e}};return m.directive("if",S(!1)),m.directive("unless",S(!0)),m.directive("for",(e,o)=>o.children=e.map(o.children[0])),m.directive("show",(e,o)=>o.dom.style.display=e?"":"none"),m.directive("class",(e,o)=>{for(let n in e)o.dom.classList.toggle(n,e[n])}),m.directive("html",(e,o)=>o.children=m.trust(e)),m}const o=e();o.newInstance=e,(o.isNode?global:window).v=o}();//# sourceMappingURL=valyrian.min.js.map +!function(){"use strict";function e(){let e,o,n,t=void 0,d=Array.isArray,r={};function i(e,o,n){this.props=o||{},this.children=n,this.name=e}function l(e){this.dom=e}l.prototype={props:{},children:[]};let p=new l;function s(e,o){return o?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}function c(e,o,n){if(e.props[o])return e.props[o](e,n)}function a(e){if(e instanceof i){for(let o=0,n=e.children.length;o{if(3===e.nodeType)return new l(e);if(1===e.nodeType){let o={};[].forEach.call(e.attributes,e=>o[e.nodeName]=e.nodeValue);let n=new i(e.nodeName,o,[]);n.dom=e;for(let o=0,t=e.childNodes.length;o{let o=s("div");return o.innerHTML=e.trim(),[].map.call(o.childNodes,e=>m.domToVnode(e))};let u=new Map;m.usePlugin=(e,o)=>!u.has(e)&&u.set(e,!0)&&e(m,o),m.reservedWords=["key","v-once","oncreate","onbeforeupdate","onupdate","onremove","data"];let f={};function h(e){let o=e.target,n=`__on${e.type}`;for(;o;){if(o[n])return o[n](e),void(e.defaultPrevented||m.update());o=o.parentNode}}function v(e,o){for(let n in e.props)m.updateProperty(n,e,o)}function g(e,o){for(let n in o.props)-1===m.reservedWords.indexOf(n)&&n in e.props==!1&&"function"!=typeof o.props[n]&&(n in e.dom?e.dom[n]=t:e.dom.removeAttribute(n))}function y(e,o,n){e!==n&&(n?o.replaceChild(e,n):o.appendChild(e))}function V(e){a(e),e.dom&&e.dom.parentNode&&e.dom.parentNode.removeChild(e.dom)}function N(e,o,n,t){let d=e.childNodes[t];n.dom?(o.dom=n.dom,o.props["v-once"]||!1===c(o,"onbeforeupdate",n)?(o.children=n.children,y(o.dom,e,d)):(g(o,n),v(o,n),y(o.dom,e,d),c(o,m.isMounted?"onupdate":"oncreate",n),C(o,n))):(o.dom=s(o.name,o.isSVG),v(o,p),y(o.dom,e,d),c(o,"oncreate"),C(o,p))}m.updateProperty=(e,o,n)=>{if(e in o.props){let t=o.props[e];-1!==m.reservedWords.indexOf(e)?r[e]&&r[e](t,o,n):"function"==typeof t?(f[e=`__${e}`]||(document.addEventListener(e.slice(4),h),f[e]=!0),o.dom[e]=t):e in o.dom&&!o.isSVG?o.dom[e]!==t&&(o.dom[e]=t):t!==n.props[e]&&o.dom.setAttribute(e,t)}};let w=[];function C(e,o){let n=d(e.children)?e.children:[e.children],r=o.children;m.current.parentVnode=e,m.current.oldParentVnode=o;for(let o=0;oe.props.key),d=n.map(e=>e.props.key);for(let i=0,l=d.length;i=o.length?t:i;-1!==n?(r[n].processed=!0,N(e.dom,s,r[n],d)):N(e.dom,s,p,d)}}let i=r.length;for(;i--;)!r[i].processed&&V(r[i])}else{let o=r.length,t=n.length;for(;o-- >t;)V(r[o]);for(o=0;o{let o=m.current.parentVnode;o.onCleanup||(o.onCleanup=[]),o.onCleanup.push(e),-1===w.indexOf(o)&&w.push(o)},m.current={parentVnode:t,oldParentVnode:t,component:t},m.update=(t,...d)=>{if(e)return n&&(!function(){for(let e=w.length;e--;)for(let o of w[e].onCleanup)o();w=[]}(),o=e,e=new i(e.name,e.props,[m(n,t,...d)]),e.dom=o.dom,e.isSVG="svg"===e.name,C(e,o),m.isMounted=!0),m.isNode&&e.dom.innerHTML},m.mount=(o,t,d,...r)=>{let i=m.isNode?s("div"):"string"==typeof o?document.querySelectorAll(o)[0]:o;return e=m.domToVnode(i),n=t,m.update(d,...r)},m.unMount=()=>{n=()=>"";let e=m.update();return n=t,m.isMounted=!1,e},m.directive=(e,o)=>{let n=`v-${e}`;-1===m.reservedWords.indexOf(n)&&(m.reservedWords.push(n),r[n]=o)};let S=e=>(o,n,t)=>{if(e?o:!o){let e=document.createTextNode("");t.dom&&t.dom.parentNode&&(a(t),t.dom.parentNode.replaceChild(e,t.dom)),n.name="",n.children=[],n.props={},n.dom=e}};return m.directive("if",S(!1)),m.directive("unless",S(!0)),m.directive("for",(e,o)=>o.children=e.map(o.children[0])),m.directive("show",(e,o)=>o.dom.style.display=e?"":"none"),m.directive("class",(e,o)=>{for(let n in e)o.dom.classList.toggle(n,e[n])}),m.directive("html",(e,o)=>o.children=m.trust(e)),m}const o=e();o.newInstance=e,(o.isNode?global:window).v=o}(); \ No newline at end of file diff --git a/package.json b/package.json index 869e126..5966350 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "valyrian.js", - "version": "4.2.3", + "version": "4.3.0", "description": "Lightweight steel to forge PWAs. (Minimal Frontend Framework with server side rendering and other capabilities)", "main": "lib/index.js", "module": "lib/index.js",