Commit Graph

2610 Commits

Author SHA1 Message Date
Evan You
2534219401 build: release 2.5.16 2018-03-13 18:14:20 -04:00
Evan You
9089170970 build: build 2.5.16 2018-03-13 18:14:16 -04:00
Evan You
62a922e865 fix: fix wrongly matched named slots in functional components
This is a subtle edge case caused when a stateful component triggers
a self re-render, which reuses cached slot nodes. The cached slot
nodes, if returned from a functional render fn, gets the fnContext
property which causes subsequent slot resolving to not function
properly. To fix this, nodes returned from functional components
need to be cloned before getting assigned fnContext.

fix #7817
2018-03-13 17:48:52 -04:00
Piotr Kaminski
9084747e30 fix(core): Make set/delete warning condition for undefined, null and (#7818)
primitive values more precise.  Corrects #7452
2018-03-13 11:40:31 -04:00
leon
1a979c44d6 fix(ssr): fix v-show inline style rendering when style binding is array (#7814)
fix #7813
2018-03-13 11:40:22 -04:00
Hiroki Osame
a6169d1eb7 fix(model): fix static input type being overwritten by v-bind object (#7819)
fix #7811
2018-03-13 11:40:15 -04:00
Evan You
6dd73e9ee4 fix: named slots for nested functional components
Named slots should be respecred when passing raw children down multiple
layers of functional components.

fix #7710
2018-03-13 11:40:04 -04:00
Evan You
215f877d1b fix(keep-alive): run prune after render for correct active component check
fix #7566
2018-03-13 11:39:59 -04:00
Evan You
4378fc5124 fix: fix keyName checking for arrow keys in IE11
fix #7806
2018-03-13 11:39:55 -04:00
Evan You
984927a1a9 fix: fix regression on duplicate component init when using shared data objects
fix #7805
2018-03-13 11:39:52 -04:00
Evan You
cf0b1b745f ci: use yarn.lock instead of package-lock.json 2018-03-13 11:39:42 -04:00
Evan You
702000971c chore: fix typo 2018-03-13 11:39:37 -04:00
JK
35dc8c2555 types: add Fragment in RenderState typing (#7802) 2018-03-13 11:39:33 -04:00
Evan You
882e7199fd fix(ssr): fix SSR for async functional components
fix #7784
2018-03-13 11:39:29 -04:00
JK
666cdbd71e test(vdom): add test case for #7786 (#7793) 2018-03-11 14:04:31 -04:00
Evan You
71b4b25375 fix: allow multiline expression in v-for
fix #7792
2018-03-11 11:51:51 -04:00
Evan You
af5453cd5e build: release 2.5.15 2018-03-10 18:36:42 -05:00
Evan You
bafc73f427 build: build 2.5.15 2018-03-10 18:36:38 -05:00
Evan You
84a9a9d610 fix: do not traverse VNodes when regsitering dependencies
fix #7786
2018-03-10 13:39:29 -05:00
Evan You
387d2567eb build: release 2.5.14 2018-03-09 16:41:47 -05:00
Evan You
a08feed8c4 build: build 2.5.14 2018-03-09 16:41:25 -05:00
Evan You
2c52c4265b workflow: specify e2e env when releasing 2018-03-09 16:36:24 -05:00
Evan You
83ea0da4b0 chore: coverage 2018-03-09 16:29:00 -05:00
Evan You
81e1e47cab fix: respect type order when boolean casting multi-typed props
fix #7485
2018-03-09 14:46:00 -05:00
Evan You
a2cd412876 refactor: observerState 2018-03-09 13:59:26 -05:00
AchillesJ
318f29fcdf fix(core): disable dependency collection in lifecycle hooks and data getter (#7596)
This fixes the parent being updated more than necessary due to collecting child props
as dependencies during its own update computation.

fix #7573
2018-03-09 13:13:16 -05:00
Pig Fang
d7d9b002fd chore: fix typo (#7781) 2018-03-09 08:54:55 -05:00
Alex
6bc75cacb7 fix(v-on): return handler value when using modifiers (#7704) 2018-03-08 17:09:53 -05:00
Eduardo San Martin Morote
db584931e2 fix(v-model): handle trailing whitespaces in expression (#7737) 2018-03-08 17:01:38 -05:00
Eduardo San Martin Morote
550c3c0d14 fix(model): fix array index binding for v-model checkbox (#7671)
Closes #7670
2018-03-08 16:54:33 -05:00
Herrington Darkholme
144bf5a99e fix(types): prefer normal component over functional one (#7687) 2018-03-08 13:55:52 -05:00
Lars Stegman
68b51f2620 chore: fix comment grammar mistake (#7739) 2018-03-08 12:21:57 -05:00
Gcaufy
6931a47c5c refactor: use more accurate variable name (#7755) 2018-03-08 12:21:11 -05:00
Huo Chunyang
8053f6043c chore: merge imports (#7762) 2018-03-08 12:09:48 -05:00
Chang Wang
f83987bb70 chore: update downloads badge to point to graph of downloads (#7733) 2018-03-08 12:07:57 -05:00
Sergei Chipiga
9e04f6af27 test: add unit tests for core/observer/dep (#7738) 2018-03-08 12:06:46 -05:00
katashin
6b8516b2dd fix(types): fix wrong errorCaptured type (#7712) 2018-03-08 12:05:03 -05:00
Stanimira Vlaeva
2b0fc381fc docs: update Angular's commit convention link (#7666) 2018-03-08 12:00:11 -05:00
Yao Ding
acd92cf981 chore: unify the terms 'microtask' and '(macro) task' (#7641) 2018-03-08 11:58:14 -05:00
katashin
b2092dbff9 fix(types): make render option in functional components to optional (#7663) 2018-03-08 11:55:27 -05:00
Eduardo San Martin Morote
ec9152f67a ci: use latest version of codecov binary (#7665)
closes #7664
2018-03-08 11:55:01 -05:00
katashin
db1b18ceec fix(types): add missing listeners type on RenderContext (#7584) 2018-03-08 11:52:01 -05:00
Eduardo San Martin Morote
dc97a39c2f fix(codegen): support filters with () in older browsers (#7545)
Fix #7544
Make sure no extra , is added at the end of the call so it also work with older browsers
2018-03-08 11:24:09 -05:00
Eduardo San Martin Morote
013d980928 fix(show): prevent transitions from starting on change truthy values (#7524)
Closes #7523
2018-03-08 11:19:08 -05:00
Hiroki Osame
733c1be7f5 fix(inject): use hasOwn instead of 'in' for provideKey check (#7460)
fix #7284

* fix(Injection with Symbol polyfill): hasOwn instead of 'in'

Symbol polyfill adds a setter on the Object prototype so the 'in' check evaluated to true on every
object

* test(Injected properties): Ensures prototype properties aren't injected

Prototype properties were being injected, so injecting 'constructor' would have hit the first
provide-layer and not yield expected results.
2018-03-08 11:15:35 -05:00
Evan You
e98d12d232 workflow: add "polish" to commit types 2018-03-08 10:32:42 -05:00
İsmail Arılık
e9ea565d91 polish: raise warning when Vue.set/delete is called on invalid values (#7452)
close #7381
2018-03-08 10:31:40 -05:00
dmitry-vakhnenko
dc2171a33a refactor: Use native bind function instead of own (#7491)
close #7408
2018-03-08 10:07:40 -05:00
Evan You
80e650cfdf chore: fix formatting 2018-03-08 09:52:27 -05:00
Evan You
9b22d86ab3 fix: install ssr helpers for functional context during SSR
close #7443, ref nuxt/nuxt.js#2565
2018-03-08 09:51:03 -05:00