github marko-js/marko @marko/runtime-tags@6.3.45

4 hours ago

Patch Changes

  • #4041 5193509 Thanks @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, fixing Unable to serialize "input.<attrTag>" (reading content) errors and dropping serialized data and registered renderers that were never needed.

  • #4035 b8c9b0d Thanks @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 4bdda78 Thanks @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 static client {} statements just loads its modules.

  • #4043 b619291 Thanks @DylanPiercey! - Fix serializing a RegExp whose source contains <: a named group or lookbehind previously shipped as invalid regexp syntax (/(?\x3Cname>a)/), which threw a SyntaxError while parsing the resume script and broke hydration entirely. Sources containing < now serialize through the RegExp constructor and round-trip exactly.

  • #4044 55b76d1 Thanks @DylanPiercey! - Suggest static when 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 like Did you mean `<section>`?.

  • Updated dependencies [b8c9b0d, ea72f0e, 90e206e]:

    • @marko/compiler@5.42.3

Don't miss a new marko release

NewReleases is sending notifications on new releases.