Releases: lit/lit
Releases · lit/lit
@lit-labs/[email protected]: Prepare next prerelease (#2132)
@lit-labs/[email protected]: Prepare next prerelease (#2132)
@lit-labs/[email protected]: Prepare next prerelease (#2132)
[email protected]
Patch Changes
- #1942
c8fe1d4- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
[email protected]
Major Changes
- #1959
69389958- Changed all prefixes used for minifying object and class properties from greek
characters to ASCII, to avoid requiring an explicit script charset on some
browser/webview environments.
Patch Changes
- #2002
ff0d1556- Fixes polyfill-support styling issues: styling should be fully applied by firstUpdated/update time; late added styles are now retained (matching Lit1 behavior)
- #2034
5768cc60- Reverts the change in Lit 2 to pause ReactiveElement's update cycle while the element is disconnected. The update cycle for elements will now run while disconnected as in Lit 1, however AsyncDirectives must now check thethis.isConnectedflag duringupdateto ensure that e.g. subscriptions that could lead to memory leaks are not made when AsyncDirectives update while disconnected.
- #1942
c8fe1d4- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
- #1959
6938995- Changed prefix used for minifying class field names on lit libraries to stay within ASCII subset, to avoid needing to explicitly set the charset for scripts in some browsers.
- #1991
f05be301- Fixed bug where Template.createElement was not patchable by polyfill-support when compiled using closure compiler, leading to incorrect style scoping.
- #1990
56e8efd3- Fixed an error thrown when an empty<style></style>tag is rendered while using the @apply shim under native Shadow DOM.
- #2044
662209c3- Improves disconnection handling for first-partyAsyncDirectives (until,asyncAppend,asyncReplace) so that the directive (and any DOM associated with it) can be garbage collected before any promises they are awaiting resolve.
[email protected]
Patch Changes
- #1942
c8fe1d4- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
@lit/[email protected]
Patch Changes
- #2002
ff0d1556- Fixes polyfill-support styling issues: styling should be fully applied by firstUpdated/update time; late added styles are now retained (matching Lit1 behavior)
- #2034
5768cc60- Reverts the change in Lit 2 to pause ReactiveElement's update cycle while the element is disconnected. The update cycle for elements will now run while disconnected as in Lit 1, however AsyncDirectives must now check thethis.isConnectedflag duringupdateto ensure that e.g. subscriptions that could lead to memory leaks are not made when AsyncDirectives update while disconnected.
- #1918
72877fd- Changed the caching strategy used in CSSResults returned from the css tag to cache the stylesheet rather than individual CSSResults.
- #1942
c8fe1d4- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
- #1917
550a218- Use a brand property instead of instanceof to identify CSSResults to make the checks compatible with multiple copies of the @lit/reactive-element package.
- #1959
6938995- Changed prefix used for minifying class field names on lit libraries to stay within ASCII subset, to avoid needing to explicitly set the charset for scripts in some browsers.
- #1943
39ad574- Add support for private custom element constructors in @CustomElement().
@lit-labs/[email protected]
@lit-labs/[email protected]
Patch Changes
- #2034
5768cc60- Reverts the change in Lit 2 to pause ReactiveElement's update cycle while the element is disconnected. The update cycle for elements will now run while disconnected as in Lit 1, however AsyncDirectives must now check thethis.isConnectedflag duringupdateto ensure that e.g. subscriptions that could lead to memory leaks are not made when AsyncDirectives update while disconnected.
@lit-labs/[email protected]
Patch Changes
- #1942
c8fe1d4- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
-
Updated dependencies [
ff0d1556,5768cc60,69389958,5fabe2b5,52a47c7e,5fabe2b5,5fabe2b5,5fabe2b5,f05be301,5fabe2b5,56e8efd3,662209c3,a791514b,5fabe2b5]:
- Included
developmentfolder in release #1912.