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

12 hours ago

Patch Changes

  • #3399 0b2c95e Thanks @DylanPiercey! - Bridge a Class parent's declarative on-x(...) event bindings on a Tags API child so they fire, including across SSR resume and split (component-browser) parents.

  • #3408 c889a27 Thanks @DylanPiercey! - Make a server render's toReadable() lazy (it renders on first read, not on creation) and flush pipe() after each chunk so it streams through buffering transforms like compression.

  • #3412 30dddc6 Thanks @DylanPiercey! - Fix the text-only <if> optimization importing the output-specific _to_text helper during the cached pre-analyze phase, which could leak the server (HTML) runtime — including the serializer — into the client bundle. Runtime helper imports are now restricted to the translate phase.

  • #3411 f9c24de Thanks @DylanPiercey! - Faster server-side serialization: fast-path scope references and plain-object/array dispatch, and scan object keys by char code. Output is unchanged.

  • #3409 e917c2d Thanks @DylanPiercey! - Custom tag variables whose child scope is never serialized now emit a plain, tree-shakeable signal instead of an impure _var_resume registration, shrinking client bundles.

Don't miss a new marko release

NewReleases is sending notifications on new releases.