Commit Graph

192 Commits (8f925b9e608ea954b036be806c7e7ccf892724bc)

Author SHA1 Message Date
Simon H 0cf10a361e
docs: note jsdoc syntax for declaring props (#11370)
7 months ago
Rich Harris bda32edb1a
docs: on:keydown -> onkeydown (#11343)
7 months ago
Simon H cd798077b4
feat: provide migration function (#11334)
7 months ago
Rich Harris 9a887f8dab
chore: directly export function in non-HMR mode (#11333)
7 months ago
Rich Harris 476f2172b6
fix: mark `accessors` and `immutable` as deprecated (#11277)
7 months ago
Simon H 2d378bb762
breaking: disallow binding to component exports in runes mode (#11238)
7 months ago
Rich Harris 1a341a25f0
docs: rename /docs/functions to /docs/imports, include svelte/reactivity, tweak various things (#11187)
7 months ago
Dominic Gannaway 18097478fc
breaking: remove unstate(), replace with $state.snapshot rune (#11180)
7 months ago
Rich Harris 2cefd785a4
fix: make ownership validation work with HMR (#11171)
7 months ago
Ben M 51faf07897
update runes $effect example (#11137)
7 months ago
Tee Ming fe21a799db
fix broken links (#11145)
7 months ago
Dominic Gannaway 4b52884b8a
fix: improve REPL console method wrapping (#11150)
7 months ago
Rich Harris a531625896
chore: generate coverage report when deploying site (#11110)
7 months ago
Dominic Gannaway afe1d11a5b
feat: hot module reloading support for Svelte 5 (#11106)
7 months ago
Rich Harris 48202597de
chore: allow preview site to work offline in local dev (#11091)
7 months ago
Simon H 22494be9ec
feat: introduce `$host` rune, deprecate `createEventDispatcher` (#11059)
7 months ago
Simon H 6b7f1162ad
docs: note walk breaking change (#11078)
7 months ago
Simon H a9e15bdf2d
breaking: robustify interop of exports and props (#11064)
7 months ago
Rich Harris 071d6314d9
chore: fix local dev (#11074)
7 months ago
dependabot[bot] b2892b02e1
chore(deps-dev): bump vite from 5.0.12 to 5.0.13 (#11054)
8 months ago
Rich Harris bb1d229e26
fix docs (#11048)
8 months ago
Dominic Gannaway ade3d1afb9
fix: improve $effect.active REPL autocomplete (#11027)
8 months ago
Rich Harris 4f3fae7c6d
chore: compiler subpackage (#10988)
8 months ago
Ignatius Bagus 0fa9d16e53
docs: fix $bindable hash link (#11011)
8 months ago
Rich Harris b6fab1cb91
chore: squelch vite warning (#11005)
8 months ago
Simon H 3eef1cb8cf
feat: take form resets into account for two way bindings (#10617)
8 months ago
Simon H 416bc85d9c
breaking: add $bindable() rune to denote bindable props (#10851)
8 months ago
Rich Harris 9ff8029fb2
docs: replace out-of-date info (#10822)
8 months ago
Dominic Gannaway fe3b3b463c
feat: adds reactive Map class to svelte/reactivity (#10803)
8 months ago
Antonio Sarcevic 9223032a2a
fix: replace span with button (a11y) (#10763)
8 months ago
Rich Harris 77f39ea988
breaking: make `$props()` rune non-generic (#10694)
8 months ago
Rich Harris 14492ad639
docs: simplify when-not-to-use-effects (#10749)
8 months ago
Rich Harris 5086ef4b07
docs: use a `setInterval` demo (#10747)
8 months ago
Simon H ecf9760f7d
chore: use Svelte 5 for preview site (#10731)
8 months ago
Dominic Gannaway 6f3fcc0696
Untrack other REPL console methods and add comment (#10755)
8 months ago
Ben McCann 6a01f48325
docs: clarify effect alternatives section (#10718)
8 months ago
Dominic Gannaway 26c9068eab
fix: untrack console.log calls on REPL (#10706)
9 months ago
Simon H ee04f973b2
docs: enhance `$effect` documentation (#10680)
9 months ago
Simon H 749d3aa413
fix: add `$set` and `$on` methods in legacy compat mode (#10642)
9 months ago
Rich Harris 9c8e643b64
disable inspector (#10531)
9 months ago
Rich Harris ce8495c66d
chore: fix preview site (#10519)
9 months ago
Simon H 2755401034
breaking: remove `createRoot`, adjust `mount`/`hydrate` APIs, introduce `unmount` (#10516)
9 months ago
Ben McCann 49ad7f9589
chore: upgrade xml2js and codemirror plugins (#10463)
9 months ago
Simon H 72ff5366de
feat: add hydrate method, make hydration treeshakeable (#10497)
9 months ago
Simon H f8ff2b6ea3
chore: source maps for preprocessors + tests (#10459)
9 months ago
Rich Harris d41d0c26ad
chore: rename `$derived.call` to `$derived.by` (#10445)
9 months ago
Rich Harris 999fca97cf
fix: use hybrid scoping strategy for consistent specificity increase (#10443)
9 months ago
Chien Tran 976e807a3f
docs: rename svelte 5 discord channel (#10431)
9 months ago
Rich Harris 623340a1de
fix: make beforeUpdate/afterUpdate behave more like Svelte 4 (#10408)
9 months ago
Simon Holthausen b63ab91c7b chore: bump zimmerframe to resolve AST-traversal-related bugs
9 months ago
Rich Harris ccc7266fd9
docs: clarify that `$state` works deeply (#10354)
10 months ago
S. Elliott Johnson d309a9d47a
feat: Variadic snippets (#9988)
10 months ago
Dominic Gannaway d9a6b8b17a
chore: add $derived.call rune (#10240)
10 months ago
dependabot[bot] 340934917a
chore(deps-dev): bump @sveltejs/kit from 2.4.1 to 2.4.3 (#10281)
10 months ago
Simon H 036e88f1f7
fix: allow `:global(..)` in compound selectors (#10266)
10 months ago
Rich Harris 7c70c346f8
Update deps (#10245)
10 months ago
Simon Holthausen 35b500c399 docs: note `bind:files` breaking change
10 months ago
Ben McCann 0fd1c92822
docs: better clarify not to compute state in `$effect` (#9940)
10 months ago
Ben McCann aecd47e8df
chore: upgrade prettier to 3.1 (#10134)
10 months ago
gtmnayan b623890439
chore(repl): hide globals (#10125)
10 months ago
Simon Holthausen 2a0097e4ee docs: note null/undefined breaking change
11 months ago
Jason Chase 60575ad494
docs: fix typo in snippets doc (#10030)
11 months ago
Dominic Gannaway 75cd1e825c
feat: add $state.frozen rune (#9851)
11 months ago
Ben McCann 646c0c432b
docs: update FAQ regarding Svelte 5 release date (#9882)
11 months ago
Rob B 3a9b1436e8
docs: fix typos (#9849)
11 months ago
Simon H df5105ef2e
breaking: change `$inspect` API (#9838)
11 months ago
Rich Harris fc8349817f
docs: replace event handlers with event props on preview site (#9793)
12 months ago
dependabot[bot] 9babce9105
chore(deps-dev): bump vite from 4.5.0 to 4.5.1 (#9800)
12 months ago
Dominic Gannaway c7e626ebbb
feat: add unstate utility function (#9776)
12 months ago
Rich Harris 75fc09a79e
Proxied state (#9739)
12 months ago
Simon H 402a322317
chore: more validation errors (#9723)
12 months ago
Rich Harris bde42d5676
`$inspect` rune (#9705)
12 months ago
Simon H 75295ac79f
docs: enhance breaking change section (#9674)
12 months ago
Dominic Gannaway 81d3e47d1c
feat: add $effect.root rune (#9638)
12 months ago
Rich Harris 405e9da4ff
chore: bump esrap (#9649)
12 months ago
Yuichiro Yamashita 7825570b07
fix typos (#9622)
12 months ago
Rich Harris f40efb2027
`$effect.active` docs (#9598)
12 months ago
Rich Harris fe9c0bc19d
chore: bump esrap (#9590)
12 months 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
Rich Harris a990e5716a
fix tsconfig.json (#9427)
1 year ago
Dominic Gannaway 5768df1300
chore: remove selector api (#9426)
1 year ago
gtmnayan 2ae953934d
enable dev mode for preview repl (#9393)
1 year ago
Rich Harris 304a29e1cc
fix runes mode indicator (#9388)
1 year ago
Rich Harris 7bcd33dbe1
Fix diagnostics (#9385)
1 year ago
Simon Holthausen 51394a4834 docs: note more breaking changes
1 year ago
Rich Harris 14d7424d75
fix symlink (hopefully) (#9383)
1 year ago
Simon H c6c934afb2
chore: cleanup (#9381)
1 year ago
Simon Holthausen fe8a9ce31d breaking: init Svelte 5
1 year ago