All Versions
442
Latest Version
Avg Release Cycle
6 days
Latest Release
53 days ago

Changelog History
Page 7

  • v3.51.0 Changes

    • โž• 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)
  • v3.50.1 Changes

    • โž• Add all global objects and functions as known globals (#3805, #7223)
    • ๐Ÿ›  Fix regression with style manager (#7828)
  • v3.50.0 Changes

    • โž• Add a11y warnings:
      • a11y-incorrect-aria-attribute-type: check ARIA state and property values (#6978)
      • a11y-no-abstract-role: check that ARIA roles are non-abstract (#6241)
      • a11y-no-interactive-element-to-noninteractive-role: check for non-interactive roles used on interactive elements (#5955)
      • a11y-role-has-required-aria-props: check that elements with role attribute have all required attributes for that role (#5852)
    • โž• Add ComponentEvents convenience type (#7702)
    • โž• Add SveltePreprocessor utility type (#7742)
    • โœจ Enhance action typings (#7805)
    • โœ‚ Remove empty stylesheets created from transitions (#4801, #7164)
    • โš  Make a11y-label-has-associated-control warning check all descendants for input control (#5528)
    • โš  Only show lowercase component name warnings for non-HTML/SVG elements (#5712)
    • Disallow invalid CSS selectors starting with a combinator (#7643)
    • ๐Ÿ’ป Use Node.parentNode instead of Node.parentElement for legacy browser support (#7723)
    • ๐Ÿ– Handle arrow function on <slot> inside <svelte:fragment> (#7485)
    • ๐Ÿ‘Œ Improve parsing speed when encountering large blocks of whitespace (#7675)
    • ๐Ÿ›  Fix class: directive updates in aborted/restarted transitions (#7764)
  • v3.49.0 Changes

    • ๐Ÿ‘Œ Improve performance of string escaping during SSR (#5701)
    • โž• Add ComponentType and ComponentProps convenience types (#6770)
    • โž• Add support for CSS @layer (#7504)
    • Export CompileOptions from svelte/compiler (#7658)
    • ๐Ÿ›  Fix DOM-less components not being properly destroyed (#7488)
    • ๐Ÿ›  Fix class: directive updates with <svelte:element> (#7521, #7571)
    • Harden attribute escaping during SSR (#7530)
  • v3.48.0 Changes

    • ๐Ÿ‘ Allow creating cancelable custom events with createEventDispatcher (#4623)
    • ๐Ÿ‘Œ Support {@const} tag in {#if} blocks #7241
    • Return the context object in setContext #7427
    • ๐Ÿ‘ Allow comments inside {#each} blocks when using animate: (#3999)
    • ๐Ÿ›  Fix |local transitions in {#key} blocks (#5950)
    • ๐Ÿ‘Œ Support svg namespace for {@html} (#7002, #7450)
    • ๐Ÿ›  Fix {@const} tag not working inside a component when there's no let: #7189
    • โœ‚ Remove extraneous leading newline inside <pre> and <textarea> (#7264)
    • ๐Ÿ›  Fix erroneous setting of textContent for <template> elements (#7297)
    • ๐Ÿ›  Fix value of let: bindings not updating in certain cases (#7440)
    • ๐Ÿ›  Fix handling of void tags in <svelte:element> (#7449)
    • ๐Ÿ›  Fix handling of boolean attributes in <svelte:element> (#7478)
    • โž• Add special style scoping handling of [open] selectors on <dialog> elements (#7495)
  • v3.47.0 Changes

    • โž• Add support for dynamic elements through <svelte:element> (#2324)
    • ๐Ÿ›  Miscellaneous variable context fixes in {@const} (#7222)
    • ๐Ÿ›  Fix {#key} block not being reactive when the key variable is not otherwise used (#7408)
    • โž• Add Symbol as a known global (#7418)
  • v3.46.6 Changes

    • ๐Ÿ“ฆ Actually include action TypeScript interface in published package (#7407)
  • v3.46.5 Changes

    • โž• Add TypeScript interfaces for typing actions (#6538)
    • โš  Do not generate unused-export-let warning inside <script context="module"> blocks (#7055)
    • Do not collapse whitespace-only CSS vars (#7152)
    • โž• Add aria-description to the list of allowed ARIA attributes (#7301)
    • ๐Ÿ›  Fix attribute escaping during SSR (#7327)
    • ๐Ÿ’… Prevent .innerHTML optimization from being used when style: directive is present (#7386)
  • v3.46.4 Changes

    • Avoid maximum call stack size exceeded errors on large components (#4694)
    • Preserve leading space with preserveWhitespace: true (#4731)
    • Preserve leading space in <pre> tags (#6437)
    • ๐Ÿ‘Œ Improve error message when trying to use style: directives on inline components (#7177)
    • โž• Add FormData as a known global (#7199)
    • Mark css/instance/module AST properties as optional in types (#7204)
  • v3.46.3 Changes

    • Ignore whitespace in {#each} blocks when containing elements with animate: (#5477)
    • Throw compiler error when variable in context="instance" collides with import in context="module" (#7090)
    • ๐Ÿ›  Fix compiler crash when {@const} contains arrow functions (#7134)