Commit Graph

2990 Commits

Author SHA1 Message Date
Evan You
7a8de91cd7 fix(compiler): handle negative length in codeframe repeat 2019-02-21 14:27:33 -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
cd3d202edb refactor: simplify conditions 2019-02-21 13:31:58 -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
vue-bot
b3bd311635 chore: update sponsors [ci skip] (#9538) 2019-02-20 11:37:17 -05:00
vue-bot
9d4c972cad chore: update sponsors [ci skip] (#9537) 2019-02-20 11:19:15 -05:00
Evan You
8f004ea44e fix: scoped slots should update when inside v-for
fix #9506
2019-02-18 17:17:47 -05:00
Evan You
bb0aab664c ci: pin webpack version 2019-02-18 17:16:22 -05:00
Evan You
1d3316615b chore: bump webpack (fix PR build cache) 2019-02-18 16:34:57 -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
a702d1947b build: release 2.6.6 2019-02-11 23:20:09 -05:00
Evan You
ac7a5bdaed build: build 2.6.6 2019-02-11 23:20:04 -05: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
11deaa932e build: release 2.6.5 2019-02-11 00:14:34 -05:00
Evan You
1489b99f24 build: build 2.6.5 2019-02-11 00:14:30 -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
0bad7e2a35 fix: bail out of event blocking for iOS bug
close #9462
2019-02-09 01:16:41 -05:00
Evan You
c198950045 build: release 2.6.4 2019-02-08 16:44:50 -05:00
Evan You
dfb9fb177f build: build 2.6.4 2019-02-08 16:44:45 -05:00
Evan You
b2a093fa03 chore: fix e2e test in phantomjs 2019-02-08 16:32:22 -05:00
Evan You
9011b83db7 fix: avoid breaking avoriaz edge case 2019-02-08 16:11:41 -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
099f3ba600 perf: skip scoped slots normalization when possible 2019-02-08 14:36:36 -05:00
Evan You
7a0dfd0bad perf: cache result from functional ctx.slots() calls 2019-02-08 14:35:37 -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
ca57920edb fix: avoid logging same error twice when thrown by user in global handler
fix #9445
2019-02-07 10:17:28 -05:00
Evan You
57bc80a546 fix: empty scoped slot should return undefined
fix #9452
2019-02-07 10:03:13 -05:00
JakeConnors376W
4015debe95 chore: make documentation clearer (#9450) 2019-02-06 19:52:06 -05:00
Evan You
f9c83087cc build: release 2.6.3 2019-02-06 16:52:07 -05:00
Evan You
6441eac4c6 build: build 2.6.3 2019-02-06 16:52:03 -05:00
Evan You
dae7e4182f fix: skip microtask fix if event is fired from different document
fix #9448
2019-02-06 15:57:06 -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
7bc88f30c3 fix: skip microtask fix in Firefix <= 53
fix #9446
2019-02-06 15:04:24 -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
b6247fc9d7 refactor: split resolve-scoped-slot into its own file 2019-02-06 12:28:10 -05:00
Evan You
24b4640c1f fix: avoid exposing internal flags on $scopedSlots
ref #9443
2019-02-06 11:35:26 -05:00
Sebastian Krüger
54e6a121e9 fix(types): add Vue.version to types (#9431) 2019-02-05 22:20:03 -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
katashin
2ef67f868d chore: fix typo in scheduler.js [ci skip] (#9425) 2019-02-05 11:34:16 -05:00
vue-bot
fdc5f0363b [automated] Patreon sponsors update (#9424)
* chore: update sponsors [ci skip]

* Update BACKERS.md

* Update README.md
2019-02-05 11:30:33 -05:00
vue-bot
d06e3aff96 chore: update backers [ci skip] (#9423) 2019-02-05 11:26:42 -05:00
Evan You
ee9b684d0b build: release 2.6.2 2019-02-04 22:52:44 -05:00
Evan You
2279509456 build: build 2.6.2 2019-02-04 22:52:39 -05:00
Evan You
44a4ca33b9 fix: restore slot-scope + v-if behavior
fix #9422
2019-02-04 22:39:35 -05:00