-
#3187
84437af6
- When usingrenderModule
,URL
andURLSearchParams
are now available in global of the VM module context -
#3204
19d7bd25
- Useurl
module to parse file URL to path for Windows compatibility -
Updated dependencies [
daddeb34
,0725fdb4
,3766ae4c
,6361a4b4
,ae6f6808
]:
- #3045
9a7b6546
- Fix behavior of setAttribute when value is not a string to match browsers. It is now cast to a string. Fixes problems such as reflection of type:Number properties on ReactiveElements.
-
#2456
0b774e0e
- Fix TypeScript typing issues when using @lit-labs/ssr. Adds a dependency on @types/node for URL, which is part of the public ModuleLoader API. Adds a new VmModule interface for the ModuleLoader API, whose return type was previously completely missing. -
#2480
c9022d53
- Fix bug which could cause errors resolving lit modules with isolated vm modules. -
#2406
5d77f893
- [@lit-labs/ssr] Fix typo in ssr readme. Fixes #2381
- #2288
b42f6f0f
- Refactor the import-module into a class-based ModuleLoader API. Adds a module cache that tracks dependencies between modules.
- #2294
dcab56b0
- Add customElementRendered callback to RenderInfo so that callers can know what elements were rendered.
- #2345
4edf4f3b
- Remove unnecessary dependencies:koa
,koa-node-resolve
,koa-static
,@webcomponents/template-shadowroot
-
Updated dependencies [
08e7fc56
,fcc2b3d0
,eb5c5d2b
,49ecf623
,26e3fb7b
,d319cf5f
,1d563e83
,221cb0a9
]:
- #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.isConnected
flag duringupdate
to ensure that e.g. subscriptions that could lead to memory leaks are not made when AsyncDirectives update while disconnected.
-
#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 lit#2118
-
#1972
a791514b
- Properties that must remain unminified are now compatible with build tools other than rollup/terser. -
Updated dependencies [
ff0d1556
,b3121ab7
,15a8356d
,d6b385e3
,5768cc60
,8189f094
,b4bd9f7c
,69389958
,5fabe2b5
,52a47c7e
,5b2f3642
,08f60328
,7adfbb0c
,d8ff5901
,5fabe2b5
,24feb430
,5fabe2b5
,5fabe2b5
,0b4d6eda
,13d137e9
,f05be301
,01353317
,a48f39c8
,5fabe2b5
,724a9aab
,0d703bfb
,56e8efd3
,0312f3e5
,e5667d66
,cc5c3a09
,662209c3
,043a16fb
,761375ac
,a791514b
,5fabe2b5
]:
-
#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 lit#2118
- #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.isConnected
flag duringupdate
to ensure that e.g. subscriptions that could lead to memory leaks are not made when AsyncDirectives update while disconnected.
-
#1972
a791514b
- Properties that must remain unminified are now compatible with build tools other than rollup/terser. -
Updated dependencies [
ff0d1556
,5768cc60
,69389958
,5fabe2b5
,52a47c7e
,5fabe2b5
,5fabe2b5
,5fabe2b5
,f05be301
,5fabe2b5
,56e8efd3
,662209c3
,a791514b
,5fabe2b5
]:
Changes below were based on the Keep a Changelog format. All changes above are generated automatically by Changesets.
-
Added
render-global
module for non-sandboxed rendering. -
Added
elementRenderers
option toRenderInfo
, along withstatic matchesClass()
method toElementRenderer
, allowing the default renderer(s) to be overridden. -
Added
defer-hydration
attribute handling, which helps coordinate ordered wakeup of custom elements during hydration.