Commit Graph

3015 Commits (svelte@5.49.0)

Author SHA1 Message Date
github-actions[bot] b9c7e45408
Version Packages (#17161)
9 months ago
Rich Harris c02ad03bfd
fix: overhaul `each` blocks (#17150)
9 months ago
github-actions[bot] 1e0c8c544c
Version Packages (#17159)
9 months ago
Simon H 6e571dc909
fix: ensure deferred effects can be rescheduled later on (#17147)
9 months ago
Simon H a7a7d1e014
fix: take blockers of components into account (#17153)
9 months ago
Simon H a0c7c3b327
fix: properly defer document title until async work is complete (#17158)
9 months ago
github-actions[bot] e238e6611e
Version Packages (#17135)
9 months ago
Simon H 14b0926008
fix: don't deactivate other batches (#17132)
9 months ago
github-actions[bot] 554202ecf4
Version Packages (#17127)
9 months ago
Simon H 68d4f9c3b6
fix: wait on dependencies of async bindings (#17120)
9 months ago
github-actions[bot] 3a4dc7d83d
Version Packages (#17119)
9 months ago
Rich Harris 46e9d2d357
chore: remove `UNOWNED` flag (#17105)
9 months ago
github-actions[bot] 7a2435471c
Version Packages (#17087)
9 months ago
Simon H eea8a18cf2
fix: ensure fork always accesses correct values (#17098)
9 months ago
7nik b7625fd42c
fix: do not spread non-enumerable symbols (#17097)
9 months ago
Rich Harris 8ebbb3c7bc
fix: preserve symbols when creating derived rest properties (#17096)
9 months ago
Simon H 0e709e3fec
fix: change title only after any pending work has completed (#17061)
10 months ago
github-actions[bot] 723c421fbb
Version Packages (#17078)
10 months ago
Rich Harris a791e9178b
fix: treat each blocks with async dependencies as uncontrolled (#17077)
10 months ago
github-actions[bot] 8ebc3b1337
Version Packages (#17076)
10 months ago
Simon H 9477f18b77
fix: transform `$bindable` after `await` expressions (#17066)
10 months ago
github-actions[bot] 70d020bd91
Version Packages (#17055)
10 months ago
Alejandro Torres 83746adcf7
Fix spelling in code comments (#17059)
10 months ago
Rich Harris 1126ef3186
feat: out of order rendering (#17038)
10 months ago
Rich Harris 90a8a03988
fix: settle batch after DOM updates (#17054)
10 months ago
github-actions[bot] 1b2f7b068e
Version Packages (#17053)
10 months ago
Simon H d2f453f8b0
fix: don't restore batch in `#await` (#17051)
10 months ago
Rich Harris cc0143c904
fix: handle `<svelte:head>` rendered asynchronously (#17052)
10 months ago
github-actions[bot] da00abe116
Version Packages (#17037)
10 months ago
Rich Harris b5e23a6d13
chore: tweak memoizer logic (#17042)
10 months ago
Rich Harris fc181cf611
chore: move `$effect` visitors (#17041)
10 months ago
Rich Harris 9096680c2e
chore: use ESTree namespace imports (#17040)
10 months ago
Rich Harris b01647455c
chore: create_expression_metadata -> ExpressionMetadata (#17039)
10 months ago
Paolo Ricciuti 8368a4beb9
fix: better error message for global variable assignments (#17036)
10 months ago
github-actions[bot] e33f774877
Version Packages (#17035)
10 months ago
Rich Harris 657ec89caa
fix: ignore fork `discard()` after `commit()` (#17034)
10 months ago
github-actions[bot] 875a04170e
Version Packages (#17029)
10 months ago
Rich Harris d8137b78a5
fix: less confusing names for inspect errors (#17026)
10 months ago
Simon H b7f39b464a
fix: always allow `setContext` before first await in component (#17031)
10 months ago
Rich Harris 4eb432e941
chore: remove event hoisting (#17030)
10 months ago
Rich Harris c08ecba1b7
feat: forking (#17004)
10 months ago
github-actions[bot] 4a214f786f
Version Packages (#17019)
10 months ago
Rich Harris f45d9cfe2d
fix: better optimization of await expressions (#17025)
10 months ago
Rich Harris 2e1dd489f6
fix: coordinate mount of snippets with await expressions (#17021)
10 months ago
Rich Harris 523c85bd3d merge
10 months ago
Rich Harris 4e847cfd14 merge main
10 months ago
Rich Harris 0b477871e8 fix: coordinate mount of snippets with await expressions
10 months ago
Simon H bd697c12c6
fix: flush pending changes after rendering `failed` snippet (#16995)
10 months ago
Simon H cd3a11edff
fix: take into account static blocks when determining transition locality (#17018)
10 months ago
github-actions[bot] 86aedaecf9
Version Packages (#17009)
10 months ago
Simon H 16117d9b69
perf: skip repeatedly traversing the same derived (#17016)
10 months ago
Rich Harris 851da4b629
chore: exclude vite optimized deps from stack traces (#17008)
10 months ago
github-actions[bot] 3009a0208f
Version Packages (#16992)
10 months ago
Rich Harris 7e40186a5f
fix: run batch until complete (#16971)
10 months ago
Rich Harris 4b32d6d8b3
fix: make `$inspect` logs come from the callsite (#17001)
10 months ago
Simon H a57868ebce
fix: don't preserve reactivity context across function boundaries (#17002)
10 months ago
David f549478dd0
fix: guard contents updated before the guard itself (#16930)
10 months ago
github-actions[bot] 7d9ea8ea99
Version Packages (#16984)
10 months ago
Rich Harris b8627e511d
chore: centralise branch management (#16977)
10 months ago
ComputerGuy 9a488d6b25
fix: place `let:` declarations before `{@const}` declarations (#16985)
10 months ago
Rich Harris c8ef540985
fix: improve `each_key_without_as` error (#16983)
10 months ago
github-actions[bot] bd2d3db6d0
Version Packages (#16970)
10 months ago
Rich Harris 53f2693b3b
feat: `$state.eager(value)` (#16849)
10 months ago
Rich Harris ee093e4c86
fix: preserve `<select>` state while focused (#16958)
10 months ago
Rich Harris 9b5fb3f430
fix: error if `each` block has `key` but no `as` clause (#16966)
10 months ago
Rich Harris 7d977fad88
chore: run boundary async effects in the context of the current batch (#16968)
10 months ago
github-actions[bot] a54186242a
Version Packages (#16967)
10 months ago
Paolo Ricciuti 8691391c08
fix: add hydration markers in `pending` branch of SSR boundary (#16965)
10 months ago
github-actions[bot] 94fc836e3a
Version Packages (#16950)
10 months ago
Rich Harris 470d61221e
chore: tidy up (#16957)
10 months ago
Rich Harris d6d13ced08
docs: improve createContext documentation (#16952)
10 months ago
Elliott Johnson 9cdd76e3a3
chore: Remove annoying sync-async warning (#16949)
10 months ago
github-actions[bot] 005895d994
Version Packages (#16946)
10 months ago
Rich Harris f3c55e8e6c
feat: add `createContext` utility for type-safe context (#16948)
10 months ago
Simon H 99711d5822
fix: ensure map iteration order is correct (#16947)
10 months ago
Simon H 28765f846e
fix: don't rerun async effects unnecessarily (#16944)
10 months ago
Rich Harris d50701d277 unused
10 months ago
Rich Harris a7c958a2a5
chore: simplify `batch.apply()` (#16945)
10 months ago
github-actions[bot] 2a951391dc
Version Packages (#16940)
10 months ago
Hannes Rüger e8330ee7bf
fix: svg `radialGradient` `fr` attribute missing in types (#16943)
10 months ago
Simon H 23e2bb3b89
fix: unset context on stale promises (#16935)
10 months ago
github-actions[bot] 420468a041
Version Packages (#16920)
10 months ago
Simon H 5d9b4c66ca
fix: better input cursor restoration for `bind:value` (#16925)
10 months ago
7nik 93012e1e6f
fix: track the user's getter of `bind:this` (#16916)
10 months ago
Paolo Ricciuti 297afd0578
fix: generate correct code for `each` blocks with async body (#16923)
10 months ago
Paolo Ricciuti 7f8e60fd8a
fix: generate correct SSR code for the case where `pending` is an attribute (#16919)
10 months ago
Simon H 9c350cfdab
chore: test for batches flush fix (#16915)
10 months ago
github-actions[bot] 844fab7798
Version Packages (#16913)
10 months ago
Rich Harris b5c8437151
fix: flush batches whenever an async value resolves (#16912)
10 months ago
github-actions[bot] 06bd6a8fbd
Version Packages (#16909)
10 months ago
Simon H 78481862fb
fix: hydrate each blocks inside element correctly (#16908)
10 months ago
Paolo Ricciuti 1b1f144396
fix: add `UNKNOWN` evaluation value before breaking for `binding.initial===SnippetBlock` (#16910)
10 months ago
ComputerGuy edcd4b59e3
fix: correctly transform `$derived` private fields on server (#16894)
10 months ago
Yuki Ishii 5d1ffcf413
fix: allow await in if block consequent and alternate (#16890)
10 months ago
ComputerGuy 303750a124
fix: don't replace rest props with `$$props` for excluded props (#16898)
10 months ago
github-actions[bot] acdd93053d
Version Packages (#16899)
10 months ago
Rich Harris 2b49a5e3c0
fix: flush when pending boundaries resolve (#16897)
10 months ago
github-actions[bot] 5c847ff79e
Version Packages (#16877)
11 months ago
Jungzl 949c026259
fix: preserve tuple type in `$state.snapshot` (#16864)
11 months ago
ComputerGuy 499973454a
fix: check boundary `pending` attribute at runtime on server (#16855)
11 months ago
Yuki Ishii 4f653ddcea
fix: update error message to clarify usage with radio inputs (#16874)
11 months ago
Yuki Ishii 31541c8849
fix: allow await in svelte boundary without pending (#16857)
11 months ago
github-actions[bot] e9cd45a2da
Version Packages (#16848)
11 months ago
Jakub Kolesár 46c10d0476
fix: missing title warning for buttons and anchor tags (#16872)
11 months ago
Rich Harris 25cbdc8cb1
fix: merge batches (#16866)
11 months ago
ComputerGuy 87f7e97963
fix: wrap async `children` in `$$renderer.async` (#16862)
11 months ago
ComputerGuy 8895bd44f5
fix: coerce nullish `<title>` to empty string (#16863)
11 months ago
Simon H bb33c555b4
chore: bump some dev deps, harden github actions (#16851)
11 months ago
Rich Harris ed0a39345b
chore: simplify batch logic (#16838)
11 months ago
Rich Harris f0cede6782
chore: replace queue_idle_task with queue_micro_task (#16844)
11 months ago
github-actions[bot] b92a55994b
Version Packages (#16824)
11 months ago
LeeWxx ac7e160029
fix: SSR scoped classes for <select value> elements (#16821)
11 months ago
7nik 24944e61f5
fix: async `class:` + spread attributes were compiled into sync server-side code (#16834)
11 months ago
Aaron Ajose 7b2113e1bf
chore: fix typos (#16830)
11 months ago
Simon H 1ef297f25d
fix: ensure tick resolves within a macrotask (#16825)
11 months ago
Simon H 5e6fed6bab
fix: depend on reads of deriveds created within reaction (async mode) (#16823)
11 months ago
github-actions[bot] 8680c29a0a
Version Packages (#16818)
11 months ago
Brittany Harris 562623d536
fix: use SSR format compatible with nginx SSI for props.id (#16820)
11 months ago
ComputerGuy cf35a22568
fix: allow `{@html await ...}` and async snippets on the server (#16817)
11 months ago
github-actions[bot] 3c694ce3a4
Version Packages (#16807)
11 months ago
Rich Harris 0e75498c21
fix: restore hydration state after `await` in `<script>` (#16806)
11 months ago
github-actions[bot] ded13b825d
Version Packages (#16801)
11 months ago
Rich Harris 5c09035685
fix: async hydration (#16797)
11 months ago
Rich Harris 1c8456885c
fix: remove outer hydration markers (#16800)
11 months ago
Rich Harris e5a75aecf8
chore: add explicit renderer.head method (#16796)
11 months ago
Rich Harris dc7da40369
chore: fix more wacky compiler output (#16794)
11 months ago
github-actions[bot] 4616422832
Version Packages (#16789)
11 months ago
Rich Harris e4ebca9289
fix: preserve SSR context when block expressions contain `await` (#16791)
11 months ago
Rich Harris 39682e2435
chore: fix SSR compiler output (#16790)
11 months ago
Rich Harris 88d7e05a2e
chore: update sandbox to support async SSR (#16787)
11 months ago
github-actions[bot] 16e16da1a8
Version Packages (#16785)
11 months ago
Rich Harris 6076bab730
fix: issue `state_proxy_unmount` warning when unmounting a state proxy (#16747)
11 months ago
Elliott Johnson 6798efacb2
chore: Rename Payload to Renderer (#16786)
11 months ago
Rich Harris fc35d9fab8
fix: add `then` to class component `render` output (#16783)
11 months ago
github-actions[bot] eaf4d40f51
Version Packages (#16774)
11 months ago
Elliott Johnson b8fd326d96
feat: async SSR (#16748)
11 months ago
7nik 8c982f6101
fix: correct wrong fix, get test to actually do something (#16779)
11 months ago
7nik 8b106b94f4
fix: correctly SSR hidden="until-found" (#16773)
11 months ago
Rich Harris 8b4e1fcb7a
chore: extract a couple of drive-by fixes from other branch (#16772)
11 months ago
Rich Harris 808fbb4989
chore: inline `suspend` (#16755)
11 months ago
github-actions[bot] df13be8727
Version Packages (#16754)
11 months ago
Rich Harris 72ce753278
fix: flush effects scheduled during boundary's pending phase (#16738)
11 months ago
github-actions[bot] 96a4b16842
Version Packages (#16744)
11 months ago
dai 558a3c963b
fix: transform input defaults from spread (#16481)
11 months ago
ComputerGuy 2743cd0fe5
fix: correctly analyze `<object.property>` components (#16711)
11 months ago
Elliott Johnson f09f25e6a3
fix: Don't destroy boundary contents on error unless the boundary is an error boundary (#16746)
11 months ago
ComputerGuy 68d27f1c4f
chore: generate CSS hash using the filename (#16740)
11 months ago
Simon H f343b00cc6
fix: clean up scheduling system (#16741)
11 months ago
github-actions[bot] f778975b76
Version Packages (#16734)
11 months ago
Rich Harris 18dd45640b
fix: send `$effect.pending` count to the correct boundary (#16732)
11 months ago
github-actions[bot] d92fa432d1
Version Packages (#16690)
11 months ago
Simon H f51c04afce
fix: ensure batch exists when resetting a failed boundary (#16698)
11 months ago
ComputerGuy 2344b4052e
fix: replace `undefined` with `void(0)` in CallExpressions (#16693)
12 months ago
ComputerGuy be645b4d9f
fix: place store setup inside async body (#16687)
12 months ago
Rich Harris 8f11796838 remove unused import
12 months ago
github-actions[bot] 942eaf027b
Version Packages (#16677)
12 months ago
Simon H bde51ed7dc
fix: don't fail on `flushSync` while flushing effects (#16674)
12 months ago
github-actions[bot] 5314f48d95
Version Packages (#16673)
12 months ago
github-actions[bot] 5912754fd6
Version Packages (#16667)
12 months ago
Simon H 677af5723c
fix: ensure async deriveds always get dependencies from thennable (#16672)
12 months ago
Gurpreet Atwal 967431c1a7
chore(elements.d.ts): add "Accept-CH" as valid value for `http-equiv` (#16671)
12 months ago
hariharan 0d48916e02
fix: cursor jumps in input two way binding (#16649)
12 months ago
Edoardo Cavazza 6534aa08e3
fix: Add check for builtin custom elements in `set_custom_element_data` (#16592)
12 months ago
Rich Harris 7105736828
fix: restore batch along with effect context (#16668)
12 months ago
ComputerGuy 57fed6a267
fix: place instance-level snippets inside async body (#16666)
12 months ago
github-actions[bot] e883cd086b
Version Packages (#16642)
12 months ago
Rich Harris d3cb1482fe
perf: better effect pruning (#16625)
12 months ago
Simon H acd9eaf2ec
fix: ensure correct order of template effect values (#16655)
12 months ago
ComputerGuy 11a2d8e937
fix: only emit `for_await_track_reactivity_loss` in async mode (#16644)
12 months ago
Simon H a60995abef
fix: allow async `{@const}` in more places (#16643)
12 months ago
Simon H 1dcced59e7
fix: properly catch top level await errors (#16619)
1 year ago
github-actions[bot] 04836a8799
Version Packages (#16603)
1 year ago
Rich Harris f5d4350f3d
Revert "fix: do not defer unmount; immediately unmount components (#16624)" (#16639)
1 year ago
Rich Harris 2b85d2a544
fix: run blocks eagerly during flush (#16631)
1 year ago
Rich Harris 7b2d774627
chore: update/simplify test (#16630)
1 year ago
Harsh Mandan 95e5175581
fix: do not defer unmount; immediately unmount components (#16624)
1 year ago
ComputerGuy 036d4588ab
fix: actually use the changes from #16617 (#16626)
1 year ago
ComputerGuy a543559acf
fix: avoid recursion error when tagging circular references (#16622)
1 year ago
ComputerGuy ad19a1a0f5
fix: don't clone non-proxies in `$inspect` (#16617)
1 year ago
github-actions[bot] 2e02868ef1
Version Packages (#16573)
1 year ago
Simon H 0480f040c0
fix: skip effects inside dynamic component that is about to be destroyed (#16601)
1 year ago
shamokit d2ba2589fe
fix: add hint popover (#16581)
1 year ago
Ben McCann f00b364d5b
chore: switch to jrdigewell version of remapping library (#16587)
1 year ago
Paolo Ricciuti 548ad7b7eb
fix: wrap `abort` in `without_reactive_context` (#16570)
1 year ago
Nathan Shively-Sanders 97f263c3d4
chore:Update for TS7 (#16485)
1 year ago
github-actions[bot] ec03c7ac36
Version Packages (#16560)
1 year ago
ComputerGuy 193f23fa05
feat: async fragments (#16542)
1 year ago
Rich Harris 41a20aa975
chore: remove `b.async` (#16566)
1 year ago
ComputerGuy b181c45484
chore: emit `await_reactivity_loss` in `for await` loops (#16521)
1 year ago
7nik bbd0b1ed87
fix: remount at any hydration error (#16248)
1 year ago
ComputerGuy d8c3f3d87e
fix: emit `snippet_invalid_export` instead of `undefined_export` for exported snippets (#16539)
1 year ago
Rich Harris e7e8a9c7b7
docs: remove 'thus', fix some phrasing (#16559)
1 year ago
Isak Regnström e1ff6ddf17
Correct link in README.md (#16557)
1 year ago
Anthony a3f18351af
docs: corrections (#16550)
1 year ago
github-actions[bot] 0cbb5becf6
Version Packages (#16544)
1 year ago
7nik 540f1b19ec
fix: reset attribute cache after setting corresponding property (#16543)
1 year ago
github-actions[bot] 9134856fec
Version Packages (#16529)
1 year ago
Rich Harris c04975d3db
fix: prevent last_propagated_event from being DCE'd (#16538)
1 year ago
Elliot Bentley 72e46d31c0
fix: add types for SVG bindable attributes (#16525)
1 year ago
ComputerGuy f5950f866c
fix: correctly differentiate static fields before emitting `duplicate_class_field` (#16526)
1 year ago