Eduardo San Martin Morote
38f71de380
fix(v-slot): fix scoped slot normalization combined with v-if ( #12104 )
4 years ago
Eduardo San Martin Morote
67901e78ef
test(ssr): add missing test for async component in slot
4 years ago
Eduardo San Martin Morote
e7baaa1205
fix(keep-alive): cache what is really needed not the whole VNode data ( #12015 )
Co-authored-by: zrh122 <1229550935@qq.com>
4 years ago
contribu
52608302e9
fix(core): fix sameVnode for async component ( #11107 )
Co-authored-by: mac2 <mac2@example.com>
4 years ago
hello-brsd
e4dea59f84
fix(errorHandler): async error handling for watchers ( #9484 )
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
4 years ago
wangzongxu
3ad60fea73
feat(warn): warn computed conflict with methods ( #10119 )
Co-authored-by: wangzongxu <wangzongxu@vipkid.com.cn>
4 years ago
Mattia Trapani
c6d7a6fce7
fix(v-on): avoid events with empty keyCode (autocomplete) ( #11326 )
4 years ago
Eduardo San Martin Morote
ce457f9f4d
fix(slot): add a function to return the slot fallback content ( #12014 )
Co-authored-by: zrh122 <1229550935@qq.com>
4 years ago
ygj6
77b5330c54
fix: force update between two components with and without slot ( #11795 )
4 years ago
zrh122
0603ff695d
fix(warns): modify `maybeComponent` function in parser ( #10167 )
fixes #10152
4 years ago
Volodymyr I
7e5dc6bd9e
fix(ssr): inheritAttrs false adds attributes to html ( #11706 )
4 years ago
Ben Delaney
987f322b8f
fix: pause dep collection during immediate watcher invocation ( #11943 )
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
4 years ago
shadowings-zy
fb16d7bfa1
fix(vdom): avoid executing root level script tags ( #11487 )
fix #11483
4 years ago
AjiTae
fa1f81e910
fix(props): support BigInt in props type validation ( #11191 )
4 years ago
shadowings-zy
c42b7066ca
fix(compiler): Allow BigInt usage in templates ( #11152 )
4 years ago
Mohammad Albakri
69401311f4
fix(warn): better message with no constructors props ( #9241 )
Co-authored-by: Siddhesh Mhadnak <siddhesh.mhadnak@outlook.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
4 years ago
Des Preston
55a30cf9db
fix(compiler): avoid converting &nbps; to spaces ( #11065 )
4 years ago
Andrzej Swaton
3d46692ee4
feat(warns): avoid warning native modifiers on dynamic components ( #11052 )
Co-authored-by: Andrzej Swaton <andrzej@diligen.com>
4 years ago
Alex Addams
0664cb0143
fix(v-pre): do not alter attributes ( #10088 )
* fix(v-pre): do not alter attributes
close #10087
* fix(v-pre): do not alter attributes
remove component and replace option from unit test
* refactor: use or
* perf: check boolean before index
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
4 years ago
Des Preston
862070662d
fix(compiler): event handlers with modifiers swallowing arguments ( fix #10867 ) ( #10958 )
Pass full parent argument list to the event handler when there are event
modifiers present.
4 years ago
Daniel Jun Suguimoto
b8bd149d8a
fix(ssr): textarea keeps undefined/null values ( #11121 )
* fix(ssr): textarea keeps undefined/null values
* refactor(ssr): Code review changes for null values in textareas
4 years ago
DSha
67825c24bc
fix(parser): allow multiple slots with new syntax ( #9785 )
* fix(#9781 ): non greedy `dynamicArgAttribute` RegExp
* test(parser): add test case for multiple dynamic slot names
* test: add test with value
Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
4 years ago
Eduardo San Martin Morote
abb5ef35dd
fix(props): correctly warn when a provided prop is Symbol ( #10529 )
* fix(props): correctly warn when a provided prop is Symbol
Fixes #10519
* style: space before parens
4 years ago
warmsocks
8ead9d2a0d
chore: spelling and grammar ( #11481 )
Co-authored-by: Shaun Case <shaunc@aja.com>
4 years ago
hareku
841bb084ca
chore: fix typo in element test ( #11085 )
5 years ago
GU Yiling
569b728ab1
fix: fix function expression regex ( #9922 )
fix #9920
6 years ago
X.L
085d188379
fix(compiler): Remove the warning for valid v-slot value ( #9917 )
6 years ago
Natalia Tepluhina
861aea1661
polish: add warning when .native modifier is used on native HTML elements ( #9884 )
6 years ago
zrh122
bd6cea0973
test: fix running e2e test on windows ( #9909 )
6 years ago
Alexander Schwartz
02d21c265c
fix(core): cleanup timeouts for async components ( #9649 )
close #9648
6 years ago
Evan You
ebc1893fac
fix(slots): fix slots not updating when passing down normal slots as $scopedSlots
fix #9699
6 years ago
GU Yiling
3433ba5bee
fix(codegen): support named function expression in v-on ( #9709 )
fix #9707
6 years ago
GU Yiling
f1bdd7ff9d
fix(compiler): whitespace: 'condense' should honor pre tag as well ( #9660 )
6 years ago
DSha
4de4649d96
fix(transition): fix appear check for transition wrapper components ( #9668 )
6 years ago
Evan You
7186940143
fix: should not swallow user catch on rejected promise in methods
fix #9694
6 years ago
krystal
8082d2f910
fix(ssr): fix nested async functional componet rendering ( #9673 )
fix #9643
6 years ago
Decade
2747a65765
test: remove unused code ( #9684 )
6 years ago
Evan You
781c70514e
fix: should use fallback for scoped slots with single falsy v-if
fix #9658
6 years ago
Evan You
9313cf9174
fix: should consider presence of normal slots when caching normalized scoped slots
fix #9644
6 years ago
GU Yiling
0b57380f10
fix: v-bind object should be overridable by single bindings ( #9653 )
fix #9641
6 years ago
Jason
cbad54aa52
fix(compiler): set end location for incomplete elements ( #9598 )
6 years ago
Luxiaosong
1574ade607
test: Add a unit test for "$off event and this event added by $once" ( #9550 )
6 years ago
Evan You
38825ff675
test: add a test case for ssr max stack size limit
6 years ago
Evan You
03c13de38e
refactor: remove unncessary condition
6 years ago
DSha
060c3b98ef
fix: fix modifier parsing for dynamic argument with deep path ( #9585 )
fix #9577
6 years ago
Evan You
173042bb8e
refactor: improve test case
6 years ago
DSha
2f3020e9cc
fix( #9511 ): avoid promise catch multiple times ( #9526 )
* fix(#9511 ): avoid promise catch multiple times
* fix(#9511 ): add a test case for util/error/invokeWithErrorHandling
* fix(#9511 ): update test case for util/error/invokeWithErrorHandling
6 years ago
Evan You
8a80a23ecb
fix: avoid errors thrown during dom props update
breaking the entire app
fix #9459
6 years ago
Evan You
7ec4627902
fix: ensure generated scoped slot code is compatible with 2.5
fix #9545
6 years ago
Evan You
d9b27a92bd
fix: ensure scoped slots update in conditional branches
close #9534
6 years ago