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

latest release: @marko/runtime-tags@6.3.13
9 hours ago

Patch Changes

  • #3448 860b235 Thanks @DylanPiercey! - Fix the development-only checkedValue/checked mutual-exclusivity assertion missing the conflict when a spread supplies a falsy controllable value (e.g. checkedValue={0} or checked={false}). Presence is now tested with in instead of truthiness, matching how the runtime detects these attributes elsewhere.

  • #3445 b3752c9 Thanks @DylanPiercey! - Fix a resumable <html-comment> whose body serializes empty (e.g. <html-comment>${value}</html-comment> with an empty value) resuming as a stray text node instead of the comment. On the client an empty comment is indistinguishable from a separator marker, so a later update rendered as visible text rather than into the comment. Such a comment is now padded with a space during SSR so its resume marker claims the comment node.

  • #3447 22c9e59 Thanks @DylanPiercey! - Replace the opaque Cannot destructure property 'local' of undefined crash with a clear compile-time diagnostic when a load import has no default specifier (e.g. import "./foo.marko" with { load: "render" } with nothing bound).

  • #3444 f6312a0 Thanks @DylanPiercey! - Update non-editable input values when their rendered value changes.

Don't miss a new marko release

NewReleases is sending notifications on new releases.