Skip to content

Commit

Permalink
Merge 44a8012 into b70f777
Browse files Browse the repository at this point in the history
  • Loading branch information
lit-robot committed Aug 12, 2022
2 parents b70f777 + 44a8012 commit ea559ca
Show file tree
Hide file tree
Showing 33 changed files with 111 additions and 90 deletions.
6 changes: 0 additions & 6 deletions .changeset/curly-cars-peel.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/forty-bats-draw.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/forty-bobcats-sneeze.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/four-rocks-pretend.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hip-eels-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mean-toes-cry.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/nine-socks-rhyme.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/old-tables-own.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/perfect-nails-smoke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-wasps-exercise.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/spotty-ducks-compete.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tall-mirrors-notice.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twelve-lobsters-join.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/warm-mayflies-know.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wild-ladybugs-flash.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/labs/eleventy-plugin-lit/CHANGELOG.md
@@ -1,5 +1,14 @@
# @lit-labs/eleventy-plugin-lit

## 0.2.3

### Patch Changes

- [#3203](https://github.com/lit/lit/pull/3203) [`23462312`](https://github.com/lit/lit/commit/234623129990c19c535eb36d2bcab38f3842ff82) - Use file urls for resolved module paths for Windows compatibility

- Updated dependencies [[`daddeb34`](https://github.com/lit/lit/commit/daddeb346a2f454b25a6a5d1722683197f25fbcd), [`6361a4b4`](https://github.com/lit/lit/commit/6361a4b4a589465cf6836c8454ed8ca4521d7b4d), [`ae6f6808`](https://github.com/lit/lit/commit/ae6f6808f539254b72ec7efcff34b812173abe64)]:
- lit@2.3.0

## 0.2.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/labs/eleventy-plugin-lit/package.json
@@ -1,6 +1,6 @@
{
"name": "@lit-labs/eleventy-plugin-lit",
"version": "0.2.2",
"version": "0.2.3",
"description": "Eleventy plugin for rendering Lit components.",
"author": "Google LLC",
"license": "BSD-3-Clause",
Expand Down Expand Up @@ -91,7 +91,7 @@
},
"dependencies": {
"@lit-labs/ssr": "^2.0.1",
"lit": "^2.0.2"
"lit": "^2.3.0"
},
"devDependencies": {
"@11ty/eleventy": "^1.0.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/labs/react/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log

## 1.0.8

### Patch Changes

- [#2800](https://github.com/lit/lit/pull/2800) [`043d9c80`](https://github.com/lit/lit/commit/043d9c80de59177335fa6543d5654e0295f5a743) - Support setting custom accessors by using an 'in' check instead of a for/in loop to check for properties.

## 1.0.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/labs/react/package.json
@@ -1,6 +1,6 @@
{
"name": "@lit-labs/react",
"version": "1.0.7",
"version": "1.0.8",
"description": "A React component wrapper for web components.",
"license": "BSD-3-Clause",
"homepage": "https://lit.dev/",
Expand Down Expand Up @@ -137,7 +137,7 @@
},
"author": "Google LLC",
"devDependencies": {
"@lit/reactive-element": "^1.0.0",
"@lit/reactive-element": "^1.4.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/trusted-types": "^2.0.2",
Expand Down
13 changes: 13 additions & 0 deletions packages/labs/ssr/CHANGELOG.md
@@ -1,5 +1,18 @@
# Change Log

## 2.2.3

### Patch Changes

- [#3187](https://github.com/lit/lit/pull/3187) [`84437af6`](https://github.com/lit/lit/commit/84437af6826a5cdb61c383c3034a0e4150e8e50f) - When using `renderModule`, `URL` and `URLSearchParams` are now available in global of the VM module context

- [#3204](https://github.com/lit/lit/pull/3204) [`19d7bd25`](https://github.com/lit/lit/commit/19d7bd255987cfeac2d8dfa9f9d04d2378568535) - Use `url` module to parse file URL to path for Windows compatibility

- Updated dependencies [[`daddeb34`](https://github.com/lit/lit/commit/daddeb346a2f454b25a6a5d1722683197f25fbcd), [`0725fdb4`](https://github.com/lit/lit/commit/0725fdb4dd7d36e3a7154830c41b9af4cf866e52), [`3766ae4c`](https://github.com/lit/lit/commit/3766ae4c35edf794aa30ee2d738c6f63fdda44e5), [`6361a4b4`](https://github.com/lit/lit/commit/6361a4b4a589465cf6836c8454ed8ca4521d7b4d), [`ae6f6808`](https://github.com/lit/lit/commit/ae6f6808f539254b72ec7efcff34b812173abe64)]:
- lit-html@2.3.0
- lit@2.3.0
- @lit/reactive-element@1.4.0

## 2.2.2

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/labs/ssr/package.json
@@ -1,7 +1,7 @@
{
"name": "@lit-labs/ssr",
"type": "module",
"version": "2.2.2",
"version": "2.2.3",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -149,11 +149,11 @@
},
"dependencies": {
"@lit-labs/ssr-client": "^1.0.0",
"@lit/reactive-element": "^1.1.0",
"@lit/reactive-element": "^1.4.0",
"@types/node": "^16.0.0",
"lit": "^2.1.0",
"lit": "^2.3.0",
"lit-element": "^3.1.0",
"lit-html": "^2.1.0",
"lit-html": "^2.3.0",
"node-fetch": "^3.2.8",
"parse5": "^6.0.1",
"resolve": "^1.10.1"
Expand Down
11 changes: 11 additions & 0 deletions packages/labs/testing/CHANGELOG.md
@@ -1,5 +1,16 @@
# @lit-labs/testing

## 0.1.1

### Patch Changes

- [#3175](https://github.com/lit/lit/pull/3175) [`27e08e5d`](https://github.com/lit/lit/commit/27e08e5d71af85fb5e38bbd968d7a7cb14c12193) - Make resolved paths sent to worker be file urls. Fixes incompatibility with Windows filepaths.

- [#3198](https://github.com/lit/lit/pull/3198) [`0162fbad`](https://github.com/lit/lit/commit/0162fbad61826ba0ff4188135ca4ab778762c4d7) - TS sources are now inlined in the JS source maps

- Updated dependencies [[`daddeb34`](https://github.com/lit/lit/commit/daddeb346a2f454b25a6a5d1722683197f25fbcd), [`6361a4b4`](https://github.com/lit/lit/commit/6361a4b4a589465cf6836c8454ed8ca4521d7b4d), [`ae6f6808`](https://github.com/lit/lit/commit/ae6f6808f539254b72ec7efcff34b812173abe64)]:
- lit@2.3.0

## 0.1.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/labs/testing/package.json
@@ -1,6 +1,6 @@
{
"name": "@lit-labs/testing",
"version": "0.1.0",
"version": "0.1.1",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -83,7 +83,7 @@
"@lit-labs/ssr": "^2.2.0",
"@web/test-runner-commands": "^0.6.1",
"@webcomponents/template-shadowroot": "^0.1.0",
"lit": "^2.2.5"
"lit": "^2.3.0"
},
"devDependencies": {
"@open-wc/testing": "^3.1.5"
Expand Down
16 changes: 16 additions & 0 deletions packages/lit-html/CHANGELOG.md
@@ -1,5 +1,21 @@
# Change Log

## 2.3.0

### Minor Changes

- [#3156](https://github.com/lit/lit/pull/3156) [`ae6f6808`](https://github.com/lit/lit/commit/ae6f6808f539254b72ec7efcff34b812173abe64) - Lit and its underlying libraries can now be imported directly from Node without crashing, without the need to load the @lit-labs/ssr dom-shim library. Note that actually rendering from a Node context still requires the @lit-labs/ssr dom-shim, and the appropriate integration between @lit-labs/ssr and your framework/tool.

### Patch Changes

- [#3003](https://github.com/lit/lit/pull/3003) [`daddeb34`](https://github.com/lit/lit/commit/daddeb346a2f454b25a6a5d1722683197f25fbcd) - Lit's `async-directive` now re-exports everything from the `directive` module.

- [#3199](https://github.com/lit/lit/pull/3199) [`0725fdb4`](https://github.com/lit/lit/commit/0725fdb4dd7d36e3a7154830c41b9af4cf866e52) - In DEV_MODE, render a warning instead of rendering a template's host in the template.

Most commonly this would happen when rendering `${this}` in a LitElement's template, which has the counterintuitive behavior of removing the element from the DOM, because when rendering the element's template we attach it into its own shadow root, which removes it from the DOM, causing it simply disappear. This is especially problematic with a fast HMR system.

- [#3186](https://github.com/lit/lit/pull/3186) [`3766ae4c`](https://github.com/lit/lit/commit/3766ae4c35edf794aa30ee2d738c6f63fdda44e5) - `StaticValue` interface type is now exported.

## 2.2.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/lit-html/package.json
@@ -1,6 +1,6 @@
{
"name": "lit-html",
"version": "2.2.7",
"version": "2.3.0",
"description": "HTML templates literals in JavaScript",
"license": "BSD-3-Clause",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lit-html/src/lit-html.ts
Expand Up @@ -2177,7 +2177,7 @@ polyfillSupport?.(Template, ChildPart);

// IMPORTANT: do not change the property name or the assignment expression.
// This line will be used in regexes to search for lit-html usage.
(global.litHtmlVersions ??= []).push('2.2.7');
(global.litHtmlVersions ??= []).push('2.3.0');
if (DEV_MODE && global.litHtmlVersions.length > 1) {
issueWarning!(
'multiple-versions',
Expand Down
16 changes: 16 additions & 0 deletions packages/lit/CHANGELOG.md
@@ -1,5 +1,21 @@
# Change Log

## 2.3.0

### Minor Changes

- [#3156](https://github.com/lit/lit/pull/3156) [`ae6f6808`](https://github.com/lit/lit/commit/ae6f6808f539254b72ec7efcff34b812173abe64) - Lit and its underlying libraries can now be imported directly from Node without crashing, without the need to load the @lit-labs/ssr dom-shim library. Note that actually rendering from a Node context still requires the @lit-labs/ssr dom-shim, and the appropriate integration between @lit-labs/ssr and your framework/tool.

### Patch Changes

- [#3003](https://github.com/lit/lit/pull/3003) [`daddeb34`](https://github.com/lit/lit/commit/daddeb346a2f454b25a6a5d1722683197f25fbcd) - Lit's `async-directive` now re-exports everything from the `directive` module.

- [#3120](https://github.com/lit/lit/pull/3120) [`6361a4b4`](https://github.com/lit/lit/commit/6361a4b4a589465cf6836c8454ed8ca4521d7b4d) - Bind `this` to custom attribute converter methods

- Updated dependencies [[`daddeb34`](https://github.com/lit/lit/commit/daddeb346a2f454b25a6a5d1722683197f25fbcd), [`0725fdb4`](https://github.com/lit/lit/commit/0725fdb4dd7d36e3a7154830c41b9af4cf866e52), [`3766ae4c`](https://github.com/lit/lit/commit/3766ae4c35edf794aa30ee2d738c6f63fdda44e5), [`6361a4b4`](https://github.com/lit/lit/commit/6361a4b4a589465cf6836c8454ed8ca4521d7b4d), [`ae6f6808`](https://github.com/lit/lit/commit/ae6f6808f539254b72ec7efcff34b812173abe64)]:
- lit-html@2.3.0
- @lit/reactive-element@1.4.0

## 2.2.8

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/lit/package.json
@@ -1,6 +1,6 @@
{
"name": "lit",
"version": "2.2.8",
"version": "2.3.0",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -287,9 +287,9 @@
"/logo.svg"
],
"dependencies": {
"@lit/reactive-element": "^1.3.0",
"@lit/reactive-element": "^1.4.0",
"lit-element": "^3.2.0",
"lit-html": "^2.2.0"
"lit-html": "^2.3.0"
},
"devDependencies": {
"@webcomponents/shadycss": "^1.8.0",
Expand Down
10 changes: 10 additions & 0 deletions packages/localize/CHANGELOG.md
@@ -1,5 +1,15 @@
# Changelog

## 0.11.4

### Patch Changes

- [#3198](https://github.com/lit/lit/pull/3198) [`0162fbad`](https://github.com/lit/lit/commit/0162fbad61826ba0ff4188135ca4ab778762c4d7) - TS sources are now inlined in the JS source maps

- Updated dependencies [[`daddeb34`](https://github.com/lit/lit/commit/daddeb346a2f454b25a6a5d1722683197f25fbcd), [`6361a4b4`](https://github.com/lit/lit/commit/6361a4b4a589465cf6836c8454ed8ca4521d7b4d), [`ae6f6808`](https://github.com/lit/lit/commit/ae6f6808f539254b72ec7efcff34b812173abe64)]:
- lit@2.3.0
- @lit/reactive-element@1.4.0

## 0.11.3

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/localize/package.json
@@ -1,6 +1,6 @@
{
"name": "@lit/localize",
"version": "0.11.3",
"version": "0.11.4",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -68,7 +68,7 @@
"/init/"
],
"dependencies": {
"@lit/reactive-element": "^1.0.0",
"lit": "^2.0.0"
"@lit/reactive-element": "^1.4.0",
"lit": "^2.3.0"
}
}
10 changes: 10 additions & 0 deletions packages/reactive-element/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change Log

## 1.4.0

### Minor Changes

- [#3156](https://github.com/lit/lit/pull/3156) [`ae6f6808`](https://github.com/lit/lit/commit/ae6f6808f539254b72ec7efcff34b812173abe64) - Lit and its underlying libraries can now be imported directly from Node without crashing, without the need to load the @lit-labs/ssr dom-shim library. Note that actually rendering from a Node context still requires the @lit-labs/ssr dom-shim, and the appropriate integration between @lit-labs/ssr and your framework/tool.

### Patch Changes

- [#3120](https://github.com/lit/lit/pull/3120) [`6361a4b4`](https://github.com/lit/lit/commit/6361a4b4a589465cf6836c8454ed8ca4521d7b4d) - Bind `this` to custom attribute converter methods

## 1.3.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/reactive-element/package.json
@@ -1,6 +1,6 @@
{
"name": "@lit/reactive-element",
"version": "1.3.4",
"version": "1.4.0",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/reactive-element/src/reactive-element.ts
Expand Up @@ -1543,7 +1543,7 @@ if (DEV_MODE) {

// IMPORTANT: do not change the property name or the assignment expression.
// This line will be used in regexes to search for ReactiveElement usage.
(global.reactiveElementVersions ??= []).push('1.3.4');
(global.reactiveElementVersions ??= []).push('1.4.0');
if (DEV_MODE && global.reactiveElementVersions.length > 1) {
issueWarning!(
'multiple-versions',
Expand Down

0 comments on commit ea559ca

Please sign in to comment.