Commit Graph

846 Commits (svelte@5.0.0-next.107)

Author SHA1 Message Date
Rich Harris f303d82043
chore: tidy up server exports (#10972)
2 years ago
Rich Harris d49e2aeb15
chore: explicit reexports (#10970)
2 years ago
Rich Harris 8a758d86ee
move some code (#10969)
2 years ago
Rich Harris cebbccbcba
chore: move svelte/internal to svelte/internal/client (#10968)
2 years ago
Rich Harris eaa243d2da
chore: reshuffle some code (#10967)
2 years ago
github-actions[bot] de6a802435
Version Packages (next) (#10966)
2 years ago
Dominic Gannaway ea6fd72e79
fix: apply animate on prefix/suffix each block mutations (#10965)
2 years ago
github-actions[bot] 1c645c3c07
Version Packages (next) (#10963)
2 years ago
Dominic Gannaway f118f8ea27
fix: improve action support for nested $effect (#10962)
2 years ago
Dominic Gannaway d50b7661e5
fix: improve effect sequencing and execution order (#10949)
2 years ago
Rich Harris 2079e675ea
replace skip_if_ssr and skip_if_hydrate with modes (#10956)
2 years ago
Rich Harris 326e2b4840
chore: simplify templates (#10954)
2 years ago
Dominic Gannaway cb18f8fbbe
chore: root effects should not have parents (#10950)
2 years ago
Rich Harris 9a4cd7e8d8
chore: refactor effects a bit (#10948)
2 years ago
github-actions[bot] b6598a3cc5
Version Packages (next) (#10934)
2 years ago
Rich Harris c683484f5f
chore: tidy up some hydration code (#10944)
2 years ago
Rich Harris f8fcbf0b0b
chore: tidy up some outdated code (#10947)
2 years ago
Rich Harris 66e0378155
chore: remove `$.space` (#10945)
2 years ago
Rich Harris 4fcedb2fb1
chore: simplify hydration (#10943)
2 years ago
Dominic Gannaway afe589e219
fix: improve order of pre-effect execution (#10942)
2 years ago
Rich Harris 3ce74e47a9
chore: update sequencing inside blocks (#10939)
2 years ago
Rich Harris 9bbc3328ee
chore: tidy up effect init (#10931)
2 years ago
Rich Harris 7adc14e24c
chore: unify pre effects (#10933)
2 years ago
Rich Harris f2cca537a3
feat: use implicit return for each block keys (#10938)
2 years ago
Rich Harris 808cc6fca6
feat: shorter each blocks (#10937)
2 years ago
Rich Harris 8cfea9f36c
breaking: always run pre effects synchronously (#10928)
2 years ago
github-actions[bot] b44311acc1
Version Packages (next) (#10920)
2 years ago
Rich Harris ed2981d7b8
chore: simplify updates (#10922)
2 years ago
Rich Harris 456e50d14b
chore: use `effect(...)` instead of `user_effect(...)` (#10927)
2 years ago
Rich Harris 7a17e21f8a
chore: remove managed_effect (#10926)
2 years ago
miunau bbd44e9e47
fix: Add `elementtiming` HTMLAttribute, remove `crossorigin` from HTMLInputAttributes (#10921)
2 years ago
Rich Harris b7a0d80bfc
simplify render_effect signature (#10925)
2 years ago
Rich Harris 59ff650ccb
remove if blocks around attribute updates (#10917)
2 years ago
Rich Harris 7e584e40d7
chore: optimise attributes (#10916)
2 years ago
Rich Harris 4f24eae9c3
simplify updates (#10912)
2 years ago
github-actions[bot] 1e0054e915
Version Packages (next) (#10889)
2 years ago
miunau 0c05733d31
fix: Add `dirname` to HTMLInputAttributes (#10908)
2 years ago
Rich Harris 8685d497e5
feat: use bracket matching instead of `ssr:n` comments (#10904)
2 years ago
Rich Harris f1d9afe32f
changeset (#10906)
2 years ago
Rich Harris 302b0ec973
chore: remove unused selector() function (#10903)
2 years ago
Rich Harris 7e5e462194
feat: use short comments (#10899)
2 years ago
Rich Harris 32b1824198
chore: more hydration stuff (#10896)
2 years ago
Rich Harris 9b7331c04c
chore: only specify use_clone_node when necessary (#10895)
2 years ago
Rich Harris 89f4e8d53a
chore: more hydration stuff (#10894)
2 years ago
Rich Harris 8214075285
fix: update type of `options.target` (#10892)
2 years ago
Rich Harris 1fc5f8b9c0
chore: code-golf a bit (#10893)
2 years ago
Rich Harris dfd1819559
chore: tidy up hydration code (#10891)
2 years ago
Rich Harris 7f10642add
chore: improve hydration tests (#10887)
2 years ago
Dominic Gannaway fe7c45ba13
Add more tests (#10882)
2 years ago
Dominic Gannaway d6f10c5421
add more legacy tests (#10881)
2 years ago
Rich Harris b6c7956b26
chore: remove blocks (#10880)
2 years ago
github-actions[bot] c47c5713e2
Version Packages (next) (#10869)
2 years ago
Dominic Gannaway 83f30bf0e8
fix: allow runes for variable declarations in the template (#10879)
2 years ago
Simon H 852eca4ee6
chore: error on accessing global that is a rune (#10877)
2 years ago
Simon H b468978e4d
fix: handle multiple snippet parameters with one or more being optional (#10833)
2 years ago
Simon H 3eef1cb8cf
feat: take form resets into account for two way bindings (#10617)
2 years ago
Simon H 416bc85d9c
breaking: add $bindable() rune to denote bindable props (#10851)
2 years ago
Dominic Gannaway 2cabc884ca
add some missing legacy tests (#10875)
2 years ago
Rich Harris 6822decec2
tidy up (#10874)
2 years ago
Rich Harris 04879c53e9
chore: simplify blocks (#10873)
2 years ago
Rich Harris b91392e5bd
chore: tidy up (#10870)
2 years ago
Simon H a339c28bb7
breaking: apply fallback value every time in runes mode (#10797)
2 years ago
Rich Harris e8ce41815a
chore: simplify transitions (#10798)
2 years ago
Simon H f6eca83b7c
fix: no static-state-reference warning in legacy mode (#10865)
2 years ago
Simon H 86b3ea8c23
chore: failing test for out-of-order `$:` execution (#10864)
2 years ago
Rich Harris 392f7d223a
chore: fix treeshaking check (#10862)
2 years ago
github-actions[bot] c60f2e38a3
Version Packages (next) (#10832)
2 years ago
Dominic Gannaway 8c2f6039c6
fix: improve element class attribute behaviour (#10856)
2 years ago
Simon H 86c57f96de
fix: better await block scope analysis (#10849)
2 years ago
Dominic Gannaway efe85fcce0
fix: more robust select element logic (#10848)
2 years ago
Dominic Gannaway f5f9465edc
feat: add support for webkitdirectory DOM boolean attribute (#10847)
2 years ago
Dominic Gannaway c564c77199
fix: ensure select value is updated upon select element removal (#10846)
2 years ago
Simon H 682f4a6513
fix: adjust scope parent for named slots (#10843)
2 years ago
Dominic Gannaway 117082b039
fix: improve handling of unowned derived signals (#10842)
2 years ago
Simon H 1fc41730a1
fix: don't override instance methods during legacy class creation (#10834)
2 years ago
Simon H f8c85d525d
fix: ensure capture events don't call delegated events (#10831)
2 years ago
github-actions[bot] 1bfafe935b
Version Packages (next) (#10814)
2 years ago
Rich Harris d921fb97bd
fix: add types for svelte/reactivity (#10817)
2 years ago
Dominic Gannaway 474fc7ebe0
fix: ensure arguments are supported on all reactive Date methods (#10813)
2 years ago
github-actions[bot] afc2eea382
Version Packages (next) (#10806)
2 years ago
Dominic Gannaway fe3b3b463c
feat: adds reactive Map class to svelte/reactivity (#10803)
2 years ago
Simon H c35f0c16af
fix: deduplicate module declaration, adjust type (#10801)
2 years ago
Rich Harris ffb27f667a
Blockless redux (#10794)
2 years ago
github-actions[bot] 924f0611f7
Version Packages (next) (#10792)
2 years ago
Rich Harris 1e653ef4d8
fix: make `set.has(...)` granular for existing properties (#10793)
2 years ago
Simon H fbbd89a917
fix: invalidate store when mutated inside each block (#10785)
2 years ago
Rich Harris bd687c6504
chore: remove ignore_mutation_validation (#10789)
2 years ago
github-actions[bot] 2701c0ad64
Version Packages (next) (#10782)
2 years ago
Simon H 339782f3e0
fix: handle component binding mutation (#10786)
2 years ago
Dominic Gannaway 2cb78ac253
fix: adjust render effect ordering (#10783)
2 years ago
github-actions[bot] 0c1026f166
Version Packages (next) (#10770)
2 years ago
Dominic Gannaway 3f7fcf9aec
feat: add reactive Set class to svelte/reactivity (#10781)
2 years ago
Rich Harris eb40417c36
chore: move more element stuff (#10780)
2 years ago
Rich Harris de021aebb5
move element code (#10778)
2 years ago
Rich Harris 84fa18a850
chore: remove unused function (#10776)
2 years ago
Rich Harris ea97fe22da
chore: move legacy code (#10775)
2 years ago
Rich Harris e36a8d06ea
move props code (#10774)
2 years ago
Rich Harris d82d57e833
move template code into its own module (#10773)
2 years ago
Rich Harris 77f39ea988
breaking: make `$props()` rune non-generic (#10694)
2 years ago
Rich Harris 7212a56296
chore: move bindings code (#10772)
2 years ago
Dominic Gannaway 468ecda6ea
fix: improve internal render effect sequencing (#10769)
2 years ago
Rich Harris 8a4dfb483b
chore: move some code around (#10767)
2 years ago
Rich Harris 278155968e
chore: refactor reactivity code (#10760)
2 years ago
Rich Harris 3196077b5d
chore: remove unused function (#10762)
2 years ago
github-actions[bot] 3bdef5486f
Version Packages (next) (#10758)
2 years ago
Dominic Gannaway ef206fe1b5
fix: improve derived output for ssr (#10757)
2 years ago
Rich Harris 81a4d87c1f Merge branch 'main' of github.com:sveltejs/svelte
2 years ago
Rich Harris 7e82dbc549 fix typo
2 years ago
github-actions[bot] 8dc7cd2151
Version Packages (next) (#10742)
2 years ago
Rich Harris 7cc5ce4e65
tidy up (#10744)
2 years ago
Mostafa Kheibary e16591abe8
docs: Change all the word "initialization" to "initialisation" (#10708)
2 years ago
Simon H 74474fe085
fix: prevent reactive statement reruns (#10736)
2 years ago
github-actions[bot] f3bfb938ee
Version Packages (next) (#10716)
2 years ago
Dominic Gannaway 7c00f1dacb
fix: improve bind:this support around proxyied state (#10732)
2 years ago
Simon H 304db0d5b2
fix: bump specificity on all members of a selector list (#10730)
2 years ago
Simon H b1267b03b6
fix: error when exporting reassigned state from module context (#10728)
2 years ago
Simon H ae4af6841a
fix: eagerly unsubscribe when store is changed (#10727)
2 years ago
Simon H 3fd02f1c49
breaking: preserve slots inside templates with a shadowrootmode attribute (#10721)
2 years ago
Papaya cc22492e7a
fix: use toDateString occur error when use pnpm run test in China (#10719)
2 years ago
Simon H fff3320517
chore: custom elements validation (#10720)
2 years ago
Simon H 881e84f988
chore: get more validator tests passing (#10714)
2 years ago
Dominic Gannaway 622195cc21
fix: ensure performance.now() and requestAnimationFrame() are polyfilled in ssr (#10715)
2 years ago
Rich Harris a5a566dfa7
chore: tidy up (#10705)
2 years ago
github-actions[bot] b3d0a0695a
Version Packages (next) (#10701)
2 years ago
Dominic Gannaway f8eb0d16d6
fix: improve each keyed block handling of item used as key (#10703)
2 years ago
Dominic Gannaway d9d1022895
fix: improve indexed each equality (#10702)
2 years ago
Simon H 4285e6d814
fix: prevent snippet children conflict (#10700)
2 years ago
Dominic Gannaway eedb59355f
fix: adjust keyed each block equality handling (#10699)
2 years ago
Rich Harris 86f326531c
chore: refactor signal types (#10698)
2 years ago
Rich Harris 0cc74e46fd
remove some needless indirection (#10697)
2 years ago
Rich Harris aa29a853dd
chore: move reactivity code around (#10696)
2 years ago
Rich Harris 2d15c9de3f
create #client types alias (#10695)
2 years ago
github-actions[bot] d577740c82
Version Packages (next) (#10693)
2 years ago
Ahmad 6fb64c9914
fix: improve namespace inference when having `{@render}` and `{@html}` tags (#10631)
2 years ago
Simon H 767b5a8824
chore: remove obsolete test (#10679)
2 years ago
Simon H 5d3385c56f
fix: don't collapse whitespace within text nodes (#10691)
2 years ago
Rich Harris 0a9ba9340b
minor aesthetic tweaks (#10692)
2 years ago
github-actions[bot] c4473dff7c
Version Packages (next) (#10670)
2 years ago
Simon H f94eedc0ee
fix: put message in quotes
2 years ago
Simon H 5768ac3027
fix: better ownership mutation validation (#10673)
2 years ago
Simon H 74f8e261c6
fix: prevent false positive non-state warnings for `bind:this` (#10674)
2 years ago
Simon H 1ac313594c
fix: handle TypeScript's optional parameter syntax in snippets (#10671)
2 years ago
Simon H b1b51a404b
fix: deduplicate generated props and action arg names (#10669)
2 years ago
github-actions[bot] e21488fc4b
Version Packages (next) (#10640)
2 years ago
Dominic Gannaway 710f73f9cf
fix: improve derived rune destructuring support (#10665)
2 years ago
Dominic Gannaway 61e7442ccf
fix: improve ssr derived output to ensure memoization remains (#10664)
2 years ago
Simon H 56315df679
feat: allow arbitrary call expressions for render tags (#10656)
2 years ago
Dominic Gannaway b2e9be2148
fix: improve ssr code generation for class property $derived (#10661)
2 years ago
Dominic Gannaway 99e1665ce1
feat: improve ssr html mismatch validation (#10658)
2 years ago
Simon H 3fe4940a9d
perf: bail early when traversing non-state (#10654)
2 years ago