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: correctly assign bind:this with multiples (#9617)

* fix: correctly assign bind:this with multiples

* better fix

* better fix

* lint

* ...

509f92d29ed4d273a79daf613c93c8b5e85e9408 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: untrack keyed validation logic (#9618)

* untrack validation logic

* chore: untrack keyed validation logic

c22ebffb00391e35270a5049da0c61591b23b886 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: handle undefined bubble events (#9614)

Fixes #9610

8118efd115d7ca19b5cae17970cc4db16b844701 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: reuse common templates (#9601)

#9589 - add comment and space as reusable templates to save a few bytes. We can definitely take ...

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

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

d83bd7f7c18b2cf5b3652bab74f7527d21602f9b authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chore: better error message for not using snippet type (#9602)

language tools checks that a function passed to `{@render ..}` is returning a type that adheres ...

88f1a8f62e25a889c3985ae8e733801cc647ae4e authored about 1 year ago by Simon H <[email protected]>
chore: remove get_callee_name (#9595)

no longer necessary with the enhanced get_rune function

5f6c5ca8aef3c9f963a3b8c435c2121a8c8f40d0 authored about 1 year ago by Rich Harris <[email protected]>
fix: prevent false positives when detecting runes mode (#9599)

Move references from module scope to instance scope if we determined that these references are s...

13c6c273c60b5aa7dca89d22d8152eb9ee3d2eaf authored about 1 year ago by Simon H <[email protected]>
`$effect.active` docs (#9598)

* docs: $effect.active

* link

---------

Co-authored-by: Rich Harris <rich.harris@vercel...

f40efb2027fca454aff409466433f25d1bffbf02 authored about 1 year ago by Rich Harris <[email protected]>
chore: better `get_rune` helper (#9594)

* chore: add $effect.active rune

* chore: add $effect.active rune

* WIP

* allow get_run...

c837771ca64ff7ec56107404e473a69fb1b48545 authored about 1 year ago by Rich Harris <[email protected]>
chore: remove some unused code (#9593)

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

1f4ae5ef451fc369a80dc784ea62ced0a83c34ce authored about 1 year ago by Rich Harris <[email protected]>
feat: add $effect.active rune (#9591)

* chore: add $effect.active rune

* chore: add $effect.active rune

cf9130613d8c77ad00899102fa778f6cee20c80a authored about 1 year ago by Dominic Gannaway <[email protected]>
put nested class warning on the declaration, not the usage site (#9592)

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

13aef5245b1d7d79d64c4a2995f3549757143281 authored about 1 year ago by Rich Harris <[email protected]>
chore: bump esrap (#9590)

fe9c0bc19d43b6cb88833baaf19af65b933be185 authored about 1 year ago by Rich Harris <[email protected]>
chore: add inline new class warning (#9583)

* chore: add inline new class warning

* Address feedback

* address feedback

* more tests

eb0b4dc6e5dab222e907a3c380ca330ebd961ca4 authored about 1 year ago by Dominic Gannaway <[email protected]>
generate AST first (#9587)

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

d57eff76ed24ae2330f11f3d3938761ae4e14b4b authored about 1 year ago by Rich Harris <[email protected]>
feat: add Snippet type (#9584)

* feat: add Snippet type

related to #9447

* one more test

1003acccc4a7446dc84d287038fe9c8d0bc12f40 authored about 1 year ago by Simon H <[email protected]>
fix: adjust event delegation heuristics (#9581)

Fixes #9561

da15806136f6124745ebcb8bba119948e5cfa278 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: deduplicate

46c572a14da0b6ebfe76dcac8e759d54a6027356 authored about 1 year ago by Simon Holthausen <[email protected]>
fix: select enabled option with null value when it matches bound value (#9550)

Fix select binding when matching enabled option has null value
Fix null option being selected w...

c011db178bdda07bc089b85fa3efb9ebd4880639 authored about 1 year ago by Theodore Brown <[email protected]>
fix: deconflict generated names against globals (#9570)

fixes #9559

1bc89b5eb6e745f05fd534b45dc62b2d269f05f2 authored about 1 year ago by Rich Harris <[email protected]>
fix: disallow static state fields (#9577)

closes #9547

945a90b56cbe6961b73e736ee4bf5b4401037ff3 authored about 1 year ago by Rich Harris <[email protected]>
fix: adjust regex (#9572)

would error on non-quoted attributes with more than one character

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

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

b9664700b7a140a7fb35fb6775b52520380002f7 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Typescript each indexed (#9567)

* failing test

* fix undefined index bug

* Update packages/svelte/src/compiler/phases/1-pa...

1c48d7cbdcbc78e397d5ace349198bbb87a9e6b6 authored about 1 year ago by Rich Harris <[email protected]>
docs: document class state fields (#9563)

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

95c6b65f6f587809a0563efbc5e7a2a5003888f0 authored about 1 year ago by Rich Harris <[email protected]>
set expression end to typeAnnotation end where appropriate (#9566)

* set expression end to typeAnnotation end where appropriate

* fix

* woops

* lint

--...

225a5bfe501768864d147026630c9dbaed17ff50 authored about 1 year ago by Rich Harris <[email protected]>
feat: native TypeScript support (#9482)

* add typescript support to parser

* fix

* unnecessary

* various

* transform asserti...

459e4ff006c6f3ba866b012bd08ebca427551e5d authored about 1 year ago by Rich Harris <[email protected]>
fix: adjust static attribute regex (#9552)

Svelte 5 version of #9551

9926347ad9dbdd0f3324d5538e25dcb7f5e442f8 authored about 1 year ago by Simon H <[email protected]>
chore: shave off more bytes (#9540)

* shavings

* dro unused max safe int

* get rid of array_ref and object_ref

* extract ST...

550cecf3114286ae9e3fc54efdd2c54b9d858884 authored about 1 year ago by gtmnayan <[email protected]>
chore: more transition code-golfing (#9536)

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

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

699c3379084b7e909728f8e0816be700f192085d authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chore: rename internal object properties (#9532)

* chore: rename internal object properties

chore: rename internal object properties

order ...

5809ac6758d3b1df879301ba15be45f9078c21d4 authored about 1 year ago by Dominic Gannaway <[email protected]>
Version Packages (next) (#9530)

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

5458ea7735027f345d544d267371518fd426f6a8 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: address intro transition bugs (#9528)

* fix: address intro transition bugs

* fix: address intro transition bugs

b0588d7888253e3dda7a64c3e193cfcdb596a651 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: more signal fine-tuning (#9531)

* chore: opt for two signal data-structures to reduce memory usage

298da65ed684236d015760801525d28cd5cee26e authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: tune signals for better runtime perf (#9529)

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

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

a36dba7df0eb86ed4cebc9c3562b4320dcd38bd7 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: handle intro global transition propagation correctly (#9515)

* fix: stop propagating global intros

* fix: stop propagating global intros

* add test

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

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

e0271f0fc7b3191ba3d5fc7982ec09d7cb0d0ac9 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: address unowned propagation signal issue (#9510)

* fix: address unowned propagation signal issue

* Add comments

3b2e6eac9a52a89e9981608dc1c8ba4b20419e0d authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: ensure we visit assignments during compilation (#9511)

* fix: add missing visit for expressions

* fix: add missing visit for expressions

* Add test

378093941d45259931d0c232a6029f3090184b5a authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: add top level snippets to instance scope (#9467)

fixes #9460

4418ba6535064c4f04540670ddc50858a2075621 authored about 1 year ago by Simon H <[email protected]>
fix: tweak script/style tag parsing/preprocessing logic (#9502)

Related to sveltejs/language-tools#2204 / sveltejs/language-tools#2039
The Svelte 5 version of ...

1beb5e8dc9e62e7957381e65bf8917f5fde58a91 authored about 1 year ago by Simon H <[email protected]>
docs: fix typo in Svelte 5 preview docs (#9507)

intead -> instead

687b8f58e35f8fd98974b654289cfac257096b94 authored about 1 year ago by Erick Vargas <[email protected]>
fix: only treat instance context exports as accessors (#9500)

* failing test for #9499

* limit export handling to instance context

* changeset

------...

c827b0c772f2259d85f9e3a2ecfffb90f5974868 authored about 1 year ago by Rich Harris <[email protected]>
fix: emit useful error on invalid binding to derived state (#9497)

closes #9495

ede1edd314452a1bfd729503e990cf06e04da641 authored about 1 year ago by Rich Harris <[email protected]>
allow setting files (#9463)

37f249350c414d9a75635bf2993b08f888191ce5 authored about 1 year ago by Tee Ming <[email protected]>
chore: add AST output to sandbox (#9488)

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

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

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

c823dd2efa4ec3ac384cc84ff9416f5994ae5b5b authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Revert "fix: address bug in before/after update" (#9480)

* Revert "fix: address bug in before/after update (#9448)"

This reverts commit 9eb969ddd4b412...

60c273eb76b087014b96deab6ec04a7056e8a5c9 authored about 1 year ago by Dominic Gannaway <[email protected]>
Version Packages (next) (#9431)

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

7e94dee9553c07cb8999efd6dea95f5bb2b486ae authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fix: handle dynamic selects with falsy select values (#9471)

when options are added later, we need to ensure the select value still stays in sync
fixes #9412

c1f6ee096d73c504a9d81fbc3bbf88c202788c28 authored about 1 year ago by Simon H <[email protected]>
fix: Added missing context of `svelte.js` for validation (#9394)

* fix

* add changeset

* Update .changeset/eighty-bikes-camp.md

Co-authored-by: Ben McCa...

19f84ca73045ffdc44cc3174b7042d471235395c authored about 1 year ago by Yuichiro Yamashita <[email protected]>
enforce treeshakeability (#9430)

* enforce treeshakeability

* fix

* appease the dweeby little hall monitor

---------

...

555e8f845f6d0459e42e82cc871da32c75b15ee1 authored about 1 year ago by Rich Harris <[email protected]>
Code golf each transitions (#9476)

* chore: improve code size of transitions

* Add changeset

455fa8950ee1db1912fb4d58d96108e716c443ee authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: stringify attribute values before comparison (#9475)

* fix: stringify attribute values before comparison

* simplify

---------

Co-authored-by...

e3e1fef238c2439786dc7885495dd1c8c173b6c6 authored about 1 year ago by Rich Harris <[email protected]>
configure search.exclude (#9472)

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

2ebedb04a1d57eb8851368b841fcda7d621fb4d9 authored about 1 year ago by Rich Harris <[email protected]>
fix: rework directive name handling (#9470)

* move snapshot test to a runtime test

* handle dynamic cases

* huh

---------

Co-aut...

d749685b0fac9e7e934218e5b8766fdf48f22e1e authored about 1 year ago by Rich Harris <[email protected]>
chore: make DOM operations lazily init (#9468)

* chore: make DOM operations lazyily init

* cleanup types

* cleanup types

* cleanup typ...

73e8820fe724cad5fd7ea3cd5b3faa652f04064e authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: remove obsolete script

640dd48705a17d1906f0eeba0671c22a8e4cce5b authored about 1 year ago by Simon Holthausen <[email protected]>
fix: support class exports (#9465)

9ef34247320b99bf0126d34116223077adb4da51 authored about 1 year ago by Simon H <[email protected]>
fix: allow member access on directives (#9462)

fixes #9445

6f3dc04c824e7ae6e5a2b0524a743d25a8baa496 authored about 1 year ago by Paolo Ricciuti <[email protected]>
fix: address bug in before/after update (#9448)

* fix: address bug in before/after update

fix: address bug in before/after update

* Add ch...

9eb969ddd4b41275a8f3bbb9a4662482d2d9bcd6 authored about 1 year ago by Dominic Gannaway <[email protected]>
treat `slot` the same as other props - closes #9455 (#9457)

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

f5101c0d8cb34cd488af0b56784fb308541d62da authored about 1 year ago by Rich Harris <[email protected]>
fix: only escape attribute values for elements, not components (#9456)

* only escape attribute values for elements, not components - closes #9454

* changeset

---...

6f6c3a0787c561f38a89235d2e4a3f282da770ea authored about 1 year ago by Rich Harris <[email protected]>
add back launch config

9abfb52f67bbcdc7b671c3b3dfc3d672c506a24a authored about 1 year ago by Rich Harris <[email protected]>
docs: Update Breaking changes section (#9444)

* update docs

* Update sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking...

f18adc8b439fdec9ce8cc933d04faac072babd92 authored about 1 year ago by Yuichiro Yamashita <[email protected]>
Docs (#9449)

* rename file

* add snippet docs

* add note on deprecation

* they're not attributes

...

6bba70a2a53a12dbf6c2da0253119d8cd8a5a724 authored about 1 year ago by Rich Harris <[email protected]>
fix: allow svelte:self in snippets (#9439)

* fix: allow svelte:self in snippets

* Create funny-wombats-argue.md

e90ded677e64f342067efe18aae38000e8ce0849 authored about 1 year ago by Paolo Ricciuti <[email protected]>
fix: tighten up event attributes and hoisting logic (#9433)

- add event delegation to spread_attributes
- add event attributes to spread
- don't delegate ...

73ae5ef5bcec0ef416537267910877617fb77659 authored about 1 year ago by Dominic Gannaway <[email protected]>
blog: fix typo in 'svelte.dev: A complete overhaul' blog entry (#9438)

3f56baf7608c4c31e0c19de98b39ff8083ad4e83 authored about 1 year ago by Arpit Jalan <[email protected]>
fix: ensure keyed fallback to indexed (#9441)

Fixes #9408. Ensures that if we have a key that matches the index, that we fallback to using an ...

cf63220a0eac8ccb4f1e7fdd8bea4044dbf39f8e authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: support dynamic attributes containing call expressions (#9443)

Fixes #9403. We weren't taking into account the containment of call expressions logic before.

da37c928efb5c261af3014c6aae34b5ad28c99b6 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: show ast on playground (#9440)

The modern one

a6fdc47a0b332d280f12f6d16610048779f1a451 authored about 1 year ago by Yuichiro Yamashita <[email protected]>
chore: use internal `get_descriptors` helper (#9389)

* chore: use internal get_descriptors helper

* tweak changeset

* fix bad merge

--------...

66661eff04ea8c4eb1810302fecef4df7ef99fc4 authored about 1 year ago by Rich Harris <[email protected]>
fix: add missing files binding (#9415)

no two-way binding because setting it involves a `DataTransfer` workaround, so it's not really o...

7ab03ae36c5b9f46972285033b304ba653ea93ed authored about 1 year ago by Simon H <[email protected]>
fix: check that snippet is not rendered as a component (#9423)

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

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

* Version Packages (next)

* Update packages/svelte/CHANGELOG.md

---------

Co-authored-b...

1fd77d7494452d91e5ab194eada91238831cf2d5 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
skip svelte.dev deploy. this may or may not work (#9424)

* skip svelte.dev deploy. this may or may not work

* try this

---------

Co-authored-by:...

9fc8726f1332b9732bd7d42300f315d6d957ef80 authored about 1 year ago by Rich Harris <[email protected]>
fix tsconfig.json (#9427)

* fix tsconfig.json

* prettier

* another apparently-necessary fix

---------

Co-autho...

a990e5716a694da7f2b8cf1562a91e853a5826ff authored about 1 year ago by Rich Harris <[email protected]>
chore: remove selector api (#9426)

* chore: remove selector api

5768df13000b2d5184ba6e057b9d208816bc8280 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: address runtime effect issues (#9417)

* Fix runtime effect issues

* Prettier

* Add changeset

* Fix operations

* Update .ch...

17e6c4f834043b52394b59a4bf0d5fdb0bdcb89a authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: split $.each into $.each_keyed/$.each_indexed (#9422)

* Split $.each into $.each_keyed/$.each_indexed

* Add changeset

* Update .changeset/quiet-...

8798f3b1e72b071abae5a0100f503e495c3726b7 authored about 1 year ago by Dominic Gannaway <[email protected]>
fix: correct each block update index type (#9425)

* fix: correctly handle index within each block updates

* changeset

5a6afe546303f569fcaea2deefe1732a2b60d2f7 authored about 1 year ago by Dominic Gannaway <[email protected]>
chore: add missing svelte/transition functions (#9391)

* chore: add missing svelte/transition functions

* lint

1daadc357d8562339c29fb7b8753e47cbc9c5081 authored about 1 year ago by Wilson Hobbs <[email protected]>
breaking: remove Component type, keep using SvelteComponent instead (#9413)

I came to the conclusion that when we're making up arbitrary types, we might as well keep the ol...

9a99554379aa3f7bb66fd06e1f564b9800aa6247 authored about 1 year ago by Simon H <[email protected]>
enable dev mode for preview repl (#9393)

* enable dev mode for preview repl

* format

* also add dev mode toggle for compiler option...

2ae953934d79bb64b0e1b8786e8f9e9b8e06fcb0 authored about 1 year ago by gtmnayan <[email protected]>
lint

11eead7db9cade2b6cc87f063d642792f9f2fe11 authored about 1 year ago by Rich Harris <[email protected]>
chore: update PR template (#9397)

* chore: update PR template

* Update .github/PULL_REQUEST_TEMPLATE.md

---------

Co-auth...

6d7caf3fd3e97caa82eb0c9bdcc15791429bec90 authored about 1 year ago by Ben McCann <[email protected]>
fix: add snippet symbol to children prop (#9395)

* add snippet symbol to children prop

* fix error message for snippet validation

* changeset

7a84e78b4df1d8a064d40f1467aa5b2af430d7c8 authored about 1 year ago by gtmnayan <[email protected]>
fix runes mode indicator (#9388)

* fix runes mode indicator

* tidy up

---------

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

304a29e1ccb0631f49c36abda0c26e4fc7eb7819 authored about 1 year ago by Rich Harris <[email protected]>
Fix diagnostics (#9385)

* simplify a whole bunch of stuff

* delete more unused stuff

* fix diagnostics

* pretti...

7bcd33dbe18194e6b286270f0dbba7d3f41ad706 authored about 1 year ago by Rich Harris <[email protected]>
fix: exclude internal props from spread attributes (#9384)

* exclude internal props from spread attributes

* changeset

* tighten up

---------

C...

2aacfad9ae620a61547605af6716ffca79e01858 authored about 1 year ago by Rich Harris <[email protected]>
docs: note more breaking changes

51394a48349d124a7a7cbf3e1a18b51a71c225f0 authored about 1 year ago by Simon Holthausen <[email protected]>
fix symlink (hopefully) (#9383)

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

14d7424d75d39bf2a9704bf297eae52fd23f6309 authored about 1 year ago by Rich Harris <[email protected]>
Merge branch 'main' of https://github.com/sveltejs/svelte

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

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

28b560392bfefee768e4bfcb7a97ae42dd8ca7c6 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chore: don't format changeset folder

341810b82c8c5c07d30f82aa10ade46e1904495f authored about 1 year ago by Simon Holthausen <[email protected]>
chore: cleanup (#9381)

* lets see if this works

* fix versions

* sigh

* debugging ci is sooo fun

* oh wow
...

c6c934afb2916e38ede77384a7247dd054a9a4dc authored about 1 year ago by Simon H <[email protected]>