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

4 hours ago

Patch Changes

  • #4416 e8199de Thanks @HenriqueLimas! - Type autocorrect as a global HTML attribute so <input>, <form> and contenteditable elements accept it, not only <textarea>.

  • #4417 a4d036e Thanks @DylanPiercey! - Fix a stale value when one update changes a lazy tag's variable, returned from a tag nested in it, and another value read with it: the expression reading both now shows the latest of each, rendering once.

  • #4411 0e8dee0 Thanks @DylanPiercey! - Resume content that streams into an <await> within a branch of a reordered <try> body, such as one under an <if>, inside that branch instead of the <try>'s, so removing the branch also stops its effects.

  • #4419 37c47bf Thanks @DylanPiercey! - Fix a dynamic tag's variable not updating after resume when the child's own scope had nothing else to send, such as a child whose <return> reads a <let> it never renders: the child's <return> now reaches the parent's variable.

  • #4414 4dbdf99 Thanks @DylanPiercey! - Fix a crash after resume when a dynamic tag or a native tag's content switches between content an attribute tag <for> created, such as tabs. The switch now updates the content in place, as it already did in a client render.

  • #4418 55fe102 Thanks @DylanPiercey! - Report a compile error for a tag variable on a Marko 5 (class API) tag, which cannot <return> a value: the server rendered its readers with undefined while the browser never rendered them.

  • #4415 b4ef4ec Thanks @DylanPiercey! - Fix stale values when one update changes a tag variable and another value read with it. A dynamic tag's child, a child nested inside it, a remounted child, and a <const> derived from a child's variable now update every expression that reads them in the same update, rendering each once. Also fix <for> rows that kept a stale value after a row was prepended, and a <for> row reading a value derived from a tag variable outside the loop dropping its own update in production builds.

Don't miss a new marko release

NewReleases is sending notifications on new releases.