Commit Graph

2657 Commits (svelte@5.56.8)

Author SHA1 Message Date
Elliott Johnson e705369dee
fix: propagate async @const blockers through closure references (#18309)
3 months ago
Rich Harris ec08dbc7ee
fix: only unlink batch if we're done with it (#18298)
3 months ago
Simon H c01e598fff
fix: avoid waterfall-warning when async resolves to same value (#18297)
3 months ago
Rich Harris 070a0c4f77
Revert "perf: use Set instead of Array for constant lookups in utils.js" (#18294)
3 months ago
Simon H 60eaa92b0b
fix: resume outro-ed branches if they were kept around (#18291)
3 months ago
Simon H 871e590c59
fix: settle discarded batch (#18290)
3 months ago
Mathias Picker e6110d31c5
perf: use Set instead of Array for constant lookups in utils.js (#18250)
3 months ago
Simon H fe9ab936b6
fix: allow `$derived(await ...)` in disconnected effect roots (#18273)
3 months ago
Karl Georgsen f023e8d7c8
chore: add tag name to a11y_click_events_have_key_events warning (#18272)
3 months ago
wheelman bb69f9c44c
fix: declare `let:` directives before `{@const}` on slotted elements (#18271)
3 months ago
Puneet Dixit 8b961be0b1
fix: remove raw-text hydration markers (#18269)
3 months ago
Mathias Picker 04d408b29d
perf: walk composedPath() directly in delegated event propagation (#18268)
3 months ago
Simon H 078f901f61
fix: catch rejected promises while merging/committing (#18266)
3 months ago
Simon H a6002b587c
fix: unlink errored and otherwise finished batch (#18264)
3 months ago
Simon H 4656e6895d
fix: make unnecessary commit work less likely (#18263)
3 months ago
Simon H 91a42e2ed6
fix: correctly coordinate component-level effects inside async blocks (#18260)
3 months ago
Simon H 65283bc13a
fix: transfer effects when merging batches (#18254)
3 months ago
github-actions[bot] b65a3f3fc5
Version Packages (#18240)
3 months ago
Simon H d654db83ef
fix: avoid false-positive batch invariant error (#18246)
3 months ago
Simon H 000c594e05
fix: `{#await await ...}` and async dependencies fixes (#18243)
3 months ago
Sean Kenneth Doherty a5df6616ea
fix: avoid unnecessary stringify in server attributes (#18232)
3 months ago
github-actions[bot] f9440dc3ed
Version Packages (#18239)
3 months ago
OfirHaf ca3f35bf7d
fix(print): handle svelte:body and fix keyframe percentage double-printing (#18234)
3 months ago
Rich Harris 2bc3592eb1
fix: use named symbols everywhere (#18238)
3 months ago
Simon H dc1f037fa6
fix: don't run teardown effects when deriveds are unfreezed (#18227)
3 months ago
Simon H 1e899cba35
fix: execute uninitialized derived even if it's destroyed (#18228)
3 months ago
Simon H eb10a70cf1
fix: unset context synchronously in `run` (#18236)
3 months ago
github-actions[bot] 4d8f99a270
Version Packages (#18220)
3 months ago
Rich Harris 0552308817
chore: bump devalue (#18219)
3 months ago
Elliott Johnson e1cbbd9644
Merge commit from fork
3 months ago
Elliott Johnson a16ebc67bb
Merge commit from fork
3 months ago
Simon H d2375e2ebc
Merge commit from fork
3 months ago
Simon H 547853e240
Merge commit from fork
3 months ago
github-actions[bot] 55f9c85c09
Version Packages (#18158)
3 months ago
Rich Harris a10e8e47a5
fix: keep dependencies of `$state.eager`/`pending` (alternative approach) (#18218)
3 months ago
Rich Harris 5122936edb
fix: treat batches as a linked list (#18205)
3 months ago
Simon H 1688c84be9
chore: allow `null` for `pending` in typings (#18201)
3 months ago
Rich Harris 9ffc13d7c3
fix: remove `source.updated` stack traces after `flush` (#18196)
3 months ago
Simon H e00944ffd1
fix: correctly compile component member expressions for SSR (#18192)
3 months ago
Rich Harris 908c9d0312
fix: leave stale promises to wait for a later resolution, instead of rejecting (#18180)
3 months ago
Simon H 1c150a460f
fix: abort running obsolete async branches (#18118)
3 months ago
Rich Harris 91e1ead773
chore: remove unnecessary `increment_pending` calls (#18183)
3 months ago
Simon H aeb6bd088b
fix: reapply context after transforming error during SSR (#18099)
3 months ago
Simon H d4c5a91735
fix: rethrow error of failed iterable after calling `return()` (#18169)
3 months ago
Paolo Ricciuti 89b6a939fe
fix: wrap `Promise.all` in `save` during SSR (#18178)
3 months ago
Rich Harris dc5bd887b5
fix: resolve stale deriveds with latest value (#18167)
4 months ago
Simon H 572444a696
fix: ignore false-positive errors of `$inspect` dependencies (#18106)
4 months ago
Simon H 90a70cb012
fix: flush eager effects in production (#18107)
4 months ago
Simon H 9521b9f3dc
fix: don't rebase just-created batches (#18117)
4 months ago
Eduardo Kurek 146cb5ea6c
fix: lazy props reactivity (#18146)
4 months ago
Simon H bc82a55647
fix: ensure scheduled batch is flushed if not obsolete (#18131)
4 months ago
Simon H 4c96b469f8
fix: allow `@debug` tags to reference awaited variables (#18138)
4 months ago
Dor Alagem 69b4c9f561
fix: skip block comments in read_value to prevent apostrophe parsing error (#18153)
4 months ago
7nik ada3076967
fix: account for proxified instance when updating `bind:this` (#18147)
4 months ago
github-actions[bot] b771df3464
Version Packages (#18125)
4 months ago
Simon H 8e7319063a
fix: don't mark deriveds while an effect is updating (#18124)
4 months ago
dabund24 51736e576d
fix: do not dispatch transition event with animation (#18122)
4 months ago
github-actions[bot] 7fddfbdbbd
Version Packages (#18105)
4 months ago
Simon H 671fc2ea11
fix: never mark a child effect root as inert (#18111)
4 months ago
Simon H 0ed8c282f9
fix: reset context after waiting on blockers of `@const` expressions (#18100)
4 months ago
Simon H 273f1a85a4
fix: keep flushing new eager effects (#18102)
4 months ago
github-actions[bot] 4a50e8ea3b
Version Packages (#18085)
4 months ago
Simon H 15588f5fbf
fix: avoid false positives for reactivity loss warning (#18088)
4 months ago
Rich Harris 0e9e76f292
fix: freeze deriveds once their containing effects are destroyed (#17921)
4 months ago
Simon H 3937ec03bd
fix: correctly calculate `@const` blockers (#18039)
4 months ago
Simon H 7be1a0247f
fix: ensure proper HMR updates for dynamic components (#18079)
4 months ago
Simon H a4ce776070
fix: defer error boundary rendering in forks (#18076)
4 months ago
github-actions[bot] 2e29c87cc9
Version Packages (#18036)
4 months ago
Rich Harris 8966601dcd
fix: handle parens in template expressions more robustly (#18075)
4 months ago
Simon H 0395ef0df7
fix: unskip branches of earlier batches after commit (#18048)
4 months ago
Rich Harris cd5bda00a8
chore: fix changeset (#18073)
4 months ago
Simon H d86cb5cc32
fix: skip rebase logic in non-async mode (#18040)
4 months ago
Simon H adba758067
fix: don't reset status of uninitialized deriveds (#18054)
4 months ago
ottomated 14adb8caa9
fix: correct types for `ontoggle` on <details> elements (#18063)
4 months ago
Rich Harris c93e251654
fix: never set derived.v inside fork (#18037)
4 months ago
Rich Harris edcbb0e640
fix: invalidate `@const` tags based on visible references in legacy mode (#18041)
5 months ago
Rich Harris ff3495dc05
fix: disallow `--` in `idPrefix` (#18038)
5 months ago
Simon H 97d45f85c6
fix: don't override `$destroy/set/on` instance methods in dev mode (#18034)
5 months ago
github-actions[bot] 37ab33c0a3
Version Packages (#18006)
5 months ago
Rohit Nair P 4879f9da99
fix: improve duplicate module import error message (#18016)
5 months ago
Simon H 04eadbc8a9
fix: correctly handle bindings on the server (#18009)
5 months ago
Paolo Ricciuti 957f2755fa
fix: cleanup `superTypeParameters` in `ClassDeclarations`/`ClassExpression` (#18015)
5 months ago
Simon H a9d8439ad1
fix: reschedule new effects in prior batches (#18021)
5 months ago
Simon H 669f6b45a3
fix: prevent hydration error on async `{@html ...}` (#17999)
5 months ago
github-actions[bot] 6e52f40d41
Version Packages (#17984)
5 months ago
Simon H 1773cb5b59
fix: ensure HMR wrapper forwards correct start/end nodes to active effect (#17985)
5 months ago
moaaz a94924b677
fix: export TweenOptions, SpringOptions, SpringUpdateOptions and Updater from svelte/motion (#17967)
5 months ago
github-actions[bot] db69b7e345
Version Packages (#17965)
5 months ago
Abishek Raj R R 7123bf3a13
fix: remove trailing semicolon from {@const} tag printer (#17962)
5 months ago
Nitin Sahu 8e4de9b145
fix: null out effect.b in destroy_effect to prevent memory leak (#17980)
5 months ago
Simon H 6b33dd2a1e
fix: group sync statements (#17977)
5 months ago
Paolo Ricciuti 425fba33fe
fix: hydration comments during hmr (#17975)
5 months ago
Simon H 803c565feb
fix: properly invoke `iterator.return()` during reactivity loss check (#17966)
5 months ago
Rich Harris 0adc22c9ae
fix: defer batch resolution until earlier intersecting batches have committed (#17162)
5 months ago
github-actions[bot] 7ec156a7b0
Version Packages (#17953)
5 months ago
Rich Harris c89f6abae8
feat: allow `css`, `runes`, `customElement` compiler options to be functions (#17951)
5 months ago
Rich Harris 5faf102782
fix: reinstate reactivity loss tracking (#17801)
5 months ago
github-actions[bot] 6a303c3638
Version Packages (#17936)
5 months ago
Simon H f081a6c3b1
fix: resume inert effects when they come from offscreen (#17942)
5 months ago
Rich Harris 1cd06451af
fix: remove nodes in boundary when work is pending and HMR is active (#17932)
5 months ago