Skip to content

Releases: lit/lit

lit@3.1.4

04 Jun 22:05
9217527
Compare
Choose a tag to compare

Patch Changes

  • #4646 abf30b3e - The value provided by the ref() directive will always be undefined when the element is disconnected.

lit-html@3.1.4

04 Jun 22:05
9217527
Compare
Choose a tag to compare

Patch Changes

  • #4646 abf30b3e - The value provided by the ref() directive will always be undefined when the element is disconnected.

lit-element@4.0.6

04 Jun 22:05
9217527
Compare
Choose a tag to compare

Patch Changes

  • #4646 abf30b3e - The value provided by the ref() directive will always be undefined when the element is disconnected.

@lit/task@1.0.1

04 Jun 22:05
9217527
Compare
Choose a tag to compare

Patch Changes

  • #4552 4050cac6 Thanks @jrencz! - Make status of Task a readonly property

    So far status was writable which allowed for setting status of task form outside. Doing so did cause rendering of
    expected template but the task was becoming internally incoherent.

    Now attempt to assign status will end up in throwing a TypeError.

@lit/context@1.1.2

04 Jun 22:05
9217527
Compare
Choose a tag to compare

Patch Changes

@lit-labs/virtualizer@2.0.13

04 Jun 22:05
9217527
Compare
Choose a tag to compare

Patch Changes

  • #4564 6b4b45ff Thanks @IMinchev64! - Guard top-level window with typeof check so that importing the code will not throw when imported in non-browser environments without a global window defined. Note, this on its own will not server render items inside the virtualizer, but it will no longer error when attempting to do so.

@lit-labs/gen-manifest@0.3.3

04 Jun 22:05
9217527
Compare
Choose a tag to compare

Patch Changes

  • #4147 634d8624 Thanks @43081j! - Support for mixin classes/functions as super classes of analyzed classes

@lit-labs/analyzer@0.12.1

04 Jun 22:05
9217527
Compare
Choose a tag to compare

Patch Changes

  • #4147 634d8624 Thanks @43081j! - Support for mixin classes/functions as super classes of analyzed classes

@lit/react@1.0.5

25 Apr 19:51
56cb2ca
Compare
Choose a tag to compare

Patch Changes

  • #4575 aa4fc3ef - Use a global flag to detect whether @lit-labs/ssr-react/enable-lit-ssr.js was used for coordinating props when server rendering components made with @lit/react.

@lit-labs/ssr-react@0.3.0

25 Apr 19:51
56cb2ca
Compare
Choose a tag to compare

Minor Changes

  • #4575 aa4fc3ef - The Node build of @lit-labs/ssr-react/enable-lit-ssr.js now also monkey-patches react/jsx-runtime to include logic for deeply server-rendering Lit components without modifying jsxImportSource in tsconfig.

    The monkey-patching logic also adds a workaround for inconsistent es module interop behavior in tools like webpack which could lead to errors like TypeError: Cannot set property createElement of [object Module] which has only a getter.

Patch Changes

  • #4575 aa4fc3ef - Use a global flag to detect whether @lit-labs/ssr-react/enable-lit-ssr.js was used for coordinating props when server rendering components made with @lit/react.