Eduardo San Martin Morote
fe34f96a3e
fix(compiler): allow inline async functions in event handlers
2019-08-07 11:56:29 +02:00
GU Yiling
569b728ab1
fix: fix function expression regex ( #9922 )
...
fix #9920
2019-04-25 21:04:36 +08:00
X.L
085d188379
fix(compiler): Remove the warning for valid v-slot value ( #9917 )
2019-04-25 11:17:39 +08:00
Natalia Tepluhina
861aea1661
polish: add warning when .native modifier is used on native HTML elements ( #9884 )
2019-04-25 10:39:19 +08:00
Alexander Schwartz
02d21c265c
fix(core): cleanup timeouts for async components ( #9649 )
...
close #9648
2019-03-20 13:55:37 +08:00
Evan You
ebc1893fac
fix(slots): fix slots not updating when passing down normal slots as $scopedSlots
...
fix #9699
2019-03-18 17:43:01 +08:00
GU Yiling
3433ba5bee
fix(codegen): support named function expression in v-on ( #9709 )
...
fix #9707
2019-03-18 16:19:41 +08:00
GU Yiling
f1bdd7ff9d
fix(compiler): whitespace: 'condense' should honor pre tag as well ( #9660 )
2019-03-14 15:47:51 +08:00
DSha
4de4649d96
fix(transition): fix appear check for transition wrapper components ( #9668 )
2019-03-14 15:45:42 +08:00
Evan You
7186940143
fix: should not swallow user catch on rejected promise in methods
...
fix #9694
2019-03-14 15:25:01 +08:00
Decade
2747a65765
test: remove unused code ( #9684 )
2019-03-13 10:19:19 +08:00
Evan You
781c70514e
fix: should use fallback for scoped slots with single falsy v-if
...
fix #9658
2019-03-09 02:44:08 +08:00
Evan You
9313cf9174
fix: should consider presence of normal slots when caching normalized scoped slots
...
fix #9644
2019-03-09 02:03:47 +08:00
GU Yiling
0b57380f10
fix: v-bind object should be overridable by single bindings ( #9653 )
...
fix #9641
2019-03-09 01:00:47 +08:00
Jason
cbad54aa52
fix(compiler): set end location for incomplete elements ( #9598 )
2019-03-01 09:56:13 -05:00
Luxiaosong
1574ade607
test: Add a unit test for "$off event and this event added by $once" ( #9550 )
2019-02-28 17:54:51 -05:00
Evan You
03c13de38e
refactor: remove unncessary condition
2019-02-28 17:39:10 -05:00
DSha
060c3b98ef
fix: fix modifier parsing for dynamic argument with deep path ( #9585 )
...
fix #9577
2019-02-28 09:36:47 -05:00
Evan You
173042bb8e
refactor: improve test case
2019-02-21 14:14:35 -05:00
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
2019-02-21 14:01:53 -05:00
Evan You
8a80a23ecb
fix: avoid errors thrown during dom props update
...
breaking the entire app
fix #9459
2019-02-21 14:00:28 -05:00
Evan You
7ec4627902
fix: ensure generated scoped slot code is compatible with 2.5
...
fix #9545
2019-02-21 08:52:15 -05:00
Evan You
d9b27a92bd
fix: ensure scoped slots update in conditional branches
...
close #9534
2019-02-20 21:48:33 -05:00
Evan You
8f004ea44e
fix: scoped slots should update when inside v-for
...
fix #9506
2019-02-18 17:17:47 -05:00
katashin
ee29e41ef4
fix: avoid possible infinite loop by accessing observables in error handler ( #9489 )
2019-02-18 19:56:17 +01:00
Evan You
29c348f3cf
fix: fix keyCode check for Chrome autofill fake key events
...
close #9441
2019-02-11 22:54:35 -05:00
Evan You
21fca2fffc
fix: ensure scoped slot containing passed down slot content updates properly
2019-02-11 11:30:14 -05:00
Evan You
e7d49cdcf2
fix: allow passing multiple arguments to scoped slot
...
fix #9468
Note: the usage is NOT recommended
2019-02-10 22:24:18 -05:00
Evan You
060686d6ea
fix: do not cache scoped slots when mixed with normal slots
2019-02-10 22:23:22 -05:00
Evan You
8a800867fe
fix: new syntax slots without scope should also be exposed on functional slots()
2019-02-08 14:45:45 -05:00
Evan You
0e8560d0fc
fix: expose v-slot slots without scope on this.$slots
...
fix #9421 , fix #9458
2019-02-08 13:47:17 -05:00
Evan You
57bc80a546
fix: empty scoped slot should return undefined
...
fix #9452
2019-02-07 10:03:13 -05:00
Evan You
d5ade28652
revert: feat: expose all scoped slots on this.$slots
...
This reverts commit 0129b0eb12
.
2019-02-06 15:22:21 -05:00
Evan You
96a09aad99
fix(compiler): fix v-bind dynamic arguments on slot outlets
...
fix #9444
2019-02-06 13:58:09 -05:00
Evan You
4d4d22a3f6
fix: bail out scoped slot optimization when there are nested scopes
...
fix #9438
2019-02-06 12:29:00 -05:00
Evan You
24b4640c1f
fix: avoid exposing internal flags on $scopedSlots
...
ref #9443
2019-02-06 11:35:26 -05:00
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
2019-02-05 22:18:05 -05:00
Evan You
44a4ca33b9
fix: restore slot-scope + v-if behavior
...
fix #9422
2019-02-04 22:39:35 -05:00
Evan You
0129b0eb12
feat: expose all scoped slots on this.$slots
...
close #9421
2019-02-04 22:25:19 -05:00
Bogdan Luca
66fd3c8dd1
fix(v-model): add value to $attrs if not defined in props ( #9331 )
...
fix #9330
2019-02-04 17:43:48 -05:00
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
2019-02-04 17:39:41 -05:00
Filipe Amaral
55bfb94a33
fix(compiler): fix inline-template crashing ( #9365 )
...
fix #9361
2019-02-04 16:49:27 -05:00
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
2019-02-04 16:34:32 -05:00
Evan You
64f863bbb9
feat: move v-bind.prop shorthand behind flag
2019-02-02 10:49:01 -05:00
Evan You
44a17ba2cd
fix: fix child forceUpdate regression
...
close #9396
2019-01-31 10:24:41 -05:00
Filipe Amaral
539e481f38
fix: fix v-bind:style for camelCase properties with !important ( #9386 )
2019-01-31 10:08:35 -05:00
Evan You
e632e9a075
fix: allow more enumerated values for contenteditable
...
close #9397
2019-01-31 09:56:18 -05:00
Evan You
3edb999200
polish: warn against incorrect nested v-slot usage
2019-01-30 21:33:59 -05:00
Evan You
2807fd24b0
fix: template v-slot should work with v-else conditions
2019-01-30 21:30:29 -05:00
Evan You
5851961ca3
refactor: adjust codegen for v-if on scoped slot
2019-01-30 18:12:18 -05:00