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

chore(deps): bump lit from 2.7.0 to 3.0.2 #1072

Merged
merged 6 commits into from
Nov 10, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 3, 2023

Bumps lit from 2.7.0 to 3.0.2.

Release notes

Sourced from lit's releases.

lit-html@3.0.2

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.

lit@3.0.2

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.

lit-html@3.0.1

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.

lit@3.0.1

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

lit-html@3.0.0

Major Changes

  • #3756 f06f7972 - Drop IE11 support

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

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

  • #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

Patch Changes

lit@3.0.0

Major Changes

... (truncated)

Changelog

Sourced from lit's changelog.

3.0.2

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.

3.0.1

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

3.0.0

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

  • #4183 6470807f - Make the decorators work with the accessor keyword when experimentalDecorators is true.

  • #4141 6b515e43 - Update TypeScript to ~5.2.0

  • #3710 09949234 - Add undefined to the return type of PropertyValues.get()

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 3, 2023
Copy link

changeset-bot bot commented Nov 3, 2023

🦋 Changeset detected

Latest commit: b06f38f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 27 packages
Name Type
@equinor/fusion-wc-date Minor
@equinor/fusion-wc-list Minor
@equinor/fusion-wc-menu Minor
@equinor/fusion-wc-searchable-dropdown Minor
@equinor/fusion-wc-progress-indicator Minor
@equinor/fusion-wc-intersection Minor
@equinor/fusion-wc-formfield Minor
@equinor/fusion-wc-textinput Minor
@equinor/fusion-wc-checkbox Minor
@equinor/fusion-wc-markdown Minor
@equinor/fusion-wc-skeleton Minor
@equinor/fusion-wc-textarea Minor
@equinor/fusion-wc-divider Minor
@equinor/fusion-wc-picture Minor
@equinor/fusion-wc-popover Minor
@equinor/fusion-wc-avatar Minor
@equinor/fusion-wc-button Minor
@equinor/fusion-wc-person Minor
@equinor/fusion-wc-ripple Minor
@equinor/fusion-wc-select Minor
@equinor/fusion-wc-switch Minor
@equinor/fusion-wc-badge Minor
@equinor/fusion-wc-radio Minor
@equinor/fusion-wc-theme Minor
@equinor/fusion-wc-chip Minor
@equinor/fusion-wc-icon Minor
@equinor/fusion-wc-storybook Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lit-3.0.2 branch from e4a93bc to 508b7de Compare November 6, 2023 10:02
@asbjornhaland
Copy link
Contributor

By reading the changelog, my findings are that we need to handle:

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'})`.

queryAssignedNodes is used in badge-component.

@asbjornhaland asbjornhaland force-pushed the dependabot/npm_and_yarn/lit-3.0.2 branch from 103598f to 99214ef Compare November 7, 2023 12:09
@asbjornhaland asbjornhaland force-pushed the dependabot/npm_and_yarn/lit-3.0.2 branch from 7fa2dce to b06f38f Compare November 8, 2023 13:48
@asbjornhaland
Copy link
Contributor

@odinr and @eikeland, can you carefully take a review of this? Please also perform tests.

@asbjornhaland
Copy link
Contributor

Relevant document: https://github.com/lit/rfcs/pull/16/files

Copy link
Contributor

@eikeland eikeland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, did a clean install and build and tested the components in storybook.

@asbjornhaland asbjornhaland merged commit 67f5368 into main Nov 10, 2023
@asbjornhaland asbjornhaland deleted the dependabot/npm_and_yarn/lit-3.0.2 branch November 10, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants