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

3 hours ago

Patch Changes

  • #4460 076fd9a Thanks @DylanPiercey! - Reject a rest parameter on <await>, which only takes its resolved value.

  • #4460 076fd9a Thanks @DylanPiercey! - Word core tag attribute, body and tag variable errors the same way.

  • #4469 825188a Thanks @DylanPiercey! - A <define> whose body renders its own template no longer throws "Cannot access '$walks' before initialization" when the module loads. A <define> that renders itself, or its template, outside a branch is now a compile error instead of a module that throws or a compiler stack overflow.

  • #4458 dfef2b8 Thanks @DylanPiercey! - Report a <for> whose by returns NaN as an invalid key in dev builds.

  • #4464 2e4cdb6 Thanks @DylanPiercey! - Fix client code that read a property of a property of a <for> loop key through an alias, such as ${k.constructor.name} after <const/k=key/>: it read a scope value that does not exist and threw.

  • #4447 f59b77c Thanks @DylanPiercey! - Render server loop rows and <try> bodies with fewer allocations.

  • #4464 2e4cdb6 Thanks @DylanPiercey! - Link the <script> tag's editor autocomplete to its current docs page.

  • #4466 d3439e9 Thanks @DylanPiercey! - Write the server's deferred and queued serializer calls through one emitter with fewer allocations, and drop needless bytes from the payload: new Set/new Map for a collection whose members all defer, and no parentheses around a queued call's object unless its write assigns it.

  • Updated dependencies [c4b375a]:

    • @marko/compiler@5.42.12

Don't miss a new marko release

NewReleases is sending notifications on new releases.