Commit Graph

216 Commits (259d286f14b186d68f9dfb64c20e00159ca96a8c)

Author SHA1 Message Date
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
Rich Harris 8685d497e5
feat: use bracket matching instead of `ssr:n` comments (#10904)
1 year ago
Dominic Gannaway fe7c45ba13
Add more tests (#10882)
1 year ago
Dominic Gannaway d6f10c5421
add more legacy tests (#10881)
1 year ago
Dominic Gannaway 2cabc884ca
add some missing legacy tests (#10875)
2 years ago
Rich Harris e8ce41815a
chore: simplify transitions (#10798)
2 years ago
Simon H 86b3ea8c23
chore: failing test for out-of-order `$:` execution (#10864)
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 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
Simon H fbbd89a917
fix: invalidate store when mutated inside each block (#10785)
2 years ago
Simon H 339782f3e0
fix: handle component binding mutation (#10786)
2 years ago
Rich Harris 7cc5ce4e65
tidy up (#10744)
2 years ago
Simon H 74474fe085
fix: prevent reactive statement reruns (#10736)
2 years ago
Simon H 881e84f988
chore: get more validator tests passing (#10714)
2 years ago
Simon H 5d3385c56f
fix: don't collapse whitespace within text nodes (#10691)
2 years ago
Simon H b1b51a404b
fix: deduplicate generated props and action arg names (#10669)
2 years ago
Dominic Gannaway 99e1665ce1
feat: improve ssr html mismatch validation (#10658)
2 years ago
Simon H 749d3aa413
fix: add `$set` and `$on` methods in legacy compat mode (#10642)
2 years ago
Dominic Gannaway a4a789db4d
fix: improve ssr output of dynamic textarea elements (#10638)
2 years ago
Simon H db0b802fc2
fix: use safe-equals comparison for `@const` tags in legacy mode (#10606)
2 years ago
Simon H a2164ff9f4
fix: make `bind_this` implementation more robust (#10598)
2 years ago
Dominic Gannaway ec52c75cc4
fix: permit whitespace within template scripts (#10591)
2 years ago
Simon H f5102013af
fix: better interop of `$state` with actions/`$:` statements (#10543)
2 years ago
Dominic Gannaway 71db9edcdc
fix: improve each block item equality for immutable mode (#10537)
2 years ago
Rich Harris 8feb86583a
fix: use init properties when exporting non-state values (#10521)
2 years ago
Simon H 2755401034
breaking: remove `createRoot`, adjust `mount`/`hydrate` APIs, introduce `unmount` (#10516)
2 years ago
Simon H f8ff2b6ea3
chore: source maps for preprocessors + tests (#10459)
2 years ago
Dominic Gannaway 1366932dc0
cleanup a bunch of internal runtime logic (#10446)
2 years ago
Rich Harris 623340a1de
fix: make beforeUpdate/afterUpdate behave more like Svelte 4 (#10408)
2 years ago
Rich Harris 90f8b63bee
fix: run `onDestroy` cleanup during SSR (#10297)
2 years ago
Simon H 268ac95fde
fix: properly analyze group expressions (#10410)
2 years ago
Daniel Imfeld 255693e78f
fix: correctly determine binding scope of `let:` directives (#10395)
2 years ago
Daniel Imfeld 97d3ec2f89
fix: allow `let:` directives on slot elements (#10391)
2 years ago
Simon H bd0ebf3b81
fix: correctly determine `bind:group` members (#10368)
2 years ago
Karol 77b4c4be6c
fix: create `<svelte:element>` instances with the correct namespace (#10006)
2 years ago
Simon H 434a58711f
fix: sanitize component event names (#10235)
2 years ago
Simon H db8cba3216
fix: react to mutated slot props in legacy mode (#10197)
2 years ago
Dominic Gannaway b94d72bbfb
fix: improve transition outro easing (#10190)
2 years ago
Simon H 1b675c0264
fix: transform textarea and contenteditable binding expressions (#10187)
2 years ago
Dominic Gannaway 08579461b1
fix: improve animation heuristics (#10119)
2 years ago
Simon Holthausen f3265c580c chore: better test case
2 years ago
Simon H aa5a62396a
fix: legacy reactive dependencies tweak (#10128)
2 years ago
Nguyen Tran bd34367660
fix: Add some tests to avoid regression on #8559 (#9956)
2 years ago
Dominic Gannaway b8f3c49e5f
fix: improve event delegation handler hoisting (#9929)
2 years ago
Dominic Gannaway 2608e621d6
add test (#9917)
2 years ago
Dominic Gannaway daa19173b1
fix: improve html tag svg behaviour (#9894)
2 years ago
Dominic Gannaway 7238e1d3ce
fix: improve each block index handling (#9889)
2 years ago
Dominic Gannaway 08d93a2f5f
fix: improve each block with animate (#9839)
2 years ago
Rich Harris b20b4617c0
chore: rethink props (#9826)
2 years ago
Simon H 074615d7fd
fix: prevent infinite loops stemming from invalidation method (#9811)
2 years ago
Rich Harris 01a2117330
chore: use proxy instead of signal in createRoot (#9799)
2 years ago
Rich Harris bd8f7db754
check runtime errors (#9791)
2 years ago
Rich Harris 75fc09a79e
Proxied state (#9739)
2 years ago
Dominic Gannaway 7eba35b9d1
fix: improve infinite loop capturing (#9721)
2 years ago
Dominic Gannaway dee5bed829
fix: improve each block index handling (#9644)
2 years ago
Dominic Gannaway 509f92d29e
fix: correctly assign bind:this with multiples (#9617)
2 years ago
Dominic Gannaway 8118efd115
fix: handle undefined bubble events (#9614)
2 years ago
Dominic Gannaway da15806136
fix: adjust event delegation heuristics (#9581)
2 years ago
Theodore Brown c011db178b
fix: select enabled option with null value when it matches bound value (#9550)
2 years ago
Dominic Gannaway b0588d7888
fix: address intro transition bugs (#9528)
2 years ago
Dominic Gannaway f886bc133e
fix: handle intro global transition propagation correctly (#9515)
2 years ago
Simon H c1f6ee096d
fix: handle dynamic selects with falsy select values (#9471)
2 years ago
Dominic Gannaway cf63220a0e
fix: ensure keyed fallback to indexed (#9441)
2 years ago
Simon Holthausen fe8a9ce31d breaking: init Svelte 5
2 years ago