Bump lit from 2.8.0 to 3.1.0 in /web
Bumps lit from 2.8.0 to 3.1.0.
Release notes
Sourced from lit's releases.
@lit-labs/task@3.1.0Minor Changes
- #4170
04c8d65a- Graduate@lit-labs/taskto@lit/task, its permanent location.@lit-labs/taskis now just a proxy for@lit/task, so code need not be duplicated in projects that depend on both.Patch Changes
[email protected]
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.[email protected]
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- EnsurerenderRootexists before first update (#4268)#4282
c7922a0cThanks@MaxArt2501! - Fix a bug where accessing a@querydecorated field with thecacheflag set before the first update would result innullbeing cached permanently.nullwill no longer be cached before the first update and inDEV_MODEnow 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-labs/task@3.1.0-pre.0Minor Changes
- #4170
04c8d65a- Graduate@lit-labs/taskto@lit/task, its permanent location.@lit-labs/taskis now just a proxy for@lit/task, so code need not be duplicated in projects that depend on both.Patch Changes
[email protected]
Patch Changes
- #4345
02b8d620- Add a dev mode warning if a static value such asliteralorunsafeStaticis detected within the non-statichtmltag function. These should only be used with the statichtmltag function imported fromlit-html/static.jsorlit/static-html.js.[email protected]
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- EnsurerenderRootexists before first update (#4268)#4282
c7922a0cThanks@MaxArt2501! - Fix a bug where accessing a@querydecorated field with thecacheflag set before the first update would result innullbeing cached permanently.nullwill no longer be cached before the first update and inDEV_MODEnow 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]:3.0.2
Patch Changes
- #4345
02b8d620- Add a dev mode warning if a static value such asliteralorunsafeStaticis detected within the non-statichtmltag function. These should only be used with the statichtmltag function imported fromlit-html/static.jsorlit/static-html.js.3.0.1
Patch Changes
#4240
edf998c9Thanks@remziatay! - Improved the type inferece of thechoose()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 yourvaluemight be missing a valid case in the union.#4310
8f674ab3Thanks@megheaiulian! - Thewhen()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- Allownullto be in the type of@query()decorated fields3.0.0
Major Changes
#4146
0f6878dc- Generated accessor for reactive properties now wrap user accessors and automatically callthis.requestUpdate()in the setter. As in previous versions, users can still specifynoAccessor: true, in which case they should callthis.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 ofReactiveElement.renderRootand return type ofReactiveElement.createRenderRoot()to beHTMLElement | DocumentFragmentto match each other and lit-html'srender()method.
... (truncated)
Commits
f5f68b8Version Packages (#4399)acfd8b2[lit] remove pre-release notes from Lit readme (#4366)d1b2719Version Packages (#4356)62d7818Version Packages (#4341)0372614Update devDependencies to not reference pre versions of internal packages (#4...c4818c5Version Packages (#4279)76d73c6Version Packages (pre) (#4246)c37e4a3[reactive-element] Remove most std- and legacy- decorator files (#4154)1618fc5[reactive-element] Add standard decorators (#3982)fcaf8cbMerge branch main into 3.0- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) -
@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) -
@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) -
@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency -
@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Deploy Preview for beryju-gravity canceled.
| Name | Link |
|---|---|
| Latest commit | c4605cd549c93d99f0fa7a8d2ff0e42c898c14c2 |
| Latest deploy log | https://app.netlify.com/sites/beryju-gravity/deploys/65783df315bbde00085f14de |
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2b89ad8) 57.77% compared to head (c4605cd) 57.68%. Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #772 +/- ##
==========================================
- Coverage 57.77% 57.68% -0.09%
==========================================
Files 90 90
Lines 4587 4587
==========================================
- Hits 2650 2646 -4
- Misses 1673 1676 +3
- Partials 264 265 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Superseded by #867.