lit/lit
### [`v3.1.2`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#312)
[Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.1.1...lit-element@3.1.2)
##### Patch Changes
- [#2370](https://togithub.com/lit/lit/pull/2370) [`7453e365`](https://togithub.com/lit/lit/commit/7453e365000e6a289c139cf7e175a4742296333d) - Replace square bracket links with the `linkcode` JSDoc tag.
Editors will create a jump to definition hyperlink for the linkcode tag if the identifier is in scope.
- [#2410](https://togithub.com/lit/lit/pull/2410) [`b9a6962b`](https://togithub.com/lit/lit/commit/b9a6962b84c841eaabd5c4cbf8687ff34dbfe511) - Correct the link path of CONTRIBUTING.md in README.md files
### [`v3.1.1`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#311)
[Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.1.0...lit-element@3.1.1)
##### Patch Changes
- [#2384](https://togithub.com/lit/lit/pull/2384) [`39b8db85`](https://togithub.com/lit/lit/commit/39b8db85ef8d2264a86ff6ff6559ea06b391f08f) - Fix missing decorators/query-assigned-elements.js file
### [`v3.1.0`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#310)
[Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.0.2...lit-element@3.1.0)
##### Minor Changes
- [#2327](https://togithub.com/lit/lit/pull/2327) [`49ecf623`](https://togithub.com/lit/lit/commit/49ecf6239033e9578184d46116e6b89676d091db) - Add `queryAssignedElements` decorator for a declarative API that calls `HTMLSlotElement.assignedElements()` on a specified slot. `selector` option allows filtering returned elements with a CSS selector.
##### Patch Changes
- Updated dependencies \[[`08e7fc56`](https://togithub.com/lit/lit/commit/08e7fc566894d1916dc768c0843fce962ca4d6d4), [`fcc2b3d0`](https://togithub.com/lit/lit/commit/fcc2b3d0054e69e6f76588ea9f440117b6d0deed), [`eb5c5d2b`](https://togithub.com/lit/lit/commit/eb5c5d2b2159dcd8b2321fa9a221b8d56d127a11), [`49ecf623`](https://togithub.com/lit/lit/commit/49ecf6239033e9578184d46116e6b89676d091db), [`26e3fb7b`](https://togithub.com/lit/lit/commit/26e3fb7ba1d3ef778a9862ff73374802b4b4eb2e), [`d319cf5f`](https://togithub.com/lit/lit/commit/d319cf5fde1c2b70185ee9a6252067ed0edaf2fc), [`1d563e83`](https://togithub.com/lit/lit/commit/1d563e830c02a2d1a22e1e939f1ace971b1d1ae7), [`221cb0a9`](https://togithub.com/lit/lit/commit/221cb0a90787631dcc867959de19febd2ebd3fd0)]:
- [@lit/reactive-element](https://togithub.com/lit/reactive-element)[@1](https://togithub.com/1).1.0
- lit-html@2.1.0
### [`v3.0.2`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#302)
[Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.0.1...lit-element@3.0.2)
##### Patch Changes
- [#2240](https://togithub.com/lit/lit/pull/2240) [`76ed65d7`](https://togithub.com/lit/lit/commit/76ed65d7e1e157d1f61dd62fe938a2fc1828c497) - Identify a `this` reference for jscompiler.
- [#2236](https://togithub.com/lit/lit/pull/2236) [`5fc3818a`](https://togithub.com/lit/lit/commit/5fc3818afa43365b90b921ea0fd8f41e970e767f) - Prevent `polyfillSupport.noPatchSupported` from implicitly being `any`.
Deduplicate types for `DevMode`-suffixed polyfill support functions.
### [`v3.0.1`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#301)
[Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.0.0...lit-element@3.0.1)
##### Patch Changes
- [#2152](https://togithub.com/lit/lit/pull/2152) [`ba5e1391`](https://togithub.com/lit/lit/commit/ba5e139163049014e6261123ff808700352b86a8) - Replace dynamic name lookups for polyfill support functions with static names.
### [`v3.0.0`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#300)
[Compare Source](https://togithub.com/lit/lit/compare/2b398727dacb7694fbf38816824675d20838704f...lit-element@3.0.0)
##### Major Changes
- Most users should no longer import directly from `lit-element`, and instead prefer importing `LitElement` from the `lit` packages. The default entry point for `lit-element` remains backward-compatible and includes all decorators. However, it's recommended to use `import {LitElement} from 'lit';` and import decorators from `lit/decorators` as necessary. See the [Upgrade Guide](https://lit.dev/docs/releases/upgrade/#update-packages-and-import-paths) for more details.
- `UpdatingElement` has been moved from the `lit-element` package to the `@lit/reactive-element` package and renamed to `ReactiveElement`. See the [ReactiveElement API](https://lit.dev/docs/api/ReactiveElement/) documentation for more details. In addition, the source for `css-tag`, and all `decorators` have been moved to `@lit/reactive-element`. However, all symbols are re-exported from both `lit` and `lit-element` packages.
- The `@internalProperty` decorator has been renamed to `@state`.
- Errors that occur during the update cycle were previously squelched to allow subsequent updates to proceed normally. Now errors are re-fired asynchronously so they can be detected. Errors can be observed via an `unhandledrejection` event handler on window.
- The `lib` folder has been removed.
- Rendering of `renderRoot`/`shadowRoot`) via `createRenderRoot` and support for `static styles` has moved from `LitElement` to `ReactiveElement`.
- The `createRenderRoot` method is now called just before the first update rather than in the constructor. Element code can not assume the `renderRoot` exists before the element `hasUpdated`. This change was made for compatibility with SSR.
- `ReactiveElement`'s `initialize` method has been removed. This work is now done in the element constructor.
- The static `render` has been removed.
- For consistency, renamed `_getUpdateComplete` to `getUpdateComplete`.
- When a property declaration is `reflect: true` and its `toAttribute` function returns `undefined` the attribute is now removed where previously it was left unchanged ([#872](https://togithub.com/Polymer/lit-element/issues/872)).
- The dirty check in `attributeChangedCallback` has been removed. While technically breaking, in practice it should very rarely be ([#699](https://togithub.com/Polymer/lit-element/issues/699)).
- LitElement's `adoptStyles` method has been removed. Styling is now adopted in `createRenderRoot`. This method may be overridden to customize this behavior.
- LitElement's `static getStyles` method has been renamed to `static finalizeStyles` and now takes a list of styles the user provided and returns the styles which should be used in the element. If this method is overridden to integrate into a style management system, typically the `super` implementation should be called.
- Removed build support for TypeScript 3.4.
- Decorators are no longer exported from the `lit-element` module. Instead, import any decorators you use from `lit/decorators/*`.
- `lit-html` has been updated to 2.x.
- Support for running in older browsers has been removed from the default configuration. Import the `polyfill-support` module to support Shady DOM. Note also that Lit parts inside `
This PR contains the following updates:
^2.5.1
->^3.1.2
Release Notes
lit/lit
### [`v3.1.2`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#312) [Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.1.1...lit-element@3.1.2) ##### Patch Changes - [#2370](https://togithub.com/lit/lit/pull/2370) [`7453e365`](https://togithub.com/lit/lit/commit/7453e365000e6a289c139cf7e175a4742296333d) - Replace square bracket links with the `linkcode` JSDoc tag. Editors will create a jump to definition hyperlink for the linkcode tag if the identifier is in scope. - [#2410](https://togithub.com/lit/lit/pull/2410) [`b9a6962b`](https://togithub.com/lit/lit/commit/b9a6962b84c841eaabd5c4cbf8687ff34dbfe511) - Correct the link path of CONTRIBUTING.md in README.md files ### [`v3.1.1`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#311) [Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.1.0...lit-element@3.1.1) ##### Patch Changes - [#2384](https://togithub.com/lit/lit/pull/2384) [`39b8db85`](https://togithub.com/lit/lit/commit/39b8db85ef8d2264a86ff6ff6559ea06b391f08f) - Fix missing decorators/query-assigned-elements.js file ### [`v3.1.0`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#310) [Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.0.2...lit-element@3.1.0) ##### Minor Changes - [#2327](https://togithub.com/lit/lit/pull/2327) [`49ecf623`](https://togithub.com/lit/lit/commit/49ecf6239033e9578184d46116e6b89676d091db) - Add `queryAssignedElements` decorator for a declarative API that calls `HTMLSlotElement.assignedElements()` on a specified slot. `selector` option allows filtering returned elements with a CSS selector. ##### Patch Changes - Updated dependencies \[[`08e7fc56`](https://togithub.com/lit/lit/commit/08e7fc566894d1916dc768c0843fce962ca4d6d4), [`fcc2b3d0`](https://togithub.com/lit/lit/commit/fcc2b3d0054e69e6f76588ea9f440117b6d0deed), [`eb5c5d2b`](https://togithub.com/lit/lit/commit/eb5c5d2b2159dcd8b2321fa9a221b8d56d127a11), [`49ecf623`](https://togithub.com/lit/lit/commit/49ecf6239033e9578184d46116e6b89676d091db), [`26e3fb7b`](https://togithub.com/lit/lit/commit/26e3fb7ba1d3ef778a9862ff73374802b4b4eb2e), [`d319cf5f`](https://togithub.com/lit/lit/commit/d319cf5fde1c2b70185ee9a6252067ed0edaf2fc), [`1d563e83`](https://togithub.com/lit/lit/commit/1d563e830c02a2d1a22e1e939f1ace971b1d1ae7), [`221cb0a9`](https://togithub.com/lit/lit/commit/221cb0a90787631dcc867959de19febd2ebd3fd0)]: - [@lit/reactive-element](https://togithub.com/lit/reactive-element)[@1](https://togithub.com/1).1.0 - lit-html@2.1.0 ### [`v3.0.2`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#302) [Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.0.1...lit-element@3.0.2) ##### Patch Changes - [#2240](https://togithub.com/lit/lit/pull/2240) [`76ed65d7`](https://togithub.com/lit/lit/commit/76ed65d7e1e157d1f61dd62fe938a2fc1828c497) - Identify a `this` reference for jscompiler. - [#2236](https://togithub.com/lit/lit/pull/2236) [`5fc3818a`](https://togithub.com/lit/lit/commit/5fc3818afa43365b90b921ea0fd8f41e970e767f) - Prevent `polyfillSupport.noPatchSupported` from implicitly being `any`. Deduplicate types for `DevMode`-suffixed polyfill support functions. ### [`v3.0.1`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#301) [Compare Source](https://togithub.com/lit/lit/compare/lit-element@3.0.0...lit-element@3.0.1) ##### Patch Changes - [#2152](https://togithub.com/lit/lit/pull/2152) [`ba5e1391`](https://togithub.com/lit/lit/commit/ba5e139163049014e6261123ff808700352b86a8) - Replace dynamic name lookups for polyfill support functions with static names. ### [`v3.0.0`](https://togithub.com/lit/lit/blob/HEAD/packages/lit-element/CHANGELOG.md#300) [Compare Source](https://togithub.com/lit/lit/compare/2b398727dacb7694fbf38816824675d20838704f...lit-element@3.0.0) ##### Major Changes - Most users should no longer import directly from `lit-element`, and instead prefer importing `LitElement` from the `lit` packages. The default entry point for `lit-element` remains backward-compatible and includes all decorators. However, it's recommended to use `import {LitElement} from 'lit';` and import decorators from `lit/decorators` as necessary. See the [Upgrade Guide](https://lit.dev/docs/releases/upgrade/#update-packages-and-import-paths) for more details. - `UpdatingElement` has been moved from the `lit-element` package to the `@lit/reactive-element` package and renamed to `ReactiveElement`. See the [ReactiveElement API](https://lit.dev/docs/api/ReactiveElement/) documentation for more details. In addition, the source for `css-tag`, and all `decorators` have been moved to `@lit/reactive-element`. However, all symbols are re-exported from both `lit` and `lit-element` packages. - The `@internalProperty` decorator has been renamed to `@state`. - Errors that occur during the update cycle were previously squelched to allow subsequent updates to proceed normally. Now errors are re-fired asynchronously so they can be detected. Errors can be observed via an `unhandledrejection` event handler on window. - The `lib` folder has been removed. - Rendering of `renderRoot`/`shadowRoot`) via `createRenderRoot` and support for `static styles` has moved from `LitElement` to `ReactiveElement`. - The `createRenderRoot` method is now called just before the first update rather than in the constructor. Element code can not assume the `renderRoot` exists before the element `hasUpdated`. This change was made for compatibility with SSR. - `ReactiveElement`'s `initialize` method has been removed. This work is now done in the element constructor. - The static `render` has been removed. - For consistency, renamed `_getUpdateComplete` to `getUpdateComplete`. - When a property declaration is `reflect: true` and its `toAttribute` function returns `undefined` the attribute is now removed where previously it was left unchanged ([#872](https://togithub.com/Polymer/lit-element/issues/872)). - The dirty check in `attributeChangedCallback` has been removed. While technically breaking, in practice it should very rarely be ([#699](https://togithub.com/Polymer/lit-element/issues/699)). - LitElement's `adoptStyles` method has been removed. Styling is now adopted in `createRenderRoot`. This method may be overridden to customize this behavior. - LitElement's `static getStyles` method has been renamed to `static finalizeStyles` and now takes a list of styles the user provided and returns the styles which should be used in the element. If this method is overridden to integrate into a style management system, typically the `super` implementation should be called. - Removed build support for TypeScript 3.4. - Decorators are no longer exported from the `lit-element` module. Instead, import any decorators you use from `lit/decorators/*`. - `lit-html` has been updated to 2.x. - Support for running in older browsers has been removed from the default configuration. Import the `polyfill-support` module to support Shady DOM. Note also that Lit parts inside `