Astro: @astrojs/lit@2.0.0 Release

Release date:
March 31, 2023
Previous version:
@astrojs/lit@1.3.0 (released March 7, 2023)
Magnitude:
0 Diff Delta
Contributors:
0 total committers
Data confidence:
Commits:

Top Contributors in @astrojs/lit@2.0.0

Could not determine top contributors for this release.

Directory Browser for @astrojs/lit@2.0.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Major Changes

  • #6681 4b077318f Thanks @e111077! - Update to use @lit-labs/ssr@^3 [BREAKING] DOM shim required for Lit SSR has been greatly reduced. window, document, and other objects are no longer available in global. Most SSR-ready component code should not be affected but, if so, they can be fixed with optional chaining or by using the isServer environment checker from the lit package. See [lit.dev docs on authoring components for SSR].(https://lit.dev/docs/ssr/authoring/#browser-only-code) [BREAKING] Adds compatibility with lit@2.7.0 hydration behavior. Do not update if you're using lit@2.6.1 or lower. Includes support for template[shadowrootmode] support.