Dominic Gannaway
194399d67f
tweaks
8 months ago
Dominic Gannaway
4d2ee6dab0
tweaks
8 months ago
Dominic Gannaway
5cf9d6f46e
tweaks
8 months ago
Dominic Gannaway
c0565191f0
fix: avoid duplication of content within each blocks when transitioning
8 months ago
Dominic Gannaway
02441c6a19
chore: apply each block controlled teardown optimization, again ( #11051 )
8 months ago
Rich Harris
f7c8fd569b
Revert "chore: apply each block controlled teardown optimization ( #11045 )" ( #11049 )
...
This reverts commit 1afec80261
.
8 months ago
Rich Harris
bb1d229e26
fix docs ( #11048 )
8 months ago
Dominic Gannaway
1afec80261
chore: apply each block controlled teardown optimization ( #11045 )
...
* chore: apply each block controlled teardown optimization
remove deopt
remove deopt
* remove deopt
* give a more descriptive name if we're running it across modules
* shorter comment
* rename each_element -> parent_node
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
8 months ago
Dominic Gannaway
17281c3df1
Revert "chore: remove deopts and refactor code for controlled optimizations (…" ( #11043 )
...
This reverts commit 3ece9cd051
.
8 months ago
Dominic Gannaway
3ece9cd051
chore: remove deopts and refactor code for controlled optimizations ( #11040 )
...
* chore: remove deopts and refactor code for controlled optimizations
* remove comment
* tune
* tweak
* tweak
* typo
* get rid of single-use variable
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
8 months ago
github-actions[bot]
d85d5a060b
Version Packages (next) ( #11035 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Dominic Gannaway
c50883e496
fix: ensure transition errors are not swallowed ( #11039 )
...
* fix: ensure transition errors are not swallowed
* feedback
8 months ago
Dominic Gannaway
b210fe3c9d
chore: remove parent DOM before children DOM ( #11038 )
8 months ago
Rich Harris
92909834f0
breaking: prevent unparenthesized sequence expressions in attributes ( #11032 )
8 months ago
github-actions[bot]
2a1d3c6e73
Version Packages (next) ( #11034 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Rich Harris
3254d2e22f
fix: add missing package.json in package ( #11033 )
8 months ago
github-actions[bot]
6bb825b1b1
Version Packages (next) ( #11018 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Dominic Gannaway
1d52c1323b
fix: improve unowned derived signal heuristics ( #11029 )
...
* fix: improve unowned derived signal heuristics
* spelling
8 months ago
Dominic Gannaway
2a784fce16
fix: correctly handle closure passed to $derived.by when destructuring ( #11028 )
...
* fix: correctly handle closure passed to $derived.by when destructuring
* oops
8 months ago
Dominic Gannaway
ade3d1afb9
fix: improve $effect.active REPL autocomplete ( #11027 )
8 months ago
Rich Harris
3c155e3f3e
fix: ensure effect cleanup functions are called with null `this` ( #11024 )
8 months ago
Rich Harris
ad11c5087f
fix: ensure correct context for action update/destroy functions ( #11023 )
8 months ago
Rich Harris
34748ba015
chore: verify that `$effect.root(...)` does not re-run ( #11020 )
8 months ago
Rich Harris
0a162924fb
feat: more efficient hydration markers ( #11019 )
...
* remove <!--ssr:if:true--> comments
* remove <!--ssr:each_else--> comments
* changeset
* tidy up
8 months ago
Rich Harris
4f3fae7c6d
chore: compiler subpackage ( #10988 )
...
* move compiler.cjs to compiler/index.js
* changeset
* prettier
* ugh
8 months ago
Frédéric Crozatier
1c75b9ac4d
fix: add `name` to HTMLDetailsAttributes ( #11013 )
...
* add name attribute to HTMLDetailsAttributes
* changeset
8 months ago
Ignatius Bagus
0fa9d16e53
docs: fix $bindable hash link ( #11011 )
...
* docs: fix $bindable hash link
* standardise
8 months ago
Dominic Gannaway
8c4769db37
chore: improve internal performance of effect runtime ( #10999 )
...
* chore: improve internal performance of effect runtime
* add TODOs
* add TODOs
8 months ago
Rich Harris
b6fab1cb91
chore: squelch vite warning ( #11005 )
8 months ago
github-actions[bot]
57813124d8
Version Packages (next) ( #10995 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Rich Harris
7bd853b1a8
fix: hydrate HTML with surrounding whitespace ( #10996 )
...
* fix: hydrate HTML with surrounding whitespace
* add test
* fix a few more short comments
* tidy up
* avoid magic strings
* avoid magic strings
* fix
* oops
8 months ago
Dominic Gannaway
3f6eff55a4
chore: use internal doubly linked listed for effect tree ( #10994 )
...
* chore: use internal doubly linked listed for effect tree
* cleanup
* todo
8 months ago
Rich Harris
4a6316818c
feat: faster HTML tags ( #10986 )
...
* feat: faster HTML tags
* move code to where it is used
8 months ago
Rich Harris
cd90a5d946
chore: rename css.ts to css.d.ts ( #10991 )
8 months ago
github-actions[bot]
442f2d7c39
Version Packages (next) ( #10983 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Dominic Gannaway
b119600966
fix: ensure child effects are removed from parent branches ( #10985 )
...
* fix: ensure child effects are removed from parent branches
* fix: child effects are removed from parent branches
* oops
8 months ago
Rich Harris
5b2d5212d2
feat: expose `'svelte/internal'` ( #10987 )
...
* feat: expose svelte/internal
* fix
8 months ago
Dominic Gannaway
a1d74bd56d
chore: remove signal field from effects ( #10984 )
8 months ago
Dominic Gannaway
696b6922e8
fix: revert shorthand ssr comments ( #10980 )
...
* fix: revert shorthand ssr comments
* tests
* add changeset
8 months ago
github-actions[bot]
ef0191a6ae
Version Packages (next) ( #10977 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Rich Harris
227945d242
feat: re-export built-ins from `svelte/reactivity` on the server ( #10973 )
...
* chore: re-export builtins from svelte/reactivity on the server
* changeset
* fix
8 months ago
Dominic Gannaway
8971910940
fix: further improvements to effect scheduling and flushing ( #10971 )
...
* fix: improve effect scheduling
* fix: further improvements to effect scheduling and flushin
* add test
* simplify
* simplify
* lint
* fix e2e tests
* fix e2e tests
* simplify
* Update packages/svelte/src/internal/client/runtime.js
* Update packages/svelte/src/internal/client/runtime.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/runtime.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/runtime.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* style tweak
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
8 months ago
Rich Harris
293f905a53
chore: use #client alias ( #10974 )
8 months ago
Rich Harris
f303d82043
chore: tidy up server exports ( #10972 )
...
* tidy up server exports
* tidy up server exports
* docs are unnecessary here
* eliminate client dependencies from server code
* lint
8 months ago
Rich Harris
d49e2aeb15
chore: explicit reexports ( #10970 )
...
* explicit re-exports
* explicit re-exports
* regenerate types
8 months ago
Rich Harris
8a758d86ee
move some code ( #10969 )
8 months ago
Rich Harris
cebbccbcba
chore: move svelte/internal to svelte/internal/client ( #10968 )
8 months ago
Rich Harris
eaa243d2da
chore: reshuffle some code ( #10967 )
...
* remove superfluous .d.ts file
* remove main/main-client.js to index-client.js
* move main/main-server.js to index-server.js
* move main/public.d.ts to index.d.ts
* move ambient.d.ts
* fix
* fix
8 months ago
github-actions[bot]
de6a802435
Version Packages (next) ( #10966 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Dominic Gannaway
ea6fd72e79
fix: apply animate on prefix/suffix each block mutations ( #10965 )
8 months ago