Commit Graph

189 Commits (0fd1a4513175e90ed42ea46f21d8c641472b7c6f)

Author SHA1 Message Date
Rich Harris bdc45fdf7f
breaking: rename `legacy.componentApi` to `compatibility.componentApi` (#12370)
6 months ago
Rich Harris 27c54407b6
chore: expose css option in playground (#12369)
6 months ago
Simon H ba93e5fce3
breaking: play transitions on `mount` by default (#12351)
6 months ago
Dominic Gannaway cae5f1ed26
breaking: rename svelte/reactivity helpers to include Svelte prefix (#12248)
6 months ago
Simon H 33e44ea697
feat: allow `let props = $props()`, optimize prop read access (#12201)
6 months ago
Ahmad S d9e8acd0d8
docs: rename `$effect.active to `$effect.tracking` in REPL example (#12200)
6 months ago
Ahmad S b93adb7d00
docs: correct $effect examples (#12196)
6 months ago
Theodor Steiner 48d1ef96a6
fix(repl): attach listener above svelte event delegator (#12127) (#12135)
6 months ago
Dominic Gannaway 59f7bd6f9f
fix: improve await block behaviour in non-runes mode (#12179)
6 months ago
Dominic Gannaway e3d8ee6c6d
chore: add note for state.is using object.is (#12180)
6 months ago
Rich Harris 4540ff3118
docs: tweak effect docs (#11982)
6 months ago
Ben McCann 8ae5885d8d
chore: remove unused devDependencies (#12157)
6 months ago
Rich Harris 6c66680919
chore: bump typescript to 5.5 (#12126)
6 months ago
Dominic Gannaway ccb3c90cd5
breaking: rename $effect.active to $effect.tracking (#12022)
7 months ago
Rich Harris 3bfb302a63
chore: tweak effect docs (#11979)
7 months ago
Dominic Gannaway aadf629580
feat: add svelte/events package and export on function (#11912)
7 months ago
Simon H ba017db89d
docs: make legacy.componentApi more visible (#11924)
7 months ago
Dominic Gannaway 7714c934fe
chore: deprecate html in favour of body for render() (#11927)
7 months ago
Dillon Mulroy ae21d03a52
docs: Update svelte 5 preview faqs to include lsp formatting (#11906)
7 months ago
Marcos Rigoli 3acee5d246
docs: fix typo (#11893)
7 months ago
Sharath Kumar 35f92cf683
docs: update runes api.md (#11877)
7 months ago
Dominic Gannaway 3c87a69999
breaking: removed deferred event updates (#11855)
7 months ago
Ben McCann 9a86e3b5e6
chore: linting and formatting on a per-package basis (#11834)
7 months ago
Simon H fd942b7e65
chore: enable Vercel speed insights on preview site (#11823)
7 months ago
Simon H b1e01bf441
docs: clarify callback props and passing args (#11801)
7 months ago
Simon H 8c66b64e6b
feat: provide new `Component` type that represents the shape of components (#11775)
7 months ago
Rich Harris 0c4c2b023c
chore: use replaceState from SvelteKit to avoid warning (#11793)
7 months ago
Rich Harris 24151c4e9c
docs: document event delegation and effect deferral (#11747)
7 months ago
Rich Harris 0784ec0661
chore: apply formatting to console messages (#11735)
7 months ago
Rich Harris d4718e0755
playground: better console (#11719)
7 months ago
Rich Harris a17e84b61f
chore: tooltip tweaks (#11716)
7 months ago
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)
8 months ago
Simon H 13ce43a0a8
docs: document more breaking changes (#11636)
8 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)
10 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)
11 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