0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
Commit Graph

659 Commits

Author SHA1 Message Date
Conduitry
c8cdc73464 update changelog 2021-07-21 16:22:20 -04:00
Conduitry
33307a54c8 update changelog 2021-07-21 15:56:11 -04:00
Conduitry
8b09e6181a update changelog 2021-07-21 15:52:55 -04:00
Conduitry
a6448185d6 update changelog 2021-07-21 15:49:16 -04:00
Conduitry
b2a082a48f -> v3.39.0 2021-07-21 10:31:11 -04:00
Conduitry
d01dc9b2eb update changelog 2021-07-21 10:27:17 -04:00
Tan Li Hau
c78a3af019
Update CHANGELOG.md 2021-07-21 13:00:09 +08:00
Simon H
5534b911ea
update changelog 2021-07-17 13:38:48 +02:00
Simon H
5dd1e6e232
update changelog 2021-07-14 10:01:57 +02:00
Simon H
a8c35daa9a
[fix] be able to silence more warnings (#6504)
including css-unused-selector, unused-export-let, module-script-reactive-declaration
Fixes #5954
Related to #5281
2021-07-14 09:54:15 +02:00
Ben McCann
ff50bfba6f update changelog 2021-07-13 17:10:37 -07:00
Tan Li Hau
8f1ae80a99
update changelog 2021-07-12 22:59:11 +08:00
Tan Li Hau
5f8f7ae28c
update changelog 2021-07-10 12:14:54 +08:00
Tan Li Hau
e238903846
update changelog 2021-07-10 12:10:19 +08:00
Simon H
ce43bd67c7
[fix] relax store derived function signature (#6509)
With this fix, doing
```
const stores= [writable(0), writable(1)]
derived(stores, ([a,b,c]) => {});
```
works without type errors. The propblem with the previous type signature was that it's too strict for TypeScript's suboptimal inference of the value `stores` in that example, which is `Array<Readable<any>>`, which does not convey the info "at least one element", which the old Stores signature required.
Runtime-wise, it's no problem passing an empty array to derived.

The new signature is only appended to, not replaced, because the old signature is able to correctly infer the values of each array entry: For `derived([writable(0), writable('foo')], ([a, b]) => {});` the parameters `a` and `b` are correctly inferred as `number` and `string`. If the type would be changed to `type Stores = Readable<any> | Array<Readable<any>>` that would be no longer the case.

Fixes #6178
2021-07-09 17:42:27 +02:00
Conduitry
687492a5bc update changelog 2021-07-08 11:25:33 -04:00
Conduitry
341137285d update changelog 2021-07-08 10:48:20 -04:00
Ben McCann
384513e3b1 Update CHANGELOG 2021-07-08 05:44:51 -07:00
Ben McCann
2077a7b2a0 update changelog 2021-07-02 12:13:33 -07:00
Tan Li Hau
98bec66f51
update changelog 2021-06-29 15:11:06 +08:00
Tan Li Hau
f757de328a
update changelog 2021-06-29 10:18:35 +08:00
Tan Li Hau
eadb83b934
update changelog 2021-06-29 09:45:18 +08:00
Simon H
7b914a46b1
update changelog 2021-06-28 13:11:35 +02:00
Simon H
40f4615cf4
update changelog 2021-06-28 12:52:47 +02:00
Tan Li Hau
50bff36407
update changelog 2021-06-28 18:14:08 +08:00
Tan Li Hau
e69c05a7db
Update CHANGELOG.md 2021-06-28 14:48:33 +08:00
Simon H
5f584d165a
update unreleased 2021-06-27 18:49:59 +02:00
Conduitry
716d54571e -> v3.38.3 2021-06-22 11:12:18 -04:00
Conduitry
1741699957 update changelog 2021-06-22 11:04:24 -04:00
Conduitry
3c889da6b7 update changelog 2021-06-22 10:35:49 -04:00
Conduitry
96b5669572 update changelog 2021-06-22 10:28:01 -04:00
Conduitry
7e4112d184 update changelog 2021-06-22 10:14:36 -04:00
Conduitry
dd58bf9c05 update changelog 2021-06-22 10:13:23 -04:00
Conduitry
b9e19004cb update changelog 2021-06-22 10:04:56 -04:00
Conduitry
cba92ad2a9 update changelog 2021-06-22 09:51:15 -04:00
Conduitry
3f87ff7c56 update changelog 2021-06-22 09:49:23 -04:00
Conduitry
6f81c230ae update changelog 2021-06-22 09:46:11 -04:00
Simon H
c5f588ee50
Fix generic props relationship in SvelteComponentTyped (#6400)
A recent refactoring commit where the constructor definition was moved to an interface disconnected the props relationship of the props that are passed in the constructor and the instance props
2021-06-13 12:56:01 +02:00
Ignatius Bagus
b295d68ec6
fix types: allow writable/readable empty initialization (#6293)
Fixes #6291
Fixes #6345

Both writable and readable initialized without any arguments are already valid, but TS complains about it. This makes both allowed to be emptily initialized. It's also possible to invoke readable with one argument only.
2021-05-20 15:31:51 +02:00
Ben McCann
086cff2272
Add issue number to changelog 2021-05-03 13:51:13 -07:00
Conduitry
5975b2dbd2 -> v3.38.2 2021-05-03 16:38:14 -04:00
Conduitry
6d16e92606
Revert hydration optimisation (#6290)
Co-authored-by: haveyaseen <haveyaread@gmail.com>
2021-05-03 16:37:19 -04:00
Conduitry
166a61aa26 -> v3.38.1 2021-05-01 11:10:09 -04:00
Conduitry
b3a642c3d3 -> v3.38.0 2021-04-30 12:32:24 -04:00
Conduitry
1b4c83c41f update changelog 2021-04-30 12:07:56 -04:00
Conduitry
7ef869fc76 update changelog 2021-04-30 11:56:39 -04:00
Conduitry
20cb78377d update changelog 2021-04-30 11:53:01 -04:00
Conduitry
c8632a9b53 update changelog 2021-04-30 11:49:21 -04:00
Conduitry
f0f8fae114 update changelog 2021-04-30 11:38:27 -04:00
Conduitry
ce55e10df5 update changelog 2021-04-30 10:37:18 -04:00