Skip to content

Latest commit

 

History

History
86 lines (51 loc) · 8.99 KB

CHANGELOG.md

File metadata and controls

86 lines (51 loc) · 8.99 KB

Change Log

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.