Commit Graph

1431 Commits (e41a8ea3aa75dba5bb5d7ee20facbf7d3fe0d36d)

Author SHA1 Message Date
Yuki Ishii 5d1ffcf413
fix: allow await in if block consequent and alternate (#16890)
1 month ago
ComputerGuy 303750a124
fix: don't replace rest props with `$$props` for excluded props (#16898)
1 month ago
Rich Harris 2b49a5e3c0
fix: flush when pending boundaries resolve (#16897)
1 month ago
ComputerGuy 499973454a
fix: check boundary `pending` attribute at runtime on server (#16855)
2 months ago
Yuki Ishii 4f653ddcea
fix: update error message to clarify usage with radio inputs (#16874)
2 months ago
Yuki Ishii 31541c8849
fix: allow await in svelte boundary without pending (#16857)
2 months ago
Jakub Kolesár 46c10d0476
fix: missing title warning for buttons and anchor tags (#16872)
2 months ago
Rich Harris 25cbdc8cb1
fix: merge batches (#16866)
2 months ago
ComputerGuy 87f7e97963
fix: wrap async `children` in `$$renderer.async` (#16862)
2 months ago
ComputerGuy 8895bd44f5
fix: coerce nullish `<title>` to empty string (#16863)
2 months ago
LeeWxx ac7e160029
fix: SSR scoped classes for <select value> elements (#16821)
2 months ago
7nik 24944e61f5
fix: async `class:` + spread attributes were compiled into sync server-side code (#16834)
2 months ago
Simon H 5e6fed6bab
fix: depend on reads of deriveds created within reaction (async mode) (#16823)
2 months ago
ComputerGuy cf35a22568
fix: allow `{@html await ...}` and async snippets on the server (#16817)
2 months ago
Rich Harris 0e75498c21
fix: restore hydration state after `await` in `<script>` (#16806)
2 months ago
Rich Harris 5c09035685
fix: async hydration (#16797)
2 months ago
Rich Harris 1c8456885c
fix: remove outer hydration markers (#16800)
2 months ago
Rich Harris e5a75aecf8
chore: add explicit renderer.head method (#16796)
2 months ago
Rich Harris dc7da40369
chore: fix more wacky compiler output (#16794)
2 months ago
Rich Harris e4ebca9289
fix: preserve SSR context when block expressions contain `await` (#16791)
2 months ago
Rich Harris 39682e2435
chore: fix SSR compiler output (#16790)
2 months ago
Rich Harris 88d7e05a2e
chore: update sandbox to support async SSR (#16787)
2 months ago
Elliott Johnson 6798efacb2
chore: Rename Payload to Renderer (#16786)
2 months ago
Elliott Johnson b8fd326d96
feat: async SSR (#16748)
2 months ago
7nik 8c982f6101
fix: correct wrong fix, get test to actually do something (#16779)
2 months ago
7nik 8b106b94f4
fix: correctly SSR hidden="until-found" (#16773)
2 months ago
Rich Harris 72ce753278
fix: flush effects scheduled during boundary's pending phase (#16738)
2 months ago
dai 558a3c963b
fix: transform input defaults from spread (#16481)
2 months ago
ComputerGuy 2743cd0fe5
fix: correctly analyze `<object.property>` components (#16711)
2 months ago
Elliott Johnson f09f25e6a3
fix: Don't destroy boundary contents on error unless the boundary is an error boundary (#16746)
2 months ago
ComputerGuy 68d27f1c4f
chore: generate CSS hash using the filename (#16740)
2 months ago
Simon H f343b00cc6
fix: clean up scheduling system (#16741)
2 months ago
Rich Harris 18dd45640b
fix: send `$effect.pending` count to the correct boundary (#16732)
2 months ago
Simon H f51c04afce
fix: ensure batch exists when resetting a failed boundary (#16698)
3 months ago
Simon H bde51ed7dc
fix: don't fail on `flushSync` while flushing effects (#16674)
3 months ago
Simon H 677af5723c
fix: ensure async deriveds always get dependencies from thennable (#16672)
3 months ago
hariharan 0d48916e02
fix: cursor jumps in input two way binding (#16649)
3 months ago
Edoardo Cavazza 6534aa08e3
fix: Add check for builtin custom elements in `set_custom_element_data` (#16592)
3 months ago
Rich Harris 7105736828
fix: restore batch along with effect context (#16668)
3 months ago
ComputerGuy 57fed6a267
fix: place instance-level snippets inside async body (#16666)
3 months ago
Simon H acd9eaf2ec
fix: ensure correct order of template effect values (#16655)
3 months ago
Simon H a60995abef
fix: allow async `{@const}` in more places (#16643)
3 months ago
Simon H 1dcced59e7
fix: properly catch top level await errors (#16619)
3 months ago
Rich Harris f5d4350f3d
Revert "fix: do not defer unmount; immediately unmount components (#16624)" (#16639)
3 months ago
Rich Harris 2b85d2a544
fix: run blocks eagerly during flush (#16631)
3 months ago
Rich Harris 7b2d774627
chore: update/simplify test (#16630)
3 months ago
Harsh Mandan 95e5175581
fix: do not defer unmount; immediately unmount components (#16624)
3 months ago
ComputerGuy 036d4588ab
fix: actually use the changes from #16617 (#16626)
3 months ago
ComputerGuy a543559acf
fix: avoid recursion error when tagging circular references (#16622)
3 months ago
Simon H 0480f040c0
fix: skip effects inside dynamic component that is about to be destroyed (#16601)
3 months ago
Paolo Ricciuti 548ad7b7eb
fix: wrap `abort` in `without_reactive_context` (#16570)
3 months ago
Nathan Shively-Sanders 97f263c3d4
chore:Update for TS7 (#16485)
3 months ago
ComputerGuy 193f23fa05
feat: async fragments (#16542)
3 months ago
ComputerGuy b181c45484
chore: emit `await_reactivity_loss` in `for await` loops (#16521)
3 months ago
7nik bbd0b1ed87
fix: remount at any hydration error (#16248)
3 months ago
ComputerGuy d8c3f3d87e
fix: emit `snippet_invalid_export` instead of `undefined_export` for exported snippets (#16539)
3 months ago
7nik 540f1b19ec
fix: reset attribute cache after setting corresponding property (#16543)
4 months ago
ComputerGuy f5950f866c
fix: correctly differentiate static fields before emitting `duplicate_class_field` (#16526)
4 months ago
ComputerGuy 48f2fa22c0
fix: allow await expressions inside `{#await ...}` argument (#16514)
4 months ago
Paolo Ricciuti 99452053af
fix: `append_styles` in an effect to make them available on mount (#16509)
4 months ago
7nik c7851789d7
fix: always mark props as stateful (#16504)
4 months ago
ComputerGuy b0f9ea3ae6
fix: throw on duplicate class field declarations (#16502)
4 months ago
Rich Harris dc043fb2d3
fix: don't update a focused input with values from its own past (#16491)
4 months ago
Simon H 7eb11e0e24
fix: don't destroy effect roots created inside of deriveds (#16492)
4 months ago
Rich Harris 53417ea8f7
fix: preserve dirty status of deferred effects (#16487)
4 months ago
Rich Harris 8e2f4b51c5
fix: unset batch before flushing queued effects (#16482)
4 months ago
Rich Harris 1deb31082a
fix: abort and reschedule `$effect.pre` when necessary (#16335)
4 months ago
Simon H aabd333d89
fix: ensure subscriptions are picked up correctly by deriveds (#16466)
4 months ago
Rich Harris d3a01bd5a7
fix: always mark reactions of deriveds (#16457)
4 months ago
Rich Harris 5033c8e965
fix: tag stores for `$inspect.trace()` (#16452)
4 months ago
ComputerGuy e1e7a75d71
fix: allow async destructured deriveds (#16444)
4 months ago
ComputerGuy ad0b58ee96
fix: move ownership validation into async component body (#16449)
4 months ago
ComputerGuy 63cbe2108a
fix: disallow `export { foo as default }` in `<script module>` (#16447)
4 months ago
Simon H 27c90dfa83
fix: don't reexecute derived with no dependencies on teardown (#16438)
4 months ago
Elliott Johnson f5db130e2d
chore: Switch `payload.out` to an array (#16428)
4 months ago
Paolo Ricciuti c2da1ebb85
fix: keep effect in the graph if it has an abort controller (#16430)
4 months ago
Paolo Ricciuti bdf6adb411
fix: delegate functions with shadowed variables if declared locally (#16417)
4 months ago
Ray Thurn Void 9e1e7139fb
fix: robustify reset calls in error boundaries (#16171)
4 months ago
Rich Harris a67b5862f1
fix: more informative error when effects run in an infinite loop (#16405)
4 months ago
Rich Harris 09c9a3c165
fix: silence `$inspect` errors when the effect is about to be destroyed (#16391)
4 months ago
Simon H ee1ef6083a
fix: ensure compiler state is reset before compilation (#16396)
4 months ago
7nik 6cf3a19342
fix: better handle $inspect on array mutations (#16389)
4 months ago
ComputerGuy 8e73fd4b03
fix: don't log `await_reactivity_loss` warning when signal is read in `untrack` (#16385)
4 months ago
Rich Harris e01bd97bef
fix: update `$effect.pending()` immediately after a batch is removed (#16382)
4 months ago
Rich Harris 9134caca24
fix: only skip updating bound `<input>` if the input was the source of the change (#16373)
4 months ago
Rich Harris 96ff125fcf
chore: fix error boundary test (#16368)
4 months ago
Rich Harris be0818552d
chore: squelch hydration warning in test suite (#16336)
4 months ago
Ahmad S. 63b5ebf36e
fix: silence a11y warning for inert elements (#16339)
4 months ago
Rich Harris 0672e48223
feat: allow `await` in components (#15844)
4 months ago
Rich Harris a23599a196
fix: don't show adjusted error messages in boundaries (#16360)
4 months ago
Ahmad S. 96c1a10042
fix: silence autofocus a11y warning inside `<dialog>` (#16341)
4 months ago
Paolo Ricciuti c9098bcaa0
fix: use `state` instead of `source` in reactive classes (#16239)
4 months ago
Rich Harris 140462374a
fix: re-evaluate derived props during teardown (#16278)
4 months ago
Rich Harris cf2ff5e8dc
fix: abort and reschedule effect processing after state change in user effect (#16280)
4 months ago
Paolo Ricciuti 834cd91b36
fix: account for mounting when `select_option` in `attribute_effect` (#16309)
5 months ago
7nik c3348aea06
fix: do not proxify the value assigned to a derived (#16302)
5 months ago
Simon H 32882a956b
feat: add parent hierarchy to `__svelte_meta` objects at dev time (#16255)
5 months ago
Simon H 2f68131e9a
fix: revert props legacy mode regression (#16279)
5 months ago
Rich Harris b673145659
feat: add `getAbortSignal()` (#16266)
5 months ago
Rich Harris e896c55b6c
chore: bump esrap (#16240)
5 months ago