Continuous Releases from main
fix: merge consecutive text nodes during hydration for large text content (#17587)
* fix: merge consecutive text nodes during hydration for large text content
Fixes #17582
Browsers automatically split text nodes exceeding 65536 characters into
multiple consecutive text nodes during HTML parsing. This causes hydration
mismatches when Svelte expects a single text node.
The fix merges consecutive text nodes during hydration by:
- Detecting when the current node is a text node
- Finding all consecutive text node siblings
- Merging their content into the first text node
- Removing the extra text nodes
This restores correct hydration behavior for large text content.
* add test, fix
* fix
* fix
* changeset
---------
Co-authored-by: Miner <miner@example.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>3 days ago8933653
fix: only create async functions in SSR output when necessary (#17593)
* fix: only create async functions in SSR output when necessary
* actually...
* simplify generated code a bit more
* simplify3 days agoebe583f
fix: handle renderer.run rejections (#17591)
* fix: handle renderer run rejections
* add test
* changeset
* simplify
* explanatory comment
---------
Co-authored-by: Antonio Bennett <abennett@mabelslabels.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>3 days ago5656dd5
chore: allow testing in production env 2 (#17590)
* Revert "chore: allow testing in production env (#16840)"
This reverts commit ffd65e90febc29feaca48e142126a4087fcaca9f.
* new approach3 days ago704d0cd
chore: allow testing in production env (#16840)
* allow testing in production env
* oops4 days agoffd65e9
fix: `print()` multiline behaviour (#17319)
* way cleaner new line handling for base_elements
* fix
* more fixes
* use esrap preview
* changeset
* bump `esrap`
* update snapshot
* update more snapshots
* Update .changeset/rich-zoos-walk.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>4 days ago82fde88
Version Packages (#17564)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>4 days ago9d1dd2e