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
Evan You
8f004ea44e
fix: scoped slots should update when inside v-for
fix #9506
6 years ago
katashin
ee29e41ef4
fix: avoid possible infinite loop by accessing observables in error handler ( #9489 )
6 years ago
Evan You
29c348f3cf
fix: fix keyCode check for Chrome autofill fake key events
close #9441
6 years ago
Evan You
21fca2fffc
fix: ensure scoped slot containing passed down slot content updates properly
6 years ago
Evan You
e7d49cdcf2
fix: allow passing multiple arguments to scoped slot
fix #9468
Note: the usage is NOT recommended
6 years ago
Evan You
060686d6ea
fix: do not cache scoped slots when mixed with normal slots
6 years ago
Evan You
8a800867fe
fix: new syntax slots without scope should also be exposed on functional slots()
6 years ago
Evan You
0e8560d0fc
fix: expose v-slot slots without scope on this.$slots
fix #9421 , fix #9458
6 years ago
Evan You
57bc80a546
fix: empty scoped slot should return undefined
fix #9452
6 years ago
Evan You
d5ade28652
revert: feat: expose all scoped slots on this.$slots
This reverts commit 0129b0eb12
.
6 years ago
Evan You
96a09aad99
fix(compiler): fix v-bind dynamic arguments on slot outlets
fix #9444
6 years ago
Evan You
4d4d22a3f6
fix: bail out scoped slot optimization when there are nested scopes
fix #9438
6 years ago
Evan You
24b4640c1f
fix: avoid exposing internal flags on $scopedSlots
ref #9443
6 years ago
Evan You
b9de23b100
fix: async component should use render owner as force update context
Previously, an async component uses its lexical owner as the force
update context. This works when the async component is rendered in a
scoped slot because in the past parent components always force update
child components with any type of slots. After the optimization in
f219bed though, child components with only scoped slots are no longer
force-updated, and this cause async components inside scoped slots to
not trigger the proper update. Turns out they should have used the
actual render owner (the component that invokes the scoped slot) as the
force update context all along.
fix #9432
6 years ago
Evan You
44a4ca33b9
fix: restore slot-scope + v-if behavior
fix #9422
6 years ago
Evan You
0129b0eb12
feat: expose all scoped slots on this.$slots
close #9421
6 years ago
Bogdan Luca
66fd3c8dd1
fix(v-model): add value to $attrs if not defined in props ( #9331 )
fix #9330
6 years ago
nciont
0fb03b7831
fix: avoid blocking first input event in IE when it shouldn't ( #9297 )
- the original bug in #7138 only happens for `<textarea>`
- the bug doesn't happen if placeholder has empty value
fix #9042 , fix #9383
6 years ago
Filipe Amaral
55bfb94a33
fix(compiler): fix inline-template crashing ( #9365 )
fix #9361
6 years ago
Barthélémy Ledoux
1922e7d4d9
fix(template-compiler): allow comments on the root node in templates ( #9408 )
In SFC templates, we are allowed to add comments to the root node. If parsing with comments flag
true, we are not anymore. This ignores the root comments in case they cannot be added.
fix #9407
6 years ago
Evan You
64f863bbb9
feat: move v-bind.prop shorthand behind flag
6 years ago
Evan You
44a17ba2cd
fix: fix child forceUpdate regression
close #9396
6 years ago
Filipe Amaral
539e481f38
fix: fix v-bind:style for camelCase properties with !important ( #9386 )
6 years ago
Evan You
e632e9a075
fix: allow more enumerated values for contenteditable
close #9397
6 years ago
Evan You
3edb999200
polish: warn against incorrect nested v-slot usage
6 years ago
Evan You
2807fd24b0
fix: template v-slot should work with v-else conditions
6 years ago
Evan You
5851961ca3
refactor: adjust codegen for v-if on scoped slot
6 years ago
Evan You
c9e3a5d1d9
feat: detect and warn invalid dynamic argument expressions
6 years ago
Evan You
dbc0582587
feat: dynamic directive arguments for v-on, v-bind and custom directives ( #9373 )
6 years ago
Evan You
f219bedae8
perf: improve scoped slots change detection accuracy ( #9371 )
Ensure that state mutations that only affect parent scope only trigger parent update and does not affect child components with only scoped slots.
6 years ago
Evan You
1868561442
fix: fix checkbox event edge case in Firefox
6 years ago
Evan You
8cb2069aa4
test: fix tests in IE/Edge
6 years ago
Evan You
8d8457246d
feat: warning for ambiguous v-slot usage
6 years ago
Evan You
67e85deae2
feat: adjust v-slot per RFC + enable flag
6 years ago