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
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
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
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
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
DSha
4de4649d96
fix(transition): fix appear check for transition wrapper components ( #9668 )
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
Luxiaosong
1574ade607
test: Add a unit test for "$off event and this event added by $once" ( #9550 )
6 years ago
DSha
060c3b98ef
fix: fix modifier parsing for dynamic argument with deep path ( #9585 )
fix #9577
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
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
Evan You
64f863bbb9
feat: move v-bind.prop shorthand behind flag
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
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
Evan You
4fca0454bd
feat: update new slot syntax per RFC revision
6 years ago
Evan You
7fb6fdd168
build: introduce feature flags, hide new slot syntax behind flag
6 years ago