Svelte (javascript)

sveltejs/svelte last check 380 releases today
Notes
no notes yet
Release notes
view on github
5.60.0 · today

Minor Changes

  • feat: allow bind:this in custom renderers (#19467)

Patch Changes

  • fix: remove more browser globals access in custom renderers accessible code (#19458)

  • fix: preserve function-valued spread attributes with custom renderers (#19433)

  • fix: make svelte/internal/init-operations a noop on the server (#19449)

  • fix: pass checked, selected, value, defaultChecked and defaultValue to custom renderers as-is (#19437)

  • chore: tree-shake unused async features (#19453)

  • fix: capture FLIP sizes before any sibling leaves flex flow (#18267)

  • fix: report a useful error when bundlers remove DOM initialization side effects (#19492)

  • perf: handle diamond-shaped graphs when checking deriveds for dirtyness (#19311)

  • fix: don't require a renderer in mount options when strictNullChecks is disabled (#19473)

  • fix: synchronize $effect.pending() with resolved content commits (#19497)

  • fix: keep hydrating after a boundary catches an error from a mismatched block (#19021)

  • fix: don't re-run deriveds read outside an effect exponentially while another batch is pending (#19368)

  • perf: tree-shake async-only code out of apps that don't use experimental.async (#19422)

  • fix: correctly print CSS attribute selector values that contain double quotes (#19505)

  • fix: release the delegated event's current target after propagation (#19504)

  • fix: warn on state_referenced_locally inside template declaration tags (#19477)

  • fix: throw when cssHash returns an invalid CSS class name (#19470)

  • fix: track a thenable's then getter on every await in an expression, not only the first (#19513)

  • fix: prune obsolete global derived dependencies while other batches hold records (#19461)

  • fix: skip NaN animation durations from zero-size FLIP measurements (#19512)

  • fix: keep hot-updating a child component after its parent is hot-updated (#19479)

  • fix: warn when dynamic SVG elements are created without the SVG namespace (#19510)