Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/sveltejs/svelte
web development for the rest of us
https://github.com/sveltejs/svelte
fixes #10805
1fc41730a1417aef3ef70bdfaaa851c7fa75dfa5 authored 9 months ago by Simon H <[email protected]>fixes #10821
f8c85d525d313e7de074fd272b80e67b3894ba75 authored 9 months ago by Simon H <[email protected]>9ff8029fb22275da74fe55a43f617b6e37a9371a authored 9 months ago by Rich Harris <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1bfafe935b3b5868ad85381133949a11ceebd76b authored 9 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* fix: add types for svelte/reactivity - closes #10816
* simplify
---------
Co-authored...
d921fb97bd199eed8370f44eff7e3e8756fb3419 authored 9 months ago by Rich Harris <[email protected]>474fc7ebe0cfc475444c84a77f580a47afecb459 authored 9 months ago by Dominic Gannaway <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
afc2eea382a009c690e1fc8d64b5a5ea4ad90803 authored 9 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* feat: adds reactive Map class to svelte/reactivity
* add docs
* add docs
* add test c...
fe3b3b463c2f9e290fc9d35b3b5983211f843546 authored 9 months ago by Dominic Gannaway <[email protected]>
- the `component` parameter expects a component constructor type, not an instance type
- use `i...
* null out teardown function
* add managed effects to effect tree
* let the code breathe a...
ffb27f667a2916258fc83ac1544eca078a800e25 authored 9 months ago by Rich Harris <[email protected]>Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
924f0611f7481d1125b8657b37a100e317a87940 authored 9 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* fix: make set.has(...) granular
* changeset
---------
Co-authored-by: Rich Harris <ri...
1e653ef4d8cccf57dff1e43cbfacce0415cafe57 authored 9 months ago by Rich Harris <[email protected]>* fix: invalidate store when mutated inside each block
fixes #10771
* Update packages/svel...
fbbd89a917856e14bad2f8f2dcfb5977f33a4756 authored 9 months ago by Simon H <[email protected]>Co-authored-by: Rich Harris <[email protected]>
bd687c65047953f8e1d601b6dba098b1c04b36e2 authored 9 months ago by Rich Harris <[email protected]>Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2701c0ad649477307c6508564a9d63d6cac67194 authored 9 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* fix: handle component binding mutation
https://github.com/sveltejs/svelte/issues/10359#issu...
339782f3e09652dac23da16a5685e9a36421ce02 authored 9 months ago by Simon H <[email protected]>We can simplify pre effects by not doing the flush logic at all now. Instead we can move the flu...
2cb78ac253a8f3bdfd9f980c0439633dc8f5058c authored 9 months ago by Dominic Gannaway <[email protected]>Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
0c1026f1668c096b5445919020d45da0b69acd15 authored 9 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* fix(site): console line button a11y fixup
* make log.label part of button
9223032a2afed139f8f561018079f62a8603da9c authored 9 months ago by Antonio Sarcevic <[email protected]>* feat: add reactive Set class to svelte/reactivity
* add some type safety
* simplify, rea...
3f7fcf9aec1feb7b35ee75e70ec607c2545eb02e authored 9 months ago by Dominic Gannaway <[email protected]>* move bindings
* move transitions
* move custom-elements.js
* move operations.js
* ...
eb40417c36a225595259ad23c73643d94ea878db authored 9 months ago by Rich Harris <[email protected]>* move element code
* eslint nonsense
---------
Co-authored-by: Rich Harris <rich.harri...
de021aebb58783ae6eb55a7f2489dd60baf346f3 authored 9 months ago by Rich Harris <[email protected]>Co-authored-by: Rich Harris <[email protected]>
84fa18a85003ca2b95194935f14cf48ebb3ee5e4 authored 9 months ago by Rich Harris <[email protected]>* move event modifier code
* move more legacy code
* oops
---------
Co-authored-by: ...
ea97fe22daec39e3dced47018f31ff7c8ec10be0 authored 9 months ago by Rich Harris <[email protected]>* move props code
* oops
---------
Co-authored-by: Rich Harris <[email protected]>
e36a8d06ea4ade519f3208faa2e3d3c81cb8ee2c authored 9 months ago by Rich Harris <[email protected]>Co-authored-by: Rich Harris <[email protected]>
d82d57e833f07f1cfcd1de84f4446625bd4f4cea authored 9 months ago by Rich Harris <[email protected]>* breaking: make `$props()` rune non-generic
* explain why type argument was removed
-----...
77f39ea988c259cb47cedd699f078fe23b7157e0 authored 9 months ago by Rich Harris <[email protected]>* move bindings to separate file
* tidy up
* errrr this code is confusing as hell but it w...
7212a56296a7328bba8b5e73557494ce86aa32b9 authored 9 months ago by Rich Harris <[email protected]>We need to additionally check the levels to not accidentally insert a higher level before a lowe...
468ecda6ea8ff473a7465673b0f2299464762173 authored 9 months ago by Dominic Gannaway <[email protected]>* move <svelte:component> code
* move <svelte:element> code
* unused import
* move <sve...
8a4dfb483b88f3e1384fee786c719d2a0719cf2e authored 9 months ago by Rich Harris <[email protected]>* split destroy_signal into destroy_effect and destroy_derived
* remove unused code
* remo...
278155968e7c34123af2de11690661a2ea5413bb authored 9 months ago by Rich Harris <[email protected]>Co-authored-by: Rich Harris <[email protected]>
3196077b5d3baf80dd7e17c06a9dd0aebdd51431 authored 9 months ago by Rich Harris <[email protected]>---------
Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Simon H <...
5086ef4b07ce676c16557053bc37b5323639fdc3 authored 9 months ago by Rich Harris <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3bdef5486ffbfd642ec85bea10e6e93806426234 authored 9 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* chore: use Svelte 5 for preview site
* use server route to load Svelte compiler, enables th...
ecf9760f7d2c97916a94c806f570db20977f8611 authored 9 months ago by Simon H <[email protected]>* fix: improve derived output for ssr
* ts
* Update .changeset/rotten-rules-invite.md
-...
ef206fe1b5807ef7617c1fa34a33dd75ec7c8665 authored 9 months ago by Dominic Gannaway <[email protected]>* untrack other REPL console methods and add comment
* untrack other REPL console methods and...
6f3fcc0696063aa439a1c1097fe443f29608e6af authored 10 months ago by Dominic Gannaway <[email protected]>81a4d87c1f70efbe42cda6423dfbd6fd959fd930 authored 10 months ago by Rich Harris <[email protected]>
7e82dbc54942ac81fad3c4d56efbf038ea58b50b authored 10 months ago by Rich Harris <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8dc7cd2151fa93a34b78d61ccaff42dacb49cae8 authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Co-authored-by: Rich Harris <[email protected]>
7cc5ce4e6537bf4f614d1bd4918b36c6ff2ea874 authored 10 months ago by Rich Harris <[email protected]>* Docs: Change all initizlisation to initialisation
* Reverted to "initialization" when asser...
e16591abe8deb6037e626b9ee240653aef4d18ee authored 10 months ago by Mostafa Kheibary <[email protected]>282d62baae47a01758ddfa94cee458f81183af56 authored 10 months ago by Dathan <[email protected]>
- run reactive statements only once per tick, even when they have indirect cyclic dependencies. ...
74474fe0850344166329d69d7c0b994a49658f0b authored 10 months ago by Simon H <[email protected]>Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
f3bfb938ee43e854535dc1e26d1ff85da570e972 authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* fix: improve bind:this support around proxyied state
* fix: improve bind:this support aroun...
7c00f1dacb3101d9a9bae0b87ab0cc925bc55a51 authored 10 months ago by Dominic Gannaway <[email protected]>Previously, only `div span` in `div span, div div { .. }` would've gotten the specificity bump
304db0d5b27b35c82223ffa9b5c60c79528b1dee authored 10 months ago by Simon H <[email protected]>fixes #10380
b1267b03b68cebbcd7ae5d03fe7526a49030e8ed authored 10 months ago by Simon H <[email protected]>fixes #9346
ae4af6841aaeb7b580ca5be2454318a3bfdaa05b authored 10 months ago by Simon H <[email protected]>closes #10641
3fd02f1c49fd43f59b27dbd4822f351693a63301 authored 10 months ago by Simon H <[email protected]>cc22492e7a3ce1aeb4c54fd7feeaab05c1f72050 authored 10 months ago by Papaya <[email protected]>
- add "missing customElement option" warning
- add backwards compat support for customElement={...
A handful of minor cleanups:
- there were two different "do this" / "don't do this" formats. St...
Get more validation tests passing:
- const tag cyclic validation (now runtime, based because of...
622195cc21889f6090d0db0d13eb5e4c0ca84f5b authored 10 months ago by Dominic Gannaway <[email protected]>
* tidy up
* tidy up
* tidy up
* tidy up
* remove redundant CLEAN
* lint
------...
a5a566dfa74f39f0c8df744f920705e2bc6e5f69 authored 10 months ago by Rich Harris <[email protected]>Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
b3d0a0695ac017297247d1625f75cf01a129400f authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>26c9068eab8dd4d4e5f0e3fdbedd8a58409947b7 authored 10 months ago by Dominic Gannaway <[email protected]>
* fix: improve each keyed block handling of item used as key
* fix
f8eb0d16d66ba29187412031b85cb82b56d7a0bf authored 10 months ago by Dominic Gannaway <[email protected]>d9d10228951816bf52cf249d39bc076f65d46090 authored 10 months ago by Dominic Gannaway <[email protected]>
closes #10385
4285e6d8143c27eaa3fb3d4d27abf44eb1d30d2e authored 10 months ago by Simon H <[email protected]>Fixes #10685
eedb59355f7c0051223272e9c3b2249433e0f473 authored 10 months ago by Dominic Gannaway <[email protected]>
- use interface instead of type (interface is less forgiving)
- rename SourceSignal to Source, ...
Co-authored-by: Rich Harris <[email protected]>
0cc74e46fd6e87abc1c7584dcca2afb18c53b864 authored 10 months ago by Rich Harris <[email protected]>* move some code
* split computations.js into deriveds.js and effects.js
* move reactivity...
aa29a853dd1bb3bad623b7427588c82fc380c5f6 authored 10 months ago by Rich Harris <[email protected]>Co-authored-by: Rich Harris <[email protected]>
2d15c9de3f5ea7f99964342afad7bdbb6c8f0ea9 authored 10 months ago by Rich Harris <[email protected]>Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
d577740c82d5bf05d00e13969d1742f7960ea8ac authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* fix: treat snippets like normal components when inferring namespace
* n
* simplify
* ...
6fb64c99147d69dde4908d6e58f6e3d98108ffc8 authored 10 months ago by Ahmad <[email protected]>Checking for expected or unexpected props in 2024 is the job TypeScript, and runtime validation ...
767b5a8824998a57813a7f135b7442d829e93806 authored 10 months ago by Simon H <[email protected]>fixes #9892
5d3385c56f9c95ad45dce1fbb4ed4e1a77ae5411 authored 10 months ago by Simon H <[email protected]>Co-authored-by: Rich Harris <[email protected]>
0a9ba9340b16ca47646a558e44ed4d3cd0bd1a9f authored 10 months ago by Rich Harris <[email protected]>
- explain when not to use `$effect`, closes #10193
- explain that only synchronous reads are tr...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
c4473dff7c3fd98500b4e609539ba89ddbcbb489 authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>f94eedc0eef695d94d256b076c85814126104bd1 authored 10 months ago by Simon H <[email protected]>
- widen ownership when getContext is called, part of #10649
- widen ownership when assigning on...
`bind:this` doesn't need to be a state reference if it will never change
fixes #10435
fixes #10530
1ac313594c28d729b7e11aedc1822fd8e40bd610 authored 10 months ago by Simon H <[email protected]>fixes #10662
b1b51a404b1357558e963716c6182ecaccd24f20 authored 10 months ago by Simon H <[email protected]>Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
e21488fc4b4e188711ff6b106b5d350d68249ba4 authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>710f73f9cf5415a62f078d95d5cac73ec447ba30 authored 10 months ago by Dominic Gannaway <[email protected]>
61e7442ccfa109e91f113ba79bc2a074c04bfc0f authored 10 months ago by Dominic Gannaway <[email protected]>
closes #9582
56315df67961fd4caa26116940415cc2f34fe3ee authored 10 months ago by Simon H <[email protected]>* fix: improve ssr code generation for class property $derived
* fix ts
b2e9be2148a8087256716770ec5866d6abf11c28 authored 10 months ago by Dominic Gannaway <[email protected]>* feat: improve ssr html mismatch validation
* update types
* Update packages/svelte/src/i...
99e1665ce18410c4a3266ca6cd489a53b1d7fcf3 authored 10 months ago by Dominic Gannaway <[email protected]>This has a lot of overhead for large lists, and we can at least diminish in the "no state proxy"...
3fe4940a9da82b8e95db7074c0d6171c685fc911 authored 10 months ago by Simon H <[email protected]>It's a warning because even when typing it out and knowing what to do you'll always be in a stat...
6625c1e080409e64821ff409d3db03b0cc5bf160 authored 10 months ago by Simon H <[email protected]>77b1f2fe516f699bf916697db8805a7d3b259c37 authored 10 months ago by Dominic Gannaway <[email protected]>
People could've done bind:this and called instance methods on the instance - a rare case, but no...
749d3aa4133f79306e8663010e570a0f6d542149 authored 10 months ago by Simon H <[email protected]>* fix: improve ssr output of dynamic textarea elements
* format
a4a789db4dbd43c6fc39de93b4d610ae85a63423 authored 10 months ago by Dominic Gannaway <[email protected]>ee4b1f2c75e7a3a3701d5312c86035b1f7b60651 authored 10 months ago by Ahmad <[email protected]>
83b92372c22da2f8a0f8350fa856087a7170275b authored 10 months ago by Dominic Gannaway <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
512edaad6fbef8e934dadef4ff2ea0c26eb54d2a authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>aa28ac3c7a9d97154e9dab0a2958c49e3aad8258 authored 10 months ago by Dominic Gannaway <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1822396a5522003a9e11e7c8d7afe27884303a75 authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* feat: add reactive Date object to svelte/reactivity
* add type safety, fix revealed typos
...
* fix: improve event delegation with shadowed bindings
* fix: improve event delegation with s...
b4a70ea38a180e435aed9f5797d38e4b1e39a077 authored 10 months ago by Dominic Gannaway <[email protected]>351d463bc4e16782a7c4265c06f8e5bac56134e5 authored 10 months ago by Dominic Gannaway <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
cc6155922b4a17a70a2dd54cbc0618bc908c6442 authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fixes #10271
The prior fix in #10307 wasn't quite right, because JSDom has a difference between...