Commit Graph

2614 Commits (svelte@5.56.0)

Author SHA1 Message Date
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)
5 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
Simon H 32a48ed174
fix: don't eagerly access not-yet-initialized functions in template (#17938)
5 months ago
Simon H b472171de6
fix: ensure `$inspect` after top level await doesn't break builds (#17943)
5 months ago
Simon H d4bd6ad8f3
fix: ensure "is standalone child" is correctly reset (#17944)
5 months ago
Rich Harris 98e8b635fa
fix: discard batches made obsolete by commit (#17934)
5 months ago
github-actions[bot] 8b86bdd82d
Version Packages (#17919)
5 months ago
Simon H 1ebed68322
fix: avoid traversing clean roots (#17928)
5 months ago
Conduitry 965f2a0ac8
fix: handle async RHS in assignment_value_stale (#17925)
5 months ago
Rich Harris a513da0445
chore: add invariant utility (#17929)
5 months ago
Apoorv Darshan 3dbd95075c
fix: keep select.__value current when effect is deferred (#17745)
5 months ago
Simon H 44c4f213e9
fix: ensure deriveds values are correct across batches (#17917)
5 months ago
github-actions[bot] bd433c5ceb
Version Packages (#17901)
5 months ago
Rich Harris 7c9ff8fc69
fix: resolve boundary in correct batch when hydrating (#17914)
5 months ago
Rich Harris 667896a753
fix: recover from errors that leave a corrupted effect tree (#17888)
5 months ago
Paolo Ricciuti e4e089310d
fix: remove `untrack` circular dependency (#17910)
5 months ago
Conduitry 58f161dee2
fix: properly lazily evaluate RHS when checking for assignment_value_stale (#17906)
5 months ago
Rich Harris 0e8f49b25f
chore: rebase batches after process, not during (#17900)
5 months ago
github-actions[bot] 72cd247c33
Version Packages (#17896)
5 months ago
Simon H 342d8568f1
fix: re-process batch if new root effects were scheduled (#17895)
5 months ago
github-actions[bot] d54361b97f
Version Packages (#17886)
5 months ago
Simon H be36c934c4
fix: better `bind:this` cleanup timing (#17885)
5 months ago
github-actions[bot] d2b347042c
Version Packages (#17854)
5 months ago
Simon H 1892988074
fix: don't access inert block effects (#17882)
5 months ago
Rich Harris 6fb7b4d265
chore: refactor scheduling (#17805)
5 months ago
Simon H 2deebdea8f
fix: handle asnyc updates within pending boundary (#17873)
5 months ago
dev-miro26 0206a2019e
fix: clean up externally-added DOM nodes in {@html} on re-render (#17853)
5 months ago
Rich Harris 2a1f5ada13
perf: avoid re-traversing the effect tree after `$:` assignments (#17848)
5 months ago
Rich Harris 7dc864d941
Revert "fix: skip derived re-evaluation inside inert effect blocks" (#17869)
5 months ago
Rich Harris e3f06f9fc7
fix: skip derived re-evaluation inside inert effect blocks (#17852)
5 months ago
github-actions[bot] 25a1c5368b
Version Packages (#17842)
5 months ago
Philip Breuer b7bc1309aa
fix: preserve original boundary errors when keyed each rows are removed during async updates (#17843)
5 months ago
Mathias Picker 0965028d3b
perf: optimize CSS selector pruning (#17846)
5 months ago
Mathias Picker 32111f9e84
perf: avoid O(n²) name scanning in scope generate/unique (#17844)
6 months ago
Rich Harris 2f12b60701
chore: avoid reschedule during branch commit (#17837)
6 months ago
Rich Harris 86ec210866
fix: correctly add `__svelte_meta` after else-if chains (#17830)
6 months ago
Rich Harris 7717ba01b4
fix: preserve each items that are needed by pending batches (#17819)
6 months ago
Mathias Picker 791d5e332c
perf: cache element interactivity and source line splitting (#17839)
6 months ago
github-actions[bot] d4c78292ed
Version Packages (#17812)
6 months ago
Mathias Picker 361b32c7cd
fix: SvelteURL search setter uses unnormalized value (#17828)
6 months ago
Mathias Picker 1043f79d1e
perf: optimize compiler analysis phase (#17823)
6 months ago
Paolo Ricciuti b6faa2a905
fix: always case insensitive event handlers during ssr (#17822)
6 months ago
Paolo Ricciuti e3d277b000
fix: visit synthetic value node during ssr (#17824)
6 months ago
Mathias Picker 18db0cab86
fix: SvelteMap incorrectly handles keys with `undefined` values (#17826)
6 months ago
Rich Harris 16a13517ef
fix: skip redundant batch.apply (#17816)
6 months ago