Conduitry
52549c466b
update changelog
...
#6941 in fact addressesd a separate issue, specific to one-way binding
2021-12-13 15:47:23 -05:00
Conduitry
dc81e14684
-> v3.44.3
2021-12-13 14:34:17 -05:00
Conduitry
a991ac48ba
update changelog
2021-12-13 14:32:47 -05:00
Conduitry
3fcc1162a6
update changelog
2021-12-13 10:33:56 -05:00
Conduitry
f2d4a10741
update changelog
2021-12-13 10:04:08 -05:00
Conduitry
03ef0e46e9
-> v3.44.2
2021-11-19 07:20:36 -05:00
Conduitry
9e30326458
update changelog
2021-11-19 07:19:59 -05:00
Simon H
eaa9ffa330
[fix] add types field to exports ( #6937 )
...
This will be needed when TS adds the new node module resolution algorithm. It also solves https://github.com/microsoft/TypeScript/issues/46860 on our end.
Closes #6939
2021-11-19 09:29:20 +01:00
Simon H
d5370f23d3
[fix] more specific return type for crossfade ( #6927 )
...
People with "noUncheckedIndexedAccess" set to true in their tsconfig would get false errors when accessing the return type because without this specific tuple typing, TS infers the return type as being an array of functions, not a tuple of functions.
Fixes #6926
2021-11-14 15:15:28 +01:00
Conduitry
7ae1e6ed1e
update changelog
2021-11-09 07:22:58 -05:00
Conduitry
4e004ee073
-> v3.44.1
2021-11-01 09:59:26 -04:00
Conduitry
e055570765
-> v3.44.0
2021-10-17 13:07:27 -04:00
Conduitry
3f11232d24
-> v3.43.2
2021-10-12 16:16:44 -04:00
Conduitry
33deaaa4c4
-> v3.43.1
2021-09-30 08:27:19 -04:00
Conduitry
66b2385c31
-> v3.43.0
2021-09-22 16:41:31 -04:00
Conduitry
9ffab9d4d7
update changelog
2021-09-22 16:40:56 -04:00
Conduitry
58c13db4b0
update changelog
2021-09-22 15:41:11 -04:00
Conduitry
f4d0044ce1
update changelog
2021-09-22 13:23:49 -04:00
Conduitry
dad0284771
-> v3.42.6
2021-09-15 16:29:56 -04:00
Conduitry
33c0c43833
update changelog
2021-09-15 16:29:25 -04:00
Simon H
98aefd3cf6
[fix] make Source type in preprocess private ( #6726 )
...
Is only used internally, shouldn't be exposed. Fixes #6622
2021-09-15 19:02:54 +02:00
Conduitry
e34195d60d
-> v3.42.5
2021-09-10 12:15:20 -04:00
Conduitry
16ec808345
update changelog
2021-09-10 11:58:09 -04:00
Conduitry
a7c7253691
update changelog
2021-09-10 11:39:35 -04:00
Conduitry
3c5cea114c
-> v3.42.4
2021-08-27 15:33:04 -04:00
Conduitry
ae268d1bb8
update changelog
2021-08-27 15:10:42 -04:00
Conduitry
eee5e459d3
update changelog
2021-08-27 15:02:39 -04:00
Conduitry
6ecdf7e2fb
update changelog
2021-08-27 14:56:42 -04:00
Conduitry
c09018271f
-> v3.42.3
2021-08-24 10:30:28 -04:00
Conduitry
1262e1213f
update changelog
2021-08-24 10:29:38 -04:00
Simon H
523125f50d
braces
2021-08-24 15:05:56 +02:00
Simon H
f4fe2997cc
Update unreleased
2021-08-24 15:05:37 +02:00
Conduitry
edf8844ae6
-> v3.42.2
2021-08-20 12:34:18 -04:00
Conduitry
57b4f52e07
update changelog
2021-08-20 12:28:08 -04:00
Conduitry
ca096b7560
update changelog
2021-08-20 12:21:20 -04:00
Conduitry
99d2f677de
update changelog
2021-08-20 12:06:43 -04:00
Conduitry
1a2dd8d893
update changelog
2021-08-20 12:02:00 -04:00
Conduitry
58f3e3dbbb
update changelog
2021-08-20 11:57:40 -04:00
Tommy Groshong
a232d68a41
docs: small spelling fixes in docs and comments ( #6653 )
2021-08-15 13:27:43 -07:00
Conduitry
03f1614019
-> v3.42.1
2021-08-04 14:21:01 -04:00
Conduitry
938969dc69
update changelog
2021-08-04 14:20:39 -04:00
Conduitry
c25789a25e
-> v3.42.0
2021-08-04 12:25:16 -04:00
Conduitry
f5b1ea9618
update changelog
2021-08-04 12:20:10 -04:00
Conduitry
74a1f29c26
update changelog
2021-08-04 12:05:01 -04:00
Conduitry
54efd4a9d1
update changelog
2021-08-03 18:12:09 -04:00
Conduitry
b6c238eeac
update changelog
2021-08-03 18:05:33 -04:00
Conduitry
ff6ce725bf
-> v3.41.0
2021-07-27 10:01:49 -04:00
Conduitry
95b40f2492
update changelog
2021-07-27 09:59:40 -04:00
Conduitry
32b376b472
update changelog
2021-07-27 09:54:54 -04:00
Conduitry
520b4751dc
update changelog
2021-07-27 09:38:52 -04:00
Conduitry
5cb4101fe6
-> v3.40.3
2021-07-26 14:17:01 -04:00
Conduitry
dd20623cb3
update changelog
2021-07-26 14:07:57 -04:00
Conduitry
588b37f810
update changelog
2021-07-26 13:58:36 -04:00
Conduitry
0d9dd15392
update changelog
2021-07-26 13:50:23 -04:00
Conduitry
1750feb8f6
update changelog
2021-07-26 13:42:56 -04:00
Conduitry
69e3c0fe7f
update changelog
2021-07-26 13:36:16 -04:00
Conduitry
3b97329b82
-> v3.40.2
2021-07-23 15:02:06 -04:00
Conduitry
7eeb4dfa68
update changelog
2021-07-23 14:59:32 -04:00
Conduitry
923088f5f8
update changelog
2021-07-23 14:20:40 -04:00
Ben McCann
1e73482de6
fix changelog
2021-07-23 10:16:25 -07:00
Ben McCann
0e768ef54d
update changelog
2021-07-23 09:50:50 -07:00
Ben McCann
4c94409bc0
update changelog
2021-07-23 09:45:46 -07:00
Conduitry
176c92b9cd
update changelog
2021-07-22 12:54:26 -04:00
Conduitry
ab825ed2eb
-> v3.40.1
2021-07-22 11:01:20 -04:00
Conduitry
48934c8cd0
fix changelog
2021-07-21 17:02:30 -04:00
Conduitry
aaa543a070
-> v3.40.0
2021-07-21 16:39:15 -04:00
Conduitry
6d9c2ea057
update changelog
2021-07-21 16:37:17 -04:00
Conduitry
0d3e105915
update changelog
2021-07-21 16:34:47 -04:00
Conduitry
68a1b4977c
update changelog
2021-07-21 16:27:22 -04:00
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
Conduitry
0e8ed759a0
update changelog
2021-04-30 10:19:05 -04:00
Conduitry
6d5a200e04
update changelog
2021-04-30 10:13:57 -04:00
Mohammed Al-Qurafi
a39fc8de72
Add "context" typing to SvelteComponent constructor options ( #6236 )
2021-04-24 16:10:02 +02:00
Ben McCann
10e3e3dae8
Improve SSR hydration performance ( #6204 )
...
* Improve SSR hydration performance
- Fixes #4308 by avoiding de- and reattaching nodes during hydration
- Turns existing append, insert and detach methods into "upserts"
The new "hydration mode" was added in order to maintain the detach by
default behavior during hydration. By tracking which nodes are claimed
during hydration unclaimed nodes can then removed from the DOM at the
end of hydration without touching the remaining nodes.
Co-authored-by: Jonatan Svennberg <jonatan.svennberg@gmail.com>
2021-04-21 09:42:52 -07:00
Simon H
dafbdc286e
Update unreleased
2021-04-12 18:01:21 +02:00
Simon H
52d6a5905d
Update unreleased
2021-04-11 17:49:23 +02:00
Conduitry
26d006591d
-> v3.37.0
2021-03-31 12:14:28 -04:00
Tan Li Hau
6c5257beb2
allow passing in context in constructor ( #6032 )
...
Co-authored-by: Conduitry <git@chor.date>
2021-03-31 11:07:32 -04:00
Conduitry
ed01d16a8e
-> v3.36.0
2021-03-29 22:57:06 -04:00
Conduitry
286c60da4d
fix missing slotted elements in AST ( #6148 )
2021-03-29 22:55:52 -04:00
Conduitry
32f58b9d41
update changelog
2021-03-29 22:41:40 -04:00
Simon H
ff0ccb8755
Update unreleased
2021-03-24 16:03:46 +01:00
Simon H
4e346b9970
Update unreleased
2021-03-24 15:52:57 +01:00
Conduitry
c56653dfd6
-> v3.35.0
2021-03-01 16:18:45 -05:00
Conduitry
2853be1ff2
update changelog
2021-03-01 16:04:26 -05:00
Rich Harris
f792c14492
-> v3.34.0
2021-02-25 18:08:50 -05:00
Conduitry
5c8807e523
-> v3.33.0
2021-02-25 07:38:35 -05:00
Tan Li Hau
d17a90cc44
allow destructured defaults to refer to variables ( #5986 )
...
Co-authored-by: M. Habib Rosyad <habib@volantis.io>
Co-authored-by: Conduitry <git@chor.date>
2021-02-25 11:36:44 -05:00
Tan Li Hau
b764374b62
no warning on contextual-store if declaring it as a parameter / variable ( #6008 )
2021-02-25 10:53:23 -05:00
Conduitry
8ea4fb1106
update changelog
2021-02-25 06:23:08 -05:00
Antony Jones
6928f9492c
Emphasis on method name
2021-02-15 22:47:20 +00:00
Antony Jones
48b56bd819
Update changelog
2021-02-15 22:46:14 +00:00
Conduitry
d3f3ea38d0
-> v3.32.3
2021-02-10 22:02:27 -05:00
Tan Li Hau
e8094df779
fix remove of lone :host selectors ( #5984 )
2021-02-10 22:01:50 -05:00
Conduitry
160a4eccd1
-> v3.32.2
2021-02-08 14:28:02 -05:00
Conduitry
341948e166
update changelog
2021-02-08 14:24:39 -05:00
Tan Li Hau
44f41c9edd
fix :host and :global css scoping ( #5957 )
2021-02-08 11:26:46 -05:00
Conduitry
df191385f5
-> v3.32.1
2021-01-29 15:06:30 -05:00
Tan Li Hau
6589aa2548
warn module variables are nonreactive and make them truly nonreactive ( #5847 )
2021-01-29 15:05:04 -05:00
Conduitry
dd7403ade4
update changelog
2021-01-29 13:32:41 -05:00
Conduitry
47baa1965d
update changelog
2021-01-29 11:48:55 -05:00
Tan Li Hau
6207596175
fix extraneous store subscription in SSR ( #5929 )
2021-01-29 11:07:33 -05:00
Simon H
0f3264e205
make SvelteComponentDev
typings more forgiving ( #5937 )
...
Add `$$events_def` and `$$slot_def` so that users can do
```
let el: SvelteComponent;
<SomeComponent bind:this={el} />
```
without type errors.
2021-01-29 10:59:57 -05:00
Simon H
842a0b1a07
make animation/transition params optional ( #5936 )
...
They are not needed for most of the functions and should be marked as optional accordingly to make TypeScript users happy.
Fixes sveltejs/language-tools#785
2021-01-29 10:52:19 -05:00
Conduitry
f00348c14c
update changelog
2021-01-29 10:34:30 -05:00
Conduitry
b3431f9bf2
update changelog
2021-01-29 10:20:06 -05:00
Conduitry
94439ef5e7
fix changelog link
2021-01-25 17:55:36 -05:00
Conduitry
290746cfbd
-> v3.32.0
2021-01-25 17:52:53 -05:00
halfnelson
a7eff8894f
add foreign
namespace to preserve attribute case and skip HTML-specific a11y validations ( #5652 )
2021-01-25 16:25:10 -05:00
Conduitry
d5f2ddc417
update changelog
2021-01-25 15:59:55 -05:00
Simon H
8364048d95
Update unreleased
2021-01-20 09:35:34 +01:00
Conduitry
8180c5dd6c
fix issue link in changelog
2021-01-04 17:08:54 -05:00
Conduitry
c758028cde
-> v3.31.2
2021-01-04 16:53:01 -05:00
Tan Li Hau
734257001d
deconflict conextual action variable ( #5839 )
2021-01-04 16:51:55 -05:00
Tan Li Hau
5949c4a594
fix await outro race condition ( #5850 )
2021-01-04 16:19:24 -05:00
Tan Li Hau
9cc21e3c09
fix removing elements that are currently transitioning out ( #5849 )
2021-01-04 15:50:22 -05:00
Tan Li Hau
82fcdfc2fa
rework SSR store autosubscription ( #5419 )
2021-01-04 14:41:11 -05:00
Conduitry
2eda5b0bf3
fix issue link in changelog
2021-01-01 21:05:08 -05:00
Conduitry
60ac0a4174
-> v3.31.1
2021-01-01 21:01:05 -05:00
Conduitry
77438e1740
update changelog
2021-01-01 20:58:58 -05:00
Tan Li Hau
1da4105d65
fix deep object property as action ( #5845 )
2021-01-01 20:48:03 -05:00
Tan Li Hau
08cb3142e9
keep each block value ( #5841 )
2021-01-01 20:41:31 -05:00
Tan Li Hau
63669330f6
maintain context for keyed each ( #5840 )
2021-01-01 20:28:11 -05:00
Tan Li Hau
a41c7644e6
shift injected declarations to the top ( #5837 )
2021-01-01 19:59:35 -05:00
Tan Li Hau
2d5d6b05ed
warn if React attributes are used ( #5836 )
2021-01-01 19:49:03 -05:00
Tan Li Hau
662d9b44e6
fix checkbox bind:group when index depends on another context ( #5835 )
2021-01-01 19:35:43 -05:00
Conduitry
2d697a38c5
update changelog
2021-01-01 19:23:21 -05:00
Conduitry
e02c291050
-> v3.31.0
2020-12-02 15:55:14 -05:00
Conduitry
cf23eb08c2
-> v3.30.1
2020-11-30 16:21:31 -05:00
Conduitry
f029559855
update changelog
2020-11-30 16:18:33 -05:00
Tan Li Hau
ccc61a71d8
add missing export for hasContext ( #5727 )
2020-11-27 08:06:36 -05:00
Conduitry
505eba84b9
-> v3.30.0
2020-11-24 17:49:20 -05:00
Tan Li Hau
9331398299
support spread into slot props ( #5616 )
2020-11-24 17:47:03 -05:00
Simon H
99000ef42e
typed SvelteComponent(Dev) interface ( #5431 )
2020-11-24 17:41:22 -05:00
Conduitry
666b7aefa8
update changelog
2020-11-23 11:59:46 -05:00
Tan Li Hau
1cc5bdb9ca
reactive dependency not referenced can't set to undefined initially ( #5600 )
2020-11-23 11:57:44 -05:00
Tan Li Hau
24c44b9177
fix order of html tags with {#if} in {#key} block ( #5685 )
2020-11-23 11:41:56 -05:00
Conduitry
342c1e427c
update changelog
2020-11-23 11:30:33 -05:00
Conduitry
0aa8cc1c9f
update changelog
2020-11-23 11:24:05 -05:00
Conduitry
4524566fda
-> v3.29.7
2020-11-10 10:53:12 -05:00
Conduitry
ed4288fe43
-> v3.29.6
2020-11-09 11:53:32 -05:00
Ben McCann
627aae8c5c
Add package.json to exports map ( #5660 )
2020-11-09 11:52:51 -05:00
Conduitry
b135055c5c
-> v3.29.5
2020-11-09 11:20:06 -05:00
Tan Li Hau
41d16c02be
add export map ( #5566 )
2020-11-09 10:26:33 -05:00
Tan Li Hau
7949d8efac
support $$slots in custom elements ( #5619 )
2020-11-09 10:11:37 -05:00
Tan Li Hau
f7bddb23d3
add extension to request to support webpack 5 ( #5624 )
2020-11-09 09:57:40 -05:00
Tan Li Hau
148b6105ed
fix else block transition update ( #5591 )
2020-10-29 16:32:12 -04:00
Tan Li Hau
5d7ffdb8a7
fix function slot props based on context ( #5607 )
2020-10-29 15:15:54 -04:00
Tan Li Hau
6fa3e91b5d
support $$props and $$restProps for custom elements ( #5608 )
2020-10-28 15:33:03 -04:00
Conduitry
a47ca4498a
update changelog
2020-10-28 12:25:49 -04:00
Conduitry
65104e8b2a
-> v3.29.4
2020-10-22 15:55:02 -04:00