Skip to content

Bump lit from 2.8.0 to 3.0.1 - #286

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/lit-3.0.1
Closed

Bump lit from 2.8.0 to 3.0.1#286
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/lit-3.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2023

Copy link
Copy Markdown
Contributor

Bumps lit from 2.8.0 to 3.0.1.

Release notes

Sourced from lit's releases.

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

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

... (truncated)

Changelog

Sourced from lit's changelog.

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

... (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 the dependencies Pull requests that update a dependency file label Nov 1, 2023
@codecov

codecov Bot commented Nov 1, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (16c3c91) 100.00% compared to head (eeb7ebb) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #286   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          507       507           
  Branches       204       204           
=========================================
  Hits           507       507           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Bumps [lit](https://github.com/lit/lit/tree/HEAD/packages/lit) from 2.8.0 to 3.0.1.
- [Release notes](https://github.com/lit/lit/releases)
- [Changelog](https://github.com/lit/lit/blob/main/packages/lit/CHANGELOG.md)
- [Commits](https://github.com/lit/lit/commits/lit@3.0.1/packages/lit)

---
updated-dependencies:
- dependency-name: lit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/lit-3.0.1 branch from aba6f3b to eeb7ebb Compare November 1, 2023 16:33
@github-actions

github-actions Bot commented Nov 1, 2023

Copy link
Copy Markdown

☂️ Code Coverage

% Stmts% Branch% Funcs% Lines
100 🟢100 🟢100 🟢100 🟢
Click to expand
File% Stmts% Branch% Funcs% Lines
src
index.ts100 🟢100 🟢100 🟢100 🟢
entity.ts100 🟢100 🟢100 🟢100 🟢
util.ts100 🟢100 🟢100 🟢100 🟢
template.ts100 🟢100 🟢100 🟢100 🟢
hide.ts100 🟢100 🟢100 🟢100 🟢
src/lib
seconds_to_duration.ts100 🟢100 🟢100 🟢100 🟢
format_number.ts100 🟢100 🟢100 🟢100 🟢
constants.ts100 🟢100 🟢100 🟢100 🟢
compute_state_display.ts100 🟢100 🟢100 🟢100 🟢
format_date.ts100 🟢100 🟢100 🟢100 🟢
format_date_time.ts100 🟢100 🟢100 🟢100 🟢
use_am_pm.ts100 🟢100 🟢100 🟢100 🟢
format_time.ts100 🟢100 🟢100 🟢100 🟢
src/types
room-card-types.ts100 🟢100 🟢100 🟢100 🟢

@dependabot @github

dependabot Bot commented on behalf of github Nov 30, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #293.

@dependabot dependabot Bot closed this Nov 30, 2023
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/lit-3.0.1 branch November 30, 2023 10: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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants