svelte v3.51.0 Release Notes
-
- โ Add a11y warnings:
- Warn when two-way binding to
{...rest}
object in{#each}
block (#6860) - ๐ Support
--style-props
on<svelte:component>
(#7461) - ๐ Supports nullish values for component event handlers (#7568)
- ๐ Supports SVG elements with
<svelte:element>
(#7613) - Treat
inert
as boolean attribute (#7785) - ๐ Support
--style-props
for SVG components (#7808) - ๐ Fix false positive dev warnings about unset props when they are bound (#4457)
- ๐ Fix hydration with
{@html}
and components in<svelte:head>
(#4533, #6463, #7444) - ๐ Support scoped style for
<svelte:element>
(#7443) - ๐ Improve error message for invalid value for
<svelte:component this={...}>
(#7550) - ๐ Improve error message when using logic blocks or tags at invalid location (#7552)
- Warn instead of throwing error if
<svelte:element>
is a void tag (#7566) - ๐ Supports custom elements in
<svelte:element>
(#7733) - ๐ Fix calling component unmount if a component is mounted and then immediately unmounted (#7817)
- โ Do not generate
a11y-role-has-required-aria-props
warning when elements match their semantic role (#7837) - ๐ Improve performance of custom element data setting in
<svelte:element>
(#7869)