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

8 hours ago

Patch Changes

  • #3459 cd63fa1 Thanks @DylanPiercey! - Support serializing BigInt64Array and BigUint64Array for resumption. These views previously aborted with Unable to serialize because instance dispatch and the internal TypedArray type only covered number-backed arrays. They now round-trip, emitting bigint element literals with the n suffix and using the compact length form for zero-filled views.

  • #3458 383f47d Thanks @DylanPiercey! - Fix duplicate header fields (notably multiple Set-Cookie) being lost when a Headers, Request, or Response is serialized for resumption. Headers were emitted as an object literal, collapsing repeated names to the last value; a repeated name now serializes as the tuple Headers form (new Headers([[name, value], ...])) so non-combinable fields round-trip.

  • #3460 9347a7e Thanks @DylanPiercey! - Stop silently dropping File/Blob entries when serializing a FormData for resumption. Previously only string entries were kept, so a resumed form reconstructed a FormData missing its file entries with no error. Since these values are not yet serializable, they now fail like any other unsupported value (a clear error in development, and the whole value is skipped in production) instead of shipping incomplete state.

  • #3454 c18a6a7 Thanks @DylanPiercey! - Fix a ${...} interpolation in a nested selector's prelude after a pseudo-class colon (e.g. <style>.foo { &:hover ${x} { … } }</style>) silently compiling to an invalid var(--…) in selector position. The pseudo-class colon was mistaken for a declaration-value colon, suppressing the intended error; such interpolations now correctly report that a <style> interpolation only resolves in a declaration value.

Don't miss a new marko release

NewReleases is sending notifications on new releases.