Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 16, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lit (source) 2.8.0 -> 3.3.0 age adoption passing confidence

Release Notes

lit/lit (lit)

v3.3.0

Compare Source

Minor Changes
  • #​4901 c9160405 Thanks @​maxpatiiuk! - Dev mode warnings are now emitted on the next microtask after package import, allowing for a wider opportunity to suppress the warnings by consumers.

  • #​4934 4824c4ce - Adds property option for useDefault. When set, the initial default value is not considered a change and does not reflect when reflect is set. In addition, when the attribute is removed, the default value is restored.

Patch Changes

v3.2.1

Compare Source

Patch Changes
  • #​4782 99703a03 - Revert the Terser plugin for Rollup to rollup-plugin-terser from @rollup/plugin-terser
    due to a bug that prevented our minified name prefixing from working.

v3.2.0

Compare Source

Minor Changes
Patch Changes

v3.1.4

Compare Source

Patch Changes
  • #​4646 abf30b3e - The value provided by the ref() directive will always be undefined when the element is disconnected.

v3.1.3

Compare Source

Patch Changes
  • #​4570 bd881370 - Fix the lit-html marker length to be consistently 9 characters.

v3.1.2

Compare Source

Patch Changes

v3.1.1

Compare Source

Patch Changes

v3.1.0

Compare Source

Minor Changes
  • #​4309 949a5467 - Adds two new types: UncompiledTemplateResult and MaybeCompiledTemplateResult. Currently UncompiledTemplateResult is the same as TemplateResult, and MaybeCompiledTemplateResult is the union of the compiled and uncompiled types.
Patch Changes
  • #​4387 bf551b5b - Ensure renderRoot exists before first update (#​4268)

  • #​4282 c7922a0c Thanks @​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 839ca0f8 - Fixes bug where adding or removing controllers during a reactive controller lifecycle would affect the execution of other controllers (#​4266). Controllers can now be added/removed during lifecycle without affecting others.

  • Updated dependencies [949a5467]:

v3.0.2

Compare Source

Patch Changes
  • #​4345 02b8d620 - Add a dev mode warning if a static value such as literal or unsafeStatic is detected within the non-static html tag function. These should only be used with the static html tag function imported from lit-html/static.js or lit/static-html.js.

v3.0.1

Compare Source

Patch Changes
  • #​4240 edf998c9 Thanks @​remziatay! - Improved the type inferece of the choose() directive to properly restrict the case type inferred from provided value. Note: If this change creates a type error in your code, there must have been an unreachable case that can be removed, or the type of your value might be missing a valid case in the union.

  • #​4310 8f674ab3 Thanks @​megheaiulian! - The when() directive now calls the case functions with the provided condition value as an argument. This allows the narrowing of types for the condition value based on its truthiness when used as a parameter for the case function.

  • #​4284 89a5b088 - Allow null to be in the type of @query() decorated fields

v3.0.0

Compare Source

Major Changes
  • #​3756 f06f7972 - Drop IE11 support

  • #​4146 0f6878dc - 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.

  • #​3765 92cedaa2 - Remove experimental hydrate modules. These are available from @lit-labs/ssr-client.

  • #​3850 7e8491d4 - 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'}).

  • #​4254 1040f758 - 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.

  • #​3759 1db01376 - Use replaceWith() for SVG templates

  • #​3751 dfd747cf - Simplify lit-html attribute handling for standards-compliant browsers that iterate attributes in source order

  • #​3750 c3e473b4 - Use toggleAttribute() to simplify boolean attribute parts

  • #​3896 2eba6997 - Warn on async overrides of performUpdate()

Patch Changes

Configuration

📅 Schedule: Branch creation - "before 4am on monday" (UTC), 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/lit-3.x branch 2 times, most recently from 472f4ee to 2d9db2c Compare November 2, 2023 22:59
@renovate renovate bot force-pushed the renovate/lit-3.x branch from 2d9db2c to 201dec3 Compare November 16, 2023 01:27
@renovate renovate bot force-pushed the renovate/lit-3.x branch from 201dec3 to 7f7ab6a Compare January 2, 2024 12:45
@renovate renovate bot force-pushed the renovate/lit-3.x branch from 7f7ab6a to 3d36017 Compare January 10, 2024 00:40
@renovate renovate bot force-pushed the renovate/lit-3.x branch from 3d36017 to efda29f Compare January 31, 2024 23:08
@renovate renovate bot force-pushed the renovate/lit-3.x branch from efda29f to 8637489 Compare April 16, 2024 00:40
@renovate renovate bot force-pushed the renovate/lit-3.x branch from 8637489 to c6a09fb Compare June 5, 2024 01:52
@renovate renovate bot force-pushed the renovate/lit-3.x branch from c6a09fb to b34afea Compare August 5, 2024 23:27
@renovate renovate bot force-pushed the renovate/lit-3.x branch from b34afea to 8334198 Compare October 7, 2024 19:45
@renovate renovate bot force-pushed the renovate/lit-3.x branch from 8334198 to 6b3f292 Compare April 11, 2025 19:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants