Conduitry
6f81c230ae
update changelog
3 years ago
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
3 years ago
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.
3 years ago
Ben McCann
086cff2272
Add issue number to changelog
3 years ago
Conduitry
5975b2dbd2
-> v3.38.2
3 years ago
Conduitry
6d16e92606
Revert hydration optimisation ( #6290 )
...
Co-authored-by: haveyaseen <haveyaread@gmail.com>
3 years ago
Conduitry
166a61aa26
-> v3.38.1
3 years ago
Conduitry
b3a642c3d3
-> v3.38.0
3 years ago
Conduitry
1b4c83c41f
update changelog
3 years ago
Conduitry
7ef869fc76
update changelog
3 years ago
Conduitry
20cb78377d
update changelog
3 years ago
Conduitry
c8632a9b53
update changelog
3 years ago
Conduitry
f0f8fae114
update changelog
3 years ago
Conduitry
ce55e10df5
update changelog
3 years ago
Conduitry
0e8ed759a0
update changelog
3 years ago
Conduitry
6d5a200e04
update changelog
3 years ago
Mohammed Al-Qurafi
a39fc8de72
Add "context" typing to SvelteComponent constructor options ( #6236 )
3 years ago
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>
3 years ago
Simon H
dafbdc286e
Update unreleased
3 years ago
Simon H
52d6a5905d
Update unreleased
3 years ago
Conduitry
26d006591d
-> v3.37.0
4 years ago
Tan Li Hau
6c5257beb2
allow passing in context in constructor ( #6032 )
...
Co-authored-by: Conduitry <git@chor.date>
4 years ago
Conduitry
ed01d16a8e
-> v3.36.0
4 years ago
Conduitry
286c60da4d
fix missing slotted elements in AST ( #6148 )
4 years ago
Conduitry
32f58b9d41
update changelog
4 years ago
Simon H
ff0ccb8755
Update unreleased
4 years ago
Simon H
4e346b9970
Update unreleased
4 years ago
Conduitry
c56653dfd6
-> v3.35.0
4 years ago
Conduitry
2853be1ff2
update changelog
4 years ago
Rich Harris
f792c14492
-> v3.34.0
4 years ago
Conduitry
5c8807e523
-> v3.33.0
4 years ago
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>
4 years ago
Tan Li Hau
b764374b62
no warning on contextual-store if declaring it as a parameter / variable ( #6008 )
4 years ago
Conduitry
8ea4fb1106
update changelog
4 years ago
Antony Jones
6928f9492c
Emphasis on method name
4 years ago
Antony Jones
48b56bd819
Update changelog
4 years ago
Conduitry
d3f3ea38d0
-> v3.32.3
4 years ago
Tan Li Hau
e8094df779
fix remove of lone :host selectors ( #5984 )
4 years ago
Conduitry
160a4eccd1
-> v3.32.2
4 years ago
Conduitry
341948e166
update changelog
4 years ago
Tan Li Hau
44f41c9edd
fix :host and :global css scoping ( #5957 )
4 years ago
Conduitry
df191385f5
-> v3.32.1
4 years ago
Tan Li Hau
6589aa2548
warn module variables are nonreactive and make them truly nonreactive ( #5847 )
4 years ago
Conduitry
dd7403ade4
update changelog
4 years ago
Conduitry
47baa1965d
update changelog
4 years ago
Tan Li Hau
6207596175
fix extraneous store subscription in SSR ( #5929 )
4 years ago
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.
4 years ago
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
4 years ago
Conduitry
f00348c14c
update changelog
4 years ago
Conduitry
b3431f9bf2
update changelog
4 years ago
Conduitry
94439ef5e7
fix changelog link
4 years ago
Conduitry
290746cfbd
-> v3.32.0
4 years ago
halfnelson
a7eff8894f
add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations ( #5652 )
4 years ago
Conduitry
d5f2ddc417
update changelog
4 years ago
Simon H
8364048d95
Update unreleased
4 years ago
Conduitry
8180c5dd6c
fix issue link in changelog
4 years ago
Conduitry
c758028cde
-> v3.31.2
4 years ago
Tan Li Hau
734257001d
deconflict conextual action variable ( #5839 )
4 years ago
Tan Li Hau
5949c4a594
fix await outro race condition ( #5850 )
4 years ago
Tan Li Hau
9cc21e3c09
fix removing elements that are currently transitioning out ( #5849 )
4 years ago
Tan Li Hau
82fcdfc2fa
rework SSR store autosubscription ( #5419 )
4 years ago
Conduitry
2eda5b0bf3
fix issue link in changelog
4 years ago
Conduitry
60ac0a4174
-> v3.31.1
4 years ago
Conduitry
77438e1740
update changelog
4 years ago
Tan Li Hau
1da4105d65
fix deep object property as action ( #5845 )
4 years ago
Tan Li Hau
08cb3142e9
keep each block value ( #5841 )
4 years ago
Tan Li Hau
63669330f6
maintain context for keyed each ( #5840 )
4 years ago
Tan Li Hau
a41c7644e6
shift injected declarations to the top ( #5837 )
4 years ago
Tan Li Hau
2d5d6b05ed
warn if React attributes are used ( #5836 )
4 years ago
Tan Li Hau
662d9b44e6
fix checkbox bind:group when index depends on another context ( #5835 )
4 years ago
Conduitry
2d697a38c5
update changelog
4 years ago
Conduitry
e02c291050
-> v3.31.0
4 years ago
Conduitry
cf23eb08c2
-> v3.30.1
4 years ago
Conduitry
f029559855
update changelog
4 years ago
Tan Li Hau
ccc61a71d8
add missing export for hasContext ( #5727 )
4 years ago
Conduitry
505eba84b9
-> v3.30.0
4 years ago
Tan Li Hau
9331398299
support spread into slot props ( #5616 )
4 years ago
Simon H
99000ef42e
typed SvelteComponent(Dev) interface ( #5431 )
4 years ago
Conduitry
666b7aefa8
update changelog
4 years ago
Tan Li Hau
1cc5bdb9ca
reactive dependency not referenced can't set to undefined initially ( #5600 )
4 years ago
Tan Li Hau
24c44b9177
fix order of html tags with {#if} in {#key} block ( #5685 )
4 years ago
Conduitry
342c1e427c
update changelog
4 years ago
Conduitry
0aa8cc1c9f
update changelog
4 years ago
Conduitry
4524566fda
-> v3.29.7
4 years ago
Conduitry
ed4288fe43
-> v3.29.6
4 years ago
Ben McCann
627aae8c5c
Add package.json to exports map ( #5660 )
4 years ago
Conduitry
b135055c5c
-> v3.29.5
4 years ago
Tan Li Hau
41d16c02be
add export map ( #5566 )
4 years ago
Tan Li Hau
7949d8efac
support $$slots in custom elements ( #5619 )
4 years ago
Tan Li Hau
f7bddb23d3
add extension to request to support webpack 5 ( #5624 )
4 years ago
Tan Li Hau
148b6105ed
fix else block transition update ( #5591 )
4 years ago
Tan Li Hau
5d7ffdb8a7
fix function slot props based on context ( #5607 )
4 years ago
Tan Li Hau
6fa3e91b5d
support $$props and $$restProps for custom elements ( #5608 )
4 years ago
Conduitry
a47ca4498a
update changelog
4 years ago
Conduitry
65104e8b2a
-> v3.29.4
4 years ago
Conduitry
040e9cc6fa
fix code generation error with nullish coalescing operator and logical operators ( #5564 )
4 years ago
Conduitry
5cbc8c80b1
-> v3.29.3
4 years ago
Conduitry
a6040d6e73
-> v3.29.2
4 years ago
Conduitry
ae1f9e5f9a
-> v3.29.1
4 years ago
Conduitry
b9ac8c9e47
update changelog
4 years ago