svelte v3.51.0 Release Notes

    • โž• Add a11y warnings:
      • a11y-click-events-have-key-events: check if click event is accompanied by key events (#5073)
      • a11y-no-noninteractive-tabindex: check for tabindex on non-interactive elements (#6693)
    • 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)