# Change Log All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ## [4.0.2](https://github.com/calebdwilliams/templiteral/compare/v4.0.1...v4.0.2) (2019-05-03) ## [4.0.1](https://github.com/calebdwilliams/templiteral/compare/v4.0.0...v4.0.1) (2019-03-31) ### Bug Fixes * **Template:** Improved performance of template renderer ([ad1abfe](https://github.com/calebdwilliams/templiteral/commit/ad1abfe)) # [4.0.0](https://github.com/calebdwilliams/templiteral/compare/v3.7.0...v4.0.0) (2019-02-09) ### Features * **construct-style-sheets:** Added the construct style sheets polyfill and deprecated stylit ([18530f9](https://github.com/calebdwilliams/templiteral/commit/18530f9)) ### BREAKING CHANGES * **construct-style-sheets:** Deprecated stylit # [3.7.0](https://github.com/calebdwilliams/templiteral/compare/v3.6.4...v3.7.0) (2018-10-29) ### Features * **updatedHooks:** Added Component.prototype.updatedHooks ([f5ab94f](https://github.com/calebdwilliams/templiteral/commit/f5ab94f)) ## [3.6.4](https://github.com/calebdwilliams/templiteral/compare/v3.6.3...v3.6.4) (2018-10-29) ## [3.6.3](https://github.com/calebdwilliams/templiteral/compare/v3.6.2...v3.6.3) (2018-10-29) ## [3.6.2](https://github.com/calebdwilliams/templiteral/compare/v3.6.1...v3.6.2) (2018-10-28) ## [3.6.1](https://github.com/calebdwilliams/templiteral/compare/v3.6.0...v3.6.1) (2018-10-28) # [3.6.0](https://github.com/calebdwilliams/templiteral/compare/v3.5.0...v3.6.0) (2018-10-26) ### Features * **Component:** Removed static renderer and just called render automatically ([aaf8ef0](https://github.com/calebdwilliams/templiteral/commit/aaf8ef0)) # [3.5.0](https://github.com/calebdwilliams/templiteral/compare/v3.4.0...v3.5.0) (2018-10-26) ### Bug Fixes * **booleanAttributes:** Fixed boolean attribute implementation ([05a95f4](https://github.com/calebdwilliams/templiteral/commit/05a95f4)) ### Features * **booleanAttributes:** Added booleanAttributes and changed boundAttributes ([d496633](https://github.com/calebdwilliams/templiteral/commit/d496633)) # [3.4.0](https://github.com/calebdwilliams/templiteral/compare/v3.3.2...v3.4.0) (2018-09-14) ### Features * **stylit:** Added stylit and Component styles support ([ad4e6d9](https://github.com/calebdwilliams/templiteral/commit/ad4e6d9)) ## [3.3.2](https://github.com/calebdwilliams/templiteral/compare/v3.3.1...v3.3.2) (2018-09-07) ## [3.3.1](https://github.com/calebdwilliams/templiteral/compare/v3.3.0...v3.3.1) (2018-08-30) ### Bug Fixes * **Component.onInit:** Fix for issue [#6](https://github.com/calebdwilliams/templiteral/issues/6) ([1edd4cf](https://github.com/calebdwilliams/templiteral/commit/1edd4cf)) # [3.3.0](https://github.com/calebdwilliams/templiteral/compare/v3.2.1...v3.3.0) (2018-08-28) ### Features * **Component:** Added shadow init to Component constructor argument ([1d7af7a](https://github.com/calebdwilliams/templiteral/commit/1d7af7a)) ## [3.2.1](https://github.com/calebdwilliams/templiteral/compare/v3.2.0...v3.2.1) (2018-08-25) ### Bug Fixes * **watch:** Watch can now handle HTMLElements and descendants as part of Component.state ([1d72704](https://github.com/calebdwilliams/templiteral/commit/1d72704)) # [3.2.0](https://github.com/calebdwilliams/templiteral/compare/v3.1.0...v3.2.0) (2018-08-22) ### Features * **condition and Component.if:** Added solution for conditional templates ([511d080](https://github.com/calebdwilliams/templiteral/commit/511d080)) # [3.1.0](https://github.com/calebdwilliams/templiteral/compare/v3.0.5...v3.1.0) (2018-08-18) ### Features * **watch:** Added support for Date, Map and WeakMap. Fix for [#5](https://github.com/calebdwilliams/templiteral/issues/5). ([cfa9919](https://github.com/calebdwilliams/templiteral/commit/cfa9919)) ## [3.0.5](https://github.com/calebdwilliams/templiteral/compare/v3.0.4...v3.0.5) (2018-08-08) ### Bug Fixes * **watch:** Watch now works with instances of Date ([dcd8cf2](https://github.com/calebdwilliams/templiteral/commit/dcd8cf2)) ## [3.0.4](https://github.com/calebdwilliams/templiteral/compare/v3.0.3...v3.0.4) (2018-08-04) ### Bug Fixes * **build:** Ran build forgotten on 3.0.3 ([48afb6a](https://github.com/calebdwilliams/templiteral/commit/48afb6a)) ## [3.0.3](https://github.com/calebdwilliams/templiteral/compare/v3.0.2...v3.0.3) (2018-08-04) ### Bug Fixes * **watch:** Fixed watch on Safari ([2f96ce4](https://github.com/calebdwilliams/templiteral/commit/2f96ce4)) ## [3.0.2](https://github.com/calebdwilliams/templiteral/compare/v3.0.1...v3.0.2) (2018-08-03) ## [3.0.1](https://github.com/calebdwilliams/templiteral/compare/v3.0.0...v3.0.1) (2018-08-03) ### Bug Fixes * **watch:** Added a setter to watch to fix [#4](https://github.com/calebdwilliams/templiteral/issues/4) ([d4f2857](https://github.com/calebdwilliams/templiteral/commit/d4f2857)) # [3.0.0](https://github.com/calebdwilliams/templiteral/compare/v2.7.4...v3.0.0) (2018-08-03) ### Features * **major refactor:** Major refactor ([300b3fb](https://github.com/calebdwilliams/templiteral/commit/300b3fb)) ### BREAKING CHANGES * **major refactor:** Removal of t-repeat and major performance improvements ## [2.7.4](https://github.com/calebdwilliams/templiteral/compare/v2.7.3...v2.7.4) (2018-07-26) ### Bug Fixes * **AttributeNode:** Fixed an issue that added multiple event listeners to a node ([da6f8c9](https://github.com/calebdwilliams/templiteral/commit/da6f8c9)) ## [2.7.3](https://github.com/calebdwilliams/templiteral/compare/v2.7.2...v2.7.3) (2018-07-25) ### Bug Fixes * **ContentNode:** Fixed [#2](https://github.com/calebdwilliams/templiteral/issues/2) which prevented ContentNode from working with more than 10 interpolations. Various improvements. Improvements to docs ([209a607](https://github.com/calebdwilliams/templiteral/commit/209a607)) ## [2.7.2](https://github.com/calebdwilliams/templiteral/compare/v2.7.1...v2.7.2) (2018-07-22) ### Bug Fixes * **Component:** Fixed disconnectedCallback when removing another component ([768b026](https://github.com/calebdwilliams/templiteral/commit/768b026)) ## [2.7.1](https://github.com/calebdwilliams/templiteral/compare/v2.7.0...v2.7.1) (2018-07-20) ### Bug Fixes * **Component:** Fixed an issue where setter wouldn't recognize presence attributes ([0fe2ce0](https://github.com/calebdwilliams/templiteral/commit/0fe2ce0)) # [2.7.0](https://github.com/calebdwilliams/templiteral/compare/v2.6.1...v2.7.0) (2018-07-20) ### Features * **Component:** Added simple custom event emitter utility to Component. Also, top-level components now clean up after themselves ([031e49d](https://github.com/calebdwilliams/templiteral/commit/031e49d)) ## [2.6.1](https://github.com/calebdwilliams/templiteral/compare/v2.6.0...v2.6.1) (2018-07-19) ### Bug Fixes * **Component:** Changed boundAttrubutes setter to work with named attributes with no values eg: 'disabled' or 'required' for Component inputs ([de8af6f](https://github.com/calebdwilliams/templiteral/commit/de8af6f)) # [2.6.0](https://github.com/calebdwilliams/templiteral/compare/v2.5.0...v2.6.0) (2018-07-18) ### Features * **Array methods, React-style functions:** Added Array methods using the fragment method, dynamic re-rendering of nested components and React-style function bindings ([a93192f](https://github.com/calebdwilliams/templiteral/commit/a93192f)) # [2.5.0](https://github.com/calebdwilliams/templiteral/compare/v2.4.2...v2.5.0) (2018-07-16) ### Features * **array:** Basic support for arrays ([9f66dd2](https://github.com/calebdwilliams/templiteral/commit/9f66dd2)) ## [2.4.2](https://github.com/calebdwilliams/templiteral/compare/v2.4.1...v2.4.2) (2018-07-14) ## [2.4.1](https://github.com/calebdwilliams/templiteral/compare/v2.4.0...v2.4.1) (2018-07-14) ### Bug Fixes * **AttributeNode:** Simplified event bindings ([101bce7](https://github.com/calebdwilliams/templiteral/commit/101bce7)) * **Component:** Fixed argument order on templiteral ([5d8b2ed](https://github.com/calebdwilliams/templiteral/commit/5d8b2ed)) # [2.4.0](https://github.com/calebdwilliams/templiteral/compare/v2.3.0...v2.4.0) (2018-07-14) ### Features * **Component:** Added Component ([132bb34](https://github.com/calebdwilliams/templiteral/commit/132bb34)) # [2.3.0](https://github.com/calebdwilliams/templiteral/compare/v2.2.0...v2.3.0) (2018-07-14) ### Features * **refs:** Added support for element references ([0e5bce6](https://github.com/calebdwilliams/templiteral/commit/0e5bce6)) # [2.2.0](https://github.com/calebdwilliams/templiteral/compare/v2.1.3...v2.2.0) (2018-07-13) ### Features * **model:** Added initial support for model ([c3d75be](https://github.com/calebdwilliams/templiteral/commit/c3d75be)) ## [2.1.3](https://github.com/calebdwilliams/templiteral/compare/v2.1.2...v2.1.3) (2018-03-16) ### Bug Fixes * **build:** Built fixed files ([cf93aa8](https://github.com/calebdwilliams/templiteral/commit/cf93aa8)) ## [2.1.2](https://github.com/calebdwilliams/templiteral/compare/v2.1.1...v2.1.2) (2018-03-16) ### Bug Fixes * **Template:** Added propPattern ([0d9db76](https://github.com/calebdwilliams/templiteral/commit/0d9db76)) ## [2.1.1](https://github.com/calebdwilliams/templiteral/compare/v2.1.0...v2.1.1) (2018-03-16) ### Bug Fixes * **docs:** Fixed doc error ([3ce00ba](https://github.com/calebdwilliams/templiteral/commit/3ce00ba)) # [2.1.0](https://github.com/calebdwilliams/templiteral/compare/v2.0.4...v2.1.0) (2018-03-16) ### Features * **Fragment:** Added Fragment class for directives ([1dd85e1](https://github.com/calebdwilliams/templiteral/commit/1dd85e1)) * **repeat and if:** Added t-repeat and t-if ([c1ee443](https://github.com/calebdwilliams/templiteral/commit/c1ee443)) ## [2.0.4](https://github.com/calebdwilliams/templiteral/compare/v2.0.3...v2.0.4) (2018-01-11) ### Bug Fixes * **templateCache:** Changed templateCache to a WeakMap ([d184288](https://github.com/calebdwilliams/templiteral/commit/d184288)) ## [2.0.3](https://github.com/calebdwilliams/templiteral/compare/v2.0.2...v2.0.3) (2018-01-06) ## [2.0.2](https://github.com/calebdwilliams/templiteral/compare/v2.0.1...v2.0.2) (2018-01-06) ### Bug Fixes * **AttributeNode:** Fixed issue where non strings wouldn't bind with bracket notation ([6c4786a](https://github.com/calebdwilliams/templiteral/commit/6c4786a)) ## [2.0.1](https://github.com/calebdwilliams/templiteral/compare/v2.0.0...v2.0.1) (2018-01-02) ### Bug Fixes * **ContentNode:** Fixed multiple bindings per content node ([185e51c](https://github.com/calebdwilliams/templiteral/commit/185e51c)) # [2.0.0](https://github.com/calebdwilliams/templiteral/compare/v1.2.2...v2.0.0) (2017-12-27) ### Features * **templiteral:** v2 refactor ([cca2c71](https://github.com/calebdwilliams/templiteral/commit/cca2c71)) ### BREAKING CHANGES * **templiteral:** New compiler ## [1.2.2](https://github.com/calebdwilliams/templiteral/compare/v1.2.1...v1.2.2) (2017-11-14) ### Bug Fixes * **Template:** Removed Template.node which allows nested templiterals ([6391fd8](https://github.com/calebdwilliams/templiteral/commit/6391fd8)) ## [1.2.1](https://github.com/calebdwilliams/templiteral/compare/v1.2.0...v1.2.1) (2017-11-03) ### Bug Fixes * **AttributeNode:** Removes event listeners on Template.disconnect() ([8ae75b4](https://github.com/calebdwilliams/templiteral/commit/8ae75b4)) # [1.2.0](https://github.com/calebdwilliams/templiteral/compare/v1.1.3...v1.2.0) (2017-11-03) ### Features * **default context:** The templiteral function now sets context to this by default ([796f784](https://github.com/calebdwilliams/templiteral/commit/796f784)) ## [1.1.3](https://github.com/calebdwilliams/templiteral/compare/v1.1.2...v1.1.3) (2017-10-28) ### Bug Fixes * **Minor updates:** Fixed some style issues and added eslint ([a65d724](https://github.com/calebdwilliams/templiteral/commit/a65d724)) ## [1.1.2](https://github.com/calebdwilliams/templiteral/compare/v1.1.1...v1.1.2) (2017-10-27) ## [1.1.1](/compare/v1.1.0...v1.1.1) (2017-10-26) # 1.1.0 (2017-10-25) ### Bug Fixes * Removed unused variables b705e12 * **removed eval:** Removed eval for Function constructor ced4b23 * **removed files:** Removed unused files and added more experiments to base component 2089f13 ### Features * Compile b276117 * Compile cdbb4ad * Complete initial implementation fc984ee * **allow two-way binding:** Made some minor changes to force two-way binding if wanted d3f3d72 * **attribute binding:** Added attribute binding 0770a1d * **events:** Added Angular-style event handling 6d5200a