Bump svelte from 3.55.1 to 3.57.0
Bumps svelte from 3.55.1 to 3.57.0.
Changelog
Sourced from svelte's changelog.
3.57.0
- Add
<svelte:document>
(#3310)- Add a11y
no-noninteractive-element-to-interactive-role
(#8167)- Stop intro transition from triggering incorrectly (#6152, #6812)
- Support computed and literal properties when destructuring objects in the template (#6609)
- Give
style:
directive precedence overstyle=
attribute (#7475)- Select
<option>
withselected
attribute when initial state isundefined
(#8361)- Prevent derived store callbacks after store is unsubscribed from (#8364)
- Account for
bind:group
members being spread across multiple control flow blocks (#8372)- Revert buggy reactive statement optimization (#8374)
3.56.0
- Add
|stopImmediatePropagation
event modifier (#5085)- Add
axis
parameter toslide
transition (#6182)- Add
readonly
utility to convertwritable
store to readonly (#6518)- Add
readyState
binding for media elements (#6666)- Generate valid automatic component names when the filename contains only special characters (#7143)
- Add
naturalWidth
andnaturalHeight
bindings (#7771)- Support
<!-- svelte-ignore ... -->
on components (#8082)- Add a11y warnings:
- Add
data-sveltekit-replacestate
anddata-sveltekit-keepfocus
attribute typings (#8281)- Compute node dimensions immediately before crossfading (#4111)
- Fix potential infinite invalidate loop with
<svelte:component>
(#4129)- Ensure
bind:offsetHeight
updates initially (#4233)- Don't set selected options if value is unbound or not passed (#5644)
- Validate component
:global()
selectors (#6272)- Improve warnings:
- Check value equality for
<input type="search">
and<input type="url">
(#7027)- Do not select a disabled
<option>
by default when the initial bound value is undefined (#7041)- Handle
{@html}
tags inside\<template>
tags (#7364)- Ensure
afterUpdate
is not called afteronDestroy
(#7476)- Improve handling of
inert
attribute (#7500)- Reduce use of template literals in SSR output for better performance (#7539)
- Ensure
<input>
value persists when swapping elements with spread attributes in an{#each}
block (#7578)- Simplify generated code for reactive statements if dependencies are all static (#7942)
- Fix race condition on
<svelte:element>
with transitions (#7948)- Allow assigning to a property of a
const
when destructuring (#7964)- Match browser behavior for decoding malformed HTML entities (#8026)
- Ensure
trusted-types
CSP compatibility for Web Components (#8134)- Optimise
<svelte:element>
output code for static tag and static attribute (#8161)- Don't throw when calling unsubscribing from a store twice (#8186)
... (truncated)
Commits
-
952f8c5
-> v3.57.0 -
10399d2
chore: update changelog -
68e492e
fix: revert buggy reactive vars optimization (#8382) -
a1e8421
fix: object destructuring picks up computed properties (#8386) -
4b0b471
feat: add back\<svelte:document>
(#7149) -
c19d088
chore: rename variable to follow coding style (#8385) -
6aee49b
feat: css units in fly & blur transitions (#7623) -
8015a36
chore: update changelog -
fb5f281
fix: Prevent intro from cancelling outro (#7300) -
7578af3
fix: retain style directive value after style attribute is updated (#7610) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts