svelte v3.48.0 Release Notes
-
- ๐ 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 usinganimate:
(#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 nolet:
#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)
- ๐ Allow creating cancelable custom events with