Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

Latest commit

 

History

History
182 lines (103 loc) · 15 KB

CHANGELOG.md

File metadata and controls

182 lines (103 loc) · 15 KB

Change Log

2.2.3

Patch Changes

2.2.2

Patch Changes

2.2.1

Patch Changes

  • #3045 9a7b6546 - Fix behavior of setAttribute when value is not a string to match browsers. It is now cast to a string. Fixes problems such as reflection of type:Number properties on ReactiveElements.

2.2.0

Minor Changes

  • #2940 ac356997 - Add option to defer hydration of top level custom elements.

2.1.0

Minor Changes

  • #2662 1d51ed8b - Adds HTMLElement.shadowRoot property to dom-shim.

2.0.4

Patch Changes

  • #2580 b8ceafb0 - Handle rendering of null and undefined element attribute values

2.0.3

Patch Changes

  • #2510 937388e2 - Replace window proxy with reference to globalThis in global DOM shim

2.0.2

Patch Changes

  • #2488 28d856e3 - Fix typo in README import statements.

  • #2456 0b774e0e - Fix TypeScript typing issues when using @lit-labs/ssr. Adds a dependency on @types/node for URL, which is part of the public ModuleLoader API. Adds a new VmModule interface for the ModuleLoader API, whose return type was previously completely missing.

  • #2480 c9022d53 - Fix bug which could cause errors resolving lit modules with isolated vm modules.

  • #2406 5d77f893 - [@lit-labs/ssr] Fix typo in ssr readme. Fixes #2381

2.0.1

Patch Changes

2.0.0

Major Changes

  • #2288 b42f6f0f - Refactor the import-module into a class-based ModuleLoader API. Adds a module cache that tracks dependencies between modules.

Minor Changes

  • #2294 dcab56b0 - Add customElementRendered callback to RenderInfo so that callers can know what elements were rendered.

Patch Changes

  • #2346 53e64286 - Remove dependency on escape-html (which is not an ES module)
  • #2344 bc46ddd6 - Fix bug where static attributes did not render for unknown elements
  • #2345 4edf4f3b - Remove unnecessary dependencies: koa, koa-node-resolve, koa-static, @webcomponents/template-shadowroot

1.0.0

Patch Changes

  • #2034 5768cc60 - Reverts the change in Lit 2 to pause ReactiveElement's update cycle while the element is disconnected. The update cycle for elements will now run while disconnected as in Lit 1, however AsyncDirectives must now check the this.isConnected flag during update to ensure that e.g. subscriptions that could lead to memory leaks are not made when AsyncDirectives update while disconnected.
  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2141 d8ff5901 - Add LICENSE files to public packages without one.
  • #2120 2043eb0f - Don't assign DOM shim window.global (and hence globalThis.global) to window

    This means that globalThis.global will retain its Node built-ins, whereas before it would lose anything we didn't explicitly set on window.

    Fixes lit#2118

  • #1881 a83f616 - Add demo for using global DOM shim instead of isolated VM contexts

1.0.0-rc.3

Patch Changes

  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2120 2043eb0f - Don't assign DOM shim window.global (and hence globalThis.global) to window

    This means that globalThis.global will retain its Node built-ins, whereas before it would lose anything we didn't explicitly set on window.

    Fixes lit#2118

1.0.0-rc.2

Patch Changes

  • #2034 5768cc60 - Reverts the change in Lit 2 to pause ReactiveElement's update cycle while the element is disconnected. The update cycle for elements will now run while disconnected as in Lit 1, however AsyncDirectives must now check the this.isConnected flag during update to ensure that e.g. subscriptions that could lead to memory leaks are not made when AsyncDirectives update while disconnected.
  • #1881 a83f616 - Add demo for using global DOM shim instead of isolated VM contexts

Changes below were based on the Keep a Changelog format. All changes above are generated automatically by Changesets.


1.0.0-rc.1 - 2021-04-20

Added

  • Added render-global module for non-sandboxed rendering.

  • Added elementRenderers option to RenderInfo, along with static matchesClass() method to ElementRenderer, allowing the default renderer(s) to be overridden.

  • Added defer-hydration attribute handling, which helps coordinate ordered wakeup of custom elements during hydration.