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

fix: don't override instance methods during legacy class creation (#10834)

fixes #10805

1fc41730a1417aef3ef70bdfaaa851c7fa75dfa5 authored 9 months ago by Simon H <[email protected]>
fix: ensure capture events don't call delegated events (#10831)

fixes #10821

f8c85d525d313e7de074fd272b80e67b3894ba75 authored 9 months ago by Simon H <[email protected]>
docs: replace out-of-date info (#10822)

9ff8029fb22275da74fe55a43f617b6e37a9371a authored 9 months ago by Rich Harris <[email protected]>
Version Packages (next) (#10814)

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 (#10817)

* fix: add types for svelte/reactivity - closes #10816

* simplify

---------

Co-authored...

d921fb97bd199eed8370f44eff7e3e8756fb3419 authored 9 months ago by Rich Harris <[email protected]>
fix: ensure arguments are supported on all reactive Date methods (#10813)

474fc7ebe0cfc475444c84a77f580a47afecb459 authored 9 months ago by Dominic Gannaway <[email protected]>
Version Packages (next) (#10806)

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 (#10803)

* 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]>
fix: deduplicate module declaration, adjust type (#10801)

- the `component` parameter expects a component constructor type, not an instance type
- use `i...

c35f0c16af0426b829882be8efe6ac9f7684aa5f authored 9 months ago by Simon H <[email protected]>
Blockless redux (#10794)

* 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]>
Version Packages (next) (#10792)

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 for existing properties (#10793)

* 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 (#10785)

* fix: invalidate store when mutated inside each block

fixes #10771

* Update packages/svel...

fbbd89a917856e14bad2f8f2dcfb5977f33a4756 authored 9 months ago by Simon H <[email protected]>
chore: remove ignore_mutation_validation (#10789)

Co-authored-by: Rich Harris <[email protected]>

bd687c65047953f8e1d601b6dba098b1c04b36e2 authored 9 months ago by Rich Harris <[email protected]>
Version Packages (next) (#10782)

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 (#10786)

* fix: handle component binding mutation

https://github.com/sveltejs/svelte/issues/10359#issu...

339782f3e09652dac23da16a5685e9a36421ce02 authored 9 months ago by Simon H <[email protected]>
fix: adjust render effect ordering (#10783)

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]>
Version Packages (next) (#10770)

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: replace span with button (a11y) (#10763)

* 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 (#10781)

* feat: add reactive Set class to svelte/reactivity

* add some type safety

* simplify, rea...

3f7fcf9aec1feb7b35ee75e70ec607c2545eb02e authored 9 months ago by Dominic Gannaway <[email protected]>
chore: move more element stuff (#10780)

* move bindings

* move transitions

* move custom-elements.js

* move operations.js

* ...

eb40417c36a225595259ad23c73643d94ea878db authored 9 months ago by Rich Harris <[email protected]>
move element code (#10778)

* move element code

* eslint nonsense

---------

Co-authored-by: Rich Harris <rich.harri...

de021aebb58783ae6eb55a7f2489dd60baf346f3 authored 9 months ago by Rich Harris <[email protected]>
chore: remove unused function (#10776)

Co-authored-by: Rich Harris <[email protected]>

84fa18a85003ca2b95194935f14cf48ebb3ee5e4 authored 9 months ago by Rich Harris <[email protected]>
chore: move legacy code (#10775)

* 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 (#10774)

* move props code

* oops

---------

Co-authored-by: Rich Harris <[email protected]>

e36a8d06ea4ade519f3208faa2e3d3c81cb8ee2c authored 9 months ago by Rich Harris <[email protected]>
move template code into its own module (#10773)

Co-authored-by: Rich Harris <[email protected]>

d82d57e833f07f1cfcd1de84f4446625bd4f4cea authored 9 months ago by Rich Harris <[email protected]>
breaking: make `$props()` rune non-generic (#10694)

* breaking: make `$props()` rune non-generic

* explain why type argument was removed

-----...

77f39ea988c259cb47cedd699f078fe23b7157e0 authored 9 months ago by Rich Harris <[email protected]>
chore: move bindings code (#10772)

* 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]>
fix: improve internal render effect sequencing (#10769)

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]>
chore: move some code around (#10767)

* move <svelte:component> code

* move <svelte:element> code

* unused import

* move <sve...

8a4dfb483b88f3e1384fee786c719d2a0719cf2e authored 9 months ago by Rich Harris <[email protected]>
chore: refactor reactivity code (#10760)

* split destroy_signal into destroy_effect and destroy_derived

* remove unused code

* remo...

278155968e7c34123af2de11690661a2ea5413bb authored 9 months ago by Rich Harris <[email protected]>
chore: remove unused function (#10762)

Co-authored-by: Rich Harris <[email protected]>

3196077b5d3baf80dd7e17c06a9dd0aebdd51431 authored 9 months ago by Rich Harris <[email protected]>
docs: simplify when-not-to-use-effects (#10749)

---------

Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Simon H <...

14492ad639303864c0e916cffc9ba5ac3751807c authored 9 months ago by Rich Harris <[email protected]>
docs: use a `setInterval` demo (#10747)

5086ef4b07ce676c16557053bc37b5323639fdc3 authored 9 months ago by Rich Harris <[email protected]>
Version Packages (next) (#10758)

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 (#10731)

* 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 (#10757)

* 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 (#10755)

* untrack other REPL console methods and add comment

* untrack other REPL console methods and...

6f3fcc0696063aa439a1c1097fe443f29608e6af authored 10 months ago by Dominic Gannaway <[email protected]>
Merge branch 'main' of github.com:sveltejs/svelte

81a4d87c1f70efbe42cda6423dfbd6fd959fd930 authored 10 months ago by Rich Harris <[email protected]>
fix typo

7e82dbc54942ac81fad3c4d56efbf038ea58b50b authored 10 months ago by Rich Harris <[email protected]>
Version Packages (next) (#10742)

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>
tidy up (#10744)

Co-authored-by: Rich Harris <[email protected]>

7cc5ce4e6537bf4f614d1bd4918b36c6ff2ea874 authored 10 months ago by Rich Harris <[email protected]>
docs: Change all the word "initialization" to "initialisation" (#10708)

* Docs: Change all initizlisation to initialisation

* Reverted to "initialization" when asser...

e16591abe8deb6037e626b9ee240653aef4d18ee authored 10 months ago by Mostafa Kheibary <[email protected]>
Fix typo and grammar in 01-svelte-components.md (#10737)

282d62baae47a01758ddfa94cee458f81183af56 authored 10 months ago by Dathan <[email protected]>
fix: prevent reactive statement reruns (#10736)

- run reactive statements only once per tick, even when they have indirect cyclic dependencies. ...

74474fe0850344166329d69d7c0b994a49658f0b authored 10 months ago by Simon H <[email protected]>
Version Packages (next) (#10716)

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 (#10732)

* fix: improve bind:this support around proxyied state

* fix: improve bind:this support aroun...

7c00f1dacb3101d9a9bae0b87ab0cc925bc55a51 authored 10 months ago by Dominic Gannaway <[email protected]>
fix: bump specificity on all members of a selector list (#10730)

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]>
fix: error when exporting reassigned state from module context (#10728)

fixes #10380

b1267b03b68cebbcd7ae5d03fe7526a49030e8ed authored 10 months ago by Simon H <[email protected]>
fix: eagerly unsubscribe when store is changed (#10727)

fixes #9346

ae4af6841aaeb7b580ca5be2454318a3bfdaa05b authored 10 months ago by Simon H <[email protected]>
breaking: preserve slots inside templates with a shadowrootmode attribute (#10721)

closes #10641

3fd02f1c49fd43f59b27dbd4822f351693a63301 authored 10 months ago by Simon H <[email protected]>
fix: use toDateString occur error when use pnpm run test in China (#10719)

cc22492e7a3ce1aeb4c54fd7feeaab05c1f72050 authored 10 months ago by Papaya <[email protected]>
chore: custom elements validation (#10720)

- add "missing customElement option" warning
- add backwards compat support for customElement={...

fff3320517baf94abef277ce01f2104526d1a0e4 authored 10 months ago by Simon H <[email protected]>
docs: clarify effect alternatives section (#10718)

A handful of minor cleanups:
- there were two different "do this" / "don't do this" formats. St...

6a01f48325f758e8804b167e85fb2a9da36febdb authored 10 months ago by Ben McCann <[email protected]>
chore: get more validator tests passing (#10714)

Get more validation tests passing:
- const tag cyclic validation (now runtime, based because of...

881e84f988f56026a340588e62a14df3460f9f02 authored 10 months ago by Simon H <[email protected]>
fix: ensure performance.now() and requestAnimationFrame() are polyfilled in ssr (#10715)

622195cc21889f6090d0db0d13eb5e4c0ca84f5b authored 10 months ago by Dominic Gannaway <[email protected]>
chore: tidy up (#10705)

* tidy up

* tidy up

* tidy up

* tidy up

* remove redundant CLEAN

* lint

------...

a5a566dfa74f39f0c8df744f920705e2bc6e5f69 authored 10 months ago by Rich Harris <[email protected]>
Version Packages (next) (#10701)

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>
fix: untrack console.log calls on REPL (#10706)

26c9068eab8dd4d4e5f0e3fdbedd8a58409947b7 authored 10 months ago by Dominic Gannaway <[email protected]>
fix: improve each keyed block handling of item used as key (#10703)

* fix: improve each keyed block handling of item used as key

* fix

f8eb0d16d66ba29187412031b85cb82b56d7a0bf authored 10 months ago by Dominic Gannaway <[email protected]>
fix: improve indexed each equality (#10702)

d9d10228951816bf52cf249d39bc076f65d46090 authored 10 months ago by Dominic Gannaway <[email protected]>
fix: prevent snippet children conflict (#10700)

closes #10385

4285e6d8143c27eaa3fb3d4d27abf44eb1d30d2e authored 10 months ago by Simon H <[email protected]>
fix: adjust keyed each block equality handling (#10699)

Fixes #10685

eedb59355f7c0051223272e9c3b2249433e0f473 authored 10 months ago by Dominic Gannaway <[email protected]>
chore: refactor signal types (#10698)

- use interface instead of type (interface is less forgiving)
- rename SourceSignal to Source, ...

86f326531c2abc4a976db4c27656c7b530363fdf authored 10 months ago by Rich Harris <[email protected]>
remove some needless indirection (#10697)

Co-authored-by: Rich Harris <[email protected]>

0cc74e46fd6e87abc1c7584dcca2afb18c53b864 authored 10 months ago by Rich Harris <[email protected]>
chore: move reactivity code around (#10696)

* move some code

* split computations.js into deriveds.js and effects.js

* move reactivity...

aa29a853dd1bb3bad623b7427588c82fc380c5f6 authored 10 months ago by Rich Harris <[email protected]>
create #client types alias (#10695)

Co-authored-by: Rich Harris <[email protected]>

2d15c9de3f5ea7f99964342afad7bdbb6c8f0ea9 authored 10 months ago by Rich Harris <[email protected]>
Version Packages (next) (#10693)

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: improve namespace inference when having `{@render}` and `{@html}` tags (#10631)

* fix: treat snippets like normal components when inferring namespace

* n

* simplify

* ...

6fb64c99147d69dde4908d6e58f6e3d98108ffc8 authored 10 months ago by Ahmad <[email protected]>
chore: remove obsolete test (#10679)

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]>
fix: don't collapse whitespace within text nodes (#10691)

fixes #9892

5d3385c56f9c95ad45dce1fbb4ed4e1a77ae5411 authored 10 months ago by Simon H <[email protected]>
minor aesthetic tweaks (#10692)

Co-authored-by: Rich Harris <[email protected]>

0a9ba9340b16ca47646a558e44ed4d3cd0bd1a9f authored 10 months ago by Rich Harris <[email protected]>
docs: enhance `$effect` documentation (#10680)

- explain when not to use `$effect`, closes #10193
- explain that only synchronous reads are tr...

ee04f973b29367769b702e3b60b34191a1f24ac5 authored 10 months ago by Simon H <[email protected]>
Version Packages (next) (#10670)

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>
fix: put message in quotes

f94eedc0eef695d94d256b076c85814126104bd1 authored 10 months ago by Simon H <[email protected]>
fix: better ownership mutation validation (#10673)

- widen ownership when getContext is called, part of #10649
- widen ownership when assigning on...

5768ac3027f2d6a75890c0dbd43c55de03e7caea authored 10 months ago by Simon H <[email protected]>
fix: prevent false positive non-state warnings for `bind:this` (#10674)

`bind:this` doesn't need to be a state reference if it will never change
fixes #10435

74f8e261c6da4f2c882ecf76bd34c8e7cce2656b authored 10 months ago by Simon H <[email protected]>
fix: handle TypeScript's optional parameter syntax in snippets (#10671)

fixes #10530

1ac313594c28d729b7e11aedc1822fd8e40bd610 authored 10 months ago by Simon H <[email protected]>
fix: deduplicate generated props and action arg names (#10669)

fixes #10662

b1b51a404b1357558e963716c6182ecaccd24f20 authored 10 months ago by Simon H <[email protected]>
Version Packages (next) (#10640)

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>
fix: improve derived rune destructuring support (#10665)

710f73f9cf5415a62f078d95d5cac73ec447ba30 authored 10 months ago by Dominic Gannaway <[email protected]>
fix: improve ssr derived output to ensure memoization remains (#10664)

61e7442ccfa109e91f113ba79bc2a074c04bfc0f authored 10 months ago by Dominic Gannaway <[email protected]>
feat: allow arbitrary call expressions for render tags (#10656)

closes #9582

56315df67961fd4caa26116940415cc2f34fe3ee authored 10 months ago by Simon H <[email protected]>
fix: improve ssr code generation for class property $derived (#10661)

* 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 (#10658)

* feat: improve ssr html mismatch validation

* update types

* Update packages/svelte/src/i...

99e1665ce18410c4a3266ca6cd489a53b1d7fcf3 authored 10 months ago by Dominic Gannaway <[email protected]>
perf: bail early when traversing non-state (#10654)

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]>
fix: warn when `$props` rune not called (#10655)

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]>
chore: remove more .at() usage from runtime (#10648)

77b1f2fe516f699bf916697db8805a7d3b259c37 authored 10 months ago by Dominic Gannaway <[email protected]>
fix: add `$set` and `$on` methods in legacy compat mode (#10642)

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 (#10638)

* fix: improve ssr output of dynamic textarea elements

* format

a4a789db4dbd43c6fc39de93b4d610ae85a63423 authored 10 months ago by Dominic Gannaway <[email protected]>
fix test (#10634)

ee4b1f2c75e7a3a3701d5312c86035b1f7b60651 authored 10 months ago by Ahmad <[email protected]>
fix: date working in repl (#10627)

83b92372c22da2f8a0f8350fa856087a7170275b authored 10 months ago by Dominic Gannaway <[email protected]>
Version Packages (next) (#10625)

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>
fix: improve deep_read performance (#10624)

aa28ac3c7a9d97154e9dab0a2958c49e3aad8258 authored 10 months ago by Dominic Gannaway <[email protected]>
Version Packages (next) (#10621)

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 (#10622)

* feat: add reactive Date object to svelte/reactivity

* add type safety, fix revealed typos
...

f658ca0d548cc0e4eb0e33f1c4a7586f3dd8ccec authored 10 months ago by Dominic Gannaway <[email protected]>
fix: improve event delegation with shadowed bindings (#10620)

* fix: improve event delegation with shadowed bindings

* fix: improve event delegation with s...

b4a70ea38a180e435aed9f5797d38e4b1e39a077 authored 10 months ago by Dominic Gannaway <[email protected]>
chore: remove array.at usage from runtime (#10619)

351d463bc4e16782a7c4265c06f8e5bac56134e5 authored 10 months ago by Dominic Gannaway <[email protected]>
Version Packages (next) (#10601)

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>
fix: prevent window listeners from triggering events twice (#10611)

fixes #10271
The prior fix in #10307 wasn't quite right, because JSDom has a difference between...

fc6666bc569455e9a491c9bd7af6d3c1ea6d292e authored 10 months ago by xxkl1 <[email protected]>