Commit Graph

3347 Commits (oxfmt2)

Author SHA1 Message Date
Simon H 638ab370a5
fix: prevent batch unlinking twice (#18303)
3 months ago
Rich Harris 0da9f9e2ab
fix: disallow effect creation after `await` (#18299)
3 months ago
Simon H d4be4e2973
chore: ensure treeshaking test runs during CI (#18302)
3 months ago
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 b40c359d44
fix: don't assume boundary exists during increment/decrement (#18289)
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
Rich Harris c9f7298270
chore: fix spelling in test (#18292)
3 months ago
RonGamzu d2c7fa3494
fix: use consistent spelling in script_unknown_attribute warning (#18281)
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 ef319ed492
chore: bump acorn-typescript/esrap (#18248)
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
quyentonndbs ef4b97dfab
fix: duplicated "of" in events.js comment (#18217)
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 af5b9724ab
chore: flatten `#process()` (#18190)
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 9950b22869
fix: process batches created in effect and immediately flushed (#18194)
3 months ago
Simon H fcaa8ce723
fix: reapply new batch after `#commit` (#18186)
3 months ago
Rich Harris 908c9d0312
fix: leave stale promises to wait for a later resolution, instead of rejecting (#18180)
3 months ago
Rich Harris 4d2b6c61e0
chore: make `batch.#pending` a number rather than a map (#18184)
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 5e054574db
fix: don't override new current_batch (#18170)
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
Rohan Santhosh Kumar 7719a74eef
chore: fix constructor typo in attributes comment (#18115)
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
Wesley bd29b9ef2b
docs: document $state.snapshot toJSON behavior (#18154)
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 6b653b8d17
chore: simplify parser (#18077)
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
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 f8ef6de325
chore: squelch hydration warnings in tests (#18046)
4 months ago
Rich Harris a9530e5330
chore: add labels to more internal deriveds (#18050)
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