Commit Graph

2710 Commits

Author SHA1 Message Date
Evan You
03a7a73148 fix(reactivity): ensure computed always expose value
fix #3099

Also changes the original fix for #910 by moving the fix from
reactivity to the scheduler
2021-05-27 20:53:21 -04:00
Evan You
32e21333dd fix(runtime-core): stricter compat root mount check 2021-05-27 20:47:46 -04:00
Evan You
669037277b fix(compiler-dom): fix in-browser attribute value decoding w/ html tags
fix #3001
2021-05-27 17:25:34 -04:00
HcySunYang
a641eb201f
fix(runtime-core): fix cases of reused children arrays in render functions (#3670)
fix #3666
2021-05-27 17:06:55 -04:00
HcySunYang
ff50e8d78c
fix(runtime-core): should disable tracking inside directive lifecycle hooks (#3699) 2021-05-27 16:53:19 -04:00
Evan You
9f24195d2c fix(suspense): fix suspense patching in optimized mode
fix #3828
2021-05-27 16:32:31 -04:00
Evan You
f0eb1978b2 release: v3.1.0-beta.5 2021-05-26 16:06:51 -04:00
Evan You
b46a4dccf6 fix(ssr): handle hydrated async component unmounted before resolve
fix #3787
2021-05-26 15:26:18 -04:00
Evan You
b57e995edd fix(scheduler): handle preFlush cb queued inside postFlush cb
fix #3806
2021-05-26 14:21:49 -04:00
HcySunYang
e8ddf86080
fix(runtime-core): properly check forwarded slots type (#3781)
fix #3779
2021-05-26 11:52:03 -04:00
edison
4e3f82f683
fix(runtime-core/teleport): ensure the nested teleport can be unmounted correctly (#3629)
fix #3623
2021-05-26 10:51:55 -04:00
HcySunYang
201060717d
fix(runtime-core): should not track dynamic children when the user calls a compiled slot inside template expression (#3554)
fix #3548, partial fix for #3569
2021-05-25 13:33:41 -04:00
Evan You
1526f94edf fix(watch): should not leak this context to setup watch getters
ref #3603
2021-05-25 11:10:11 -04:00
HcySunYang
9e3708ca75
fix(keep-alive): include/exclude should work with async component (#3531)
fix #3529
2021-05-25 10:50:00 -04:00
Evan You
f1f52300e6 release: v3.1.0-beta.4 2021-05-24 19:16:44 -04:00
Evan You
b76c453507 refactor: adjust absent prop casting logic 2021-05-24 19:09:18 -04:00
Evan You
0255be2f4b fix(runtime-core): avoid double-setting props when casting
fix #3371, close #3384
2021-05-24 18:48:33 -04:00
HcySunYang
4ce0df6ef1
fix(runtime-core): avoid the proxy object polluting the slots of the internal instance (#3698)
fix #3695
2021-05-24 18:17:37 -04:00
HcySunYang
7c74feb3dc
fix(compiler-dom): comments in the v-if branchs should be ignored when used in Transition (#3622)
fix #3619
2021-05-24 17:10:29 -04:00
Evan You
3ef1fcc859 fix(compiler-ssr): disable hoisting in compiler-ssr
fix #3536
2021-05-24 16:48:31 -04:00
Lo Leon
90aa835812
fix(types/reactivity): error TS4058 caused by RefSymbol (#2548) 2021-05-24 16:36:08 -04:00
Carlos Rodrigues
a0c57936f8
types(jsx): improve type for number attributes (#3776)
fix #3788
2021-05-24 12:15:45 -04:00
Jason
01e8ba8f87
fix(compiler-sfc): support tsx in setup script (#3825)
close #3808
2021-05-24 12:13:37 -04:00
Guillaume Chau
f7c54caeb1 feat(devtools): performance events 2021-05-19 20:48:35 +02:00
Guillaume Chau
1355ee27a6 fix(devtools): send update to component owning the slot
https://github.com/vuejs/vue-devtools/issues/1404
2021-05-19 18:19:28 +02:00
HcySunYang
4f17be7b1c
fix(compat): avoid accidentally delete the modelValue prop (#3772) 2021-05-17 14:07:53 -04:00
Carlos Rodrigues
92e7330385
types(props): Support undefined as default (#3783) 2021-05-17 14:04:31 -04:00
HcySunYang
47da92146c
fix(compiler-core): fix whitespace management for slots with whitespace: 'preserve' (#3767)
fix #3766
2021-05-13 18:24:43 -04:00
Yunfei He
49fd1696c9
chore(types): remove unnecessary type assertion (#3724) 2021-05-12 17:47:52 -04:00
GU Yiling
9b160b9405
fix(types): declared prop keys should always exist in props argument (#3726) 2021-05-12 17:47:31 -04:00
Cédric Exbrayat
f01aadf2a1
fix(compat): enum coercion warning (#3755) 2021-05-12 17:47:00 -04:00
edtam
15450dc685
chore: fix package link (#3750) [skip ci] 2021-05-12 17:44:02 -04:00
Evan You
b663aa8a81 release: v3.1.0-beta.3 2021-05-12 17:37:04 -04:00
Evan You
fa3f8e44ed chore: improve transition test stability 2021-05-12 17:28:18 -04:00
Stanislav Lashmanov
2bfb8b574d
fix(compat): correctly merge lifecycle hooks when using Vue.extend (#3762)
fix #3761
2021-05-12 17:13:44 -04:00
HcySunYang
a56ab148fd
fix(compiler-core): bail out to array children when the element has custom directives + only one text child node (#3757) 2021-05-12 16:12:32 -04:00
Cédric Exbrayat
0e3bbd0626
chore: fix typos in compat document 2021-05-11 10:44:36 +08:00
Cédric Exbrayat
808ccf0963
chore: fix typo in compat warning 2021-05-11 10:41:51 +08:00
Evan You
99a5ccf6b2 release: v3.1.0-beta.2 2021-05-08 16:59:12 -04:00
Evan You
94e69fd389 fix(compat): handle and warn config.optionMergeStrategies 2021-05-08 16:48:59 -04:00
Evan You
ed6c5fe903 release: v3.1.0-beta.1 2021-05-08 16:24:34 -04:00
Evan You
f2fb8a51a9 build: fix compat build type treatment 2021-05-08 16:21:06 -04:00
Evan You
341fa38f9b chore: document ts and alt strategy for compat build 2021-05-08 16:20:50 -04:00
Evan You
fb96a85ee7 chore: migration build docs [ci skip] 2021-05-08 00:46:25 -04:00
HcySunYang
5036c51cb7
fix(reactivity): fix tracking for readonly + reactive Map (#3604)
fix #3602
2021-05-07 18:49:11 -04:00
HcySunYang
c8d96837b8
fix(hydration): fix update before async component is hydrated (#3563)
fix #3560
2021-05-07 18:42:58 -04:00
HcySunYang
43f78151bf
fix(Teleport): avoid changing the reference of vnode.dynamicChildren (#3642)
fix #3641
2021-05-07 18:04:36 -04:00
AbaAba~
e7300eb479
fix(runtime-core): watching multiple sources: computed (#3066)
fix #3068
2021-05-07 18:03:35 -04:00
Guillaume Chau
349eb0f0ad
feat: onServerPrefetch (#3070)
Support equivalent of `serverPrefetch` option via Composition API.
2021-05-07 12:00:52 -04:00
Evan You
372f152d23 ci: improve transition tests ci stability 2021-05-07 09:56:31 -04:00