Commit Graph

317 Commits (bc4bb04ec5bce5cae094a7f23601962b8e5179cb)

Author SHA1 Message Date
Theodor Steiner 48d1ef96a6
fix(repl): attach listener above svelte event delegator (#12127) (#12135)
3 months ago
Dominic Gannaway 59f7bd6f9f
fix: improve await block behaviour in non-runes mode (#12179)
3 months ago
Dominic Gannaway e3d8ee6c6d
chore: add note for state.is using object.is (#12180)
3 months ago
Rich Harris 4540ff3118
docs: tweak effect docs (#11982)
3 months ago
Ben McCann 8ae5885d8d
chore: remove unused devDependencies (#12157)
3 months ago
Rich Harris 6c66680919
chore: bump typescript to 5.5 (#12126)
3 months ago
Dominic Gannaway ccb3c90cd5
breaking: rename $effect.active to $effect.tracking (#12022)
3 months ago
Rich Harris 3bfb302a63
chore: tweak effect docs (#11979)
3 months ago
Dominic Gannaway aadf629580
feat: add svelte/events package and export on function (#11912)
4 months ago
Simon H ba017db89d
docs: make legacy.componentApi more visible (#11924)
4 months ago
Dominic Gannaway 7714c934fe
chore: deprecate html in favour of body for render() (#11927)
4 months ago
Dillon Mulroy ae21d03a52
docs: Update svelte 5 preview faqs to include lsp formatting (#11906)
4 months ago
Marcos Rigoli 3acee5d246
docs: fix typo (#11893)
4 months ago
Sharath Kumar 35f92cf683
docs: update runes api.md (#11877)
4 months ago
Dominic Gannaway 3c87a69999
breaking: removed deferred event updates (#11855)
4 months ago
Ben McCann 9a86e3b5e6
chore: linting and formatting on a per-package basis (#11834)
4 months ago
Simon H fd942b7e65
chore: enable Vercel speed insights on preview site (#11823)
4 months ago
Simon H b1e01bf441
docs: clarify callback props and passing args (#11801)
4 months ago
Simon H 8c66b64e6b
feat: provide new `Component` type that represents the shape of components (#11775)
4 months ago
Rich Harris 0c4c2b023c
chore: use replaceState from SvelteKit to avoid warning (#11793)
4 months ago
Rich Harris 24151c4e9c
docs: document event delegation and effect deferral (#11747)
4 months ago
Rich Harris 0784ec0661
chore: apply formatting to console messages (#11735)
4 months ago
Rich Harris d4718e0755
playground: better console (#11719)
4 months ago
Rich Harris a17e84b61f
chore: tooltip tweaks (#11716)
4 months ago
Rich Harris 881040fb78
playground: reset on navigate (#11715)
4 months ago
Rich Harris 02520aea48
better tooltips in playground (#11705)
4 months ago
Rich Harris e45d1c37b6
chore: fix compiler warnings when developing preview site (#11699)
4 months ago
Rich Harris c49903f62b
chore: bump site-kit (#11698)
4 months ago
Rich Harris d288735fa8
breaking: disallow string literal values in `<svelte:element this="...">` (#11454)
4 months ago
Rich Harris 2e7e399160
chore: use indirect eval, avoid exposing stuff to the global scope (#11646)
4 months ago
Rich Harris a7b61c0f30
docs: use a canvas demo for `$effect` (#10745)
4 months ago
Simon H 13ce43a0a8
docs: document more breaking changes (#11636)
4 months ago
Dominic Gannaway f488a6e84a
feat: add $state.is rune (#11613)
4 months ago
Dominic Gannaway a8a5bb668f
fix: improve REPL stringify logic (#11609)
4 months ago
Matei Trandafir a2bc0f5f7d
Add documentation for svelte/elements (#11587)
4 months ago
이요 965afc5ccc
docs: correct variable references (#11582)
4 months ago
Dominic Gannaway 3103a0d81e
fix: improve REPL error button styling (#11547)
4 months ago
Rich Harris 4b7e0025a8
feat: better REPL autocomplete (#11530)
4 months ago
Luke Warlow 8be6fdde54
feat: MathML support (#11387)
5 months ago
Rich Harris 7a66927ca8
fix: bump esrap (#11392)
5 months ago
Simon H 0cf10a361e
docs: note jsdoc syntax for declaring props (#11370)
5 months ago
Rich Harris bda32edb1a
docs: on:keydown -> onkeydown (#11343)
5 months ago
Simon H cd798077b4
feat: provide migration function (#11334)
5 months ago
Rich Harris 9a887f8dab
chore: directly export function in non-HMR mode (#11333)
5 months ago
Rich Harris 476f2172b6
fix: mark `accessors` and `immutable` as deprecated (#11277)
5 months ago
Simon H 2d378bb762
breaking: disallow binding to component exports in runes mode (#11238)
5 months ago
Rich Harris 1a341a25f0
docs: rename /docs/functions to /docs/imports, include svelte/reactivity, tweak various things (#11187)
5 months ago
Dominic Gannaway 18097478fc
breaking: remove unstate(), replace with $state.snapshot rune (#11180)
5 months ago
Rich Harris 2cefd785a4
fix: make ownership validation work with HMR (#11171)
5 months ago
Ben M 51faf07897
update runes $effect example (#11137)
5 months ago
Tee Ming fe21a799db
fix broken links (#11145)
5 months ago
Dominic Gannaway 4b52884b8a
fix: improve REPL console method wrapping (#11150)
5 months ago
Rich Harris a531625896
chore: generate coverage report when deploying site (#11110)
5 months ago
Dominic Gannaway afe1d11a5b
feat: hot module reloading support for Svelte 5 (#11106)
5 months ago
Rich Harris 48202597de
chore: allow preview site to work offline in local dev (#11091)
5 months ago
Simon H 22494be9ec
feat: introduce `$host` rune, deprecate `createEventDispatcher` (#11059)
6 months ago
Simon H 6b7f1162ad
docs: note walk breaking change (#11078)
6 months ago
Simon H a9e15bdf2d
breaking: robustify interop of exports and props (#11064)
6 months ago
Rich Harris 071d6314d9
chore: fix local dev (#11074)
6 months ago
dependabot[bot] b2892b02e1
chore(deps-dev): bump vite from 5.0.12 to 5.0.13 (#11054)
6 months ago
Rich Harris bb1d229e26
fix docs (#11048)
6 months ago
Dominic Gannaway ade3d1afb9
fix: improve $effect.active REPL autocomplete (#11027)
6 months ago
Rich Harris 4f3fae7c6d
chore: compiler subpackage (#10988)
6 months ago
Ignatius Bagus 0fa9d16e53
docs: fix $bindable hash link (#11011)
6 months ago
Rich Harris b6fab1cb91
chore: squelch vite warning (#11005)
6 months ago
Simon H 3eef1cb8cf
feat: take form resets into account for two way bindings (#10617)
6 months ago
Simon H 416bc85d9c
breaking: add $bindable() rune to denote bindable props (#10851)
6 months ago
Rich Harris 9ff8029fb2
docs: replace out-of-date info (#10822)
6 months ago
Dominic Gannaway fe3b3b463c
feat: adds reactive Map class to svelte/reactivity (#10803)
6 months ago
Antonio Sarcevic 9223032a2a
fix: replace span with button (a11y) (#10763)
6 months ago
Rich Harris 77f39ea988
breaking: make `$props()` rune non-generic (#10694)
6 months ago
Rich Harris 14492ad639
docs: simplify when-not-to-use-effects (#10749)
6 months ago
Rich Harris 5086ef4b07
docs: use a `setInterval` demo (#10747)
6 months ago
Simon H ecf9760f7d
chore: use Svelte 5 for preview site (#10731)
6 months ago
Dominic Gannaway 6f3fcc0696
Untrack other REPL console methods and add comment (#10755)
6 months ago
Ben McCann 6a01f48325
docs: clarify effect alternatives section (#10718)
7 months ago
Dominic Gannaway 26c9068eab
fix: untrack console.log calls on REPL (#10706)
7 months ago
Simon H ee04f973b2
docs: enhance `$effect` documentation (#10680)
7 months ago
Simon H 749d3aa413
fix: add `$set` and `$on` methods in legacy compat mode (#10642)
7 months ago
Rich Harris 9c8e643b64
disable inspector (#10531)
7 months ago
Rich Harris ce8495c66d
chore: fix preview site (#10519)
7 months ago
Simon H 2755401034
breaking: remove `createRoot`, adjust `mount`/`hydrate` APIs, introduce `unmount` (#10516)
7 months ago
Ben McCann 49ad7f9589
chore: upgrade xml2js and codemirror plugins (#10463)
7 months ago
Simon H 72ff5366de
feat: add hydrate method, make hydration treeshakeable (#10497)
7 months ago
Simon H f8ff2b6ea3
chore: source maps for preprocessors + tests (#10459)
7 months ago
Rich Harris d41d0c26ad
chore: rename `$derived.call` to `$derived.by` (#10445)
7 months ago
Rich Harris 999fca97cf
fix: use hybrid scoping strategy for consistent specificity increase (#10443)
7 months ago
Chien Tran 976e807a3f
docs: rename svelte 5 discord channel (#10431)
8 months ago
Rich Harris 623340a1de
fix: make beforeUpdate/afterUpdate behave more like Svelte 4 (#10408)
8 months ago
Simon Holthausen b63ab91c7b chore: bump zimmerframe to resolve AST-traversal-related bugs
8 months ago
Rich Harris ccc7266fd9
docs: clarify that `$state` works deeply (#10354)
8 months ago
S. Elliott Johnson d309a9d47a
feat: Variadic snippets (#9988)
8 months ago
Dominic Gannaway d9a6b8b17a
chore: add $derived.call rune (#10240)
8 months ago
dependabot[bot] 340934917a
chore(deps-dev): bump @sveltejs/kit from 2.4.1 to 2.4.3 (#10281)
8 months ago
Simon H 036e88f1f7
fix: allow `:global(..)` in compound selectors (#10266)
8 months ago
Rich Harris 7c70c346f8
Update deps (#10245)
8 months ago
Simon Holthausen 35b500c399 docs: note `bind:files` breaking change
8 months ago
Ben McCann 0fd1c92822
docs: better clarify not to compute state in `$effect` (#9940)
8 months ago
Ben McCann aecd47e8df
chore: upgrade prettier to 3.1 (#10134)
8 months ago
gtmnayan b623890439
chore(repl): hide globals (#10125)
9 months ago