Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/empty-text-resume.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/show-if-attr-error.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/runtime-tags/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @marko/runtime-tags

## 6.3.47

### Patch Changes

- [#4071](https://github.com/marko-js/marko/pull/4071) [`1080f81`](https://github.com/marko-js/marko/commit/1080f81799b576c04abb252979a9dd4935981d5b) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Fix resume claiming the wrong DOM node for a placeholder that renders empty on the server (eg `<div/>${value}` where `value` starts empty and is assigned later). Placeholders now serialize a single `_text_resume`/`_html_resume` call which writes an `EmptyText` resume marker when the rendered text is empty, letting resume create the text node instead of guessing a neighbor.

Fix resume of an unescaped placeholder (`$!{value}`) whose markup parses to multiple top-level nodes: the server now brackets the markup with range markers so resume reconstructs the full range (including its last-child accessor), instead of claiming only the final node and orphaning the rest on the first client update.

This also removes the `<!>` separator comments previously written for empty positions and shrinks both the SSR output and the client resume runtime.

- [#4068](https://github.com/marko-js/marko/pull/4068) [`a0d1bc1`](https://github.com/marko-js/marko/commit/a0d1bc1e215b14e30a91e1381e3b75333b0f2849) Thanks [@LuLaValva](https://github.com/LuLaValva)! - Improve the `<show>` missing-`value=` error when the condition was written as another attribute: `<show if=cond>` now suggests `<show=condition>` and points the code frame at the offending attribute.

## 6.3.46

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime-tags/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@marko/runtime-tags",
"version": "6.3.46",
"version": "6.3.47",
"description": "Optimized runtime for Marko templates.",
"keywords": [
"api",
Expand Down