chore(deps): update dependency svelte to v5#6190
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
β Deploy Preview for ts-maps failed. Why did it fail? β
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
>=4β>=5.55.5Release Notes
sveltejs/svelte (svelte)
v5.55.5Compare Source
Patch Changes
fix: don't mark deriveds while an effect is updating (#β18124)
fix: do not dispatch introstart event with animation of animate directive (#β18122)
v5.55.4Compare Source
Patch Changes
fix: never mark a child effect root as inert (#β18111)
fix: reset context after waiting on blockers of
@constexpressions (#β18100)fix: keep flushing new eager effects (#β18102)
v5.55.3Compare Source
Patch Changes
fix: ensure proper HMR updates for dynamic components (#β18079)
fix: correctly calculate
@constblockers (#β18039)fix: freeze deriveds once their containing effects are destroyed (#β17921)
fix: defer error boundary rendering in forks (#β18076)
fix: avoid false positives for reactivity loss warning (#β18088)
v5.55.2Compare Source
Patch Changes
fix: invalidate
@consttags based on visible references in legacy mode (#β18041)fix: handle parens in template expressions more robustly (#β18075)
fix: disallow
--inidPrefix(#β18038)fix: correct types for
ontoggleon<details>elements (#β18063)fix: don't override
$destroy/set/oninstance methods in dev mode (#β18034)fix: unskip branches of earlier batches after commit (#β18048)
fix: never set derived.v inside fork (#β18037)
fix: skip rebase logic in non-async mode (#β18040)
fix: don't reset status of uninitialized deriveds (#β18054)
v5.55.1Compare Source
Patch Changes
fix: correctly handle bindings on the server (#β18009)
fix: prevent hydration error on async
{@​html ...}(#β17999)fix: cleanup
superTypeParametersinClassDeclarations/ClassExpression(#β18015)fix: improve duplicate module import error message (#β18016)
fix: reschedule new effects in prior batches (#β18021)
v5.55.0Compare Source
Minor Changes
Patch Changes
v5.54.1Compare Source
Patch Changes
fix: hydration comments during hmr (#β17975)
fix: null out
effect.bindestroy_effect(#β17980)fix: group sync statements (#β17977)
fix: defer batch resolution until earlier intersecting batches have committed (#β17162)
fix: properly invoke
iterator.return()during reactivity loss check (#β17966)fix: remove trailing semicolon from {@βconst} tag printer (#β17962)
v5.54.0Compare Source
Minor Changes
css,runes,customElementcompiler options to be functions (#β17951)Patch Changes
v5.53.13Compare Source
Patch Changes
fix: ensure
$inspectafter top level await doesn't break builds (#β17943)fix: resume inert effects when they come from offscreen (#β17942)
fix: don't eagerly access not-yet-initialized functions in template (#β17938)
fix: discard batches made obsolete by commit (#β17934)
fix: ensure "is standalone child" is correctly reset (#β17944)
fix: remove nodes in boundary when work is pending and HMR is active (#β17932)
v5.53.12Compare Source
Patch Changes
fix: update
select.__valueonchange(#β17745)chore: add
invarianthelper for debugging (#β17929)fix: ensure deriveds values are correct across batches (#β17917)
fix: handle async RHS in
assignment_value_stale(#β17925)fix: avoid traversing clean roots (#β17928)
v5.53.11Compare Source
Patch Changes
fix: remove
untrackcircular dependency (#β17910)fix: recover from errors that leave a corrupted effect tree (#β17888)
fix: properly lazily evaluate RHS when checking for
assignment_value_stale(#β17906)fix: resolve boundary in correct batch when hydrating (#β17914)
chore: rebase batches after process, not during (#β17900)
v5.53.10Compare Source
Patch Changes
v5.53.9Compare Source
Patch Changes
bind:thiscleanup timing (#β17885)v5.53.8Compare Source
Patch Changes
fix:
{@​html}no longer duplicates content insidecontenteditableelements (#β17853)fix: don't access inert block effects (#β17882)
fix: handle asnyc updates within pending boundary (#β17873)
perf: avoid re-traversing the effect tree after
$:assignments (#β17848)chore: simplify scheduling logic (#β17805)
v5.53.7Compare Source
Patch Changes
fix: correctly add __svelte_meta after else-if chains (#β17830)
perf: cache element interactivity and source line splitting in compiler (#β17839)
chore: avoid rescheduling effects during branch commit (#β17837)
perf: optimize CSS selector pruning (#β17846)
fix: preserve original boundary errors when keyed each rows are removed during async updates (#β17843)
perf: avoid O(nΒ²) name scanning in scope
generateandunique(#β17844)fix: preserve each items that are needed by pending batches (#β17819)
v5.53.6Compare Source
Patch Changes
perf: optimize parser hot paths for faster compilation (#β17811)
fix:
SvelteMapincorrectly handles keys withundefinedvalues (#β17826)fix: SvelteURL
searchsetter now returns the normalized value, matching native URL behavior (#β17828)fix: visit synthetic value node during ssr (#β17824)
fix: always case insensitive event handlers during ssr (#β17822)
chore: more efficient effect scheduling (#β17808)
perf: optimize compiler analysis phase (#β17823)
fix: skip redundant batch.apply (#β17816)
chore: null out current_batch before committing branches (#β17809)
v5.53.5Compare Source
Patch Changes
fix: escape
innerTextandtextContentbindings ofcontenteditable(0df5abcae223058ceb95491470372065fb87951d)fix: sanitize
transformErrorvalues prior to embedding in HTML comments (0298e979371bb583855c9810db79a70a551d22b9)v5.53.4Compare Source
Patch Changes
fix: set server context after async transformError (#β17799)
fix: hydrate if blocks correctly (#β17784)
fix: handle default parameters scope leaks (#β17788)
fix: prevent flushed effects from running again (#β17787)
v5.53.3Compare Source
Patch Changes
fix: render
:catchof#awaitblock with correct key (#β17769)chore: pin aria-query@β5.3.1 (#β17772)
fix: make string coercion consistent to
toString(#β17774)v5.53.2Compare Source
Patch Changes
fix: update expressions on server deriveds (#β17767)
fix: further obfuscate
node:cryptoimport from overzealous static analysis (#β17763)v5.53.1Compare Source
Patch Changes
v5.53.0Compare Source
Minor Changes
feat: allow comments in tags (#β17671)
feat: allow error boundaries to work on the server (#β17672)
Patch Changes
fix: use TrustedHTML to test for customizable
<select>support, where necessary (#β17743)fix: ensure head effects are kept in the effect tree (#β17746)
chore: deactivate current_batch by default in unset_context (#β17738)
v5.52.0Compare Source
Minor Changes
{@​html}expressions (#β17701)Patch Changes
fix: repair dynamic component truthy/falsy hydration mismatches (#β17737)
fix: re-run non-render-bound deriveds on the server (#β17674)
v5.51.5Compare Source
Patch Changes
fix: check to make sure
svelte:elementtags are valid during SSR (73098bb26c6f06e7fd1b0746d817d2c5ee90755f)fix: misc option escaping and backwards compatibility (#β17741)
fix: strip event handlers during SSR (
a0c7f289156e9fafaeaf5ca14af6c06fe9b9eae5)fix: replace usage of
for inwithfor of Object.keys(f89c7ddd7eebaa1ef3cc540400bec2c9140b330c)fix: always escape option body in SSR (
f7c80da18c215e3727c2a611b0b8744cc6e504c5)chore: upgrade
devalue(#β17739)v5.51.4Compare Source
Patch Changes
chore: proactively defer effects in pending boundary (#β17734)
fix: detect and error on non-idempotent each block keys in dev mode (#β17732)
v5.51.3Compare Source
Patch Changes
fix: prevent event delegation logic conflicting between svelte instances (#β17728)
fix: treat CSS attribute selectors as case-insensitive for HTML enumerated attributes (#β17712)
fix: locate Rollup annontaion friendly to JS downgraders (#β17724)
fix: run effects in pending snippets (#β17719)
v5.51.2Compare Source
Patch Changes
fix: take async into consideration for dev delegated handlers (#β17710)
fix: emit state_referenced_locally warning for non-destructured props (#β17708)
v5.51.1Compare Source
Patch Changes
fix: don't crash on undefined
document.contentType(#β17707)fix: use symbols for encapsulated event delegation (#β17703)
v5.51.0Compare Source
Minor Changes
TrustedTypesfor HTML handling where supported (#β16271)Patch Changes
fix: sanitize template-literal-special-characters in SSR attribute values (#β17692)
fix: follow-up formatting in
print()β flush block-level elements into separate sequences (#β17699)fix: preserve delegated event handlers as long as one or more root components are using them (#β17695)
v5.50.3Compare Source
Patch Changes
fix: take into account
nodeNamecase sensitivity on XHTML pages (#β17689)fix: render
multipleandselectedattributes as empty strings for XHTML compliance (#β17689)fix: always lowercase HTML elements, for XHTML compliance (#β17664)
fix: freeze effects-inside-deriveds when disconnecting, unfreeze on reconnect (#β17682)
fix: propagate
$effecterrors to<svelte:boundary>(#β17684)v5.50.2Compare Source
Patch Changes
fix: resolve
effect_update_depth_exceededwhen usingbind:valueon<select>with derived state in legacy mode (#β17645)fix: don't swallow
DOMExceptionwhenmedia.play()fails inbind:paused(#β17656)chore: provide proper public type for
parseCssresult (#β17654)fix: robustify blocker calculation (#β17676)
fix: reduce if block nesting (#β17662)
v5.50.1Compare Source
Patch Changes
fix: render boolean attribute values as empty strings for XHTML compliance (#β17648)
fix: prevent async render tag hydration mismatches (#β17652)
v5.50.0Compare Source
Minor Changes
Patch Changes
fix: ensure infinite effect loops are cleared after flushing (#β17601)
fix: allow
{#key NaN}(#β17642)fix: detect store in each block expression regardless of AST shape (#β17636)
fix: treat
<menu>like<ul>/<ol>for a11y role checks (#β17638)fix: add vite-ignore comment inside dynamic crypto import (#β17623)
chore: wrap JSDoc URLs in
@seeand@linktags (#β17617)fix: properly hydrate already-resolved async blocks (#β17641)
fix: emit
each_key_duplicateerror in production (#β16724)fix: exit resolved async blocks on correct node when hydrating (#β17640)
v5.49.2Compare Source
Patch Changes
chore: remove SvelteKit data attributes from elements.d.ts (#β17613)
fix: avoid erroneous async derived expressions for blocks (#β17604)
fix: avoid Cloudflare warnings about not having the "node:crypto" module (#β17612)
fix: reschedule effects inside unskipped branches (#β17604)
v5.49.1Compare Source
Patch Changes
fix: merge consecutive large text nodes (#β17587)
fix: only create async functions in SSR output when necessary (#β17593)
fix: properly separate multiline html blocks from each other in
print()(#β17319)fix: prevent unhandled exceptions arising from dangling promises in <script> (#β17591)
v5.49.0Compare Source
Minor Changes
ShadowRootInitobject to custom elementshadowoption (#β17088)Patch Changes
fix: throw for unset
createContextget on the server (#β17580)fix: reset effects inside skipped branches (#β17581)
fix: preserve old dependencies when updating reaction inside fork (#β17579)
fix: more conservative assignment_value_stale warnings (#β17574)
fix: disregard
popoverelements when determining whether an element has content (#β17367)fix: fire introstart/outrostart events after delay, if specified (#β17567)
fix: increment signal versions when discarding forks (#β17577)
v5.48.5Compare Source
Patch Changes
fix: run boundary
onerrorcallbacks in a microtask, in case they result in the boundary's destruction (#β17561)fix: prevent unintended exports from namespaces (#β17562)
fix: each block breaking with effects interspersed among items (#β17550)
v5.48.4Compare Source
Patch Changes
v5.48.3Compare Source
Patch Changes
fix: hydration failing with settled async blocks (#β17539)
fix: add pointer and touch events to a11y_no_static_element_interactions warning (#β17551)
fix: handle false dynamic components in SSR (#β17542)
fix: avoid unnecessary block effect re-runs after async work completes (#β17535)
fix: avoid using dev-mode array.includes wrapper on internal array checks (#β17536)
v5.48.2Compare Source
Patch Changes
waitfunction from internal client index (#β17530)v5.48.1Compare Source
Patch Changes
fix: hoist snippets above const in same block (#β17516)
fix: properly hydrate await in
{@​html}(#β17528)fix: batch resolution of async work (#β17511)
fix: account for empty statements when visiting in transform async (#β17524)
fix: avoid async overhead for already settled promises (#β17461)
fix: better code generation for const tags with async dependencies (#β17518)
v5.48.0Compare Source
Minor Changes
parseCssfromsvelte/compiler(#β17496)Patch Changes
fix: handle non-string values in
svelte:elementthisattribute (#β17499)fix: faster deduplication of dependencies (#β17503)
v5.47.1Compare Source
Patch Changes
selectedcontentreactivity (#β17486)v5.47.0Compare Source
Minor Changes
<select>elements (#β17429)Patch Changes
fix: mark subtree of svelte boundary as dynamic (#β17468)
fix: don't reset static elements with debug/snippets (#β17477)
v5.46.4Compare Source
Patch Changes
devalue.unevalto serializehydratablekeys (ef81048e238844b729942441541d6dcfe6c8ccca)v5.46.3Compare Source
Patch Changes
fix: reconnect clean deriveds when they are read in a reactive context (#β17362)
fix: don't transform references of function declarations in legacy mode (#β17431)
fix: notify deriveds of changes to sources inside forks (#β17437)
fix: always reconnect deriveds in get, when appropriate (#β17451)
fix: prevent derives without dependencies from ever re-running (
286b40c4526ce9970cb81ddd5e65b93b722fe468)fix: correctly update writable deriveds inside forks (#β17437)
fix: remove
$inspectcalls after await expressions when compiling for production server code (#β17407)fix: clear batch between runs (#β17424)
fix: adjust
locproperty ofProgramnodes created from<script>elements (#β17428)fix: don't revert source to UNINITIALIZED state when time travelling (#β17409)
v5.46.1Compare Source
Patch Changes
fix: type
currentTargetinonfunction (#β17370)fix: skip static optimisation for stateless deriveds after
await(#β17389)fix: prevent infinite loop when HMRing a component with an
await(#β17380)v5.46.0Compare Source
Minor Changes
cspoption torender(...), and emit hashes when usinghydratable(#β17338)v5.45.10Compare Source
Patch Changes
AsyncLocalStorage(#β17350)v5.45.9Compare Source
Patch Changes
fix: correctly reschedule deferred effects when reviving a batch after async work (#β17332)
fix: correctly print
!doctypeduringprint(#β17341)v5.45.8Compare Source
Patch Changes
fix: set AST
root.startto0androot.endtotemplate.length(#β17125)fix: prevent erroneous
state_referenced_locallywarnings on prop fallbacks (#β17329)v5.45.7Compare Source
Patch Changes
fix: Add
<textarea wrap="off">as a valid attribute value (#β17326)fix: add more css selectors to
print()(#β17330)fix: don't crash on
hydratableserialization failure (#β17315)v5.45.6Compare Source
Patch Changes
fix: don't issue a11y warning for
<video>without captions if it has nosrc(#β17311)fix: add
srcObjectto permitted<audio>/<video>attributes (#β17310)v5.45.5Compare Source
Patch Changes
fix: correctly reconcile each blocks after outroing branches are resumed (#β17258)
fix: destroy each items after siblings are resumed (#β17258)
v5.45.4Compare Source
Patch Changes
chore: move DOM-related effect properties to
effect.nodes(#β17293)fix: allow
$props.id()to occur after anawait(#β17285)fix: keep reactions up to date even when read outside of effect (#β17295)
v5.45.3Compare Source
Patch Changes
add props to state_referenced_locally (#β17266)
fix: preserve node locations for better sourcemaps (#β17269)
fix: handle cross-realm Promises in
hydratable(#β17284)v5.45.2Compare Source
Patch Changes
fix: array destructuring after await (#β17254)
fix: throw on invalid
{@​tag}s (#β17256)v5.45.1Compare Source
Patch Changes
v5.45.0Compare Source
Minor Changes
print(...)function (#β16188)v5.44.1Compare Source
Patch Changes
fix: await blockers before initialising const (#β17226)
fix: link offscreen items and last effect in each block correctly (#β17244)
fix: generate correct code for simple destructurings (#β17237)
fix: ensure each block animations don't mess with transitions (#β17238)
v5.44.0Compare Source
Minor Changes
hydratableAPI (#β17154)v5.43.15Compare Source
Patch Changes
fix: don't execute attachments and attribute effects eagerly (#β17208)
chore: lift "flushSync cannot be called in effects" restriction (#β17139)
fix: store forked derived values (#β17212)
v5.43.14Compare Source
Patch Changes
fix: correctly migrate named self closing slots (#β17199)
fix: error at compile time instead of at runtime on await expressions inside bindings/transitions/animations/attachments (#β17198)
fix: take async blockers into account for bindings/transitions/animations/attachments (#β17198)
v5.43.13Compare Source
Patch Changes
v5.43.12Compare Source
Patch Changes
v5.43.11Compare Source
Patch Changes
perf: don't use tracing overeager during dev (#β17183)
fix: don't cancel transition of already outroing elements (#β17186)
v5.43.10Compare Source
Patch Changes
v5.43.9Compare Source
Patch Changes
fix: correctly handle functions when determining async blockers (#β17137)
fix: keep deriveds reactive after their original parent effect was destroyed (#β17171)
fix: ensure eager effects don't break reactions chain (#β17138)
fix: ensure async
@constin boundary hydrates correctly (#β17165)fix: take blockers into account when creating
#awaitblocks (#β17137)fix: parallelize async
@consts in the template (#β17165)v5.43.8Compare Source
Patch Changes
v5.43.7Compare Source
Patch Changes
fix: properly defer document title until async work is complete (#β17158)
fix: ensure deferred effects can be rescheduled later on (#β17147)
fix: take blockers of components into account (#β17153)
v5.43.6Compare Source
Patch Changes
v5.43.5Compare Source
Patch Changes
fix: ensure async static props/attributes are awaited (#β17120)
fix: wait on dependencies of async bindings (#β17120)
fix: await dependencies of style directives (#β17120)
v5.43.4Compare Source
Patch Changes
chore: simplify connection/disconnection logic (#β17105)
fix: reconnect deriveds to effect tree when time-travelling (#β17105)
v5.43.3Compare Source
Patch Changes
fix: ensure fork always accesses correct values (#β17098)
fix: change title only after any pending work has completed (#β17061)
fix: preserve symbols when creating derived rest properties (#β17096)
v5.43.2Compare Source
Patch Changes
v5.43.1Compare Source
Patch Changes
$bindableafterawaitexpressions (#β17066)v5.43.0Compare Source
Minor Changes
Patch Changes
v5.42.3Compare Source
Patch Changes
fix: handle
<svelte:head>rendered asynchronously (#β17052)fix: don't restore batch in
#await(#β17051)v5.42.2Compare Source
Patch Changes
fix: better error message for global variable assignments (#β17036)
chore: tweak memoizer logic (#β17042)
v5.42.1Compare Source
Patch Changes
discard()aftercommit()(#β17034)v5.42.0Compare Source
Minor Changes
forkAPI (#β17004)Patch Changes
fix: always allow
setContextbefore first await in component (#β17031)fix: less confusing names for inspect errors (#β17026)
v5.41.4Compare Source
Patch Changes
fix: take into account static blocks when determining transition locality (#β17018)
fix: coordinate mount of snippets with await expressions (#β17021)
fix: better optimization of await expressions (#β17025)
fix: flush pending changes after rendering
failedsnippet (#β16995)v5.41.3Compare Source
Patch Changes
chore: exclude vite optimized deps from stack traces (#β17008)
perf: skip repeatedly traversing the same derived (#β17016)
v5.41.2Compare Source
Patch Changes
fix: keep batches alive until all async work is complete (#β16971)
fix: don't preserve reactivity context across function boundaries (#β17002)
fix: make
$inspectlogs come from the callsite (#β17001)fix: ensure guards (eg. if, each, key) run before their contents (#β16930)
v5.41.1[Compare Source](https://redirect.github.com/sveltejs/svelte/comp
Configuration
π Schedule: (UTC)
π¦ 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 was generated by Mend Renovate. View the repository job log.