astro/packages/integrations/lit/CHANGELOG.md
Houston (Bot) 07e8a1bab4
[ci] release (#6694)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-31 16:32:28 +02:00

9.3 KiB

@astrojs/lit

2.0.0

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.

1.3.0

Minor Changes

1.2.1

Patch Changes

1.2.0

Minor Changes

  • #6111 ec38a8921 Thanks @e111077! - Implement client:only functionality in Lit and add lit to the client:only warning

1.1.2

Patch Changes

  • #6080 0db220415 Thanks @e111077! - Fixes Lit hydration not having the same reactive values as server (losing state upon hydration)

  • #6055 2567aa48b Thanks @e111077! - Add forwards compatibility for streaming Declarative Shadow DOM

1.1.1

Patch Changes

1.1.0

Minor Changes

1.0.2

Patch Changes

1.0.2-beta.0

See changes in 1.0.2-beta.0

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

0.3.2

Patch Changes

0.3.1

Patch Changes

0.3.0

Minor Changes

  • #3652 7373d61c Thanks @natemoo-re! - Adds support for passing named slots from .astro => Lit components.

    All slots are treated as Light DOM content.

0.2.0

Minor Changes

  • #3625 f5afaf24 Thanks @matthewp! - Conform to Constructor based rendering

    This changes @astrojs/lit to conform to the way rendering happens in all other frameworks. Instead of using the tag name <my-element client:load> you use the imported constructor function, <MyElement client:load> like you would do with any other framework.

    Support for tag-name syntax had to be removed due to the fact that it was a runtime feature that was not statically analyzable. To improve build performance, we have removed all runtime based component discovery. Using the imported Constructor name allows Astro to discover what components need to be built and bundled for production without ever running your file.

0.1.5

Patch Changes

0.1.4

Patch Changes

0.1.3

Patch Changes

  • #3375 fe61e469 Thanks @jdvivar! - Added tests and fix a small edge case for when you call render with no props/attrs

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

0.0.2

Patch Changes

  • #2847 3b621f7a Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site

0.0.2-next.0

Patch Changes

  • #2847 3b621f7a Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site