marcokreeft87 / room-card

Show multiple entity states, attributes and icons in a single card in Home Assistant's Lovelace UI
MIT License
228 stars 38 forks source link

Bump lit from 2.8.0 to 3.1.0 #293

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Bumps lit from 2.8.0 to 3.1.0.

Release notes

Sourced from lit's releases.

@​lit-labs/task@​3.1.0

Minor Changes

  • #4170 04c8d65a - Graduate @​lit-labs/task to @​lit/task, its permanent location. @​lit-labs/task is now just a proxy for @​lit/task, so code need not be duplicated in projects that depend on both.

Patch Changes

lit-html@3.1.0

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.

lit@3.1.0

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]:

    • lit-html@3.1.0

@​lit-labs/task@​3.1.0-pre.0

Minor Changes

  • #4170 04c8d65a - Graduate @​lit-labs/task to @​lit/task, its permanent location. @​lit-labs/task is now just a proxy for @​lit/task, so code need not be duplicated in projects that depend on both.

Patch Changes

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

... (truncated)

Changelog

Sourced from lit's changelog.

3.1.0

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]:

    • lit-html@3.1.0

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.

... (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 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)
github-actions[bot] commented 11 months ago

:open_umbrella: Code Coverage

% Stmts% Branch% Funcs% Lines
100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
Click to expand
File% Stmts% Branch% Funcs% Lines
src
entity.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
util.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
template.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
hide.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
index.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
src/lib
seconds_to_duration.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
format_number.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
constants.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
compute_state_display.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
format_date.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
format_date_time.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
use_am_pm.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
format_time.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
src/types
room-card-types.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (af7c56b) 100.00% compared to head (d7a9dc2) 100.00%.

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.