Skip to content

@marko/compiler@5.42.3

Choose a tag to compare

@github-actions github-actions released this 21 Aug 19:20
· 7 commits to main since this release

Patch Changes

  • #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>.

  • #4045 ea72f0e Thanks @DylanPiercey! - Stop folding unusual characters in template ids to /, which let distinct paths collide (foo+bar.marko and foo/bar.marko produced one id, silently cross-wiring the two templates in the resume registry). Only characters unsafe in a string/URL/filesystem context are percent-encoded now; benign punctuation such as +, [, ( and @ passes through literally. Also documents the getTemplateId config override.

  • #4042 90e206e Thanks @DylanPiercey! - Reject an unrecognized output compiler option with an error naming the accepted values (html, dom, source, migrate, hydrate) instead of silently compiling to the DOM runtime. Also stop caching a taglib whose JSON failed to parse, so fixing a broken marko-tag.json takes effect without restarting, and include the JSON parse error in the message.