Skip to content

marko@5.27.0

Choose a tag to compare

@github-actions github-actions released this 27 Jun 22:29
· 1915 commits to main since this release

Minor Changes

  • #1980 9d3b34eef Thanks @DylanPiercey! - Allow parse errors to be recovered from by migrations. This adds a new ast node type of MarkoParseError.
    MarkoParseError nodes can be removed during the migration stage to handle legacy syntaxes. Any MarkoParseError
    left in the AST at the end of the migration phase will throw an error similar to what it would have previously
    thrown synchronously.

    This also means that all parse errors can be surfaced as an aggregate error instead of bailing on the first
    parse error. When the compiler is ran with errorRecovery: true these errors become diagnostics instead of
    being thrown.

Patch Changes

  • #1980 20deb5699 Thanks @DylanPiercey! - Fix issue that could happen if DOMContentLoaded was manually invoked multiple times.

  • Updated dependencies [9d3b34eef]:

    • @marko/translator-default@5.27.0
    • @marko/compiler@5.29.0