Svelte 5.60.0
Svelte 5.60.0 shipped on December 2, 2026 with one minor feature and a long tail of patch fixes. No breaking changes, no migration guide, no drama. Here is the rundown in release-note rhythm.
🎯 Renderer Round
bind:thisnow works inside custom renderers. That is the single minor change in the release, and it closes a gap that made custom renderers feel like a second-class target.- Function-valued spread attributes survive the custom renderer path instead of being flattened.
checked,selected,value,defaultCheckedanddefaultValueare passed through to custom renderers as-is, so controlled inputs stop drifting from their DOM equivalents.- Fewer browser globals leak into renderer accessible code, which matters on the server and in non-DOM targets.
mountno longer requires arendereroption whenstrictNullChecksis disabled.- An invalid CSS class name returned from
cssHashnow throws instead of silently producing broken markup.
⚡ Performance Push
Two changes here are worth calling out because they affect real apps rather than exotic setups. Diamond-shaped dependency graphs are now handled properly when checking deriveds for dirtiness, which removes a class of redundant recomputation in deeply nested reactive code. And deriveds read outside an effect no longer re-run exponentially while another batch is pending, a fix that mostly shows up as mysterious CPU burn in large component trees.
On the bundle side, unused async features are tree-shaken, and async-only code is stripped from apps that do not enable experimental.async. Projects that never touched async just got smaller output for free.
🐛 Bug Bashes
- FLIP animation sizes are captured before a sibling leaves flex flow, and zero-size measurements no longer produce NaN animation durations.
$effect.pending()stays synchronized with resolved content commits.- Hydration continues after a boundary catches an error from a mismatched block, instead of giving up on the rest of the page.
- A thenable's
thengetter is tracked on everyawaitin an expression, not just the first one. - Obsolete global derived dependencies are pruned while other batches still hold records.
- CSS attribute selector values containing double quotes print correctly again.
- The delegated event's current target is released after propagation, which fixes leaked references in long-lived lists.
- Hot updates keep working on a child component after its parent is hot-updated.
🔍 Diagnostics That Got Better
Bundlers that remove DOM initialization side effects now produce a useful error instead of a blank application, which should save a lot of head scratching for people fighting aggressive tree shaking. Dynamic SVG elements created without the SVG namespace raise a warning. And state_referenced_locally now warns inside template declaration tags, a place where the old compiler stayed quiet.
⬆️ Upgrade Rhythm
Install with npm install [email protected] or your package manager's equivalent. There are no breaking changes, so a normal test run is enough. If you maintain a custom renderer, this release is the one to actually read, since five of the fixes land squarely in that surface.