Update dependency svelte to v3.48.0 - abandoned - autoclosed #880
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.24.0
->3.48.0
Release Notes
sveltejs/svelte
v3.48.0
Compare Source
createEventDispatcher
(#4623){@​const}
tag in{#if}
blocks #7241setContext
#7427{#each}
blocks when usinganimate:
(#3999)|local
transitions in{#key}
blocks (#5950){@​html}
(#7002, #7450){@​const}
tag not working inside a component when there's nolet:
#7189<pre>
and<textarea>
(#7264)textContent
for<template>
elements (#7297)let:
bindings not updating in certain cases (#7440)<svelte:element>
(#7449)<svelte:element>
(#7478)[open]
selectors on<dialog>
elements (#7495)v3.47.0
Compare Source
<svelte:element>
(#2324){@​const}
(#7222){#key}
block not being reactive when the key variable is not otherwise used (#7408)Symbol
as a known global (#7418)v3.46.6
Compare Source
v3.46.5
Compare Source
unused-export-let
warning inside<script context="module">
blocks (#7055)aria-description
to the list of allowed ARIA attributes (#7301).innerHTML
optimization from being used whenstyle:
directive is present (#7386)v3.46.4
Compare Source
maximum call stack size exceeded
errors on large components (#4694)preserveWhitespace: true
(#4731)<pre>
tags (#6437)style:
directives on inline components (#7177)FormData
as a known global (#7199)css
/instance
/module
AST properties as optional in types (#7204)v3.46.3
Compare Source
{#each}
blocks when containing elements withanimate:
(#5477)context="instance"
collides with import incontext="module"
(#7090){@​const}
contains arrow functions (#7134)v3.46.2
Compare Source
FlipParams
interface fromsvelte/animate
(#7103)style:
directive reactivity inside{#each}
block (#7136)v3.46.1
Compare Source
style:kebab-case
directives (#7122)style:
directives (#7127)v3.46.0
Compare Source
{@​const}
tag (RFC #33, #6413)style:
directive (RFC #42, #5923){@​html}
(#7115)v3.45.0
Compare Source
{#each}
/etc. destructurings not being considered references for the purposes of compiler warnings (#6964){:else if}
value incorrectly being cached (#7043)a11y-no-redundant-roles
warning (#7067)v3.44.3
Compare Source
bind:this
binding insideonMount
for manually instantiated component (#6760)type="text"
-like<input>
s (#6941)async
loops fromloopGuardTimeout
(#6945)v3.44.2
Compare Source
URLSearchParams
as a known global (#6938)types
field toexports
map (#6939)v3.44.1
Compare Source
return
statement contains comments (code-red#36)for
/if
/while
statements have empty bodies (#6884)v3.44.0
Compare Source
enableSourcemap
compiler option (#6835)v3.43.2
Compare Source
import
s were not rewritten according to thesveltePath
option (#6834)v3.43.1
Compare Source
{#await}
during SSR from appearing as an unhandled rejection (#6789)v3.43.0
Compare Source
context
passed to component constructor, even when running synchronously in another component (#6753)v3.42.6
Compare Source
{:else if}
expression not being properly re-run (#6727)v3.42.5
Compare Source
draw
transition, account forstroke-linecap
in determining length (#4540)v3.42.4
Compare Source
src
attribute handling when in anhtml
namespace (#6575)document
in<iframe>
s (#6637)<select>
with a{...spread}
attribute that didn't provide avalue
key getting its value improperly unset (#6675)v3.42.3
Compare Source
BigInt
as a known global (#6671)onDestroy
insvelte/ssr
was improperly a no-op (#6676)v3.42.2
Compare Source
class
andstyle
attributes (#6004)<option>
s in a<select>
where the boundvalue
doesn't match any of them (#6126)HTMLElement
andSVGElement
as known globals (#6643)flip
animations (#6657)v3.42.1
Compare Source
{#each}
blocks when compiling with hydration enabled (#6561)v3.42.0
Compare Source
use:actions
to be used on<svelte:body>
(#3163)context="module"
variables not being reactive (#6606)v3.41.0
Compare Source
export { ... } from
syntax in components (#2214)export let { ... } =
syntax in components (#5612){#await ... then/catch}
without a variable for the resolved/rejected value (#6270)v3.40.3
Compare Source
<slot>
data when a transition is cancelled before completing (#5394)$
so that they result in store updates (#5653)in:
transition configuration not properly updating when it's changed after its initial creation (#6505):global()
for>
selector combinator (#6550)v3.40.2
Compare Source
autofocus={...}
attribute handling (#4995):global()
selectors (#6550)v3.40.1
Compare Source
v3.40.0
Compare Source
:root
selector being erroneously scoped to component (#4767).end
in AST for expressions inside attributes (#6258)<select>
binding when it has a spread attribute (#6433)v3.39.0
Compare Source
bind:group
in SSR (#4621)a11y-mouse-events-have-key-events
which checks thatmouseover
/mouseout
are accompanied byfocus
/blur
event handlers (#5938)|trusted
event modifier (#6137)varsReport
compiler option to include all variables reference in the component in thevariables
report (#6192)errorMode
compiler option to try to continue compiling when an error is detected (#6194)svelte/ssr
which exports lifecycle methods as no-ops (#6416)getAllContexts
(#6447)export default function() {}
andexport default class {}
rather than crashing the compiler (#3275)input
values (#4551)preserveComments
in SSR mode (#4730)context="module"
variables are not the only dependencies in reactive statements (#5954)a11y-media-has-caption
a11y warning on<audio>
elements (#6054)derived
function signature (#6178):where()
inside:global()
(#6434){#each}
(#6444)a11y-no-onchange warning
(#6457):global()
with pseudo element not being seen as global (#6468):global()
to contain multiple selectors when it is not part of a larger selector (#6477)<script>
and<style>
end tag parsing more robust (#6511)v3.38.3
Compare Source
:global()
contains multiple selectors (#5907){}
is empty (#6086)<textarea>
end tag parsing more robust (#6276):global(...):some-pseudoclass
selectors not being seen as global (#6306)writable
andreadable
so it's possible to call them without arguments (#6291, #6345)this
in bubbled events (#6310)SvelteComponentTyped
(#6400)v3.38.2
Compare Source
v3.38.1
Compare Source
v3.38.0
Compare Source
:global()
as part of compound CSS selectors (#6222)<slot>
contents when there's an aborted transition (#3542)derived
to allow explicitly setting an initial value for non-async derived stores (#6172)href
values erroneously triggering a11y warnings (#5990){#await}
block (#6173)script
/style
preprocessors (#6169)crossfade
types to markfallback
as optional (#6201)SvelteComponent
constructor options (#6236)svg
namespace when inforeign
namespace (#6257)v3.37.0
Compare Source
v3.36.0
Compare Source
this: void
typing to store functions (#6094)Spring
,Tweened
andEasingFunction
interfaces (#6070, #6056)svelte/preprocess
types location (#6100)v3.35.0
Compare Source
<svelte:fragment slot="...">
(#1037, #2079)slot="..."
is specified after attributes that should be reactive (#5626)v3.34.0
Compare Source
cssHash
option for controlling the classname used for CSS scoping (#570)v3.33.0
Compare Source
onMount
functions when connecting and clean up when disconnecting (#1152, #2227, #4522)contextual-store
warnings for function parameters or declared variables (#6008)v3.32.3
Compare Source
:host
selectors (#5982)v3.32.2
Compare Source
<Component bind:prop={obj.foo}/>
(#3075, #4447, #5555):global()
and~
sibling combinators (#5499):host
selectors as unused when compiling to a custom element (#5946)v3.32.1
Compare Source
module
variables reactively, and close weird reactivity loophole (#5847)class:
directives with an empty class name (#5858)class:
directives whose expression is not dynamic (#5919)SvelteComponentDev
typings more forgiving (#5937)foreign
elements incorrectly disallowingbind:this
(#5942)v3.32.0
Compare Source
foreign
namespace, which disables certain HTML5-specific behaviour and checks (#5652)v3.31.2
Compare Source
{#await}
blocks and out transitions (#5815)v3.31.1
Compare Source
<iframe>
havez-index: -1
(#5448)className
orhtmlFor
attributes (#5777)bind:group
in keyed{#each}
where the array can be reordered (#5779)bind:group
in nested{#each}
contexts (#5811)use:obj.some.deep.function
as actions (#5844)v3.31.0
Compare Source
SvelteComponentTyped
interface for typed components (#5738)v3.30.1
Compare Source
source-map
library'sSourceMapGenerator
(#5722)hasContext
(#5726)v3.30.0
Compare Source
SvelteComponent
interface (#5431)<slot>
props (#5456)undefined
(#5538){#if}
inside{#key}
(#5680)hasContext
lifecycle function (#5690)walk
types insvelte/compiler
(#5696)v3.29.7
Compare Source
./register
in exports map (#5670)v3.29.6
Compare Source
./package.json
in export map (#5659)v3.29.5
Compare Source
$$props
and$$restProps
when compiling to a custom element (#5482)package.json
(#5556)<slot>
props that use contextual values (#5565){:else}
blocks (#5573)Element
andNode
to known globals (#5586)$$slots
when compiling to custom elements (#5594)import
s so that we're exposing a valid ES module (#5617)v3.29.4
Compare Source
??
alongside logical operators (#5558)v3.29.3
Compare Source
v3.29.2
Compare Source
v3.29.1
Compare Source
<slot slot="...">
(#5475)get
function insvelte/store
(#5483)end
field on ASTs for non-top-level<style>
elements (#5487){#if}
inside{#await}
with destructuring (#5508)v3.29.0
Compare Source
<slot slot="...">
(#2079)get
function insvelte/store
(#5269)EventSource
to known globals (#5463)~
/+
combinators and{...spread}
attributes (#5465)v3.28.0
Compare Source
{#key}
block for keying arbitrary content on an expression (#1469)v3.27.0
Compare Source
|nonpassive
event modifier, explicitly passingpassive: false
(#2068)~
and+
combinators (#3104){#each}
not reacting to key changing (#5444)missing-declaration
warning withuse:obj.method
(#5451)v3.26.0
Compare Source
use:obj.method
as actions (#3935)_
as numeric separator (#5407)[open]
selectors on<details>
elements (#5421)import.meta
in template expressions (#5422)v3.25.1
Compare Source
*
(#5370){#await}
s with no{:catch}
getting stuck unresolved if the promise rejects (#5401)v3.25.0
Compare Source
null
rather thanundefined
for coerced bound value of<input type="number">
(#1701)$$slots
(#2106){#await}
block with no{:catch}
gets a rejection (#5129)createEventDispatcher
(#5211)unused-css-selector
warning (#5252)<Namespaced.Component/>
s in child{#await}
/{#each}
contexts (#5255)<svelte:component>
in{:catch}
(#5259)<input>
value
toundefined
when it has spread attributes (#5270){#each}
involving a store (#5286).innerHTML
(#5315)$$props
in slot fallback content (#5367)v3.24.1
Compare Source
$$props
to a<slot>
(#3364){#each}
{:else}
(#4970)$$props
and$$restProps
(#4993, #5118)a11y-label-has-associated-control
warning (#5074)a11y-media-has-caption
warning (#5075)bind:group
when using contextual reference (#5174)Configuration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.