Dominic Gannaway
d89d54d189
merge conflict
10 months ago
github-actions[bot]
3e3ae925f3
Version Packages (next) ( #9692 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
10 months ago
Hans
8c2cbb87dd
site: remove banner ( #9620 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
10 months ago
Simon H
75295ac79f
docs: enhance breaking change section ( #9674 )
...
* docs: enhance breaking change section
- mention createRoot first, explain difference to mount
- mentiond bind:this change
- sub headings
- adjust createRoot type that missed the events property
* Update packages/svelte/src/internal/client/render.js
Co-authored-by: Conduitry <git@chor.date>
* clarify
---------
Co-authored-by: Conduitry <git@chor.date>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
10 months ago
Rich Harris
dd4061bc38
rename dev script, update contributor guide and readme ( #9673 )
...
* rename dev script, update contributor guide and readme
* turns out we can do this!
* increase accuracy
* justify FILTER
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
10 months ago
Simon H
f9ba528265
fix: add children to element typings ( #9679 )
...
* fix: add children to element typings
Add this here so that libraries doing `props$<HTMLButtonAttributes>()` don't need a separate interface
fixes #https://github.com/sveltejs/language-tools/issues/2218
* typo
10 months ago
Simon H
aabab263ee
fix: handle ts expressions when dealing with runes ( #9681 )
...
* fix: handle ts expressions when dealing with runes
related to #9639
* docs, more tests
* simplify
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
10 months ago
Dominic Gannaway
e1cfa14f93
check visited for cyclical values
10 months ago
Simon Holthausen
c6d7fcab08
ensure hoisting doesnt mess up source maps
10 months ago
Rich Harris
2666e6dbd7
remove unnecessary if (DEV) checks - log runes are removed in prod
10 months ago
Dominic Gannaway
cd2fc8f13e
fix ts
10 months ago
Dominic Gannaway
8122453c67
improve break experience
10 months ago
Rich Harris
e7d5cd6b6a
Merge branch 'log-rune' of github.com:sveltejs/svelte into log-rune
10 months ago
Rich Harris
21985a31e7
update test
10 months ago
Dominic Gannaway
6b2d267127
Update sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md
...
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
10 months ago
Rich Harris
6daa422887
$log.break and $log.trace no-op during SSR
10 months ago
Dominic Gannaway
93a2607800
Update sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md
...
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
10 months ago
Rich Harris
376fc50fda
Update .changeset/chatty-hotels-grin.md
10 months ago
Rich Harris
765c4328cb
Update packages/svelte/src/main/ambient.d.ts
10 months ago
Rich Harris
f18154721e
Merge branch 'log-rune' of github.com:sveltejs/svelte into log-rune
10 months ago
Rich Harris
1c10e146be
only pause/trace on change
10 months ago
Dominic Gannaway
be07df0b17
Update packages/svelte/src/main/ambient.d.ts
...
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
10 months ago
Dominic Gannaway
be762fe2d7
Update packages/svelte/src/main/ambient.d.ts
...
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
10 months ago
Dominic Gannaway
902c168fc7
Update packages/svelte/src/main/ambient.d.ts
...
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
10 months ago
Rich Harris
098ce67104
remove redundant code
10 months ago
Rich Harris
fb813c2c74
simplify
10 months ago
Rich Harris
8964d1a0ab
squelch static-state-reference warning
10 months ago
Rich Harris
3b1e81289a
Update sites/svelte-5-preview/src/lib/Repl.svelte
10 months ago
Dominic Gannaway
e1299a657b
Merge branch 'main' into log-rune
10 months ago
Dominic Gannaway
801bfeeb90
repl dev mode
10 months ago
Dominic Gannaway
dac4fc4ac0
repl, dev: true
10 months ago
github-actions[bot]
a31b2e1b8e
Version Packages (next) ( #9650 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
10 months ago
Dominic Gannaway
aac227d6bc
merge conflicts
10 months ago
Dominic Gannaway
81d3e47d1c
feat: add $effect.root rune ( #9638 )
...
* feat: effect-root-rune
feat: add $effect.root rune
update doc
update doc
fix validation
* cleanup logic
* Update sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md
* address feedback
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
10 months ago
Ben McCann
2660727a93
chore: tweak changeset ( #9667 )
...
* chore: tweak changeset
* Update .changeset/slimy-clouds-talk.md
* Update seven-ravens-check.md
10 months ago
Rich Harris
48e78e420f
chore: remove static value handling ( #9571 )
...
The deleted code ensured that a static variable wouldn't update when it's in the same text expression as a reactive variable. We solved this through emitting a warning about this instead, marking it as undefined behavior.
10 months ago
Rich Harris
5836c1cdbd
chore: improve output for `<svelte:element>` ( #9648 )
...
- doesn't add spread_dynamic_element_attributes when there are no attributes — Unnecessary spread_dynamic_element_attributes call #9646
- skips the child render function altogether if there is nothing to do
10 months ago
Dominic Gannaway
aa6ef0fdf8
lint
10 months ago
Dominic Gannaway
9d7e915c8c
tweaks
10 months ago
Dominic Gannaway
f2162c0c26
tweaks
10 months ago
Dominic Gannaway
22b5289a42
Fix docs
10 months ago
Dominic Gannaway
910043079a
Merge branch 'main' into log-rune
10 months ago
Rich Harris
6e863e617c
feat: warn on referenced mutated nonstate ( #9669 )
...
Walk the path and warn if this is a mutated normal variable that's referenced inside a function scope
10 months ago
Rich Harris
9c44fd7854
feat: ignore href when hydrating ( #9662 )
...
* ignore href when hydrating
* remove unused export keyword
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
10 months ago
Simon Holthausen
5205bac9d1
cleanup
10 months ago
Yuichiro Yamashita
da1aa7c4a8
feat: support type annotations in `{@const ...}` tag ( #9609 )
...
* support type for const tag
* use expression directly
* lint
* format
* format
* revert
* legacy mode
* format
* revert and update .prettierignore
10 months ago
Yuichiro Yamashita
075c268f42
add ci on node21 ( #9621 )
10 months ago
Simon H
617d63dd90
fix: take event attributes into account when checking a11y ( #9664 )
...
also adjusted the warning messages slightly so they make sense for both variants of event handlers
fixes #9654
10 months ago
Simon H
83fd001157
fix: prevent reactive snippet from reinitializing unnecessarily ( #9665 )
...
untrack the invocation itself, only track the snippet function
fixes #9652
10 months ago
Dominik G
5619cd9bfc
chore: update playgrounds/demo ( #9666 )
...
* chore: update playgrounds/demo to exclude svelte from being optimized and generate an App.svelte so first run doesn't throw
* chore: fix format
10 months ago