svelte@5.42.0
sveltejs/sveltesvelte@5.42.0Oct 25, 2025by github-actions[bot]
AI Summary
This release introduces an experimental `fork` API for managing component state, alongside improvements to context handling and error reporting.
Key Highlights
- Experimental `fork` API
- Always allow `setContext` before first await in component
- Less confusing names for inspect errors
New Features
- Experimental `fork` API
Full Release Notes
### Minor Changes - feat: experimental `fork` API ([#17004](https://github.com/sveltejs/svelte/pull/17004)) ### Patch Changes - fix: always allow `setContext` before first await in component ([#17031](https://github.com/sveltejs/svelte/pull/17031)) - fix: less confusing names for inspect errors ([#17026](https://github.com/sveltejs/svelte/pull/17026))