Patch Changes
-
#4041
5193509Thanks @DylanPiercey! - Fix content sections passed through another tag's body parameter resolving serialization from the child template's raw analysis: serialize reasons now dereference through the call site's expressions, fixingUnable to serialize "input.<attrTag>" (reading content)errors and dropping serialized data and registered renderers that were never needed. -
#4035
b8c9b0dThanks @DylanPiercey! - Report a child template's compile error instead of marking the parent tag unresolved, and name an imported tag in the missing-tag error rather than printing<undefined>. -
#4037
4bdda78Thanks @DylanPiercey! - Page entries now link the topmost templates with client work instead of the root-most template, and only pull in and initialize the resume runtime when something actually resumes; a page whose only client code is staticclient {}statements just loads its modules. -
#4043
b619291Thanks @DylanPiercey! - Fix serializing aRegExpwhose source contains<: a named group or lookbehind previously shipped as invalid regexp syntax (/(?\x3Cname>a)/), which threw aSyntaxErrorwhile parsing the resume script and broke hydration entirely. Sources containing<now serialize through theRegExpconstructor and round-trip exactly. -
#4044
55b76d1Thanks @DylanPiercey! - Suggeststaticwhen a module level JavaScript statement (function,class,type,interface,enum,async function,declare) parses as an unknown tag, instead of a misleading nearest-tag guess likeDid you mean `<section>`?. -
Updated dependencies [
b8c9b0d,ea72f0e,90e206e]:- @marko/compiler@5.42.3