Skip to content

Releases: lit/lit

@lit-labs/[email protected]

21 Sep 01:33
4d402e8

Choose a tag to compare

  • #1942 c8fe1d4 - For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2

@lit-labs/[email protected]

21 Sep 01:32
4d402e8

Choose a tag to compare

Patch Changes

  • #1942 c8fe1d4 - For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2123 efe88ba5 - Adds React.HTMLAttributes to component props, which enables the built-in onXyz event handler props.

@lit-labs/[email protected]

21 Sep 01:30
4d402e8

Choose a tag to compare

Patch Changes

  • #2166 94dff0a4 - Renamed animate option animateOptions to keyframeOptions and AnimateController animateOptions to defaultOptions
  • #1942 c8fe1d4 - For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2

[email protected]: Prepare next prerelease (#2132)

03 Sep 04:40
f8ee010

Choose a tag to compare

Patch Changes

  • #2103 15a8356d - Updates the exports field of package.json files to replace the subpath
    folder
    mapping

    syntax with an explicit list of all exported files.

    The /-suffixed syntax for subpath folder mapping originally used in these
    files is deprecated. Rather than update to the new syntax, this change replaces
    these mappings with individual entries for all exported files so that (a) users
    must import using extensions and (b) bundlers or other tools that don't resolve
    subpath folder mapping exactly as Node.js does won't break these packages'
    expectations around how they're imported.

  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2073 0312f3e5 - (Cleanup) Removed obsolete TODOs from codebase

[email protected]: Prepare next prerelease (#2132)

03 Sep 04:39
f8ee010

Choose a tag to compare

Patch Changes

  • #2098 b3121ab7 - Fix ChildPart parentNode for top-level parts to return the parentNode they will be inserted into, rather than the DocumentFragment they were cloned into. Fixes #2032.
  • #2103 15a8356d - Updates the exports field of package.json files to replace the subpath
    folder
    mapping

    syntax with an explicit list of all exported files.

    The /-suffixed syntax for subpath folder mapping originally used in these
    files is deprecated. Rather than update to the new syntax, this change replaces
    these mappings with individual entries for all exported files so that (a) users
    must import using extensions and (b) bundlers or other tools that don't resolve
    subpath folder mapping exactly as Node.js does won't break these packages'
    expectations around how they're imported.

  • #2074 d6b385e3 - (Cleanup) Added missing tests to close out TODOs in the code.
    Fixed unsafeHTML and unsafeSVG to render no content (empty string) for values undefined, null, and nothing.
  • #1922 8189f094 - Binding noChange into an interpolated attribute expression now no longer removes the attribute on first render - instead it acts like an empty string. This is mostly noticable when using until() without a fallback in interpolated attributes.
  • #2114 b4bd9f7c - Parts are not supported inside the template or textarea tags. In dev mode, we indicate if parts are placed here so the developer can remove them.
  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2072 7adfbb0c - Remove unneeded matches support in @queryAssignedNodes. Update styling tests to use static bindings where needed. Fix TODOs related to doc links.
  • #1764 0b4d6eda - Don't allow classMap to remove static classes. This keeps classMap consistent with building a string out of the classnames to be applied.
  • #2071 01353317 - In dev mode, throw for tag name bindings. These should use static templates.
  • #2070 a48f39c8 - Throw instead of rendering an innocuous value into a style or script when security hooks are enabled.
  • #2075 724a9aab - Ensures dev mode warnings do not spam by taking care to issue unique warnings only once.
  • #2073 0312f3e5 - (Cleanup) Removed obsolete TODOs from codebase
  • #2056 e5667d66 - Fixed issue where AsyncDirectives could see this.isConnected === true if a LitElement performed its initial render while it was disconnected.
  • #2128 cc5c3a09 - Add test for AsyncDirectives that synchronously call this.setValue()
  • #2046 043a16fb - In development mode, constructing an EventPart from an improperly formed attribute will now throw: the attribute must contain only a single expression and the surrounding two strings must be the empty string. Before, constructing an EventPart with extra expressions or surrounding text would cause that part to be silently and incorrectly treated as an AttributePart.
  • #2043 761375ac - Update some internal types to avoid casting globalThis to any to retrieve globals where possible.

[email protected]: Prepare next prerelease (#2132)

03 Sep 04:39
f8ee010

Choose a tag to compare

Patch Changes

  • #2103 15a8356d - Updates the exports field of package.json files to replace the subpath
    folder
    mapping

    syntax with an explicit list of all exported files.

    The /-suffixed syntax for subpath folder mapping originally used in these
    files is deprecated. Rather than update to the new syntax, this change replaces
    these mappings with individual entries for all exported files so that (a) users
    must import using extensions and (b) bundlers or other tools that don't resolve
    subpath folder mapping exactly as Node.js does won't break these packages'
    expectations around how they're imported.

  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2072 7adfbb0c - Remove unneeded matches support in @queryAssignedNodes. Update styling tests to use static bindings where needed. Fix TODOs related to doc links.
  • #2075 724a9aab - Ensures dev mode warnings do not spam by taking care to issue unique warnings only once.
  • #2073 0312f3e5 - (Cleanup) Removed obsolete TODOs from codebase
  • #2056 e5667d66 - Fixed issue where AsyncDirectives could see this.isConnected === true if a LitElement performed its initial render while it was disconnected.
  • #2043 761375ac - Update some internal types to avoid casting globalThis to any to retrieve globals where possible.

@lit/[email protected]: Prepare next prerelease (#2132)

03 Sep 04:38
f8ee010

Choose a tag to compare

Patch Changes

  • #2103 15a8356d - Updates the exports field of package.json files to replace the subpath
    folder
    mapping

    syntax with an explicit list of all exported files.

    The /-suffixed syntax for subpath folder mapping originally used in these
    files is deprecated. Rather than update to the new syntax, this change replaces
    these mappings with individual entries for all exported files so that (a) users
    must import using extensions and (b) bundlers or other tools that don't resolve
    subpath folder mapping exactly as Node.js does won't break these packages'
    expectations around how they're imported.

  • #2097 2b8dd1c7 - Adds scheduleUpdate() to control update timing. This should be implemented instead of performUpdate(); however, existing overrides of performUpdate() will continue to work.
  • #1980 018f6520 - fix queryAssignedNodes returning null if slot is not found
  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2
  • #2072 7adfbb0c - Remove unneeded matches support in @queryAssignedNodes. Update styling tests to use static bindings where needed. Fix TODOs related to doc links.
  • #2112 61fc9452 - Throws rather than warns in dev mode when an element has a class field that shadows a reactive property. The element is in a broken state in this case.
  • #2075 724a9aab - Ensures dev mode warnings do not spam by taking care to issue unique warnings only once.
  • #2073 0312f3e5 - (Cleanup) Removed obsolete TODOs from codebase
  • #2065 8b6e2415 - Fixes #2062. To match Lit1 behavior, the @query decorator returns null (rather than undefined) if a decorated property is accessed before first update. Likewise, a @QueryAll decorated property returns [] rather than undefined.
  • #2043 761375ac - Update some internal types to avoid casting globalThis to any to retrieve globals where possible.

@lit-labs/[email protected]: Prepare next prerelease (#2132)

03 Sep 04:36
f8ee010

Choose a tag to compare

Patch Changes

  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2

@lit-labs/[email protected]: Prepare next prerelease (#2132)

03 Sep 04:37
f8ee010

Choose a tag to compare

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 #2118

@lit-labs/[email protected]: Prepare next prerelease (#2132)

03 Sep 04:36
f8ee010

Choose a tag to compare

Patch Changes

  • #2103 15a8356d - Updates the exports field of package.json files to replace the subpath
    folder
    mapping

    syntax with an explicit list of all exported files.

    The /-suffixed syntax for subpath folder mapping originally used in these
    files is deprecated. Rather than update to the new syntax, this change replaces
    these mappings with individual entries for all exported files so that (a) users
    must import using extensions and (b) bundlers or other tools that don't resolve
    subpath folder mapping exactly as Node.js does won't break these packages'
    expectations around how they're imported.

  • #2113 5b2f3642 - Dependency upgrades including TypeScript 4.4.2