|
| 1 | +# Change Log |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](http://keepachangelog.com/) |
| 6 | + |
| 7 | +<!-- ### Added --> |
| 8 | +<!-- ### Changed --> |
| 9 | +<!-- ### Removed --> |
| 10 | +<!-- ### Fixed --> |
| 11 | + |
| 12 | +## [1.1.9] - 2019-10-17 |
| 13 | + |
| 14 | +### Added |
| 15 | +- New rule `no-unintended-mixed-binding` to prevent bugs like `<input value=${"foo"}} />` ([#44](https://github.com/runem/lit-analyzer/issues/44)) |
| 16 | +- Hex colors within html/css templates are now highlighted in the vscode plugin ([#30](https://github.com/runem/lit-analyzer/issues/30)) |
| 17 | + |
| 18 | +### Fixed |
| 19 | +- Big internal refactor, including adding a lot of tests ([#49](https://github.com/runem/lit-analyzer/pull/49)) |
| 20 | +- Fixed problem where closing tags weren't auto-completed properly ([#37cba351](https://github.com/runem/lit-analyzer/commit/37cba3519762a1b8c6f6522baa40842e1b5ac504)) |
| 21 | +- Fixed problem where lit-analyzer would crash when running with a newer version of Typescript ([#58](https://github.com/runem/lit-analyzer/issues/58)) |
| 22 | + |
| 23 | + |
| 24 | +## [1.1.8] - 2019-08-13 |
| 25 | + |
| 26 | +### Added |
| 27 | +- Export Bazel plugin ([#39](https://github.com/runem/lit-analyzer/issues/39)) |
| 28 | +- Support css snippets and % units ([#40](https://github.com/runem/lit-analyzer/issues/40)) |
| 29 | + |
| 30 | +### Fixed |
| 31 | +- Fix problem where the value of attributes on the form attr='val' could get parsed incorrectly. ([#36](https://github.com/runem/lit-analyzer/issues/36)) |
| 32 | + |
| 33 | +## [1.1.4] - 2019-08-05 |
| 34 | + |
| 35 | +### Added |
| 36 | +- Some rules are disabled as default to give users a smoother on-boarding experience. To re-enable the stricter rules please set "strict: true". Consult the documentation for more information. |
| 37 | +- Functionality has been refactored into "rules" which can be enabled and disabled individually. It should now be much clearer how to enabled or disable individual functionality. Consult the documentation for more information. |
| 38 | + |
| 39 | +- When using the @property decorator from "lit-element" the type of "{type: ...}" is checked against the actual property type. |
| 40 | +- Support for using components built with mixins |
| 41 | +- Warning when using boolean type expression in attribute binding ([#15](https://github.com/runem/lit-analyzer/issues/15)) |
| 42 | +- Allow "null" and "undefined" as values always when using "?" attr binding ([#16](https://github.com/runem/lit-analyzer/issues/16)) |
| 43 | +- Suggested code fix: Please use the `ifDefined` directive. ([#17](https://github.com/runem/lit-analyzer/issues/17)) |
| 44 | +- The usage of built-in directives is now checked to make sure that they are used correctly. |
| 45 | +- Experimental: It's now possible to refactor custom element tag names. |
| 46 | + |
| 47 | +- The analyzer has been updated and should now be much more robust (see [web-component-analyzer](https://github.com/runem/web-component-analyzer)). |
| 48 | +- The type checker has been updated and should now be much more robust (see [ts-simple-type](https://github.com/runem/ts-simple-type)). |
| 49 | + |
| 50 | +## [1.0.0] - 2019-04-01 |
| 51 | + |
| 52 | +### Added |
| 53 | + |
| 54 | +- Added support for `observedAttributes`, `properties` and `jsdoc comments` as well as web component libraries built with stencil. |
| 55 | +- Autocompletion and type checking for properties. Properties on built in elements are supported. |
| 56 | +- Autocompletion and name checking for **slots**. Add slots to your component using `@slot myslot` jsdoc. |
| 57 | +- Autocompletion and name checking for **events**. `new CustomEvent("myevent")` in the component is found automatically or you can choose to add events to your component using `@fires myevent` jsdoc. |
| 58 | +- Added check for using the property modifier without an expression as this is not support by lit-html to catch errors like `.myProp="hello"`. |
| 59 | +- Added support for code folding |
| 60 | +- Added support for vscode custom html data format. |
| 61 | +- Support for declaring attributes and properties using `@attr myattr` and `@prop myprop` jsdoc. |
| 62 | +- CSS autocompletion now includes all custom element tag names available. |
| 63 | + |
| 64 | +### Fixed |
| 65 | + |
| 66 | +- The web component analyzer is now much more stable and won't crash on strange inputs. |
| 67 | + |
| 68 | +### Removed |
| 69 | + |
| 70 | +- Temporarily disabled code formatting until issues with nested templates are solved. |
| 71 | + |
| 72 | +## [0.1.0] - 2019-02-22 |
| 73 | + |
| 74 | +### Added |
| 75 | + |
| 76 | +- Added code completions and diagnostics for the `CSS` tagged template and`<style>` tag. |
| 77 | +- Added check for non-callable types given to event listeners in order to catch errors like `@click="myHandler()"`. |
| 78 | +- More reliable type checking across all assignments. |
| 79 | +- Better support for built in tag names and global attributes. These now directly use data from the vscode html language service. |
| 80 | +- Values are now auto completed for attribute assignments where possible. For example an attribute with a string union type `"large" | "small"` will suggest these values. |
| 81 | +- Inline documentation is now shown when listing completions. |
| 82 | + |
| 83 | +### Fixed |
| 84 | + |
| 85 | +- Fixed issue where components from libraries would be imported as `import "../../node_modules/my-component"` and not `import "my-component"` |
| 86 | +- Added various missing global built in elements. |
| 87 | +- Added various missing global built in attributes like 'aria-\*' attributes. |
| 88 | + |
| 89 | +## [0.0.24] - 2019-02-08 |
| 90 | + |
| 91 | +### Added |
| 92 | + |
| 93 | +- Added support for `@ts-ignore` comments ([#2](https://github.com/runem/lit-analyzer/pull/2)) |
| 94 | +- Added reformat support |
| 95 | +- Added support for libraries that extend the global `HTMLElementTagNameMap` |
| 96 | + |
| 97 | +### Fixed |
| 98 | + |
| 99 | +- Fixed broken auto-close tag functionality |
0 commit comments