Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency lit to v3 #780

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Update dependency lit to v3 #780

merged 1 commit into from
Sep 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 11, 2023

This PR contains the following updates:

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

Release Notes

lit/lit (lit)

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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
Copy link
Contributor Author

renovate bot commented Oct 11, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @aggre/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/lit
npm ERR!   dev lit@"3.1.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer lit@"^2.0.0-rc.2" from @aggre/[email protected]
npm ERR! node_modules/@aggre/ullr
npm ERR!   dev @aggre/ullr@"3.1.3" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/lit
npm ERR!   peer lit@"^2.0.0-rc.2" from @aggre/[email protected]
npm ERR!   node_modules/@aggre/ullr
npm ERR!     dev @aggre/ullr@"3.1.3" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-05-08T18_24_27_778Z-debug-0.log

@renovate renovate bot force-pushed the renovate/lit-3.x branch 7 times, most recently from 49ebd81 to cb261be Compare October 17, 2023 21:13
@renovate renovate bot force-pushed the renovate/lit-3.x branch 9 times, most recently from 6364b79 to ee52efe Compare October 25, 2023 00:51
@renovate renovate bot force-pushed the renovate/lit-3.x branch 8 times, most recently from 9729b57 to d647775 Compare November 1, 2023 04:10
@renovate renovate bot force-pushed the renovate/lit-3.x branch 5 times, most recently from 9ee62e1 to 5a92d36 Compare November 2, 2023 22:39
@renovate renovate bot force-pushed the renovate/lit-3.x branch 7 times, most recently from 36b5c43 to 375fd5e Compare August 8, 2024 19:22
@renovate renovate bot force-pushed the renovate/lit-3.x branch 4 times, most recently from 8c5fc8e to 77ce9a6 Compare August 15, 2024 16:23
@renovate renovate bot force-pushed the renovate/lit-3.x branch 6 times, most recently from 30252a7 to 31a2cb7 Compare August 20, 2024 20:19
@renovate renovate bot force-pushed the renovate/lit-3.x branch 9 times, most recently from 036591f to 433fcf7 Compare September 2, 2024 01:46
@renovate renovate bot force-pushed the renovate/lit-3.x branch from 433fcf7 to 6b983b6 Compare September 2, 2024 03:12
@aggre aggre merged commit fe307d7 into main Sep 2, 2024
2 checks passed
@renovate renovate bot deleted the renovate/lit-3.x branch September 2, 2024 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant