Commit Graph

293 Commits (7de3e3b70362003a525d9aa841fdcac9605b622d)

Author SHA1 Message Date
Rich Harris 881040fb78
playground: reset on navigate (#11715)
7 months ago
Rich Harris 02520aea48
better tooltips in playground (#11705)
7 months ago
Rich Harris e45d1c37b6
chore: fix compiler warnings when developing preview site (#11699)
7 months ago
Rich Harris c49903f62b
chore: bump site-kit (#11698)
7 months ago
Rich Harris d288735fa8
breaking: disallow string literal values in `<svelte:element this="...">` (#11454)
7 months ago
Rich Harris 2e7e399160
chore: use indirect eval, avoid exposing stuff to the global scope (#11646)
7 months ago
Rich Harris a7b61c0f30
docs: use a canvas demo for `$effect` (#10745)
7 months ago
Simon H 13ce43a0a8
docs: document more breaking changes (#11636)
7 months ago
Dominic Gannaway f488a6e84a
feat: add $state.is rune (#11613)
8 months ago
Dominic Gannaway a8a5bb668f
fix: improve REPL stringify logic (#11609)
8 months ago
Matei Trandafir a2bc0f5f7d
Add documentation for svelte/elements (#11587)
8 months ago
이요 965afc5ccc
docs: correct variable references (#11582)
8 months ago
Dominic Gannaway 3103a0d81e
fix: improve REPL error button styling (#11547)
8 months ago
Rich Harris 4b7e0025a8
feat: better REPL autocomplete (#11530)
8 months ago
Luke Warlow 8be6fdde54
feat: MathML support (#11387)
8 months ago
Rich Harris 7a66927ca8
fix: bump esrap (#11392)
8 months ago
Simon H 0cf10a361e
docs: note jsdoc syntax for declaring props (#11370)
8 months ago
Rich Harris bda32edb1a
docs: on:keydown -> onkeydown (#11343)
8 months ago
Simon H cd798077b4
feat: provide migration function (#11334)
8 months ago
Rich Harris 9a887f8dab
chore: directly export function in non-HMR mode (#11333)
8 months ago
Rich Harris 476f2172b6
fix: mark `accessors` and `immutable` as deprecated (#11277)
8 months ago
Simon H 2d378bb762
breaking: disallow binding to component exports in runes mode (#11238)
8 months ago
Rich Harris 1a341a25f0
docs: rename /docs/functions to /docs/imports, include svelte/reactivity, tweak various things (#11187)
8 months ago
Dominic Gannaway 18097478fc
breaking: remove unstate(), replace with $state.snapshot rune (#11180)
8 months ago
Rich Harris 2cefd785a4
fix: make ownership validation work with HMR (#11171)
9 months ago
Ben M 51faf07897
update runes $effect example (#11137)
9 months ago
Tee Ming fe21a799db
fix broken links (#11145)
9 months ago
Dominic Gannaway 4b52884b8a
fix: improve REPL console method wrapping (#11150)
9 months ago
Rich Harris a531625896
chore: generate coverage report when deploying site (#11110)
9 months ago
Dominic Gannaway afe1d11a5b
feat: hot module reloading support for Svelte 5 (#11106)
9 months ago
Rich Harris 48202597de
chore: allow preview site to work offline in local dev (#11091)
9 months ago
Simon H 22494be9ec
feat: introduce `$host` rune, deprecate `createEventDispatcher` (#11059)
9 months ago
Simon H 6b7f1162ad
docs: note walk breaking change (#11078)
9 months ago
Simon H a9e15bdf2d
breaking: robustify interop of exports and props (#11064)
9 months ago
Rich Harris 071d6314d9
chore: fix local dev (#11074)
9 months ago
dependabot[bot] b2892b02e1
chore(deps-dev): bump vite from 5.0.12 to 5.0.13 (#11054)
9 months ago
Rich Harris bb1d229e26
fix docs (#11048)
9 months ago
Dominic Gannaway ade3d1afb9
fix: improve $effect.active REPL autocomplete (#11027)
9 months ago
Rich Harris 4f3fae7c6d
chore: compiler subpackage (#10988)
9 months ago
Ignatius Bagus 0fa9d16e53
docs: fix $bindable hash link (#11011)
9 months ago
Rich Harris b6fab1cb91
chore: squelch vite warning (#11005)
9 months ago
Simon H 3eef1cb8cf
feat: take form resets into account for two way bindings (#10617)
9 months ago
Simon H 416bc85d9c
breaking: add $bindable() rune to denote bindable props (#10851)
9 months ago
Rich Harris 9ff8029fb2
docs: replace out-of-date info (#10822)
9 months ago
Dominic Gannaway fe3b3b463c
feat: adds reactive Map class to svelte/reactivity (#10803)
10 months ago
Antonio Sarcevic 9223032a2a
fix: replace span with button (a11y) (#10763)
10 months ago
Rich Harris 77f39ea988
breaking: make `$props()` rune non-generic (#10694)
10 months ago
Rich Harris 14492ad639
docs: simplify when-not-to-use-effects (#10749)
10 months ago
Rich Harris 5086ef4b07
docs: use a `setInterval` demo (#10747)
10 months ago
Simon H ecf9760f7d
chore: use Svelte 5 for preview site (#10731)
10 months ago
Dominic Gannaway 6f3fcc0696
Untrack other REPL console methods and add comment (#10755)
10 months ago
Ben McCann 6a01f48325
docs: clarify effect alternatives section (#10718)
10 months ago
Dominic Gannaway 26c9068eab
fix: untrack console.log calls on REPL (#10706)
10 months ago
Simon H ee04f973b2
docs: enhance `$effect` documentation (#10680)
10 months ago
Simon H 749d3aa413
fix: add `$set` and `$on` methods in legacy compat mode (#10642)
10 months ago
Rich Harris 9c8e643b64
disable inspector (#10531)
10 months ago
Rich Harris ce8495c66d
chore: fix preview site (#10519)
10 months ago
Simon H 2755401034
breaking: remove `createRoot`, adjust `mount`/`hydrate` APIs, introduce `unmount` (#10516)
10 months ago
Ben McCann 49ad7f9589
chore: upgrade xml2js and codemirror plugins (#10463)
10 months ago
Simon H 72ff5366de
feat: add hydrate method, make hydration treeshakeable (#10497)
10 months ago
Simon H f8ff2b6ea3
chore: source maps for preprocessors + tests (#10459)
10 months ago
Rich Harris d41d0c26ad
chore: rename `$derived.call` to `$derived.by` (#10445)
11 months ago
Rich Harris 999fca97cf
fix: use hybrid scoping strategy for consistent specificity increase (#10443)
11 months ago
Chien Tran 976e807a3f
docs: rename svelte 5 discord channel (#10431)
11 months ago
Rich Harris 623340a1de
fix: make beforeUpdate/afterUpdate behave more like Svelte 4 (#10408)
11 months ago
Simon Holthausen b63ab91c7b chore: bump zimmerframe to resolve AST-traversal-related bugs
11 months ago
Rich Harris ccc7266fd9
docs: clarify that `$state` works deeply (#10354)
11 months ago
S. Elliott Johnson d309a9d47a
feat: Variadic snippets (#9988)
11 months ago
Dominic Gannaway d9a6b8b17a
chore: add $derived.call rune (#10240)
11 months ago
dependabot[bot] 340934917a
chore(deps-dev): bump @sveltejs/kit from 2.4.1 to 2.4.3 (#10281)
11 months ago
Simon H 036e88f1f7
fix: allow `:global(..)` in compound selectors (#10266)
11 months ago
Rich Harris 7c70c346f8
Update deps (#10245)
11 months ago
Simon Holthausen 35b500c399 docs: note `bind:files` breaking change
11 months ago
Ben McCann 0fd1c92822
docs: better clarify not to compute state in `$effect` (#9940)
11 months ago
Ben McCann aecd47e8df
chore: upgrade prettier to 3.1 (#10134)
12 months ago
gtmnayan b623890439
chore(repl): hide globals (#10125)
12 months ago
Simon Holthausen 2a0097e4ee docs: note null/undefined breaking change
12 months ago
Jason Chase 60575ad494
docs: fix typo in snippets doc (#10030)
12 months ago
Dominic Gannaway 75cd1e825c
feat: add $state.frozen rune (#9851)
1 year ago
Ben McCann 646c0c432b
docs: update FAQ regarding Svelte 5 release date (#9882)
1 year ago
Rob B 3a9b1436e8
docs: fix typos (#9849)
1 year ago
Simon H df5105ef2e
breaking: change `$inspect` API (#9838)
1 year ago
Rich Harris fc8349817f
docs: replace event handlers with event props on preview site (#9793)
1 year ago
dependabot[bot] 9babce9105
chore(deps-dev): bump vite from 4.5.0 to 4.5.1 (#9800)
1 year ago
Dominic Gannaway c7e626ebbb
feat: add unstate utility function (#9776)
1 year ago
Rich Harris 75fc09a79e
Proxied state (#9739)
1 year ago
Simon H 402a322317
chore: more validation errors (#9723)
1 year ago
Rich Harris bde42d5676
`$inspect` rune (#9705)
1 year ago
Hans 8c2cbb87dd
site: remove banner (#9620)
1 year ago
Simon H 75295ac79f
docs: enhance breaking change section (#9674)
1 year ago
Dominic Gannaway 81d3e47d1c
feat: add $effect.root rune (#9638)
1 year ago
Rich Harris 405e9da4ff
chore: bump esrap (#9649)
1 year ago
Yuichiro Yamashita 7825570b07
fix typos (#9622)
1 year ago
Rich Harris f40efb2027
`$effect.active` docs (#9598)
1 year ago
Rich Harris fe9c0bc19d
chore: bump esrap (#9590)
1 year ago
Rich Harris 95c6b65f6f
docs: document class state fields (#9563)
1 year ago
Erick Vargas 687b8f58e3
docs: fix typo in Svelte 5 preview docs (#9507)
1 year ago
Yuichiro Yamashita f18adc8b43
docs: Update Breaking changes section (#9444)
1 year ago
Rich Harris 6bba70a2a5
Docs (#9449)
1 year ago
Yuichiro Yamashita a6fdc47a0b
chore: show ast on playground (#9440)
1 year ago