Commit Graph

11525 Commits (2912e4c49093ec07ccd31fdfd80026a1d1941332)
 

Author SHA1 Message Date
Rich Harris 2912e4c490
don't schedule effects in the next batch — the effect will be recreated if necessary
1 day ago
Rich Harris 78a1ba262e
Merge branch 'defer-new-effect-runs' into async-another-try-pt-4
1 day ago
Rich Harris f2efd5ec0d
tweak
2 days ago
Rich Harris 6150c4dc49
defer new render effect runs
2 days ago
Simon Holthausen 8a1046e426
Merge branch 'async-another-try-pt-2' into async-another-try-pt-3
2 days ago
Simon Holthausen f0053090ec
Merge branch 'async-another-try-pt-1' into async-another-try-pt-2
2 days ago
Simon Holthausen 9f12fdd61f
we need the "has pending batches" check to keep deriveds (maybe)dirty in more places after all
2 days ago
Rich Harris c66fab19b4
prettier
2 days ago
Rich Harris cea4875a2f
add tests from #18983 that fail on main but pass here
2 days ago
Rich Harris 4e314973d3
Merge branch 'main' into async-another-try-pt-1
2 days ago
Rich Harris 86eb09b76e
chore: even more async tests (#18990)
2 days ago
Rich Harris 2db9eccefe
Merge branch 'main' into async-another-try-pt-1
2 days ago
Rich Harris 4d2ad8a189
chore: add async-merge-blocking-pending test from #18983 (#18989)
2 days ago
Nic 5d7eef91f0
simplify the two tests
2 days ago
Nic 90dc9fc329
test: cover branch commit order and merged blocking pending
2 days ago
Rich Harris d69a3c3c1c
Update packages/svelte/src/internal/client/reactivity/batch.js
2 days ago
Simon Holthausen 458397909c
Merge branch 'async-another-try-pt-2' into async-another-try-pt-3
2 days ago
Simon Holthausen 0720e1d0dd
Merge branch 'async-another-try-pt-1' into async-another-try-pt-2
2 days ago
Simon Holthausen a8f5384326
Merge branch 'main' into async-another-try-pt-1
2 days ago
Rich Harris d9acd2da90
test: add async tests that already pass on main, unskip async-overlap-multiple-2 (#18981)
2 days ago
Rich Harris 95db764ce5
merge main
2 days ago
Rich Harris 6480a9737f
chore: make Batch prev/next/started public (#18982)
2 days ago
Rich Harris 0ecfc6079c
merge main
3 days ago
Rich Harris e22a67c432
chore: tidy up comments and types in batch.js and sources.js (#18980)
3 days ago
Rich Harris 397051dd85
merge main
3 days ago
Rich Harris 0c61f1bb76
chore: merge #dirty_effects and #maybe_dirty_effects into #dirty_reactions (#18979)
3 days ago
Simon Holthausen 674eecc951
Merge branch 'async-another-try-pt-2' into async-another-try-pt-3
3 days ago
Simon Holthausen 183aa530a5
Merge branch 'async-another-try-pt-1' into async-another-try-pt-2
3 days ago
Simon Holthausen 799b1096fa
code gold / remove obsolete code (e.g. the "outside reactivity" code is no longer needed because we now mark these deriveds clean if they show the latest value)
3 days ago
Simon Holthausen d654c969d3
tweak equality comparisons; keep dependencies not only for forks, and not only reactions but also deps
5 days ago
Rich Harris b759278c62
Merge branch 'async-another-try' into async-another-try-pt-1
5 days ago
Rich Harris e73102a6d4
fix tests
5 days ago
Rich Harris 9dcce10c99
Merge branch 'async-another-try' into async-another-try-pt-1
5 days ago
Simon Holthausen 61f58a5566
we don't need this logic anymore; switch oder of current/previous in update_derived so current batch has correct previous value
6 days ago
Simon Holthausen 08abbd3c96
fix edge case around equal values getting set
6 days ago
Simon H c930e89e42
Merge branch 'main' into async-another-try
7 days ago
Simon Holthausen d822c50b75
ensure offscreen each items always last; reschedule effects from earlier batches when unskipping
7 days ago
Simon Holthausen 11eddcce48
ensure batches don't "steal" each other's effects (can happen with certain microtask timings)
1 week ago
Serghei 707c28146b
fix: keep creating state sources for property checks during component init (#18949)
1 week ago
Simon Holthausen 18219ad1ff
make each blocks fork-aware + fixes around flatten/run seing discarded forks
1 week ago
svelte-triage-bot[bot] c85120fb9f
fix: track missing proxy keys in unowned deriveds (#18944)
1 week ago
github-actions[bot] 10fdca7d70
Version Packages (#18858)
1 week ago
svelte-triage-bot[bot] c580b381f7
fix: prevent duplicate derived subscriptions on reconnect (#18899)
1 week ago
911RS 3f885e3016
fix: don't throw state_unsafe_mutation when the focused element is removed with bind:activeElement (#18921)
1 week ago
Simon Holthausen 7018c09247
make await blocks fork-aware
1 week ago
Simon Holthausen a6221946cf
fix
1 week ago
Maksim Romanov fe4fb460b1
fix: error if `{:else}` is followed by another `{:else}` or `{:else if ...}` (#18900)
1 week ago
jarrednorris 179f66b297
fix: don't create async deriveds for a component destroyed while waiting for its top-level `await` (#18931)
1 week ago
jarrednorris 79a0c0d4d8
fix: attach event handlers that are assigned after a top-level `await` in production (#18933)
1 week ago
Fatih Çakır 14136f88fc
fix: print `{#await}` blocks that only have a pending branch (#18908)
1 week ago