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

Version Packages (next) (#9833)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

ab21253073ff9988225fb1bb41349f501365a5ea authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
breaking: change `$inspect` API (#9838)

* breaking: change `$inspect` API

`$inspect` now takes 1-n arguments, and inspections modific...

df5105ef2e276e4dc86c376ecddeb26d11602bf4 authored about 1 year ago by Simon H <[email protected]>
chore: avoid creating unnecessary thunks (#9841)

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

26c6d6f95d21de8cb524896b8433045ba0c7170d authored about 1 year ago by Rich Harris <[email protected]>
fix: improve each key animations (#9842)

8dfb2894b4f7d7dfbf457fb459c59fede57b3264 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: improve each block with animate (#9839)

08d93a2f5f96070568be4a3628b7e208e2556d5e authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: improve signal consumer removal logic (#9837)

388e3e68fc46fd018e58a82572d45f704e6e9c8f authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: ensure computed props are wrapped in derived (#9835)

e2dcdc2887f02e4a969d6c576e0344410b4059a5 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: better handle unowned derived signals (#9832)

* fix: better handle unowned derived signals

* format

---------

Co-authored-by: Simon H...

d9c250a4bff455726041e642da9114c61b1cb189 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: rethink props (#9826)

Cleaned up prop_source and renamed it to prop. Updated tests accordingly

b20b4617c05ef6d3391ed94123096044d949e486 authored about 1 year ago by Rich Harris <[email protected]>
chore: do not emit invalidate_effect for select synchronization (#9830)

in runes mode

c9c2bde5e7eb7a5568ed4fa0c8344dc18d7c0146 authored about 1 year ago by gtmnayan <[email protected]>
Version Packages (next) (#9807)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

384e3a42b302c5c93923866b395400e5ff1b3340 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chore: skip READONLY_SYBOL check in prod (#9825)

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

fb853106a9ffb4369bad5bef2638a5f6d3809bf2 authored about 1 year ago by Rich Harris <[email protected]>
fix: correctly apply scope on component children (#9824)

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

481df0e64a8703d60b2e5b3c3d2b4de900c75390 authored about 1 year ago by Rich Harris <[email protected]>
fix: reuse proxy between objects (#9821)

* chore: reuse proxy between objects

* lint

---------

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

5797bb34ce96b0d7b4608f934c1f13605143671f authored about 1 year ago by Rich Harris <[email protected]>
chore: remove unused check (#9817)

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

3fb917dc6da14174d73450a03d41bc99d6cb2ac2 authored about 1 year ago by Rich Harris <[email protected]>
chore: code golf text_effect a bit (#9814)

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

548ffdd3bd2d74d6e7556791457b6953f80d0645 authored about 1 year ago by Rich Harris <[email protected]>
chore: tweak readonly error message (#9816)

* tweak readonly error message

* update tests

---------

Co-authored-by: Rich Harris <ri...

c0150b0bd31a600d8f6c1777cb3685db38b8d4a7 authored about 1 year ago by Rich Harris <[email protected]>
chore: use `$$props` directly where possible (#9813)

* use $$props directly in runes mode

* this makes no sense

* use $$props directly in runes...

1e4af194047307de054e785df94e9ce7273b148b authored about 1 year ago by Rich Harris <[email protected]>
fix: prevent infinite loops stemming from invalidation method (#9811)

* fix: prevent infinite loops stemming from invalidation method

The logic was flawed: the cap...

074615d7fd200eb3625cc6c1a9cb86a713e293de authored about 1 year ago by Simon H <[email protected]>
chore: refactor is_promise function (#9794)

* Refactor is_promise function

* Update packages/svelte/src/internal/common.js

---------
...

edc569e73bf08c2a573b12db38e185909bc1b11b authored about 1 year ago by Михаил Туник <[email protected]>
fix: adjust children snippet default type

Needs to be void so that zero args are passed to it
fixes #9744

dcdd645480ab412eb563632e70801f4d61c1d787 authored about 1 year ago by Simon Holthausen <[email protected]>
fix: better readonly checks for proxies (#9808)

- Expect the thing that's checked to be wrapped with the proxy already, so that we can just chec...

56677859032d7950630f816fdcf6647f18b0e5af authored about 1 year ago by Simon H <[email protected]>
fix: improve non state referenced warning (#9809)

* fix: improve non state referenced warning

* add test

d5167e75b96e10f0ed8f9b84588079d66dffaec6 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: improve consistency issues around binding invalidation (#9810)

* co

* Add comment

d793d570e25c5fe6dde0980b96925b6fa274aa12 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: use proxy instead of signal in createRoot (#9799)

* use proxy instead of signal in createRoot

* DRY

* remove for now

* lint

* chore: u...

01a2117330632bfe5f29eeb44ba5bd257401ead2 authored about 1 year ago by Rich Harris <[email protected]>
fix: tweak css nth regex (#9806)

fixes #9795

3c2e656187f3f47f5c365fb376255083b53fce13 authored about 1 year ago by Simon H <[email protected]>
docs: replace event handlers with event props on preview site (#9793)

also add event and snippets section to old vs new

---------

Co-authored-by: Rich Harris <r...

fc8349817ff8c482e815b6c15b6fd7b3b4e27d39 authored about 1 year ago by Rich Harris <[email protected]>
chore: simplify await blocks (#9802)

We never pass a signal to await blocks currently, so the "is_signal" check is unnecessary

4b76c6998bbc8d42a8a5765fa07963850df4ec0b authored about 1 year ago by Rich Harris <[email protected]>
chore(deps-dev): bump vite from 4.5.0 to 4.5.1 (#9800)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 4.5.1.
- [Re...

9babce910538a5819d5277a2c30c802af53481d9 authored about 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Version Packages (next) (#9771)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

f552a4b2ea9e1785dfc79d908a7aa79e6bac978c authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: tweak invalid dollar prefix rules around function args (#9792)

e6b5ccd29a883272b9521c4352bdf37dd4436f4f authored about 1 year ago by Dominic Gannaway <[email protected]>
feat: make fallback prop values readonly (#9789)

* WIP

* update tests

* only make readonly in runes mode

* remove this for now

* chan...

62c9292947d0ca714626d7f8d25000ec50841d1a authored about 1 year ago by Rich Harris <[email protected]>
check runtime errors (#9791)

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

bd8f7db75438c9caf30d2f01e291c48fb5115373 authored about 1 year ago by Rich Harris <[email protected]>
fix: ensure generate guards against keywords (#9790)

* fix: ensure generate guards against keywords

* changeset

* lint

* Update .changeset/o...

3b15e32a918f4737ec9ced021200fd6874b06d12 authored about 1 year ago by Dominic Gannaway <[email protected]>
feat: runes globals error (#9773)

* feat: runes globals error

throw descriptive error for using runes globals outside of Svelte...

9c3516dd3d7502e855fdac7aaf6495aab6002c67 authored about 1 year ago by Simon H <[email protected]>
feat: disallow fallback values with bindings in runes mode (#9784)

* disallow fallback values with bindings in runes mode

* on second thoughts

---------

C...

24777c335a85209e344fb2b61a60c7768165c747 authored about 1 year ago by Rich Harris <[email protected]>
feat: add unstate utility function (#9776)

* feat: add unstate utility function

* Update packages/svelte/src/internal/client/proxy/proxy...

c7e626ebbbe04416f8a3ec7dca0f920c7e1497c0 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: ensure proxied array length is updated (#9782)

* fix: ensure proxied array length is updated

* fix: ensure proxied array length is updated
...

f1954d034b9ef789e9198e8d8abb6beb512ef2cd authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: remove `exposable` (#9783)

* use flags for prop_source, this will be useful later

* remove exposable/expose stuff

---...

10aacfa603d7a7f139ca3c63556c2ef7af071ba1 authored about 1 year ago by Rich Harris <[email protected]>
fix: ensure transitions properly cancel on completion (#9778)

25abca78b27e111bd415d84c2c9c9e6346a6184e authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: apply event attribute validation to elements only (#9772)

fixes #9755

ef158ff729e137c3f91493eb8b628b3b1ef768fe authored about 1 year ago by Simon H <[email protected]>
chore: fix compiler-errors test suite (#9754)

- fix compiler-errors test suite
- handle css nth-selector syntax (fixes #9765)

---------

...

ede5dab2302430dbc9c9e8d40bb371c2ccf096f7 authored about 1 year ago by Rich Harris <[email protected]>
add missing changelog entry

fd4a52c8944b9e131594d6fc0e00645f12215304 authored about 1 year ago by Rich Harris <[email protected]>
Version Packages (next) (#9753)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

e4056107f0e918b2cc5fbcf8929e3742f73434e3 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Proxied state (#9739)

* magic objects

* read length eagerly — triggers reconciliation

* nested magic

* tests
...

75fc09a79e9e2ac015bede1bfd487776e025b4ad authored about 1 year ago by Rich Harris <[email protected]>
fix: allow duplicate snippet declaration names (#9759)

Fixes #9756

f0c47c31bcb08007cce3a825b07de2873ef26970 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: ensure event handlers containing arguments are not hoisted (#9758)

* fix: ensure event handlers containing arguments are not hoisted

* add test

* handle rest...

ef5bcfe542752b10d84f8ff8fd1553ebc7aa9043 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: ensure computed props are cached with derived (#9757)

Fixes #9751

2017af407d73c5e90f17c0cc2677893d8e90648e authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: css parser fix

when inside a pseudo-class, only `)` is a valid end, and when outside, only `{` is - reflect tha...

aaa1797ed8633a0b26e4273055ea6cf67167aea6 authored about 1 year ago by Simon Holthausen <[email protected]>
chore: more validation errors (#9723)

* invalid directive on component

* duplicate animation

* invalid animation

* no const a...

402a322317817f542be3194fa8baf7503cc172aa authored about 1 year ago by Simon H <[email protected]>
docs: update `create` -> `createRoot` (#9750)

d19e622e907ae49d97bcfc13646a9b6ed215e191 authored about 1 year ago by Ignatius Bagus <[email protected]>
Version Packages (next) (#9736)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

61e5e53eee82e895c1a5b4fd36efb87eafa1fc2d authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
correctly inspect derived values (#9731)

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

765d01d76c3af917d917cd5447c7d864ef02201d authored about 1 year ago by Rich Harris <[email protected]>
Version Packages (next) (#9707)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

1108587f1bb65b816ff692161fec1599e7f99c47 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: improve template text node serialization (#9722)

fix: improve template text node serialization

2fa06447cf51893715bfe776f753d1b1f0587d83 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: improve infinite loop capturing (#9721)

7eba35b9d17ad6822e0d5e4aa9de582d1b08abdd authored about 1 year ago by Dominic Gannaway <[email protected]>
fix repl (#9720)

8266229c42c27a08965613b625e6dbdaefd7705a authored about 1 year ago by gtmnayan <[email protected]>
fix: ensure `$$slots` exists in runes mode (#9718)

fixes #9683

cb1ea1f2dbfedde5db4468e6f79abcde2dc83438 authored about 1 year ago by Simon H <[email protected]>
fix: keep fallback value after spread update not setting that prop (#9717)

fixes #9716

4a8f0bc7e78db937c6ec20ae1cd904344f77a772 authored about 1 year ago by Simon H <[email protected]>
fix: port over props that were set prior to initialization (#9704)

Svelte 5 version of #9701

65fa717ccdcbf1e3020023cd00d47000c08042b3 authored about 1 year ago by Simon H <[email protected]>
chore: remove redundant hydration code (#9698)

2e461eb314fcb4962a14f6f70cd473dc5157670f authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: tweak const tag parsing (#9715)

fixes #9711

e3dc185a4c3420788ea50863dda50c7820bf6ae4 authored about 1 year ago by Simon H <[email protected]>
fix: allow `bind:this` with dynamic type on inputs (#9713)

fixes #9709

f88895e95582db3ebfba2308edb76bd5efab18f2 authored about 1 year ago by Simon H <[email protected]>
fix: delegate events on elements with bind-this (#9696)

fixes #9688

1fe0152dd435ef7a0bda819b13c7bfa970819495 authored about 1 year ago by Simon H <[email protected]>
fix: ensure implicit children snippet renders correctly (#9706)

place anchors around render tags, not snippet tags
fixes #9678

24165872155a0ed1d52d0a43982a9912f864e55c authored about 1 year ago by Simon H <[email protected]>
`$inspect` rune (#9705)

* feat: add $log rune

* fix issues

* fix issues

* tune

* avoid static state referenc...

bde42d56764337e000ca72df921fb2d168067af1 authored about 1 year ago by Rich Harris <[email protected]>
Version Packages (next) (#9692)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

3e3ae925f3b769c3bea60160f1e20ca4afdf55ce authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
site: remove banner (#9620)

Co-authored-by: Ben McCann <[email protected]>

8c2cbb87dd3a098a38a3b293c4e58afa5818b45f authored about 1 year ago by Hans <[email protected]>
docs: enhance breaking change section (#9674)

* docs: enhance breaking change section

- mention createRoot first, explain difference to mou...

75295ac79f4d94d872ecc09e3dd77799174e3fbe authored about 1 year ago by Simon H <[email protected]>
rename dev script, update contributor guide and readme (#9673)

* rename dev script, update contributor guide and readme

* turns out we can do this!

* inc...

dd4061bc38d2a0a2dd5065154647246e5bdc81ad authored about 1 year ago by Rich Harris <[email protected]>
fix: add children to element typings (#9679)

* fix: add children to element typings

Add this here so that libraries doing `props$<HTMLButt...

f9ba528265e8bf756732107d3c7957a6a78d1850 authored about 1 year ago by Simon H <[email protected]>
fix: handle ts expressions when dealing with runes (#9681)

* fix: handle ts expressions when dealing with runes

related to #9639

* docs, more tests
...

aabab263ee5d2e788dbd5ee25f304daea12ec27e authored about 1 year ago by Simon H <[email protected]>
Version Packages (next) (#9650)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

a31b2e1b8e6638aa0d652afdd4cc958436dfeacd authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
feat: add $effect.root rune (#9638)

* feat: effect-root-rune

feat: add $effect.root rune

update doc

update doc

fix valid...

81d3e47d1c9646a5676f79170fbffd97695c1a06 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: tweak changeset (#9667)

* chore: tweak changeset

* Update .changeset/slimy-clouds-talk.md

* Update seven-ravens-ch...

2660727a93c98043b3fcb00f10bf01cc2e863143 authored about 1 year ago by Ben McCann <[email protected]>
chore: remove static value handling (#9571)

The deleted code ensured that a static variable wouldn't update when it's in the same text expre...

48e78e420ffb279a54c28407768f850c5ff81dfa authored about 1 year ago by Rich Harris <[email protected]>
chore: improve output for `<svelte:element>` (#9648)

- doesn't add spread_dynamic_element_attributes when there are no attributes — Unnecessary sprea...

5836c1cdbd6257ff75738a424ee1929a16794a2a authored about 1 year ago by Rich Harris <[email protected]>
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 ...

6e863e617c993dd6d742447391c60e61a50ee562 authored about 1 year ago by Rich Harris <[email protected]>
feat: ignore href when hydrating (#9662)

* ignore href when hydrating

* remove unused export keyword

---------

Co-authored-by: R...

9c44fd7854630a115ab75251af5940955bdd487e authored about 1 year ago by Rich Harris <[email protected]>
feat: support type annotations in `{@const ...}` tag (#9609)

* support type for const tag

* use expression directly

* lint

* format

* format

*...

da1aa7c4a83089fc90c1dd646fb869777e62d76c authored about 1 year ago by Yuichiro Yamashita <[email protected]>
add ci on node21 (#9621)

075c268f42cede5bd08136c4bfdfe6e62e7c053f authored about 1 year ago by Yuichiro Yamashita <[email protected]>
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 handle...

617d63dd90737dbe4d622c24a5ae08d229c535f3 authored about 1 year ago by Simon H <[email protected]>
fix: prevent reactive snippet from reinitializing unnecessarily (#9665)

untrack the invocation itself, only track the snippet function
fixes #9652

83fd00115757d9d06c78a1d65bc77378a552ae2e authored about 1 year ago by Simon H <[email protected]>
chore: update playgrounds/demo (#9666)

* chore: update playgrounds/demo to exclude svelte from being optimized and generate an App.svel...

5619cd9bfc73276f8d831f3adfb3562407ca68d6 authored about 1 year ago by Dominik G <[email protected]>
chore: bump esrap (#9649)

* bump esrap

* changeset

---------

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

405e9da4ff853c2e8aafde739ba0b2fd406f56b5 authored about 1 year ago by Rich Harris <[email protected]>
Version Packages (next) (#9642)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

66d540d3c511b960741b3c41c8d32dc59d650a3f authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: omit this bind this arg if we know it's not a signal (#9635)

fixes #9629

Co-authored-by: Dominic Gannaway <[email protected]>

7f237c2e41115b420f0d6432c51c85ec3b5ecaf5 authored about 1 year ago by Simon H <[email protected]>
fix: improve each block index handling (#9644)

* fix: improve each block index handling

* format

dee5bed82917cfaf7b283773505ebfdb1423acda authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: apply keyed validation only for keyed each (#9641)

02f3f42981e4f7e6960c1ce1f84b01e044be97df authored about 1 year ago by Dominic Gannaway <[email protected]>
Version Packages (next) (#9633)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

94afdc8a4bb08ba3b72512a3da846343e42e8c71 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: adjust mount and createRoot types

they expect the component constructor, not the instance

63e58318460dbb3485df93d15beb2779a86d2c9a authored about 1 year ago by Simon Holthausen <[email protected]>
fix: type-level back-compat for default slot and children prop

If someone has an existing SvelteComponent type definition and using the slot generic to type th...

a3bc7d5698425ec9dde86eb302f2fd56d9da8f96 authored about 1 year ago by Simon Holthausen <[email protected]>
fix: remove constructor overload

The original intent was for typing generation tools like svelte2tsx to use the virtual construct...

cb4b1f0a189803bed04adcb90fbd4334782e8469 authored about 1 year ago by Simon Holthausen <[email protected]>
Version Packages (next) (#9607)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

b7af2ffabdda5124a95c7e218d8a650c3a6d9cbf authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: dont error on stores looking like runes when runes explicitly turned off (#9615)

78a69acfa1ad1555a490b5a3b8cf799ff46f30a8 authored about 1 year ago by Simon H <[email protected]>
fix: better attribute casing logic (#9626)

- don't lowercase attributes on svg and custom element elements, fixes #9605
- better lowercasi...

72d3a2a8ce5dcfea1685aa650079b1cd15dcebf2 authored about 1 year ago by Simon H <[email protected]>
fix: improve member expression mutation logic (#9625)

* fix: improve member expression mutation logic

* cleanup

* Update .changeset/moody-frogs-...

ef68b66dee1ebc126118e5b837c091e110999c81 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix typos (#9622)

7825570b074906453f03be4ead8fd558264834c2 authored about 1 year ago by Yuichiro Yamashita <[email protected]>
feat: add type of `$effect.active` (#9624)

c7121aa38c26f5808a61767e4358ca87cfced2c4 authored about 1 year ago by Yuichiro Yamashita <[email protected]>
fix: apply correct snippet scope (#9623)

d8d9be39d303619e6c7aaf402735527f1fef24a0 authored about 1 year ago by Dominic Gannaway <[email protected]>