-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency svelte to v5 #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Reviewer's Guide by SourceryThis pull request updates the Svelte dependency from version 4.2.19 to version 5.0.0. This includes all changes from Svelte versions 5.0.0 to 5.20.1. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
❌ Deploy Preview for promplate-site failed. Why did it fail? →
|
36eeb63 to
b5229e3
Compare
b5229e3 to
58523ec
Compare
58523ec to
8d65c4b
Compare
8d65c4b to
8c0dc77
Compare
0bb29aa to
980f447
Compare
8c0dc77 to
83617e1
Compare
83617e1 to
a5f5c09
Compare
a5f5c09 to
2ab87da
Compare
2ab87da to
7edda52
Compare
7edda52 to
ed1c60f
Compare
ed1c60f to
e0e5275
Compare
e0e5275 to
0293938
Compare
0293938 to
3920ee7
Compare
3920ee7 to
dc54ea7
Compare
dc54ea7 to
ce3a36a
Compare
This PR contains the following updates:
^4.2.19→^5.0.0Release Notes
sveltejs/svelte (svelte)
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.1Compare Source
Patch Changes
fix: place
let:declarations before{@​const}declarations (#16985)fix: improve
each_key_without_aserror (#16983)chore: centralise branch management (#16977)
v5.41.0Compare Source
Minor Changes
$state.eager(value)rune (#16849)Patch Changes
fix: preserve
<select>state while focused (#16958)chore: run boundary async effects in the context of the current batch (#16968)
fix: error if
eachblock haskeybut noasclause (#16966)v5.40.2Compare Source
Patch Changes
pendingbranch of SSR boundary (#16965)v5.40.1Compare Source
Patch Changes
v5.40.0Compare Source
Minor Changes
createContextutility for type-safe context (#16948)Patch Changes
chore: simplify
batch.apply()(#16945)fix: don't rerun async effects unnecessarily (#16944)
v5.39.13Compare Source
Patch Changes
fix: add missing type for
frattribute forradialGradienttags in svg (#16943)fix: unset context on stale promises (#16935)
v5.39.12Compare Source
Patch Changes
fix: better input cursor restoration for
bind:value(#16925)fix: track the user's getter of
bind:this(#16916)fix: generate correct SSR code for the case where
pendingis an attribute (#16919)fix: generate correct code for
eachblocks with async body (#16923)v5.39.11Compare Source
Patch Changes
v5.39.10Compare Source
Patch Changes
fix: hydrate each blocks inside element correctly (#16908)
fix: allow await in if block consequent and alternate (#16890)
fix: don't replace rest props with
$$propsfor excluded props (#16898)fix: correctly transform
$derivedprivate fields on server (#16894)fix: add
UNKNOWNevaluation value before breaking forbinding.initial===SnippetBlock(#16910)v5.39.9Compare Source
Patch Changes
v5.39.8Compare Source
Patch Changes
fix: check boundary
pendingattribute at runtime on server (#16855)fix: preserve tuple type in
$state.snapshot(#16864)fix: allow await in svelte:boundary without pending (#16857)
fix: update
bind:checkederror message to clarify usage with radio inputs (#16874)v5.39.7Compare Source
Patch Changes
chore: simplify batch logic (#16847)
fix: rebase pending batches when other batches are committed (#16866)
fix: wrap async
childrenin$$renderer.async(#16862)fix: silence label warning for buttons and anchor tags with title attributes (#16872)
fix: coerce nullish
<title>to empty string (#16863)v5.39.6Compare Source
Patch Changes
fix: depend on reads of deriveds created within reaction (async mode) (#16823)
fix: SSR regression of processing attributes of
<select>and<option>(#16821)fix: async
class:+ spread attributes were compiled into sync server-side code (#16834)fix: ensure tick resolves within a macrotask (#16825)
v5.39.5Compare Source
Patch Changes
fix: allow
{@​html await ...}and snippets with async content on the server (#16817)fix: use nginx SSI-compatible comments for
$props.id()(#16820)v5.39.4Compare Source
Patch Changes
awaitin<script>(#16806)v5.39.3Compare Source
Patch Changes
fix: remove outer hydration markers (#16800)
fix: async hydration (#16797)
v5.39.2Compare Source
Patch Changes
fix: preserve SSR context when block expressions contain
await(#16791)chore: bump some devDependencies (#16787)
v5.39.1Compare Source
Patch Changes
fix: add missing type for
frattribute forradialGradienttags in svg (#16943)fix: unset context on stale promises (#16935)
v5.39.0Compare Source
Minor Changes
Patch Changes
v5.38.10Compare Source
Patch Changes
v5.38.9Compare Source
Patch Changes
chore: generate CSS hash using the filename (#16740)
fix: correctly analyze
<object.property>components (#16711)fix: clean up scheduling system (#16741)
fix: transform input defaults from spread (#16481)
fix: don't destroy contents of
svelte:boundaryunless the boundary is an error boundary (#16746)v5.38.8Compare Source
Patch Changes
$effect.pendingcount to the correct boundary (#16732)v5.38.7Compare Source
Patch Changes
fix: replace
undefinedwithvoid(0)in CallExpressions (#16693)fix: ensure batch exists when resetting a failed boundary (#16698)
fix: place store setup inside async body (#16687)
v5.38.6Compare Source
Patch Changes
flushSyncwhile flushing effects (#16674)v5.38.5Compare Source
Patch Changes
v5.38.3Compare Source
Patch Changes
fix: ensure correct order of template effect values (#16655)
fix: allow async
{@​const}in more places (#16643)fix: properly catch top level await errors (#16619)
perf: prune effects without dependencies (#16625)
fix: only emit
for_await_track_reactivity_lossin async mode (#16644)v5.38.2Compare Source
Patch Changes
perf: run blocks eagerly during flush instead of aborting (#16631)
fix: don't clone non-proxies in
$inspect(#16617)fix: avoid recursion error when tagging circular references (#16622)
v5.38.1Compare Source
Patch Changes
v5.38.0Compare Source
Minor Changes
awaitinside@constdeclarations (#16542)Patch Changes
fix: remount at any hydration error (#16248)
chore: emit
await_reactivity_lossinfor awaitloops (#16521)fix: emit
snippet_invalid_exportinstead ofundefined_exportfor exported snippets (#16539)v5.37.3Compare Source
Patch Changes
v5.37.2Compare Source
Patch Changes
fix: double event processing in firefox due to event object being garbage collected (#16527)
fix: add bindable dimension attributes types to SVG and MathML elements (#16525)
fix: correctly differentiate static fields before emitting
duplicate_class_field(#16526)fix: prevent last_propagated_event from being DCE'd (#16538)
v5.37.1Compare Source
Patch Changes
chore: remove some todos (#16515)
fix: allow await expressions inside
{#await ...}argument (#16514)fix:
append_stylesin an effect to make them available on mount (#16509)chore: remove
parser.template_untrimmed(#16511)fix: always inject styles when compiling as a custom element (#16509)
v5.37.0Compare Source
Minor Changes
compileModule(#16362)Patch Changes
v5.36.17Compare Source
Patch Changes
fix: throw on duplicate class field declarations (#16502)
fix: add types for
partattribute to svg attributes (#16499)v5.36.16Compare Source
Patch Changes
fix: don't update a focused input with values from its own past (#16491)
fix: don't destroy effect roots created inside of deriveds (#16492)
v5.36.15Compare Source
Patch Changes
v5.36.14Compare Source
Patch Changes
fix: keep input in sync when binding updated via effect (#16482)
fix: rename form accept-charset attribute (#16478)
fix: prevent infinite async loop (#16482)
fix: exclude derived writes from effect abort and rescheduling (#16482)
v5.36.13Compare Source
Patch Changes
v5.36.12Compare Source
Patch Changes
capture_signalsto legacy module (#16456)v5.36.10Compare Source
Patch Changes
v5.36.9Compare Source
Patch Changes
fix: don't reexecute derived with no dependencies on teardown (#16438)
fix: disallow
export { foo as default }in<script module>(#16447)fix: move ownership validation into async component body (#16449)
fix: allow async destructured deriveds (#16444)
fix: move store setup/cleanup outside of async component body (#16443)
v5.36.8Compare Source
Patch Changes
fix: keep effect in the graph if it has an abort controller (#16430)
chore: Switch
payload.outto an array (#16428)v5.36.7Compare Source
Patch Changes
<svelte:...>elements to inherit fromSvelteHTMLElements(#16424)v5.36.6Compare Source
Patch Changes
fix: delegate functions with shadowed variables if declared locally (#16417)
fix: handle error in correct boundary after reset (#16171)
fix: make
<svelte:boundary>reset function a noop after the first call (#16171)v5.36.5Compare Source
Patch Changes
fix: silence
$inspecterrors when the effect is about to be destroyed (#16391)fix: more informative error when effects run in an infinite loop (#16405)
v5.36.4Compare Source
Patch Changes
fix: avoid microtask in flushSync (#16394)
fix: ensure compiler state is reset before compilation (#16396)
v5.36.3Compare Source
Patch Changes
fix: don't log
await_reactivity_losswarning when signal is read inuntrack(#16385)fix: better handle $inspect on array mutations (#16389)
fix: leave proxied array
lengthuntouched when deleting properties (#16389)fix: update
$effect.pending()immediately after a batch is removed (#16382)v5.36.2Compare Source
Patch Changes
fix: add
$effect.pending()to types (#16376)fix: add
pendingsnippet to<svelte:boundary>types (#16379)v5.36.1Compare Source
Patch Changes
fix: throw on duplicate class field declarations (#16502)
fix: add types for
partattribute to svg attributes (#16499)v5.36.0[Compare Source](https://redirect.github.com
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.