Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lit-robot
Copy link
Member

@lit-robot lit-robot commented Mar 10, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@lit-labs/[email protected]

Major Changes

  • #3624 e51ff229 - ResizeObserver polyfill is no longer automatically loaded. If you target older browsers without native ResizeObserver support, see the docs for guidance on manual polyfill loading.

Minor Changes

  • #3609 54046b0b - RangeChangedEvent and VisibilityChangedEvent both no longer bubble up. Listeners for these events must be placed on the lit-virtualizer or virtualize directive's host element.

Patch Changes

@lit-labs/[email protected]

Minor Changes

  • #3621 dfdc3f71 - Added analysys of vanilla custom elements that extend HTMLElement.

  • #3662 cabc6189 - Added support for analyzing const variables initialized to class or function expressions as ClassDeclaration and FunctionDeclaration, respectively.

  • #3658 b7b01c0d - JSDoc types in TS files now have no effect on the analyzer's output, matching TS itself.

  • #3702 520b4713 - Adds support for overloaded functions. Methods of model objects that accept a
    string key will now specifically return the FunctionDeclaration of the
    implementation signature of an overloaded function, which has a new overloads
    field containing a FunctionOverloadDeclaration for each overload signature.

  • #3648 39ac5275 - Fix support for static class members by storing them in separate maps by name.

  • #3655 7e20a528 - Added support for analyzing function declarations.

  • #3529 389d0c55 - Added CLI improvements:

    • Add support for --exclude options (important for excluding test files from e.g. manifest or wrapper generation)

    Added more analysis support and manifest emit:

    • TS enum type variables
    • description, summary, and deprecated for all models
    • module-level description & summary
    • ClassField and ClassMethod

@lit-labs/[email protected]

Minor Changes

  • #3529 389d0c55 - Added CLI improvements:

    • Add support for --exclude options (important for excluding test files from e.g. manifest or wrapper generation)

    Added more analysis support and manifest emit:

    • TS enum type variables
    • description, summary, and deprecated for all models
    • module-level description & summary
    • ClassField and ClassMethod

Patch Changes

@lit-labs/[email protected]

Minor Changes

  • #3632 2fa009f3 - Add options object to ContextConsumer and ContextProvider constructors. Deprecate positional forms.

Patch Changes

@lit-labs/[email protected]

Minor Changes

  • #3613 be182929 - Initial release of @lit-labs/nextjs package.

    This package contains a plugin for Next.js that enables deep server rendering of Lit components.

Patch Changes

@lit-labs/[email protected]

Minor Changes

Patch Changes

@lit-labs/[email protected]

Minor Changes

  • #3677 b95c86e5 - Add rough support for HTMLElement.prototype.attachInternals

@lit-labs/[email protected]

Minor Changes

  • #3605 b731bb5e - Initial release of @lit-labs/ssr-react package.

    This package contains tools to deeply server render Lit components being used in React projects.

Patch Changes

@lit-labs/[email protected]

Minor Changes

  • #3660 65df149f - Fix the change-in-update warning from Tasks by delaying the initial host update

[email protected]

Minor Changes

Patch Changes

[email protected]

Minor Changes

  • #3677 b95c86e5 - Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.

Patch Changes

[email protected]

Minor Changes

Patch Changes

  • #3615 4d698430 - Don't throw in ChildPart.parentNode if the parentNode is null

  • #3583 88a40177 - Add more detail to some hydration errors

@lit-labs/[email protected]

Patch Changes

@lit-labs/[email protected]

Patch Changes

@lit-labs/[email protected]

Patch Changes

@lit/[email protected]

Patch Changes

@lit-labs/[email protected]

Minor Changes

  • #3529 389d0c55 - Added CLI improvements:

    • Add support for --exclude options (important for excluding test files from e.g. manifest or wrapper generation)

    Added more analysis support and manifest emit:

    • TS enum type variables
    • description, summary, and deprecated for all models
    • module-level description & summary
    • ClassField and ClassMethod

Patch Changes

@lit-labs/[email protected]

Patch Changes

@github-actions
Copy link
Contributor

github-actions bot commented Mar 10, 2023

📊 Tachometer Benchmark Results

Summary

⏳ Benchmarks are currently running. Results below are out of date.

nop-update

  • lit-html-kitchen-sink: unsure 🔍 -5% - +6% (-0.95ms - +1.22ms)
    this-change vs tip-of-tree

render

  • lit-element-list: 114.22ms - 121.37ms
  • lit-html-kitchen-sink: unsure 🔍 -8% - +3% (-3.79ms - +1.57ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -5% - +8% (-0.74ms - +1.11ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -5% - +3% (-3.65ms - +2.20ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -1% - +2% (-1.13ms - +1.90ms)
    this-change vs tip-of-tree

update

  • lit-element-list: 1161.76ms - 1189.25ms
  • lit-html-kitchen-sink: unsure 🔍 -0% - +7% (-0.50ms - +8.50ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -4% - +1% (-13.60ms - +4.23ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -2% - +4% (-3.09ms - +6.64ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -1% - +1% (-11.24ms - +12.72ms)
    this-change vs tip-of-tree

update-reflect

  • lit-element-list: 1163.07ms - 1184.59ms
  • reactive-element-list: unsure 🔍 -2% - +1% (-20.90ms - +7.74ms)
    this-change vs tip-of-tree

Results

⏳ Benchmarks are currently running. Results below are out of date.
lit-element-list

render

VersionAvg timevs
114.22ms - 121.37ms-

update

VersionAvg timevs
1161.76ms - 1189.25ms-

update-reflect

VersionAvg timevs
1163.07ms - 1184.59ms-
lit-html-kitchen-sink

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
46.47ms - 49.94ms-unsure 🔍
-8% - +3%
-3.79ms - +1.57ms
unsure 🔍
-4% - +7%
-1.68ms - +3.22ms
tip-of-tree
tip-of-tree
47.27ms - 51.35msunsure 🔍
-3% - +8%
-1.57ms - +3.79ms
-unsure 🔍
-2% - +10%
-0.80ms - +4.56ms
previous-release
previous-release
45.70ms - 49.17msunsure 🔍
-7% - +3%
-3.22ms - +1.68ms
unsure 🔍
-9% - +2%
-4.56ms - +0.80ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
115.30ms - 122.25ms-unsure 🔍
-0% - +7%
-0.50ms - +8.50ms
unsure 🔍
-5% - +4%
-5.76ms - +5.25ms
tip-of-tree
tip-of-tree
111.92ms - 117.63msunsure 🔍
-7% - +0%
-8.50ms - +0.50ms
-unsure 🔍
-8% - +1%
-9.39ms - +0.87ms
previous-release
previous-release
114.76ms - 123.30msunsure 🔍
-4% - +5%
-5.25ms - +5.76ms
unsure 🔍
-1% - +8%
-0.87ms - +9.39ms
-

nop-update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
20.09ms - 21.99ms-unsure 🔍
-5% - +6%
-0.95ms - +1.22ms
unsure 🔍
-10% - +3%
-2.21ms - +0.77ms
tip-of-tree
tip-of-tree
20.39ms - 21.43msunsure 🔍
-6% - +4%
-1.22ms - +0.95ms
-unsure 🔍
-10% - +2%
-2.12ms - +0.41ms
previous-release
previous-release
20.61ms - 22.92msunsure 🔍
-4% - +11%
-0.77ms - +2.21ms
unsure 🔍
-2% - +10%
-0.41ms - +2.12ms
-
lit-html-repeat

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
14.43ms - 15.51ms-unsure 🔍
-5% - +8%
-0.74ms - +1.11ms
unsure 🔍
-3% - +8%
-0.45ms - +1.22ms
tip-of-tree
tip-of-tree
14.03ms - 15.54msunsure 🔍
-7% - +5%
-1.11ms - +0.74ms
-unsure 🔍
-5% - +8%
-0.79ms - +1.19ms
previous-release
previous-release
13.95ms - 15.22msunsure 🔍
-8% - +3%
-1.22ms - +0.45ms
unsure 🔍
-8% - +5%
-1.19ms - +0.79ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
369.86ms - 382.19ms-unsure 🔍
-4% - +1%
-13.60ms - +4.23ms
unsure 🔍
-2% - +3%
-6.93ms - +9.50ms
tip-of-tree
tip-of-tree
374.27ms - 387.15msunsure 🔍
-1% - +4%
-4.23ms - +13.60ms
-unsure 🔍
-1% - +4%
-2.45ms - +14.39ms
previous-release
previous-release
369.31ms - 380.17msunsure 🔍
-3% - +2%
-9.50ms - +6.93ms
unsure 🔍
-4% - +1%
-14.39ms - +2.45ms
-
lit-html-template-heavy

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
75.73ms - 79.73ms-unsure 🔍
-5% - +3%
-3.65ms - +2.20ms
unsure 🔍
-0% - +6%
-0.05ms - +4.79ms
tip-of-tree
tip-of-tree
76.33ms - 80.59msunsure 🔍
-3% - +5%
-2.20ms - +3.65ms
-slower ❌
1% - 8%
0.57ms - 5.63ms
previous-release
previous-release
74.00ms - 76.72msunsure 🔍
-6% - -0%
-4.79ms - +0.05ms
faster ✔
1% - 7%
0.57ms - 5.63ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
169.57ms - 177.91ms-unsure 🔍
-2% - +4%
-3.09ms - +6.64ms
unsure 🔍
-3% - +3%
-4.73ms - +4.89ms
tip-of-tree
tip-of-tree
169.46ms - 174.47msunsure 🔍
-4% - +2%
-6.64ms - +3.09ms
-unsure 🔍
-3% - +1%
-5.17ms - +1.77ms
previous-release
previous-release
171.27ms - 176.07msunsure 🔍
-3% - +3%
-4.89ms - +4.73ms
unsure 🔍
-1% - +3%
-1.77ms - +5.17ms
-
reactive-element-list

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
80.28ms - 82.30ms-unsure 🔍
-1% - +2%
-1.13ms - +1.90ms
unsure 🔍
-2% - +3%
-1.32ms - +2.24ms
tip-of-tree
tip-of-tree
79.78ms - 82.03msunsure 🔍
-2% - +1%
-1.90ms - +1.13ms
-unsure 🔍
-2% - +2%
-1.78ms - +1.92ms
previous-release
previous-release
79.37ms - 82.30msunsure 🔍
-3% - +2%
-2.24ms - +1.32ms
unsure 🔍
-2% - +2%
-1.92ms - +1.78ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
1188.59ms - 1205.15ms-unsure 🔍
-1% - +1%
-11.24ms - +12.72ms
unsure 🔍
-0% - +2%
-0.03ms - +21.70ms
tip-of-tree
tip-of-tree
1187.47ms - 1204.79msunsure 🔍
-1% - +1%
-12.72ms - +11.24ms
-unsure 🔍
-0% - +2%
-1.06ms - +21.25ms
previous-release
previous-release
1179.00ms - 1193.07msunsure 🔍
-2% - -0%
-21.70ms - +0.03ms
unsure 🔍
-2% - +0%
-21.25ms - +1.06ms
-

update-reflect

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
1221.32ms - 1235.92ms-unsure 🔍
-2% - +1%
-20.90ms - +7.74ms
unsure 🔍
-1% - +1%
-15.07ms - +8.21ms
tip-of-tree
tip-of-tree
1222.88ms - 1247.52msunsure 🔍
-1% - +2%
-7.74ms - +20.90ms
-unsure 🔍
-1% - +1%
-12.15ms - +18.44ms
previous-release
previous-release
1222.99ms - 1241.12msunsure 🔍
-1% - +1%
-8.21ms - +15.07ms
unsure 🔍
-1% - +1%
-18.44ms - +12.15ms
-

tachometer-reporter-action v2 for Benchmarks

@github-actions github-actions bot force-pushed the changeset-release/main branch from 512408e to eef3419 Compare March 21, 2023 17:58
- Add SSR only notes to lines that only affect hydration logic
- Update PR/commit link for a line in SSR
@augustjk augustjk requested a review from usergenic March 21, 2023 18:15
Copy link
Contributor

@usergenic usergenic left a comment

Choose a reason for hiding this comment

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

I approve the virtualizer release

"@lit-labs/ssr-dom-shim": "^1.1.0",
"@lit/reactive-element": "^1.3.0",
"lit-html": "^2.2.0"
"lit-html": "^2.7.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need this bump?

Copy link
Member

Choose a reason for hiding this comment

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

It was done automatically by changesets. I don't think there's any specific code changes in lit-element in this release that directly depends on the new changes in lit-html, but for users of SSR, they'd need both of these to be the latest version.

With our suggested method of using Lit being via the lit package which'll depend on the latest of both of these, I don't think it hurts to make sure these core packages depend on the latest version available to encourage updating in lock-step.

Copy link
Collaborator

@justinfagnani justinfagnani Mar 21, 2023

Choose a reason for hiding this comment

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

That's true. If lit depends on latest, lit-element might as well too

@augustjk augustjk merged commit b877318 into main Mar 21, 2023
@augustjk augustjk deleted the changeset-release/main branch March 21, 2023 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[labs/ssr] Binding to textarea results comment node errantly added inside textarea

4 participants