Skip to content

Remove deprecated arguments and logic of queryAssignedNodes decoreator#3850

Merged
AndrewJakubowicz merged 7 commits into3.0from
remove-deprecated-query-assigned-nodes
Apr 27, 2023
Merged

Remove deprecated arguments and logic of queryAssignedNodes decoreator#3850
AndrewJakubowicz merged 7 commits into3.0from
remove-deprecated-query-assigned-nodes

Conversation

@AndrewJakubowicz
Copy link
Copy Markdown
Contributor

@AndrewJakubowicz AndrewJakubowicz commented Apr 26, 2023

Remove deprecated usage of queryAssignedNodes which is essentially a proxy for queryAssignedElements for Lit 3.0

Remove deprecated usage of queryAssignedNodes which is essentially a
proxy for `queryAssignedElements`.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 26, 2023

🦋 Changeset detected

Latest commit: 2581ca3

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

This PR includes changesets to release 29 packages
Name Type
@lit/ts-transformers Major
@lit/reactive-element Major
@lit/localize-tools Patch
@lit-internal/benchmarks Patch
lit-element Patch
lit Patch
@lit/localize Patch
@lit-labs/context Patch
@lit-labs/observers Patch
@lit-labs/scoped-registry-mixin Patch
@lit-labs/ssr-client Patch
@lit-labs/ssr Patch
@lit-labs/task Patch
@lit/lit-starter-js Patch
@lit/lit-starter-ts Patch
@lit-labs/eleventy-plugin-lit Patch
@lit-labs/motion Patch
@lit-labs/router Patch
@lit-labs/ssr-react Patch
@lit-labs/testing Patch
@lit-labs/virtualizer Patch
@lit-internal/test-element-a Patch
@lit-internal/localize-examples-runtime-js Patch
@lit-internal/localize-examples-runtime-ts Patch
@lit-internal/localize-examples-transform-js Patch
@lit-internal/localize-examples-transform-ts Patch
@lit-labs/cli-localize Patch
@lit-labs/cli Patch
@lit-labs/nextjs Patch

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 26, 2023

📊 Tachometer Benchmark Results

Summary

nop-update

  • lit-html-kitchen-sink: unsure 🔍 -6% - +3% (-1.21ms - +0.63ms)
    this-change vs tip-of-tree

render

  • lit-element-list: 88.29ms - 94.37ms
  • lit-html-kitchen-sink: unsure 🔍 -8% - +2% (-3.30ms - +0.88ms)
    this-change vs tip-of-tree
  • lit-html-repeat: faster ✔ 0% - 8% (0.05ms - 1.06ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -3% - +3% (-2.23ms - +1.73ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -6% - +3% (-3.63ms - +1.54ms)
    this-change vs tip-of-tree

update

  • lit-element-list: 911.46ms - 930.98ms
  • lit-html-kitchen-sink: unsure 🔍 -4% - +8% (-3.17ms - +7.65ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -2% - +3% (-6.24ms - +10.28ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -2% - +2% (-2.99ms - +2.42ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -1% - +1% (-10.44ms - +12.68ms)
    this-change vs tip-of-tree

update-reflect

  • lit-element-list: 877.52ms - 896.30ms
  • reactive-element-list: unsure 🔍 -1% - +1% (-13.11ms - +13.55ms)
    this-change vs tip-of-tree

Results

lit-element-list

render

VersionAvg timevs
88.29ms - 94.37ms-

update

VersionAvg timevs
911.46ms - 930.98ms-

update-reflect

VersionAvg timevs
877.52ms - 896.30ms-
lit-html-kitchen-sink

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
36.27ms - 39.03ms-unsure 🔍
-8% - +2%
-3.30ms - +0.88ms
unsure 🔍
-8% - +4%
-2.91ms - +1.43ms
tip-of-tree
tip-of-tree
37.28ms - 40.44msunsure 🔍
-2% - +9%
-0.88ms - +3.30ms
-unsure 🔍
-5% - +7%
-1.83ms - +2.77ms
previous-release
previous-release
36.72ms - 40.06msunsure 🔍
-4% - +8%
-1.43ms - +2.91ms
unsure 🔍
-7% - +5%
-2.77ms - +1.83ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
90.70ms - 97.32ms-unsure 🔍
-4% - +8%
-3.17ms - +7.65ms
unsure 🔍
-7% - +4%
-6.88ms - +3.93ms
tip-of-tree
tip-of-tree
87.49ms - 96.05msunsure 🔍
-8% - +3%
-7.65ms - +3.17ms
-unsure 🔍
-10% - +2%
-9.76ms - +2.33ms
previous-release
previous-release
91.21ms - 99.76msunsure 🔍
-4% - +7%
-3.93ms - +6.88ms
unsure 🔍
-3% - +11%
-2.33ms - +9.76ms
-

nop-update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
18.73ms - 19.67ms-unsure 🔍
-6% - +3%
-1.21ms - +0.63ms
unsure 🔍
-11% - +4%
-2.20ms - +0.85ms
tip-of-tree
tip-of-tree
18.70ms - 20.28msunsure 🔍
-3% - +6%
-0.63ms - +1.21ms
-unsure 🔍
-10% - +6%
-2.04ms - +1.27ms
previous-release
previous-release
18.42ms - 21.33msunsure 🔍
-4% - +11%
-0.85ms - +2.20ms
unsure 🔍
-7% - +11%
-1.27ms - +2.04ms
-
lit-html-repeat

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
11.77ms - 12.59ms-faster ✔
0% - 8%
0.05ms - 1.06ms
faster ✔
2% - 12%
0.21ms - 1.58ms
tip-of-tree
tip-of-tree
12.44ms - 13.02msslower ❌
0% - 9%
0.05ms - 1.06ms
-unsure 🔍
-7% - +2%
-0.96ms - +0.28ms
previous-release
previous-release
12.52ms - 13.62msslower ❌
2% - 13%
0.21ms - 1.58ms
unsure 🔍
-2% - +8%
-0.28ms - +0.96ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
342.27ms - 353.72ms-unsure 🔍
-2% - +3%
-6.24ms - +10.28ms
unsure 🔍
-2% - +3%
-7.72ms - +8.72ms
tip-of-tree
tip-of-tree
340.02ms - 351.92msunsure 🔍
-3% - +2%
-10.28ms - +6.24ms
-unsure 🔍
-3% - +2%
-9.90ms - +6.86ms
previous-release
previous-release
341.60ms - 353.39msunsure 🔍
-3% - +2%
-8.72ms - +7.72ms
unsure 🔍
-2% - +3%
-6.86ms - +9.90ms
-
lit-html-template-heavy

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
66.27ms - 68.85ms-unsure 🔍
-3% - +3%
-2.23ms - +1.73ms
unsure 🔍
-3% - +3%
-2.24ms - +1.81ms
tip-of-tree
tip-of-tree
66.30ms - 69.31msunsure 🔍
-3% - +3%
-1.73ms - +2.23ms
-unsure 🔍
-3% - +3%
-2.13ms - +2.21ms
previous-release
previous-release
66.21ms - 69.34msunsure 🔍
-3% - +3%
-1.81ms - +2.24ms
unsure 🔍
-3% - +3%
-2.21ms - +2.13ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
130.64ms - 134.69ms-unsure 🔍
-2% - +2%
-2.99ms - +2.42ms
unsure 🔍
-3% - +2%
-4.30ms - +2.17ms
tip-of-tree
tip-of-tree
131.16ms - 134.74msunsure 🔍
-2% - +2%
-2.42ms - +2.99ms
-unsure 🔍
-3% - +2%
-3.87ms - +2.31ms
previous-release
previous-release
131.21ms - 136.25msunsure 🔍
-2% - +3%
-2.17ms - +4.30ms
unsure 🔍
-2% - +3%
-2.31ms - +3.87ms
-
reactive-element-list

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
57.56ms - 61.16ms-unsure 🔍
-6% - +3%
-3.63ms - +1.54ms
unsure 🔍
-5% - +3%
-2.88ms - +2.02ms
tip-of-tree
tip-of-tree
58.54ms - 62.26msunsure 🔍
-3% - +6%
-1.54ms - +3.63ms
-unsure 🔍
-3% - +5%
-1.88ms - +3.11ms
previous-release
previous-release
58.13ms - 61.45msunsure 🔍
-3% - +5%
-2.02ms - +2.88ms
unsure 🔍
-5% - +3%
-3.11ms - +1.88ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
929.47ms - 946.64ms-unsure 🔍
-1% - +1%
-10.44ms - +12.68ms
unsure 🔍
-1% - +1%
-9.29ms - +13.48ms
tip-of-tree
tip-of-tree
929.20ms - 944.67msunsure 🔍
-1% - +1%
-12.68ms - +10.44ms
-unsure 🔍
-1% - +1%
-9.78ms - +11.73ms
previous-release
previous-release
928.49ms - 943.43msunsure 🔍
-1% - +1%
-13.48ms - +9.29ms
unsure 🔍
-1% - +1%
-11.73ms - +9.78ms
-

update-reflect

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
923.49ms - 943.13ms-unsure 🔍
-1% - +1%
-13.11ms - +13.55ms
unsure 🔍
-1% - +1%
-11.64ms - +13.56ms
tip-of-tree
tip-of-tree
924.07ms - 942.11msunsure 🔍
-1% - +1%
-13.55ms - +13.11ms
-unsure 🔍
-1% - +1%
-11.25ms - +12.72ms
previous-release
previous-release
924.45ms - 940.25msunsure 🔍
-1% - +1%
-13.56ms - +11.64ms
unsure 🔍
-1% - +1%
-12.72ms - +11.25ms
-

tachometer-reporter-action v2 for Benchmarks

@AndrewJakubowicz
Copy link
Copy Markdown
Contributor Author

Tests were failing because the removed API was expected in the ts-transformer tests. I've now removed deprecated API from the transformer as well.

Re-requesting review from @justinfagnani

@AndrewJakubowicz AndrewJakubowicz merged commit 7e8491d into 3.0 Apr 27, 2023
@AndrewJakubowicz AndrewJakubowicz deleted the remove-deprecated-query-assigned-nodes branch April 27, 2023 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants