Commit Graph

3015 Commits (svelte@5.49.0)

Author SHA1 Message Date
Rich Harris 8dd8e3ec0b
chore: minor each tweak (#17294)
8 months ago
Rich Harris 6dea3d0a28
chore: skip static index update (#17249)
8 months ago
Manuel 5b5f688ddd
fix: `print(ast)` types (#17255)
8 months ago
Rich Harris 0e1c98ea11
fix: allow `$props.id()` to occur after an `await` (#17285)
8 months ago
github-actions[bot] f8287b0d91
Version Packages (#17268)
8 months ago
Rich Harris 649d8572a6
fix: handle cross-realm Promises in `hydratable` (#17284)
8 months ago
Rich Harris 617e179e68
fix: preserve node locations for better sourcemaps (#17269)
9 months ago
Rich Harris 6d696be170
chore: update parser snapshots (#17267)
9 months ago
adiGuba 570f64963b
fix: add props to state_referenced_locally (#17266)
9 months ago
Simon H a72167bb38
chore: more effect debug helpers (#17259)
9 months ago
github-actions[bot] b4b580a13a
Version Packages (#17257)
9 months ago
ComputerGuy bec7ca7918
fix: throw on invalid `{@tag}`s (#17256)
9 months ago
Paolo Ricciuti ae6004657d
fix: array destructuring after await (#17254)
9 months ago
github-actions[bot] 5c821c1a41
Version Packages (#17253)
9 months ago
Simon H da4cd0e359
fix: link offscreen items and last effect in each block correctly (#17240)
9 months ago
github-actions[bot] 1bc3ae7cbf
Version Packages (#17247)
9 months ago
Rich Harris 8addf203c4
feat: add `print(...)` function (#16188)
9 months ago
github-actions[bot] cc1b3f234a
Version Packages (#17245)
9 months ago
Alejandro Torres 3c63b12ccd
chore: fix typos in code comments and documentation (#17187)
9 months ago
Simon H a7848c021a
fix: generate correct code for simple destructurings (#17237)
9 months ago
Simon H d0e61bc252
fix: ensure each block animations don't mess with transitions (#17238)
9 months ago
Rich Harris e3acf5deea
chore: better log_effect_tree (#17243)
9 months ago
Simon H 5546272988
chore: test component exports + async (#17241)
9 months ago
Rich Harris 52a36bdb35
fix: link offscreen items and last effect in each block correctly (alternative) (#17244)
9 months ago
Simon H f2dd477031
fix: await blockers before initialising const (#17226)
9 months ago
github-actions[bot] c6f99e6399
Version Packages (#17234)
9 months ago
Elliott Johnson c2a110cd81
feat: `hydratable` (#17154)
9 months ago
github-actions[bot] 129c4086f7
Version Packages (#17228)
9 months ago
Simon H 84b261886b
chore: lift "flushSync cannot be called in effects" restriction (#17139)
9 months ago
Paolo Ricciuti ea8838e96f
fix: store forked derived values (#17212)
9 months ago
Simon H 53bbe3462b
fix: don't execute attachments and attribute effects eagerly (#17208)
9 months ago
github-actions[bot] 1aafbc47ff
Version Packages (#17204)
9 months ago
Simon H 91486fa807
fix: take async into account for bindings/transitions/animations/attachments (#17198)
9 months ago
Paolo Ricciuti a17dc3c302
fix: correctly migrate named self closing slots (#17199)
9 months ago
github-actions[bot] 110181068f
Version Packages (#17202)
9 months ago
Paolo Ricciuti 056b201d80
fix: don't set derived values during time traveling (#17163)
9 months ago
github-actions[bot] 9ccbd734f2
Version Packages (#17192)
9 months ago
Rich Harris e365890ef9
fix: maintain correct linked list of effects when updating each blocks (#17191)
9 months ago
github-actions[bot] 92c936d9b3
Version Packages (#17189)
9 months ago
Simon H 203c228174
fix: don't cancel transition of already outroing elements (#17186)
9 months ago
Simon H ebb97a618c
perf: don't use tracing overeager during dev (#17183)
9 months ago
github-actions[bot] 3b4b0adcd5
Version Packages (#17178)
9 months ago
Simon H 3604fdac6b
fix: avoid other batches running with queued root effects of main batch (#17145)
9 months ago
Rich Harris fe50e58f34
chore: fix types of binding.blocker (#17177)
9 months ago
github-actions[bot] b94289d23b
Version Packages (#17168)
9 months ago
Simon H 99e670f632
fix: ensure eager effects don't break reactions chain (#17138)
9 months ago
Simon H a7a6d898d5
fix: correctly handle functions when determining async blockers (#17137)
9 months ago
Rich Harris e0501ede03
chore: only skip effects when deferring (#17169)
9 months ago
Simon H 686720070b
fix: keep deriveds reactive after their original parent effect was destroyed (#17171)
9 months ago
Simon H 7fd2d8660f
fix: parallelize async `@const`s in the template (#17165)
9 months ago
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