Commit Graph

3464 Commits (goodbye-acorn)

Author SHA1 Message Date
github-actions[bot] 20b341f100
Version Packages (#18628)
4 weeks ago
Simon H ee6dff80ca
fix: better whitespace handling inside printer (#18638)
4 weeks ago
Simon H a1d5035d17
fix: preserve CSS comments in the AST printer (#18637)
4 weeks ago
Simon H 3ed9db4ba7
fix: don't duplicate comments in attributes (#18636)
4 weeks ago
Sankalp Thakur 26786e9298
fix: skip controlled each fast path while another batch is pending (#18625)
1 month ago
github-actions[bot] 44a7813730
Version Packages (#18572)
1 month ago
Nic Polumeyv 3dde011d3a
fix: call `onerror` and provide a working `reset` when hydrating a failed boundary (#18556)
2 months ago
Floze 2bace308e3
fix: preserve select selection with spread attributes (#18561)
2 months ago
github-actions[bot] b29d7002ec
Version Packages (#18560)
2 months ago
Manuel b791cac54e
chore: provide `indent` option for `print` (#18474)
2 months ago
github-actions[bot] 4a6a85b5f1
Version Packages (#18552)
2 months ago
Joe Schafer d0dbe1a480
perf: skip quadratic blocker analysis when no top-level await (#18548)
2 months ago
Simon H 22e0adb75a
fix: rerun derived that had an abort controller on reconnection (#18551)
2 months ago
github-actions[bot] 602a873b6b
Version Packages (#18497)
2 months ago
adiGuba a4fd67e361
fix: $state.eager() is sometimes incorrect in SSR (#18530)
2 months ago
prashantg-pixi 199ffebca3
fix: clear previous_task reference after abort in Tween (#18541)
2 months ago
Simon H edeef1f9f7
chore: add some failing tests (#18528)
2 months ago
Fedor Nezhivoi a91b068786
fix: abort deriveds own AbortSignal when it disconnects (#18400)
2 months ago
Thribhuvan b4d1583ae2
fix: transform computed keys in keyed each block destructuring patterns (#18521)
2 months ago
Rabindra Kumar Meher 08a9e9e7e4
fix: prevent derived connection leak in untracked contexts (#18517)
2 months ago
JY Wey bfbb026f2f
fix: skip unnecessary derived effect in earlier batch (#18525)
2 months ago
Ivan 5edd8b0602
fix: chain preprocessor sourcemaps with an empty sources[0] (#18518)
2 months ago
Paolo Ricciuti 41642b70ee
fix: avoid declaration tag warning in event handlers (#18500)
2 months ago
Paolo Ricciuti 8fb7ceeba5
fix: don't treat declaration tags as parts inside each blocks (#18507)
2 months ago
Paolo Ricciuti b1cadd1eae
chore: drop dead code that make TSGO fail (#18496)
2 months ago
Paolo Ricciuti b9e03714eb
fix: correctly transform declaration tags during SSR (#18492)
2 months ago
github-actions[bot] eae50dfd1c
Version Packages (#18435)
3 months ago
Simon H 36ae0622a8
fix: always unset reactivity context after restoring it (#18453)
3 months ago
jyc.dev a6985bcd24
fix: strip `?` from optional parameters in svelte lang ts (#18448)
3 months ago
Yuichiro Yamashita c4daa490bb
fix: include wrapping parentheses in `{@const}` declarator end (#18436)
3 months ago
Nic Polumeyv 0510174bc0
fix: make `SvelteURLSearchParams` notifications accurate (#18425)
3 months ago
dependabot[bot] 8ea3ee8c62
chore(deps-dev): bump esbuild from 0.25.11 to 0.28.1 (#18427)
3 months ago
github-actions[bot] a9f48540e2
Version Packages (#18389)
3 months ago
sijie-Z 71a6515bd6
fix: check boundary exists before calling error handler in async derived (#18384)
3 months ago
sijie-Z 3d83c9abe6
fix: add bigint to Primitive type for $state.snapshot (#18388)
3 months ago
github-actions[bot] 51baf1c1af
Version Packages (#18357)
3 months ago
Simon H 3d5c4ab620
fix: prevent false-positive reactivity loss warning (#18373)
3 months ago
Simon H bdb1a0f847
fix: ensure async block assigns correct nodes to effect (#18371)
3 months ago
Simon H e4bfc5f45a
chore: bump esrap dependency (#18372)
3 months ago
Simon H 1b4c43b8e5
fix: ignore declaration tags for animation directive (#18366)
3 months ago
Mathias Picker 85dcb91f7c
chore: upgrade to vitest v4 (#18265)
3 months ago
Simon H a81f96549d
fix: reject pending async deriveds on discard (#18308)
3 months ago
github-actions[bot] 3ef761b87b
Version Packages (#18346)
3 months ago
Simon H 5b8db1be35
fix: error at compile time on duplicate snippet/declaration tag definitions (#18351)
3 months ago
Simon H 56013a2c01
fix: check references for blockers on server, too (#18352)
3 months ago
hjaber 2afb895ffa
fix: parse declaration tags with a division operator in the initializer (#18353)
3 months ago
Yuichiro Yamashita b471c15e61
fix: don't hang on a tag whose expression ends with a trailing slash (#18350)
3 months ago
Yuichiro Yamashita c74f44fff9
fix: don't mistake `type` identifier expressions for TS `type` declarations in tags (#18330)
3 months ago
Rich Harris b76b937e00
fix: various declaration tag bugs (#18348)
3 months ago
jdoughty04 378bb25097
fix: set input type before spread value (#18345)
3 months ago
jiyujie2006 2f6307af65
Fix searchParams.set duplicate updates (#18336)
3 months ago
ottomated 11985c020f
docs: desloppify browser support page (#18333)
3 months ago
Rich Harris 05a3bce6bb
chore: minor tidy-ups (#18326)
3 months ago
Rich Harris e027d8bf22
chore: annotate `each_array` return value (#18325)
3 months ago
github-actions[bot] 70afafe18e
Version Packages (#18315)
3 months ago
Rich Harris 6d26dce265
allow class/function expressions in tags (#18324)
3 months ago
Mathias Picker 2fae91af6d
perf: deduplicate identical hoisted templates within a component (#18320)
3 months ago
Mathias Picker a40c745fd9
perf: hoist rest_props exclude list as a module-scope Set (#18252)
3 months ago
Simon H 980c7e2321
fix: don't error on `{type}` in declaration tags (#18321)
3 months ago
Rich Harris 5300843e86
chore: bump playwright (#18319)
3 months ago
Simon H 59d3a36f82
feat: allow declarations in the template (#18282)
3 months ago
Rich Harris a9e82dd388
chore: remove `on_fork_commit` (#18318)
3 months ago
Mathias Picker a9916053d9
perf: use createElement instead of createElementNS for HTML elements (#18262)
3 months ago
Mathias Picker 27e74c4df7
docs: add auto-generated browser support page (#18276)
3 months ago
Mathias Picker 67090e8ee8
perf: store current_sources as Set for O(1) membership checks (#18278)
3 months ago
github-actions[bot] 0bb715d3cf
Version Packages (#18255)
3 months ago
Simon H 4953860835
chore: remove unused class property (#18307)
3 months ago
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)
4 months ago
Karl Georgsen f023e8d7c8
chore: add tag name to a11y_click_events_have_key_events warning (#18272)
4 months ago
wheelman bb69f9c44c
fix: declare `let:` directives before `{@const}` on slotted elements (#18271)
4 months ago
Puneet Dixit 8b961be0b1
fix: remove raw-text hydration markers (#18269)
4 months ago
Mathias Picker 04d408b29d
perf: walk composedPath() directly in delegated event propagation (#18268)
4 months ago
Simon H 078f901f61
fix: catch rejected promises while merging/committing (#18266)
4 months ago
Simon H a6002b587c
fix: unlink errored and otherwise finished batch (#18264)
4 months ago
Simon H 4656e6895d
fix: make unnecessary commit work less likely (#18263)
4 months ago
Simon H 91a42e2ed6
fix: correctly coordinate component-level effects inside async blocks (#18260)
4 months ago
Simon H 65283bc13a
fix: transfer effects when merging batches (#18254)
4 months ago
github-actions[bot] b65a3f3fc5
Version Packages (#18240)
4 months ago
Simon H ef319ed492
chore: bump acorn-typescript/esrap (#18248)
4 months ago
Simon H d654db83ef
fix: avoid false-positive batch invariant error (#18246)
4 months ago
Simon H 000c594e05
fix: `{#await await ...}` and async dependencies fixes (#18243)
4 months ago
Sean Kenneth Doherty a5df6616ea
fix: avoid unnecessary stringify in server attributes (#18232)
4 months ago
github-actions[bot] f9440dc3ed
Version Packages (#18239)
4 months ago
OfirHaf ca3f35bf7d
fix(print): handle svelte:body and fix keyframe percentage double-printing (#18234)
4 months ago
Rich Harris 2bc3592eb1
fix: use named symbols everywhere (#18238)
4 months ago
Simon H dc1f037fa6
fix: don't run teardown effects when deriveds are unfreezed (#18227)
4 months ago
Simon H 1e899cba35
fix: execute uninitialized derived even if it's destroyed (#18228)
4 months ago
Simon H eb10a70cf1
fix: unset context synchronously in `run` (#18236)
4 months ago
github-actions[bot] 4d8f99a270
Version Packages (#18220)
4 months ago
Rich Harris 0552308817
chore: bump devalue (#18219)
4 months ago
Elliott Johnson e1cbbd9644
Merge commit from fork
4 months ago
Elliott Johnson a16ebc67bb
Merge commit from fork
4 months ago
Simon H d2375e2ebc
Merge commit from fork
4 months ago
Simon H 547853e240
Merge commit from fork
4 months ago
github-actions[bot] 55f9c85c09
Version Packages (#18158)
4 months ago
Rich Harris a10e8e47a5
fix: keep dependencies of `$state.eager`/`pending` (alternative approach) (#18218)
4 months ago
quyentonndbs ef4b97dfab
fix: duplicated "of" in events.js comment (#18217)
4 months ago
Rich Harris 5122936edb
fix: treat batches as a linked list (#18205)
4 months ago
Simon H 1688c84be9
chore: allow `null` for `pending` in typings (#18201)
4 months ago
Rich Harris af5b9724ab
chore: flatten `#process()` (#18190)
4 months ago
Rich Harris 9ffc13d7c3
fix: remove `source.updated` stack traces after `flush` (#18196)
4 months ago
Simon H e00944ffd1
fix: correctly compile component member expressions for SSR (#18192)
4 months ago
Rich Harris 9950b22869
fix: process batches created in effect and immediately flushed (#18194)
4 months ago
Simon H fcaa8ce723
fix: reapply new batch after `#commit` (#18186)
4 months ago
Rich Harris 908c9d0312
fix: leave stale promises to wait for a later resolution, instead of rejecting (#18180)
4 months ago
Rich Harris 4d2b6c61e0
chore: make `batch.#pending` a number rather than a map (#18184)
4 months ago
Simon H 1c150a460f
fix: abort running obsolete async branches (#18118)
4 months ago
Rich Harris 91e1ead773
chore: remove unnecessary `increment_pending` calls (#18183)
4 months ago
Simon H aeb6bd088b
fix: reapply context after transforming error during SSR (#18099)
4 months ago
Simon H 5e054574db
fix: don't override new current_batch (#18170)
4 months ago
Simon H d4c5a91735
fix: rethrow error of failed iterable after calling `return()` (#18169)
4 months ago
Paolo Ricciuti 89b6a939fe
fix: wrap `Promise.all` in `save` during SSR (#18178)
4 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)
5 months ago
Simon H 8e7319063a
fix: don't mark deriveds while an effect is updating (#18124)
5 months ago
dabund24 51736e576d
fix: do not dispatch transition event with animation (#18122)
5 months ago
github-actions[bot] 7fddfbdbbd
Version Packages (#18105)
5 months ago
Simon H 671fc2ea11
fix: never mark a child effect root as inert (#18111)
5 months ago
Simon H 0ed8c282f9
fix: reset context after waiting on blockers of `@const` expressions (#18100)
5 months ago
Simon H 273f1a85a4
fix: keep flushing new eager effects (#18102)
5 months ago
github-actions[bot] 4a50e8ea3b
Version Packages (#18085)
5 months ago
Simon H 15588f5fbf
fix: avoid false positives for reactivity loss warning (#18088)
5 months ago
Rich Harris 0e9e76f292
fix: freeze deriveds once their containing effects are destroyed (#17921)
5 months ago
Simon H 3937ec03bd
fix: correctly calculate `@const` blockers (#18039)
5 months ago
Simon H 7be1a0247f
fix: ensure proper HMR updates for dynamic components (#18079)
5 months ago
Simon H a4ce776070
fix: defer error boundary rendering in forks (#18076)
5 months ago
github-actions[bot] 2e29c87cc9
Version Packages (#18036)
5 months ago