Commit Graph

216 Commits (259d286f14b186d68f9dfb64c20e00159ca96a8c)

Author SHA1 Message Date
Simon H 9864138022
fix: escape more template-literal-related characters (#13262)
1 year ago
Dominic Gannaway b70d12c2e3
fix: render undefined html as the empty string (#13092)
1 year ago
Simon H d776e522d2
fix: ensure reactive graph is fully traversed in the marking phase for non-runes mode (#13059)
1 year ago
Rich Harris e73e63ed11
fix: use WAAPI to control timing of JS-based animations (#13018)
1 year ago
Rich Harris 93ffb4dbeb
chore: squelch warnings, robustify (#13034)
1 year ago
Simon H c4b721584a
chore: repo cleanup (#13029)
1 year ago
Simon H 72b066b7fd
feat: allow non-synchronous legacy component instantiation (#12970)
1 year ago
Simon H 75759dbeae
fix: allow deleting non-existent `$$restProps` properties (#12971)
1 year ago
Rich Harris 8c1d439a36
fix: remove buggy `validate_dynamic_component` check (#12960)
1 year ago
Simon H 732dbf7fa9
breaking: deprecate `context="module"` in favor of `module` (#12948)
1 year ago
Gautier Ben Aïm 9c2ca693a5
fix: ensure await scope shadowing is computed in the correct order (#12945)
1 year ago
Dominic Gannaway 94ed09628d
fix: correctly ensure prop bindings are reactive when bound (#12879)
1 year ago
Rich Harris 6448e07521
breaking: remove foreign namespace (#12869)
1 year ago
Paolo Ricciuti 03945f56b4
fix: hoist reactive imports to the module (#12845)
1 year ago
Dominic Gannaway 873a184b41
fix: ensure each key validation occurs for updates (#12836)
1 year ago
Rich Harris 57a7b0cd48
chore: transformers (#12780)
1 year ago
ottomated d6e26c0953
chore: speed up exclude_from_object (#12783)
1 year ago
Dominic Gannaway 76cb89c750
fix: allow deletion of $$restProps properties (#12736)
1 year ago
Simon H 01e7845180
fix: always synchronously call `bind:this` (#12679)
1 year ago
Simon Holthausen 7f558290d8 chore: enhance comment on skipped test
1 year ago
Simon H 85f2f161ed
chore: use queue_microtask on `#await` again (#12647)
1 year ago
Simon H c9e9e90659
fix: always close tags when namespace is foreign (#12623)
1 year ago
Simon H 32af9434bc
fix: never set custom element props as attributes (#12622)
1 year ago
Simon H 0f41689916
chore: unskip more tests (#12621)
1 year ago
Dominic Gannaway 7a8cf3a9a1
fix: ensure directives run in sequential order (#12591)
1 year ago
Dominic Gannaway d17755a8b5
fix: ensure dynamic event handlers are wrapped in a derived (#12563)
1 year ago
Rich Harris 73ac4fe456
fix: only emit binding_property_non_reactive warning in runes mode (#12544)
1 year ago
Rich Harris f402d01454
fix: reset hydrate_node after `hydrate(...)` (#12512)
1 year ago
Simon H 4fd6d29227
fix: assign correct scope to attributes of named slot (#12476)
1 year ago
Simon H 3d354f0d5c
fix: ensure previous transitions are properly aborted (#12460)
1 year ago
Rich Harris c92620dcbe
feat: skip pending block for already-resolved promises (#12274)
1 year ago
Rich Harris b1cf2ece63
fix: defer animations (#12453)
1 year ago
Dominic Gannaway e8453e75c6
chore: tweak test config for hmr test run (#12423)
1 year ago
Dominic Gannaway d967780c4f
chore: add support for HMR env flag (#12420)
1 year ago
Simon H f846cb4833
fix: disallow using `let:` directives with component render tags (#12400)
1 year ago
Leon Scherer fd7b950e7d
fix: Abort outro when intro starts (#12321)
1 year ago
Paolo Ricciuti 4e8d1c8c52
feat: runtime dev warn for mismatched `@html` (#12396)
1 year ago
Rich Harris 47a073e0db
fix: destroy effect on error (#12376)
1 year ago
Rich Harris bdc45fdf7f
breaking: rename `legacy.componentApi` to `compatibility.componentApi` (#12370)
1 year ago
Rich Harris 2789a3c0ef
feat: single-pass hydration (#12335)
1 year ago
Simon H 3dbb220169
fix: ensure `$$slots` returns a record of booleans (#12359)
1 year ago
Rich Harris 66a184689b
chore: simplify legacy props (#12353)
1 year ago
Dominic Gannaway ee47696986
fix: resolve legacy component props equality for mutations (#12348)
1 year ago
Simon H 243c4b78b1
fix: ensure `$effect.root` is ignored on the server (#12332)
1 year ago
Rich Harris a59bc99782
chore: tidy up (#12336)
1 year ago
Rich Harris 2c807ad88c
fix: store DOM boundaries on effects (#12215)
1 year ago
Dominic Gannaway 59f7bd6f9f
fix: improve await block behaviour in non-runes mode (#12179)
1 year ago
Simon H afe84450c6
fix: better binding interop between runes/non-runes components (#12123)
1 year ago
Dominic Gannaway 6a3e293207
fix: wait a microtask for await blocks to reduce UI churn (#11989)
1 year ago
gtmnayan 2a8632385c
fix: SSR template escaping (#12007)
1 year ago
Dominic Gannaway 0d51dbae32
fix: ensure bound input content is resumed on hydration (#11986)
1 year ago
Dominic Gannaway 3e1abc0b87
fix: ensure dev validation in dynamic component works as intended (#11985)
1 year ago
Rich Harris f752b1e255
chore: simplify SSR (#11977)
1 year ago
Azat S 088632b06d
fix: fix merge style func (#11971)
1 year ago
Rich Harris 76388d042c
fix: always assign text.nodeValue (#11944)
1 year ago
Dominic Gannaway 9f823b95e3
fix: improve consttag ordering in non-runes mode (#11908)
1 year ago
wackbyte c0c1a56675
feat: bind `activeElement` and `pointerLockElement` in `<svelte:document>` (#11879)
1 year ago
Paolo Ricciuti 7e762cf481
fix: reevaluate namespace in slots (#11849)
1 year ago
Dominic Gannaway 5f7bfac59a
chore: cleanup event changes (#11821)
1 year ago
Simon H 538060ebda
fix: ensure visit is called with correct state (#11798)
1 year ago
Rich Harris 329c10eb6c
chore: update noscript test (#11749)
1 year ago
Dominic Gannaway fe51cde1fa
breaking: event handlers + bindings now yield effect updates (#11706)
1 year ago
Dominic Gannaway 44115840bd
chore: cleanup more tests (#11738)
1 year ago
Paolo Ricciuti 77f91459b6
fix: update value like attributes in a separate template_effect (#11720)
1 year ago
Simon H d590cd8bea
fix: ignore value attribute on select during SSR (#11724)
1 year ago
Rich Harris d288735fa8
breaking: disallow string literal values in `<svelte:element this="...">` (#11454)
1 year ago
Simon H c2f75dc7ba
fix: use coarse-grained updates for derived expressions in legacy mode (#11652)
1 year ago
Dominik G dc9b0d08c1
feat: add rootDir option and set __svelte_meta.file like in svelte4 (#11627)
1 year ago
Simon H 4365562228
fix: deduplicate children prop from default slot (#10800)
1 year ago
Simon H d408d20cdd
fix: replicate Svelte 4 props update detection in legacy mode (#11577)
1 year ago
Simon H a0bdac8cd7
fix: correctly handle falsy values of style directives in SSR mode (#11583)
1 year ago
Dominic Gannaway fcc72ae2f3
feat: provide better error messages in DEV (#11526)
1 year ago
Fabio Rotondo f219c795f4
fix: check for falsy values in spread (#11388)
1 year ago
Vladislav Logvin 85d680582b
Fix: bind:scroll resets scroll state (#11469)
1 year ago
Simon H 6e5ab2e678
fix: prevent ownership validation from infering with component context (#11438)
1 year ago
Dominic Gannaway b4968584df
fix: improve html escaping of element attributes (#11411)
1 year ago
Paolo Ricciuti f64d16931d
fix: detect style shorthands as stateful variables in legacy mode (#11421)
1 year ago
Luke Warlow 8be6fdde54
feat: MathML support (#11387)
1 year ago
Simon H 2754e4eb39
fix: handle reassignment of `$$props` and `$$restProps` (#11348)
1 year ago
Simon H 500b2065e0
fix: apply modifiers to bubbled events (#11369)
1 year ago
Rich Harris 8e17428316
chore: tidy up messages (#11327)
1 year ago
Rich Harris 476f2172b6
fix: mark `accessors` and `immutable` as deprecated (#11277)
1 year ago
Rich Harris 94b4268ce3
chore: markdown runtime errors/warnings (#11304)
1 year ago
Rich Harris fd5f5bb85d
monkey-patch console.log and console.warn for all tests (#11265)
1 year ago
Vaibhav Rai 11c7cd5495
Feat: Add read-only binding focused (#11271)
1 year ago
Rich Harris 6bff8c0e93
fix: ensure that CSS is generated for the final frame of a transition (#11251)
1 year ago
Rich Harris 42ce8d74e1
breaking: warn on self-closing non-void HTML tags (#11114)
1 year ago
Simon H 27eb91bbce
fix: dynamic namespace fixes and enhancements (#11219)
1 year ago
Rich Harris 4d0b743918
feat: use linked lists for each blocks (#11107)
1 year ago
Dominic Gannaway ce348f0d69
chore: add test to show usage of context in component template (#11061)
1 year ago
Simon H 5a1c756a4e
fix: execute sole static script tag (#11095)
1 year ago
Dominic Gannaway 3462c54fd2
fix: improve compiled output of multiple call expression in single text node (#11097)
1 year ago
Dominic Gannaway 8971910940
fix: further improvements to effect scheduling and flushing (#10971)
1 year ago
Rich Harris d49e2aeb15
chore: explicit reexports (#10970)
1 year ago
Rich Harris cebbccbcba
chore: move svelte/internal to svelte/internal/client (#10968)
1 year ago
Rich Harris eaa243d2da
chore: reshuffle some code (#10967)
1 year ago
Dominic Gannaway d50b7661e5
fix: improve effect sequencing and execution order (#10949)
1 year ago
Rich Harris 2079e675ea
replace skip_if_ssr and skip_if_hydrate with modes (#10956)
1 year ago
Rich Harris 4fcedb2fb1
chore: simplify hydration (#10943)
1 year ago
Rich Harris 3ce74e47a9
chore: update sequencing inside blocks (#10939)
1 year ago