Skip to content

@marko/compiler@5.41.18

Choose a tag to compare

@github-actions github-actions released this 08 Aug 16:44
· 20 commits to main since this release

Patch Changes

  • #3784 4bc0479 Thanks @DylanPiercey! - Honor a MARKO_AGENT_FIX_GUIDE environment variable that force-enables (1) or suppresses (0) the coding-agent fix-guide pointer regardless of detected agent markers.

  • #3843 877f821 Thanks @DylanPiercey! - A custom tag invoked with arguments and a body (<my-tag("a")>hi</my-tag>) is now a compile error instead of silently dropping the body; dynamic tags still allow arguments with fallback content.

  • #3846 1a881a5 Thanks @DylanPiercey! - Prototype-less objects in template metadata now clone correctly between compile phases instead of crashing the compile.

  • #3795 97ab05e Thanks @DylanPiercey! - Replace Babel's "invalid left-hand side in function parameter list" parse error for invalid tag variables with a message that names the tag variable and links its docs.

  • #3773 eb25d4c Thanks @DylanPiercey! - Fix getTagDefForTagName tracking seen tags by name while checking by definition, which re-ran the watch file check on every call and pushed duplicate watch file entries.

  • #3848 05f3a1a Thanks @DylanPiercey! - The taglib finder cache is now keyed per translator, so a process compiling with both the Marko 5 and Marko 6 translators (e.g. a language server over a mixed workspace) no longer lets whichever translator runs first freeze tag discovery for the other.

  • #3849 798521c Thanks @DylanPiercey! - taglib.register() now takes effect for translators that have already compiled; previously the per-translator taglib list was memoized forever and even the documented taglib.clearCaches() did not reset it.