Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #3335

Closed
wants to merge 1 commit into from
Closed

Version Packages #3335

wants to merge 1 commit into from

Conversation

lit-robot
Copy link
Member

@lit-robot lit-robot commented Oct 5, 2022

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/task@2.0.0

Major Changes

  • #3283 a279803d - [Breaking] Task will no longer reset its value or error on pending. This allows us to start chaining tasks e.g.

    const a = new Task(
      this,
      async ([url]) => await fetch(url),
      () => [this.url]
    );
    const b = new Task(
      this,
      async ([value]) => {
        /* This is not thrashed */
      },
      () => [a.value]
    );

Minor Changes

@lit-labs/analyzer@0.3.0

Minor Changes

@lit-labs/cli@0.2.0

Minor Changes

  • #3304 31bed8d6 - Added support for analyzing JavaScript files.

  • #2936 7a9fc0f5 - Locally version and lazily install the localize command.

Patch Changes

@lit-labs/cli-localize@0.1.0

Minor Changes

  • #2936 7a9fc0f5 - Locally version and lazily install the localize command.

@lit-labs/gen-wrapper-react@0.2.0

Minor Changes

Patch Changes

@lit-labs/gen-wrapper-vue@0.2.0

Minor Changes

Patch Changes

@lit-labs/observers@1.1.0

Minor Changes

  • #3294 96c05f25 - Fix value property of type unknown on exported controllers. The type of
    value is now generic and can be inferred from the return type of your passed
    in callback. The default callback () => true was removed, and is now
    undefined by default.

  • #3323 0f787b29 - Add unobserve method to ResizeController and IntersectionController.

Patch Changes

  • #3293 7e22bc2e - Fix controllers not observing changes to target element if initialized after the host has connected.

  • #3321 e90e8fe9 - Controllers now track all observed targets and will restore observing targets
    when host is reconnected.

lit@2.4.0

Minor Changes

  • #3318 21313077 - Adds an isServer variable export to lit and lit-html/is-server.js which will be true in Node and false in the browser. This can be used when authoring components to change behavior based on whether or not the component is executing in an SSR context.

Patch Changes

  • #3320 305852d4 - The lit package now specifies and "types" export condition allowing TypeScript moduleResolution to be nodenext.

  • Updated dependencies [21313077]:

    • lit-html@2.4.0

lit-html@2.4.0

Minor Changes

  • #3318 21313077 - Adds an isServer variable export to lit and lit-html/is-server.js which will be true in Node and false in the browser. This can be used when authoring components to change behavior based on whether or not the component is executing in an SSR context.

@lit-labs/gen-utils@0.1.1

Patch Changes

@lit-labs/react@1.0.9

Patch Changes

  • #3163 1212ddd0 - Provide the explicit return type WrappedWebComponent for createComponent. This exposes an explicit typing for wrapped components rather than relying on inferences from Typescript. A well defined type should provide more resilience for implementations like SSR and others.

@lit-labs/gen-wrapper-angular@0.0.2

Patch Changes

@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2022

📊 Tachometer Benchmark Results

Summary

nop-update

  • lit-html-kitchen-sink: unsure 🔍 -2% - +2% (-0.62ms - +0.49ms)
    this-change vs tip-of-tree

render

  • lit-element-list: 90.14ms - 92.41ms
  • lit-html-kitchen-sink: unsure 🔍 -2% - +3% (-0.73ms - +1.08ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -5% - +4% (-0.60ms - +0.47ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -1% - +2% (-0.86ms - +1.53ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -3% - +2% (-1.72ms - +1.40ms)
    this-change vs tip-of-tree

update

  • lit-element-list: 844.53ms - 855.75ms
  • lit-html-kitchen-sink: unsure 🔍 -6% - +3% (-5.72ms - +2.80ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -8% - +7% (-30.87ms - +26.62ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -1% - +2% (-1.62ms - +2.38ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -1% - +2% (-6.55ms - +15.59ms)
    this-change vs tip-of-tree

update-reflect

  • lit-element-list: 844.14ms - 854.93ms
  • reactive-element-list: unsure 🔍 -1% - +1% (-12.20ms - +6.58ms)
    this-change vs tip-of-tree

Results

lit-element-list

render

VersionAvg timevs
90.14ms - 92.41ms-

update

VersionAvg timevs
844.53ms - 855.75ms-

update-reflect

VersionAvg timevs
844.14ms - 854.93ms-
lit-html-kitchen-sink

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
34.46ms - 35.87ms-unsure 🔍
-2% - +3%
-0.73ms - +1.08ms
unsure 🔍
-1% - +3%
-0.38ms - +1.21ms
tip-of-tree
tip-of-tree
34.42ms - 35.56msunsure 🔍
-3% - +2%
-1.08ms - +0.73ms
-unsure 🔍
-1% - +3%
-0.43ms - +0.92ms
previous-release
previous-release
34.38ms - 35.11msunsure 🔍
-3% - +1%
-1.21ms - +0.38ms
unsure 🔍
-3% - +1%
-0.92ms - +0.43ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
94.96ms - 98.22ms-unsure 🔍
-6% - +3%
-5.72ms - +2.80ms
unsure 🔍
-1% - +4%
-1.06ms - +3.79ms
tip-of-tree
tip-of-tree
94.11ms - 101.98msunsure 🔍
-3% - +6%
-2.80ms - +5.72ms
-unsure 🔍
-2% - +8%
-1.50ms - +7.15ms
previous-release
previous-release
93.43ms - 97.01msunsure 🔍
-4% - +1%
-3.79ms - +1.06ms
unsure 🔍
-7% - +1%
-7.15ms - +1.50ms
-

nop-update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
25.50ms - 26.22ms-unsure 🔍
-2% - +2%
-0.62ms - +0.49ms
unsure 🔍
-4% - +1%
-0.94ms - +0.37ms
tip-of-tree
tip-of-tree
25.50ms - 26.34msunsure 🔍
-2% - +2%
-0.49ms - +0.62ms
-unsure 🔍
-3% - +2%
-0.91ms - +0.46ms
previous-release
previous-release
25.60ms - 26.69msunsure 🔍
-1% - +4%
-0.37ms - +0.94ms
unsure 🔍
-2% - +4%
-0.46ms - +0.91ms
-
lit-html-repeat

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
11.57ms - 12.20ms-unsure 🔍
-5% - +4%
-0.60ms - +0.47ms
unsure 🔍
-6% - +4%
-0.73ms - +0.53ms
tip-of-tree
tip-of-tree
11.52ms - 12.38msunsure 🔍
-4% - +5%
-0.47ms - +0.60ms
-unsure 🔍
-6% - +5%
-0.73ms - +0.66ms
previous-release
previous-release
11.45ms - 12.53msunsure 🔍
-4% - +6%
-0.53ms - +0.73ms
unsure 🔍
-6% - +6%
-0.66ms - +0.73ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
352.23ms - 395.40ms-unsure 🔍
-8% - +7%
-30.87ms - +26.62ms
unsure 🔍
-10% - +7%
-36.23ms - +27.04ms
tip-of-tree
tip-of-tree
356.95ms - 394.92msunsure 🔍
-7% - +8%
-26.62ms - +30.87ms
-unsure 🔍
-9% - +7%
-32.40ms - +27.46ms
previous-release
previous-release
355.27ms - 401.54msunsure 🔍
-7% - +10%
-27.04ms - +36.23ms
unsure 🔍
-7% - +9%
-27.46ms - +32.40ms
-
lit-html-template-heavy

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
63.68ms - 65.29ms-unsure 🔍
-1% - +2%
-0.86ms - +1.53ms
unsure 🔍
-3% - +3%
-2.13ms - +2.19ms
tip-of-tree
tip-of-tree
63.26ms - 65.03msunsure 🔍
-2% - +1%
-1.53ms - +0.86ms
-unsure 🔍
-4% - +3%
-2.50ms - +1.88ms
previous-release
previous-release
62.45ms - 66.46msunsure 🔍
-3% - +3%
-2.19ms - +2.13ms
unsure 🔍
-3% - +4%
-1.88ms - +2.50ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
132.70ms - 136.02ms-unsure 🔍
-1% - +2%
-1.62ms - +2.38ms
unsure 🔍
-2% - +1%
-2.83ms - +1.59ms
tip-of-tree
tip-of-tree
132.85ms - 135.11msunsure 🔍
-2% - +1%
-2.38ms - +1.62ms
-unsure 🔍
-2% - +1%
-2.84ms - +0.84ms
previous-release
previous-release
133.52ms - 136.44msunsure 🔍
-1% - +2%
-1.59ms - +2.83ms
unsure 🔍
-1% - +2%
-0.84ms - +2.84ms
-
reactive-element-list

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
60.10ms - 62.30ms-unsure 🔍
-3% - +2%
-1.72ms - +1.40ms
unsure 🔍
-3% - +2%
-1.97ms - +1.27ms
tip-of-tree
tip-of-tree
60.26ms - 62.46msunsure 🔍
-2% - +3%
-1.40ms - +1.72ms
-unsure 🔍
-3% - +2%
-1.82ms - +1.43ms
previous-release
previous-release
60.36ms - 62.75msunsure 🔍
-2% - +3%
-1.27ms - +1.97ms
unsure 🔍
-2% - +3%
-1.43ms - +1.82ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
903.82ms - 919.21ms-unsure 🔍
-1% - +2%
-6.55ms - +15.59ms
unsure 🔍
-1% - +2%
-5.87ms - +16.24ms
tip-of-tree
tip-of-tree
899.04ms - 914.96msunsure 🔍
-2% - +1%
-15.59ms - +6.55ms
-unsure 🔍
-1% - +1%
-10.58ms - +11.91ms
previous-release
previous-release
898.39ms - 914.27msunsure 🔍
-2% - +1%
-16.24ms - +5.87ms
unsure 🔍
-1% - +1%
-11.91ms - +10.58ms
-

update-reflect

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
914.45ms - 928.46ms-unsure 🔍
-1% - +1%
-12.20ms - +6.58ms
unsure 🔍
-1% - +1%
-9.31ms - +10.87ms
tip-of-tree
tip-of-tree
918.01ms - 930.52msunsure 🔍
-1% - +1%
-6.58ms - +12.20ms
-unsure 🔍
-1% - +1%
-5.99ms - +13.17ms
previous-release
previous-release
913.42ms - 927.94msunsure 🔍
-1% - +1%
-10.87ms - +9.31ms
unsure 🔍
-1% - +1%
-13.17ms - +5.99ms
-

tachometer-reporter-action v2 for Benchmarks

@augustjk augustjk closed this Oct 5, 2022
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/cli] labs gen command fails to detect lit component when globally installed
2 participants