Skip to content

marko@6.5.5

Latest

Choose a tag to compare

Patch Changes

  • #4804 46e1580 Thanks @DylanPiercey! - Name the runtime helpers only debug output calls _debug_…, so the debug runtime builds from the same entries as the optimized one.

  • #4800 f546c97 Thanks @DylanPiercey! - Trim the client runtime: the scheduler runs its microtask flush and its trailing flush through one function.

  • #4805 8e442fb Thanks @DylanPiercey! - A value that a function reads from its scope slot later, such as a change handler an assignment calls, now renders its current value where its own signal renders it, rather than undefined.

  • #4803 eea62fd Thanks @DylanPiercey! - Render an <await> body once when its promise is replaced while pending: a superseded promise that settles before the flush replacing it no longer renders the body with its value, runs the body's effects twice, or renders @catch in place of the value that replaced it.

  • #4805 8e442fb Thanks @DylanPiercey! - Fix a tag variable read by a function in its own tag's input, such as <let/a={ v: b, self: () => a }/>. The value no longer depends on itself, so the client no longer throws Cannot access … before initialization or leaves the value unset. Reading the variable outside a function in its own tag's name, arguments, spread attributes or attribute tags is now a compile error, as it already was in an attribute.

  • Updated dependencies [956bb61]:

    • @marko/compiler@5.44.1