Commit Graph

311 Commits (5aa082ce375a4a53958331c8c49e4515425b0b9d)

Author SHA1 Message Date
Dominic Gannaway ccb3c90cd5
breaking: rename $effect.active to $effect.tracking (#12022)
5 months ago
Rich Harris 3bfb302a63
chore: tweak effect docs (#11979)
5 months ago
Dominic Gannaway aadf629580
feat: add svelte/events package and export on function (#11912)
5 months ago
Simon H ba017db89d
docs: make legacy.componentApi more visible (#11924)
5 months ago
Dominic Gannaway 7714c934fe
chore: deprecate html in favour of body for render() (#11927)
5 months ago
Dillon Mulroy ae21d03a52
docs: Update svelte 5 preview faqs to include lsp formatting (#11906)
5 months ago
Marcos Rigoli 3acee5d246
docs: fix typo (#11893)
5 months ago
Sharath Kumar 35f92cf683
docs: update runes api.md (#11877)
5 months ago
Dominic Gannaway 3c87a69999
breaking: removed deferred event updates (#11855)
5 months ago
Ben McCann 9a86e3b5e6
chore: linting and formatting on a per-package basis (#11834)
5 months ago
Simon H fd942b7e65
chore: enable Vercel speed insights on preview site (#11823)
6 months ago
Simon H b1e01bf441
docs: clarify callback props and passing args (#11801)
6 months ago
Simon H 8c66b64e6b
feat: provide new `Component` type that represents the shape of components (#11775)
6 months ago
Rich Harris 0c4c2b023c
chore: use replaceState from SvelteKit to avoid warning (#11793)
6 months ago
Rich Harris 24151c4e9c
docs: document event delegation and effect deferral (#11747)
6 months ago
Rich Harris 0784ec0661
chore: apply formatting to console messages (#11735)
6 months ago
Rich Harris d4718e0755
playground: better console (#11719)
6 months ago
Rich Harris a17e84b61f
chore: tooltip tweaks (#11716)
6 months ago
Rich Harris 881040fb78
playground: reset on navigate (#11715)
6 months ago
Rich Harris 02520aea48
better tooltips in playground (#11705)
6 months ago
Rich Harris e45d1c37b6
chore: fix compiler warnings when developing preview site (#11699)
6 months ago
Rich Harris c49903f62b
chore: bump site-kit (#11698)
6 months ago
Rich Harris d288735fa8
breaking: disallow string literal values in `<svelte:element this="...">` (#11454)
6 months ago
Rich Harris 2e7e399160
chore: use indirect eval, avoid exposing stuff to the global scope (#11646)
6 months ago
Rich Harris a7b61c0f30
docs: use a canvas demo for `$effect` (#10745)
6 months ago
Simon H 13ce43a0a8
docs: document more breaking changes (#11636)
6 months ago
Dominic Gannaway f488a6e84a
feat: add $state.is rune (#11613)
6 months ago
Dominic Gannaway a8a5bb668f
fix: improve REPL stringify logic (#11609)
6 months ago
Matei Trandafir a2bc0f5f7d
Add documentation for svelte/elements (#11587)
6 months ago
이요 965afc5ccc
docs: correct variable references (#11582)
6 months ago
Dominic Gannaway 3103a0d81e
fix: improve REPL error button styling (#11547)
6 months ago
Rich Harris 4b7e0025a8
feat: better REPL autocomplete (#11530)
6 months ago
Luke Warlow 8be6fdde54
feat: MathML support (#11387)
6 months ago
Rich Harris 7a66927ca8
fix: bump esrap (#11392)
6 months ago
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)
7 months ago
Rich Harris bb1d229e26
fix docs (#11048)
7 months ago
Dominic Gannaway ade3d1afb9
fix: improve $effect.active REPL autocomplete (#11027)
7 months ago
Rich Harris 4f3fae7c6d
chore: compiler subpackage (#10988)
7 months ago
Ignatius Bagus 0fa9d16e53
docs: fix $bindable hash link (#11011)
7 months ago
Rich Harris b6fab1cb91
chore: squelch vite warning (#11005)
7 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)
8 months ago
Simon H ee04f973b2
docs: enhance `$effect` documentation (#10680)
8 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)
9 months ago
S. Elliott Johnson d309a9d47a
feat: Variadic snippets (#9988)
9 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
10 months ago
Jason Chase 60575ad494
docs: fix typo in snippets doc (#10030)
10 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