Releases: lit/lit
@lit-labs/[email protected]
- #1942
c8fe1d4- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
@lit-labs/[email protected]
@lit-labs/[email protected]
[email protected]: Prepare next prerelease (#2132)
Patch Changes
-
#2103
15a8356d- Updates theexportsfield ofpackage.jsonfiles 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.
[email protected]: Prepare next prerelease (#2132)
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 theexportsfield ofpackage.jsonfiles 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.
FixedunsafeHTMLandunsafeSVGto render no content (empty string) for valuesundefined,null, andnothing.
- #1922
8189f094- BindingnoChangeinto 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 usinguntil()without a fallback in interpolated attributes.
- #2114
b4bd9f7c- Parts are not supported inside thetemplateortextareatags. In dev mode, we indicate if parts are placed here so the developer can remove them.
- #2072
7adfbb0c- Remove unneededmatchessupport 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.
- #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.
- #2056
e5667d66- Fixed issue whereAsyncDirectives could seethis.isConnected === trueif a LitElement performed its initial render while it was disconnected.
- #2046
043a16fb- In development mode, constructing anEventPartfrom 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 anEventPartwith extra expressions or surrounding text would cause that part to be silently and incorrectly treated as anAttributePart.
[email protected]: Prepare next prerelease (#2132)
Patch Changes
-
#2103
15a8356d- Updates theexportsfield ofpackage.jsonfiles 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.
- #2072
7adfbb0c- Remove unneededmatchessupport 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.
@lit/[email protected]: Prepare next prerelease (#2132)
Patch Changes
-
#2103
15a8356d- Updates theexportsfield ofpackage.jsonfiles 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- AddsscheduleUpdate()to control update timing. This should be implemented instead ofperformUpdate(); however, existing overrides ofperformUpdate()will continue to work.
- #2072
7adfbb0c- Remove unneededmatchessupport 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.
@lit-labs/[email protected]: Prepare next prerelease (#2132)
@lit-labs/[email protected]: Prepare next prerelease (#2132)
Patch Changes
-
#2120
2043eb0f- Don't assign DOM shim window.global (and hence globalThis.global) to windowThis 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
- #2077
88d8608fThanks @thescientist13! - fixed import in README
@lit-labs/[email protected]: Prepare next prerelease (#2132)
Patch Changes
-
#2103
15a8356d- Updates theexportsfield ofpackage.jsonfiles 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.