lit/lit (@lit/reactive-element)
### [`v2.0.2`](https://togithub.com/lit/lit/blob/HEAD/packages/reactive-element/CHANGELOG.md#202)
[Compare Source](https://togithub.com/lit/lit/compare/@lit/reactive-element@2.0.1...@lit/reactive-element@2.0.2)
##### Patch Changes
- [#4387](https://togithub.com/lit/lit/pull/4387) [`bf551b5b`](https://togithub.com/lit/lit/commit/bf551b5bdc816c1b0117ab436c50390ae3f5686d) - Ensure `renderRoot` exists before first update ([#4268](https://togithub.com/lit/lit/issues/4268))
- [#4282](https://togithub.com/lit/lit/pull/4282) [`c7922a0c`](https://togithub.com/lit/lit/commit/c7922a0cb90075a9e4c72f93078e411a303c54d1) Thanks [@MaxArt2501](https://togithub.com/MaxArt2501)! - Fix a bug where accessing a `@query` decorated field with the `cache` flag set before the first update would result in `null` being cached permanently. `null` will no longer be cached before the first update and in `DEV_MODE` now raises a warning.
- [#4388](https://togithub.com/lit/lit/pull/4388) [`839ca0f8`](https://togithub.com/lit/lit/commit/839ca0f81a451fbaae97d958aafcaf4c52df9b65) - Fixes bug where adding or removing controllers during a reactive controller lifecycle would affect the execution of other controllers ([#4266](https://togithub.com/lit/lit/issues/4266)). Controllers can now be added/removed during lifecycle without affecting others.
### [`v2.0.1`](https://togithub.com/lit/lit/blob/HEAD/packages/reactive-element/CHANGELOG.md#201)
[Compare Source](https://togithub.com/lit/lit/compare/@lit/reactive-element@2.0.0...@lit/reactive-element@2.0.1)
##### Patch Changes
- [#4284](https://togithub.com/lit/lit/pull/4284) [`89a5b088`](https://togithub.com/lit/lit/commit/89a5b0882b3048e3e95a22eb739c649adc9de055) - Allow `null` to be in the type of `@query()` decorated fields
- [#4306](https://togithub.com/lit/lit/pull/4306) [`c28ebba1`](https://togithub.com/lit/lit/commit/c28ebba15669042144db48563611b2c9bb7a2e47) - Update dependency version to refer to stable versions, rather than pre-release versions of our own packages.
### [`v2.0.0`](https://togithub.com/lit/lit/blob/HEAD/packages/reactive-element/CHANGELOG.md#200)
[Compare Source](https://togithub.com/lit/lit/compare/@lit/reactive-element@1.6.3...@lit/reactive-element@2.0.0)
##### Major Changes
- [#4146](https://togithub.com/lit/lit/pull/4146) [`0f6878dc`](https://togithub.com/lit/lit/commit/0f6878dc45fd95bbeb8750f277349c1392e2b3ad) - Generated accessor for reactive properties now wrap user accessors and automatically call `this.requestUpdate()` in the setter. As in previous versions, users can still specify `noAccessor: true`, in which case they should call `this.requestUpdate()` themselves in the setter if they want to trigger a reactive update.
- [#4254](https://togithub.com/lit/lit/pull/4254) [`1040f758`](https://togithub.com/lit/lit/commit/1040f75861b029527538b4ec36b2cfedcc32988a) - Change the type of `ReactiveElement.renderRoot` and return type of `ReactiveElement.createRenderRoot()` to be `HTMLElement | DocumentFragment` to match each other and lit-html's `render()` method.
- [#3850](https://togithub.com/lit/lit/pull/3850) [`7e8491d4`](https://togithub.com/lit/lit/commit/7e8491d4ed9f0c39d974616c4678552ef50b81df) - Delete deprecated queryAssignedNodes behavior and arguments.
Migrate deprecated usage with a selector argument to use
`@queryAssignedElements`. E.g.: `@queryAssignedNodes('list', true, '.item')` to
`@queryAssignedElements({slot: '', flatten: false, selector: '.item'})`.
- [#3756](https://togithub.com/lit/lit/pull/3756) [`f06f7972`](https://togithub.com/lit/lit/commit/f06f7972a027d2937fe2c68ab5af0274dec57cf4) - Drop IE11 support
- [#3896](https://togithub.com/lit/lit/pull/3896) [`2eba6997`](https://togithub.com/lit/lit/commit/2eba69974c9e130e7483f44f9daca308345497d5) - Warn on async overrides of performUpdate()
##### Patch Changes
- [#4183](https://togithub.com/lit/lit/pull/4183) [`6470807f`](https://togithub.com/lit/lit/commit/6470807f3a0981f9d418cb26f05969912455d148) - Make the decorators work with the `accessor` keyword when `experimentalDecorators` is true.
- [#3816](https://togithub.com/lit/lit/pull/3816) [`be72f66b`](https://togithub.com/lit/lit/commit/be72f66bd9aab5d0586729fb5be4bac4aa27cb7f) - Use Symbol.for in accessor to keep things easy for HMR.
- [#3710](https://togithub.com/lit/lit/pull/3710) [`09949234`](https://togithub.com/lit/lit/commit/09949234445388d51bfb4ee24ff28a4c9f82fe17) - Add `undefined` to the return type of PropertyValues.get()
- [#3762](https://togithub.com/lit/lit/pull/3762) [`23c404fd`](https://togithub.com/lit/lit/commit/23c404fdec0cd7be834221b6ddf9b659c24ca8a2) - Remove Lit 1 -> Lit 2 migration warnings
- [#3918](https://togithub.com/lit/lit/pull/3918) [`2a01471a`](https://togithub.com/lit/lit/commit/2a01471a5f65fe34bad11e1099281811b8d0f79b) - Some code golf on ReactiveElement
- [#3809](https://togithub.com/lit/lit/pull/3809) [`6f2833fd`](https://togithub.com/lit/lit/commit/6f2833fd05f2ecde5386f72d291dafc9dbae0cf7) - Use for/of loops in more places
- [#4141](https://togithub.com/lit/lit/pull/4141) [`6b515e43`](https://togithub.com/lit/lit/commit/6b515e43c3a24cc8a593247d3aa72d81bcc724d5) - Update TypeScript to ~5.2.0
Configuration
📅 Schedule: Branch creation - "before 9am on tuesday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.6.3
->2.0.2
Release Notes
lit/lit (@lit/reactive-element)
### [`v2.0.2`](https://togithub.com/lit/lit/blob/HEAD/packages/reactive-element/CHANGELOG.md#202) [Compare Source](https://togithub.com/lit/lit/compare/@lit/reactive-element@2.0.1...@lit/reactive-element@2.0.2) ##### Patch Changes - [#4387](https://togithub.com/lit/lit/pull/4387) [`bf551b5b`](https://togithub.com/lit/lit/commit/bf551b5bdc816c1b0117ab436c50390ae3f5686d) - Ensure `renderRoot` exists before first update ([#4268](https://togithub.com/lit/lit/issues/4268)) - [#4282](https://togithub.com/lit/lit/pull/4282) [`c7922a0c`](https://togithub.com/lit/lit/commit/c7922a0cb90075a9e4c72f93078e411a303c54d1) Thanks [@MaxArt2501](https://togithub.com/MaxArt2501)! - Fix a bug where accessing a `@query` decorated field with the `cache` flag set before the first update would result in `null` being cached permanently. `null` will no longer be cached before the first update and in `DEV_MODE` now raises a warning. - [#4388](https://togithub.com/lit/lit/pull/4388) [`839ca0f8`](https://togithub.com/lit/lit/commit/839ca0f81a451fbaae97d958aafcaf4c52df9b65) - Fixes bug where adding or removing controllers during a reactive controller lifecycle would affect the execution of other controllers ([#4266](https://togithub.com/lit/lit/issues/4266)). Controllers can now be added/removed during lifecycle without affecting others. ### [`v2.0.1`](https://togithub.com/lit/lit/blob/HEAD/packages/reactive-element/CHANGELOG.md#201) [Compare Source](https://togithub.com/lit/lit/compare/@lit/reactive-element@2.0.0...@lit/reactive-element@2.0.1) ##### Patch Changes - [#4284](https://togithub.com/lit/lit/pull/4284) [`89a5b088`](https://togithub.com/lit/lit/commit/89a5b0882b3048e3e95a22eb739c649adc9de055) - Allow `null` to be in the type of `@query()` decorated fields - [#4306](https://togithub.com/lit/lit/pull/4306) [`c28ebba1`](https://togithub.com/lit/lit/commit/c28ebba15669042144db48563611b2c9bb7a2e47) - Update dependency version to refer to stable versions, rather than pre-release versions of our own packages. ### [`v2.0.0`](https://togithub.com/lit/lit/blob/HEAD/packages/reactive-element/CHANGELOG.md#200) [Compare Source](https://togithub.com/lit/lit/compare/@lit/reactive-element@1.6.3...@lit/reactive-element@2.0.0) ##### Major Changes - [#4146](https://togithub.com/lit/lit/pull/4146) [`0f6878dc`](https://togithub.com/lit/lit/commit/0f6878dc45fd95bbeb8750f277349c1392e2b3ad) - Generated accessor for reactive properties now wrap user accessors and automatically call `this.requestUpdate()` in the setter. As in previous versions, users can still specify `noAccessor: true`, in which case they should call `this.requestUpdate()` themselves in the setter if they want to trigger a reactive update. - [#4254](https://togithub.com/lit/lit/pull/4254) [`1040f758`](https://togithub.com/lit/lit/commit/1040f75861b029527538b4ec36b2cfedcc32988a) - Change the type of `ReactiveElement.renderRoot` and return type of `ReactiveElement.createRenderRoot()` to be `HTMLElement | DocumentFragment` to match each other and lit-html's `render()` method. - [#3850](https://togithub.com/lit/lit/pull/3850) [`7e8491d4`](https://togithub.com/lit/lit/commit/7e8491d4ed9f0c39d974616c4678552ef50b81df) - Delete deprecated queryAssignedNodes behavior and arguments. Migrate deprecated usage with a selector argument to use `@queryAssignedElements`. E.g.: `@queryAssignedNodes('list', true, '.item')` to `@queryAssignedElements({slot: '', flatten: false, selector: '.item'})`. - [#3756](https://togithub.com/lit/lit/pull/3756) [`f06f7972`](https://togithub.com/lit/lit/commit/f06f7972a027d2937fe2c68ab5af0274dec57cf4) - Drop IE11 support - [#3896](https://togithub.com/lit/lit/pull/3896) [`2eba6997`](https://togithub.com/lit/lit/commit/2eba69974c9e130e7483f44f9daca308345497d5) - Warn on async overrides of performUpdate() ##### Patch Changes - [#4183](https://togithub.com/lit/lit/pull/4183) [`6470807f`](https://togithub.com/lit/lit/commit/6470807f3a0981f9d418cb26f05969912455d148) - Make the decorators work with the `accessor` keyword when `experimentalDecorators` is true. - [#3816](https://togithub.com/lit/lit/pull/3816) [`be72f66b`](https://togithub.com/lit/lit/commit/be72f66bd9aab5d0586729fb5be4bac4aa27cb7f) - Use Symbol.for in accessor to keep things easy for HMR. - [#3710](https://togithub.com/lit/lit/pull/3710) [`09949234`](https://togithub.com/lit/lit/commit/09949234445388d51bfb4ee24ff28a4c9f82fe17) - Add `undefined` to the return type of PropertyValues.get() - [#3762](https://togithub.com/lit/lit/pull/3762) [`23c404fd`](https://togithub.com/lit/lit/commit/23c404fdec0cd7be834221b6ddf9b659c24ca8a2) - Remove Lit 1 -> Lit 2 migration warnings - [#3918](https://togithub.com/lit/lit/pull/3918) [`2a01471a`](https://togithub.com/lit/lit/commit/2a01471a5f65fe34bad11e1099281811b8d0f79b) - Some code golf on ReactiveElement - [#3809](https://togithub.com/lit/lit/pull/3809) [`6f2833fd`](https://togithub.com/lit/lit/commit/6f2833fd05f2ecde5386f72d291dafc9dbae0cf7) - Use for/of loops in more places - [#4141](https://togithub.com/lit/lit/pull/4141) [`6b515e43`](https://togithub.com/lit/lit/commit/6b515e43c3a24cc8a593247d3aa72d81bcc724d5) - Update TypeScript to ~5.2.0Configuration
📅 Schedule: Branch creation - "before 9am on tuesday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.