Commit Graph

3491 Commits (module-script-comments)

Author SHA1 Message Date
Kamil Jakubus 38ef714f1a
fix: scope SSR boundary failed snippets to their boundary (#18593)
2 months ago
Liam O'Dea f5f70343df
perf: O(n²)→O(n) Map lookups for legacy reactive statements (#18602)
2 months ago
Nic Polumeyv cac27c783e
feat: export RenderOutput, SyncRenderOutput, Csp and Sha256Source from svelte/server (#18648)
2 months ago
Siddhesh Kabra faf1e103c5
fix: prevent onoutroend from firing twice when compilerOptions.hmr is true (#18655)
2 months ago
github-actions[bot] 56a036f4ce
Version Packages (#18640)
2 months ago
Joe Schafer 545205b420
perf: make async blocker analysis linear (#18549)
2 months ago
Mukund Sarma 950e2a837c
fix: strip comments from inline style values in linear time (#18553)
2 months ago
randalmurphal ffc0e6e7ef
fix: release last_propagated_event after event propagation settles (#18569)
2 months ago
Nic Polumeyv 2f684fefd7
docs: clarify that context lookup includes the current component and all ancestors (#18581)
2 months ago
Nic Polumeyv 3feb34a992
chore: deduplicate client/server context helpers (#18580)
2 months ago
kdelay 24130c18e2
fix: parse nth-child `of` syntax without whitespace after `of` (#18611)
2 months ago
Magnar Ovedal Myrtveit a166761b04
fix: treat concise arrow function bodies as implicit returns when calculating blockers (#18613)
2 months ago
Sander Machado a4c60ccdbb
fix: append_styles resolving to `document.head` in WC (#18614)
2 months ago
Nathan Asdarjian ee1249b43c
fix: preserve renderer type in copy() during SSR (#18616)
2 months ago
svelte-triage-bot[bot] 9c2494b134
fix: preserve namespaces in CSS type selectors (#18678)
2 months ago
Madan kumar 19aa51d443
fix: print `{#await ... catch}` et al correctly (#18645)
2 months ago
Marwan 8835003d41
fix: preserve CSS escape sequences when printing selectors (#18667)
2 months ago
Gautier Ben Aïm fe4a56b0a8
fix: avoid double-calling a derived reference when destructuring (#18668)
2 months ago
subotac 384ee73aa2
fix: preserve logical assignments to private state fields (#18594)
2 months ago
Siddhesh Kabra a5ea12ee93
fix: skip Program comment nodes in migration to prevent crash (#18656)
2 months ago
Gautier Ben Aïm 9414eaa41b
fix: prevent crash on async custom element attributes (#18661)
2 months ago
Yuichiro Yamashita 248a2e1db4
fix: transform expressions inside labeled statements during server compilation (#18617)
2 months ago
subotac c0987c09f8
fix: remove stale capture listeners from spread attributes (#18618)
2 months ago
Yuuki Oohara a224dd5867
fix: give effect teardowns the value from before the first write in a flush (#18620)
2 months ago
svelte-triage-bot[bot] 221dcae8ca
fix: preserve comment placement for server derived reads (#18641)
2 months ago
남정욱 7725f77cca
fix: apply CSS custom properties with falsy values on components (#18634)
2 months ago
Yuichiro Yamashita 135f4439c3
fix: increment private state fields through a non-`this` receiver (#18622)
2 months ago
github-actions[bot] 20b341f100
Version Packages (#18628)
2 months ago
Simon H ee6dff80ca
fix: better whitespace handling inside printer (#18638)
2 months ago
Simon H a1d5035d17
fix: preserve CSS comments in the AST printer (#18637)
2 months ago
Simon H 3ed9db4ba7
fix: don't duplicate comments in attributes (#18636)
2 months ago
Sankalp Thakur 26786e9298
fix: skip controlled each fast path while another batch is pending (#18625)
2 months ago
github-actions[bot] 44a7813730
Version Packages (#18572)
2 months ago
Nic Polumeyv 3dde011d3a
fix: call `onerror` and provide a working `reset` when hydrating a failed boundary (#18556)
3 months ago
Floze 2bace308e3
fix: preserve select selection with spread attributes (#18561)
3 months ago
github-actions[bot] b29d7002ec
Version Packages (#18560)
3 months ago
Manuel b791cac54e
chore: provide `indent` option for `print` (#18474)
3 months ago
github-actions[bot] 4a6a85b5f1
Version Packages (#18552)
3 months ago
Joe Schafer d0dbe1a480
perf: skip quadratic blocker analysis when no top-level await (#18548)
3 months ago
Simon H 22e0adb75a
fix: rerun derived that had an abort controller on reconnection (#18551)
3 months ago
github-actions[bot] 602a873b6b
Version Packages (#18497)
3 months ago
adiGuba a4fd67e361
fix: $state.eager() is sometimes incorrect in SSR (#18530)
3 months ago
prashantg-pixi 199ffebca3
fix: clear previous_task reference after abort in Tween (#18541)
3 months ago
Simon H edeef1f9f7
chore: add some failing tests (#18528)
3 months ago
Fedor Nezhivoi a91b068786
fix: abort deriveds own AbortSignal when it disconnects (#18400)
3 months ago
Thribhuvan b4d1583ae2
fix: transform computed keys in keyed each block destructuring patterns (#18521)
3 months ago
Rabindra Kumar Meher 08a9e9e7e4
fix: prevent derived connection leak in untracked contexts (#18517)
3 months ago
JY Wey bfbb026f2f
fix: skip unnecessary derived effect in earlier batch (#18525)
3 months ago
Ivan 5edd8b0602
fix: chain preprocessor sourcemaps with an empty sources[0] (#18518)
3 months ago
Paolo Ricciuti 41642b70ee
fix: avoid declaration tag warning in event handlers (#18500)
3 months ago
Paolo Ricciuti 8fb7ceeba5
fix: don't treat declaration tags as parts inside each blocks (#18507)
3 months ago
Paolo Ricciuti b1cadd1eae
chore: drop dead code that make TSGO fail (#18496)
3 months ago
Paolo Ricciuti b9e03714eb
fix: correctly transform declaration tags during SSR (#18492)
3 months ago
github-actions[bot] eae50dfd1c
Version Packages (#18435)
4 months ago
Simon H 36ae0622a8
fix: always unset reactivity context after restoring it (#18453)
4 months ago
jyc.dev a6985bcd24
fix: strip `?` from optional parameters in svelte lang ts (#18448)
4 months ago
Yuichiro Yamashita c4daa490bb
fix: include wrapping parentheses in `{@const}` declarator end (#18436)
4 months ago
Nic Polumeyv 0510174bc0
fix: make `SvelteURLSearchParams` notifications accurate (#18425)
4 months ago
dependabot[bot] 8ea3ee8c62
chore(deps-dev): bump esbuild from 0.25.11 to 0.28.1 (#18427)
4 months ago
github-actions[bot] a9f48540e2
Version Packages (#18389)
4 months ago
sijie-Z 71a6515bd6
fix: check boundary exists before calling error handler in async derived (#18384)
4 months ago
sijie-Z 3d83c9abe6
fix: add bigint to Primitive type for $state.snapshot (#18388)
4 months ago
github-actions[bot] 51baf1c1af
Version Packages (#18357)
4 months ago
Simon H 3d5c4ab620
fix: prevent false-positive reactivity loss warning (#18373)
4 months ago
Simon H bdb1a0f847
fix: ensure async block assigns correct nodes to effect (#18371)
4 months ago
Simon H e4bfc5f45a
chore: bump esrap dependency (#18372)
4 months ago
Simon H 1b4c43b8e5
fix: ignore declaration tags for animation directive (#18366)
4 months ago
Mathias Picker 85dcb91f7c
chore: upgrade to vitest v4 (#18265)
4 months ago
Simon H a81f96549d
fix: reject pending async deriveds on discard (#18308)
4 months ago
github-actions[bot] 3ef761b87b
Version Packages (#18346)
4 months ago
Simon H 5b8db1be35
fix: error at compile time on duplicate snippet/declaration tag definitions (#18351)
4 months ago
Simon H 56013a2c01
fix: check references for blockers on server, too (#18352)
4 months ago
hjaber 2afb895ffa
fix: parse declaration tags with a division operator in the initializer (#18353)
4 months ago
Yuichiro Yamashita b471c15e61
fix: don't hang on a tag whose expression ends with a trailing slash (#18350)
4 months ago
Yuichiro Yamashita c74f44fff9
fix: don't mistake `type` identifier expressions for TS `type` declarations in tags (#18330)
4 months ago
Rich Harris b76b937e00
fix: various declaration tag bugs (#18348)
4 months ago
jdoughty04 378bb25097
fix: set input type before spread value (#18345)
4 months ago
jiyujie2006 2f6307af65
Fix searchParams.set duplicate updates (#18336)
4 months ago
ottomated 11985c020f
docs: desloppify browser support page (#18333)
4 months ago
Rich Harris 05a3bce6bb
chore: minor tidy-ups (#18326)
4 months ago
Rich Harris e027d8bf22
chore: annotate `each_array` return value (#18325)
4 months ago
github-actions[bot] 70afafe18e
Version Packages (#18315)
4 months ago
Rich Harris 6d26dce265
allow class/function expressions in tags (#18324)
4 months ago
Mathias Picker 2fae91af6d
perf: deduplicate identical hoisted templates within a component (#18320)
4 months ago
Mathias Picker a40c745fd9
perf: hoist rest_props exclude list as a module-scope Set (#18252)
4 months ago
Simon H 980c7e2321
fix: don't error on `{type}` in declaration tags (#18321)
4 months ago
Rich Harris 5300843e86
chore: bump playwright (#18319)
4 months ago
Simon H 59d3a36f82
feat: allow declarations in the template (#18282)
4 months ago
Rich Harris a9e82dd388
chore: remove `on_fork_commit` (#18318)
4 months ago
Mathias Picker a9916053d9
perf: use createElement instead of createElementNS for HTML elements (#18262)
4 months ago
Mathias Picker 27e74c4df7
docs: add auto-generated browser support page (#18276)
4 months ago
Mathias Picker 67090e8ee8
perf: store current_sources as Set for O(1) membership checks (#18278)
4 months ago
github-actions[bot] 0bb715d3cf
Version Packages (#18255)
4 months ago
Simon H 4953860835
chore: remove unused class property (#18307)
4 months ago
Simon H 638ab370a5
fix: prevent batch unlinking twice (#18303)
4 months ago
Rich Harris 0da9f9e2ab
fix: disallow effect creation after `await` (#18299)
4 months ago
Simon H d4be4e2973
chore: ensure treeshaking test runs during CI (#18302)
4 months ago
Elliott Johnson e705369dee
fix: propagate async @const blockers through closure references (#18309)
4 months ago
Rich Harris ec08dbc7ee
fix: only unlink batch if we're done with it (#18298)
4 months ago
Simon H b40c359d44
fix: don't assume boundary exists during increment/decrement (#18289)
4 months ago
Simon H c01e598fff
fix: avoid waterfall-warning when async resolves to same value (#18297)
4 months ago
Rich Harris 070a0c4f77
Revert "perf: use Set instead of Array for constant lookups in utils.js" (#18294)
4 months ago
Rich Harris c9f7298270
chore: fix spelling in test (#18292)
4 months ago
RonGamzu d2c7fa3494
fix: use consistent spelling in script_unknown_attribute warning (#18281)
4 months ago
Simon H 60eaa92b0b
fix: resume outro-ed branches if they were kept around (#18291)
4 months ago
Simon H 871e590c59
fix: settle discarded batch (#18290)
4 months ago
Mathias Picker e6110d31c5
perf: use Set instead of Array for constant lookups in utils.js (#18250)
4 months ago
Simon H fe9ab936b6
fix: allow `$derived(await ...)` in disconnected effect roots (#18273)
5 months ago
Karl Georgsen f023e8d7c8
chore: add tag name to a11y_click_events_have_key_events warning (#18272)
5 months ago
wheelman bb69f9c44c
fix: declare `let:` directives before `{@const}` on slotted elements (#18271)
5 months ago
Puneet Dixit 8b961be0b1
fix: remove raw-text hydration markers (#18269)
5 months ago
Mathias Picker 04d408b29d
perf: walk composedPath() directly in delegated event propagation (#18268)
5 months ago
Simon H 078f901f61
fix: catch rejected promises while merging/committing (#18266)
5 months ago
Simon H a6002b587c
fix: unlink errored and otherwise finished batch (#18264)
5 months ago
Simon H 4656e6895d
fix: make unnecessary commit work less likely (#18263)
5 months ago
Simon H 91a42e2ed6
fix: correctly coordinate component-level effects inside async blocks (#18260)
5 months ago
Simon H 65283bc13a
fix: transfer effects when merging batches (#18254)
5 months ago
github-actions[bot] b65a3f3fc5
Version Packages (#18240)
5 months ago
Simon H ef319ed492
chore: bump acorn-typescript/esrap (#18248)
5 months ago
Simon H d654db83ef
fix: avoid false-positive batch invariant error (#18246)
5 months ago
Simon H 000c594e05
fix: `{#await await ...}` and async dependencies fixes (#18243)
5 months ago
Sean Kenneth Doherty a5df6616ea
fix: avoid unnecessary stringify in server attributes (#18232)
5 months ago
github-actions[bot] f9440dc3ed
Version Packages (#18239)
5 months ago
OfirHaf ca3f35bf7d
fix(print): handle svelte:body and fix keyframe percentage double-printing (#18234)
5 months ago
Rich Harris 2bc3592eb1
fix: use named symbols everywhere (#18238)
5 months ago
Simon H dc1f037fa6
fix: don't run teardown effects when deriveds are unfreezed (#18227)
5 months ago
Simon H 1e899cba35
fix: execute uninitialized derived even if it's destroyed (#18228)
5 months ago
Simon H eb10a70cf1
fix: unset context synchronously in `run` (#18236)
5 months ago
github-actions[bot] 4d8f99a270
Version Packages (#18220)
5 months ago
Rich Harris 0552308817
chore: bump devalue (#18219)
5 months ago
Elliott Johnson e1cbbd9644
Merge commit from fork
5 months ago
Elliott Johnson a16ebc67bb
Merge commit from fork
5 months ago
Simon H d2375e2ebc
Merge commit from fork
5 months ago
Simon H 547853e240
Merge commit from fork
5 months ago
github-actions[bot] 55f9c85c09
Version Packages (#18158)
5 months ago
Rich Harris a10e8e47a5
fix: keep dependencies of `$state.eager`/`pending` (alternative approach) (#18218)
5 months ago
quyentonndbs ef4b97dfab
fix: duplicated "of" in events.js comment (#18217)
5 months ago
Rich Harris 5122936edb
fix: treat batches as a linked list (#18205)
5 months ago
Simon H 1688c84be9
chore: allow `null` for `pending` in typings (#18201)
5 months ago
Rich Harris af5b9724ab
chore: flatten `#process()` (#18190)
5 months ago
Rich Harris 9ffc13d7c3
fix: remove `source.updated` stack traces after `flush` (#18196)
5 months ago
Simon H e00944ffd1
fix: correctly compile component member expressions for SSR (#18192)
5 months ago
Rich Harris 9950b22869
fix: process batches created in effect and immediately flushed (#18194)
5 months ago
Simon H fcaa8ce723
fix: reapply new batch after `#commit` (#18186)
5 months ago
Rich Harris 908c9d0312
fix: leave stale promises to wait for a later resolution, instead of rejecting (#18180)
5 months ago
Rich Harris 4d2b6c61e0
chore: make `batch.#pending` a number rather than a map (#18184)
5 months ago
Simon H 1c150a460f
fix: abort running obsolete async branches (#18118)
5 months ago
Rich Harris 91e1ead773
chore: remove unnecessary `increment_pending` calls (#18183)
5 months ago
Simon H aeb6bd088b
fix: reapply context after transforming error during SSR (#18099)
5 months ago
Simon H 5e054574db
fix: don't override new current_batch (#18170)
5 months ago