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
Conduitry
040e9cc6fa
fix code generation error with nullish coalescing operator and logical operators ( #5564 )
2020-10-22 15:53:56 -04:00
Conduitry
5cbc8c80b1
-> v3.29.3
2020-10-22 13:25:24 -04:00
Conduitry
a6040d6e73
-> v3.29.2
2020-10-22 13:10:05 -04:00
Conduitry
ae1f9e5f9a
-> v3.29.1
2020-10-22 12:52:36 -04:00
Conduitry
b9ac8c9e47
update changelog
2020-10-22 12:44:04 -04:00
Conduitry
f038cf75fa
update changelog
2020-10-22 12:36:33 -04:00
Conduitry
0ec928324f
update changelog
2020-10-22 12:33:15 -04:00
Conduitry
377c7647ed
update changelog
2020-10-02 09:32:37 -04:00
Conduitry
a28d776c06
update changelog
2020-10-01 11:31:15 -04:00
Conduitry
c24b313b1a
-> v3.29.0
2020-09-29 16:19:24 -04:00
Tan Li Hau
2d88dc460e
warn for possible use of component without uppercase tag name ( #5302 )
2020-09-29 16:13:23 -04:00
Conduitry
99e2cfca11
update changelog
2020-09-29 15:14:39 -04:00
Tan Li Hau
2c5f1c466e
add typings to get_store_value
( #5269 )
...
Co-authored-by: Julian Laubstein <contact@julianlaubstein.de>
2020-09-29 14:02:36 -04:00
Tan Li Hau
8056829a91
allow <slot> to be part of a slot ( #4295 )
2020-09-29 11:55:44 -04:00
Tan Li Hau
3970def5eb
fix sibling combinators with spread attributes ( #5467 )
2020-09-29 11:06:27 -04:00
Tan Li Hau
296e81af4d
add EventSource to the known globals ( #5468 )
2020-09-29 10:58:00 -04:00
Conduitry
46a83a50e3
-> v3.28.0
2020-09-25 10:13:32 -04:00
Tan Li Hau
fa7c780bad
{#key} block ( #5397 )
...
Co-authored-by: Conduitry <git@chor.date>
2020-09-25 10:12:49 -04:00
Conduitry
0ca1dcd33c
-> v3.27.0
2020-09-24 16:07:33 -04:00
Tan Li Hau
967b88186b
scope CSS sibling combinators ( #5427 )
2020-09-24 16:06:32 -04:00
Tan Li Hau
a1651ca271
add nonpassive event modifier ( #5442 )
...
Co-authored-by: filipot <filipot@stud.ntnu.no>
2020-09-24 15:54:54 -04:00
Tan Li Hau
41d1656458
update keyed each when key expression changes ( #5447 )
2020-09-24 15:20:17 -04:00
Tan Li Hau
c3b56a164e
handle destructuring to a store value ( #5452 )
2020-09-24 14:55:55 -04:00
Tan Li Hau
6e0cd9bcbf
fix missing-declaration warning for use:obj.method ( #5454 )
2020-09-24 09:48:27 -04:00
Conduitry
e867a4de33
-> v3.26.0
2020-09-22 08:51:22 -04:00
Tan Li Hau
b5b02f8561
whitelist [open] attribute selector for <details> ( #5425 )
2020-09-18 13:53:19 -04:00
Tan Li Hau
254096d320
support methods as actions ( #5398 )
2020-09-18 12:50:18 -04:00
Tan Li Hau
b3f54bd2cf
fix store direct property assignment ( #5416 )
2020-09-18 12:17:36 -04:00
Tan Li Hau
aef5671411
update acorn and parse expression as module script ( #5423 )
2020-09-18 12:09:44 -04:00
Conduitry
6601143255
-> v3.25.1
2020-09-15 09:31:37 -04:00
Tan Li Hau
87ed0b2f42
fix await stuck indefinitely without catch ( #5402 )
2020-09-15 09:13:50 -04:00
Tan Li Hau
1ce6ac5d48
fix destructuring to get multiple stores ( #5390 )
2020-09-15 09:03:09 -04:00
Tan Li Hau
338cf877bc
maintain context for transition ( #5392 )
2020-09-15 08:49:35 -04:00
Tan Li Hau
46d423d9db
fix css specificity for child combinator ( #5399 )
2020-09-15 08:39:57 -04:00
Tan Li Hau
7900e3eafa
fix style scoping with > * ( #5400 )
2020-09-15 08:32:55 -04:00
Conduitry
5bf2d6fadf
-> v3.25.0
2020-09-10 15:56:35 -04:00
Conduitry
daa1c390d5
update changelog
2020-09-10 15:52:25 -04:00
Conduitry
b7710b93bc
update changelog
2020-09-10 15:39:59 -04:00
Tan Li Hau
8a28d1bb38
valid XHTML syntax in innerHTML for static elements ( #5317 )
2020-09-10 15:28:22 -04:00
Tan Li Hau
51e2626f42
fix $$props reactivity in fallback of a slot ( #5375 )
2020-09-10 14:42:38 -04:00
Tan Li Hau
8148a7a334
each binding with store props ( #5289 )
2020-08-27 19:25:33 -04:00
Tan Li Hau
c752ed3527
handle undefined input value with spread ( #5291 )
2020-08-27 17:17:44 -04:00
Conduitry
1d9e2a13f2
update changelog
2020-08-17 09:53:37 -04:00
Tan Li Hau
0ac341d2c6
expose which slots are present in $$slots ( #4602 )
2020-08-13 10:20:55 -04:00
Tan Li Hau
e879cb5a4c
fix not passing child_ctx for catch block ( #5261 )
2020-08-12 17:24:19 -04:00
Conduitry
76b7196a1b
update changelog
2020-08-12 17:06:26 -04:00
Conduitry
6ebe7f8210
update changelog
2020-08-12 16:58:45 -04:00
Tan Li Hau
7aae362bcb
fix reference for namespaced component ( #5256 )
2020-08-12 16:20:52 -04:00
Tan Li Hau
5194f596f7
do not declare variable for member assignment in reactive declaration in SSR ( #5251 )
2020-08-12 14:53:18 -04:00
Conduitry
a62d736215
-> v3.24.1
2020-08-05 12:25:52 -04:00
Conduitry
0f3bbb441e
update changelog
2020-08-05 12:22:22 -04:00
Conduitry
308f3c284d
update changelog
2020-08-05 11:58:38 -04:00
Conduitry
f0d586f4a4
update changelog
2020-08-05 11:44:32 -04:00
Tan Li Hau
02e10b1159
fix bind:group contextual reference ( #5199 )
2020-07-24 15:48:29 -04:00
Tan Li Hau
3dad14f0e1
better error message for mismatched tags due to autoclosing ( #5060 )
2020-07-24 14:48:43 -04:00
Tan Li Hau
ec0f79c5af
add updating guard to binding callback ( #5126 )
2020-07-17 16:12:26 -04:00
Tan Li Hau
d472bd2f5e
invalidate $$props and $$restProps only when there are changes ( #5123 )
2020-07-14 17:32:24 -04:00
Tan Li Hau
fc7e99e9f0
fix $$props reactive for slots ( #5125 )
2020-07-13 12:03:12 -04:00
Conduitry
87aeb1d609
-> v3.24.0
2020-07-07 13:52:10 -04:00
Tan Li Hau
4021063305
spread condition for input element ( #5004 )
2020-07-07 13:50:35 -04:00
Conduitry
d6392ad6b2
update changelog
2020-07-07 13:27:36 -04:00
Tan Li Hau
62345432ac
html anchor in head ( #5071 )
2020-07-07 11:37:35 -04:00
Tan Li Hau
f739b4772a
error on expression scope store ( #5079 )
2020-07-07 11:23:00 -04:00
Conduitry
e6026fe6f5
update changelog
2020-07-07 11:08:37 -04:00
Conduitry
4910f5797f
update changelog
2020-07-07 10:49:05 -04:00
Tan Li Hau
2450dd1ff0
update acorn@^7.3.1 for optional chaining support ( #5013 )
2020-06-27 05:58:21 -04:00
Tan Li Hau
55c809624d
fix collapsing HTML with static content ( #5059 )
2020-06-25 13:42:16 -04:00
Conduitry
d3ee85e5fe
update changelog
2020-06-25 11:06:52 -04:00
Tan Li Hau
1a71e04079
fix bind:this, skip checking before adding to binding_callbacks ( #5072 )
2020-06-25 08:33:30 -04:00
Tan Li Hau
e1b55f0fc3
add further cases where {@html} uses an anchor ( #5061 )
2020-06-24 18:17:21 -04:00
Conduitry
e139bd4922
update changelog
2020-06-23 16:18:56 -04:00
Conduitry
92578706b0
update changelog
2020-06-23 16:07:09 -04:00
Tan Li Hau
6289dfcdcd
fix <select> one-way bind when options change ( #5054 )
2020-06-23 15:55:33 -04:00
Tan Li Hau
6e2b81663c
fix extracting names from ThisExpression ( #5036 )
2020-06-23 10:00:43 -04:00
Conduitry
1c05785ddf
-> v3.23.2
2020-06-10 15:47:44 -04:00
Conduitry
6404656698
don't crash when using an arrow function as a statement ( #5000 )
2020-06-10 14:45:13 -04:00
Tan Li Hau
7dfd9e9653
deconflict bind:this variable ( #4949 )
2020-06-10 13:17:46 -04:00
Tan Li Hau
38de3b2e9f
fix bind:group in each ( #4868 )
2020-06-10 13:09:19 -04:00
Conduitry
4135ca5415
-> v3.23.1
2020-06-08 21:44:22 -04:00
Tan Li Hau
787ece66a4
fix bind:group with duplicated values ( #4877 )
2020-06-08 16:38:31 -04:00
Conduitry
e75831201e
update changelog
2020-06-08 11:31:57 -04:00
Conduitry
430961cc94
update changelog
2020-06-08 11:21:40 -04:00
Tan Li Hau
0f43ad40ab
fix reactivity with assigning item in each block ( #4945 )
2020-06-08 10:43:59 -04:00
Tan Li Hau
bf6c74fb17
fix binding for each block local variable ( #4861 )
2020-06-08 09:26:42 -04:00
Conduitry
f46b38a308
-> v3.23.0
2020-05-26 19:31:31 -04:00
Rich Harris
b0377cc4e4
fix {@html}
assuming it lives inside a <div> ( #4863 )
2020-05-26 19:25:19 -04:00
Tan Li Hau
11967804af
fix reactivity when binding to each context ( #4878 )
2020-05-26 19:10:47 -04:00
Rich Harris
3330c3fbab
only add event listeners when a block is first mounted ( #4860 )
2020-05-26 18:56:15 -04:00
Tan Li Hau
24ef4e1181
set select multiple value with spread ( #4894 )
2020-05-26 18:31:19 -04:00
Tan Li Hau
e34f208843
reselect <select> when the option values change ( #4885 )
2020-05-21 16:47:27 -04:00
Richard Harris
25488772e2
update changelog
2020-05-19 21:54:09 -04:00
Richard Harris
185706f7d0
add #2998 to changelog
2020-05-18 21:37:22 -04:00
Conduitry
c19542b634
update changelog
2020-05-17 14:27:46 -04:00
Conduitry
33d8979495
-> v3.22.3
2020-05-17 09:46:54 -04:00
Conduitry
a1b0295fc3
update changelog
2020-05-17 04:52:42 -04:00
Conduitry
bdbc73f111
update changelog
2020-05-17 04:47:54 -04:00
Conduitry
283f9ae6cf
update changelog
2020-05-17 04:29:29 -04:00
Conduitry
ee130793ca
update changelog
2020-05-11 12:25:20 -04:00
Tan Li Hau
37cc5888f8
dry {#each}/{#await} destructuring ( #4596 )
2020-05-11 11:37:27 -04:00
Conduitry
c743e72a1e
-> v3.22.2
2020-05-04 11:23:38 -04:00
Conduitry
bdabd89f09
fix exception with empty alt attribute ( #4778 )
2020-05-04 11:23:04 -04:00
Conduitry
bb5e2d2f26
-> v3.22.1
2020-05-03 16:30:19 -04:00
Conduitry
b9f83fd295
-> v3.22.0
2020-05-03 13:17:51 -04:00
Conduitry
3df407447f
update changelog
2020-05-03 12:43:24 -04:00
Conduitry
9179c3e99b
update changelog
2020-05-03 12:08:25 -04:00
Conduitry
09115b5256
update changelog
2020-05-03 11:53:47 -04:00
Conduitry
f111cf6881
deconflict anchor
variable name ( #4769 )
2020-05-03 11:48:24 -04:00
Conduitry
fe0a008a6a
update changelog
2020-04-29 17:15:35 -04:00
Conduitry
5604954f15
update changelog
2020-04-29 15:43:37 -04:00
Conduitry
628b09d867
update changelog
2020-04-28 17:05:06 -04:00
Conduitry
8c4e72647a
update changelog
2020-04-28 16:50:59 -04:00
Tan Li Hau
aabb23cc34
fix mutation to imported variable ( #4713 )
2020-04-24 13:02:15 -04:00
Conduitry
dbfc44d078
-> v3.21.0
2020-04-23 20:00:14 -04:00
Conduitry
21546e94b2
update changelog
2020-04-23 19:52:42 -04:00
Conduitry
f1d7da320b
update changelog
2020-04-23 19:42:18 -04:00
Tan Li Hau
2bf8fc7e6b
fix slot fallback update parent ( #4598 )
2020-04-23 19:35:39 -04:00
Conduitry
7b74e84ca7
update changelog
2020-04-23 10:19:23 -04:00
Conduitry
68ac96b8b8
update changelog
2020-04-23 10:04:24 -04:00
Conduitry
f11b2052cc
update changelog
2020-04-23 09:06:17 -04:00
Tan Li Hau
77ec48deba
add await catch shorthand ( #4490 )
2020-04-20 09:27:21 -04:00
Conduitry
fe003b57cb
update changelog
2020-04-20 09:08:16 -04:00
Conduitry
d7497deaec
update changelog
2020-04-06 07:04:40 -04:00
Tan Li Hau
a0749f6adb
fix creating debugging comment for HTML comment ( #4567 )
2020-03-22 08:08:32 -04:00
Conduitry
e50ad1dcb6
-> v3.20.1
2020-03-16 12:11:53 -04:00
Conduitry
40c5df51a2
-> v3.20.0
2020-03-15 10:34:13 -04:00
Tan Li Hau
b4b57c39a2
clean up event handlers on re-mount ( #4493 )
2020-03-15 10:18:41 -04:00
Tan Li Hau
7d1e4e82ff
support destructuring in await ( #4548 )
2020-03-15 06:12:52 -04:00
Tan Li Hau
5bb5ba4c76
complain if named slots other than direct descendant of component ( #4509 )
2020-03-15 05:54:06 -04:00
Tan Li Hau
82dce0c8fc
do not initialise slot fallback fragment unless necessary ( #4514 )
2020-03-15 05:44:05 -04:00
Jacob Wright
966aae3420
allow transitions and animations to work within iframes ( #3625 )
2020-03-14 16:37:27 -04:00
Conduitry
c46b3727f1
update changelog
2020-03-14 16:17:12 -04:00
Tan Li Hau
404ed3dbfe
fix else-block update in keyed each-block ( #4558 )
...
Co-authored-by: Benjamin W. Broersma <bw@broersma.com>
2020-03-14 14:27:39 -04:00
Tan Li Hau
ec3589e314
fix hydration of top-level content ( #4550 )
2020-03-14 14:15:24 -04:00
Tan Li Hau
a66437b3c1
allow <svelte:self> to be part of a slot ( #4532 )
2020-03-12 07:51:59 -04:00
Tan Li Hau
91d758e35b
introduce $$restProps ( #4489 )
2020-03-09 22:22:39 -04:00
Conduitry
fd378f2d37
-> v3.19.2
2020-03-04 21:31:38 -05:00
Conduitry
a8291227ce
fit bitmask overflow initial dirty value in 'if' blocks ( #4507 )
2020-03-04 20:28:19 -05:00
Conduitry
f2ee7efb94
add dev runtime warning for unknown slot names ( #4501 )
2020-03-04 19:56:13 -05:00
Tan Li Hau
926a2aebd8
fix render fallback slot content due to whitespace ( #4500 )
2020-03-04 05:37:48 -05:00
Tan Li Hau
d802c3b266
in spread, distinguish never-updating and always-updating props ( #4487 )
2020-02-29 22:47:50 -05:00
Conduitry
3f647a84f6
update changelog
2020-02-29 12:44:54 -05:00
Tan Li Hau
8feb85a61f
fix bitmask overflow for slot ( #4485 )
2020-02-29 11:32:11 -05:00
Tan Li Hau
cf660bdab1
mark module variables as mutated or reassigned ( #4469 )
2020-02-29 09:17:06 -05:00
Conduitry
dc3e9c4bed
update changelog
2020-02-26 17:06:53 -05:00
Conduitry
b8bf3643d4
-> v3.19.1
2020-02-23 18:28:30 -05:00
Conduitry
19f1c9cb7c
don't treat $$-names as stores during invalidation ( #4453 )
2020-02-23 18:19:06 -05:00
Conduitry
3bfa0e5cd6
deconflict value
parameter in contextual bindings ( #4452 )
2020-02-23 17:50:57 -05:00