Commit Graph

2578 Commits

Author SHA1 Message Date
Evan You
dbf15103f7 build: build 2.5.17-beta.0 2018-03-23 19:28:59 -04:00
Evan You
950daca99b types: make flow happy 2018-03-23 19:21:45 -04:00
Evan You
f148077437 chore: format 2018-03-23 19:21:34 -04:00
Evan You
faaf142cb6 refactor: reduce component mergeHook arg count
Because f43ce3a5 removed the two extra args from init hook
2018-03-23 19:14:05 -04:00
Luis Hernandez
8227fb3524 fix: add missing asyncMeta during VNode cloning (#7861) 2018-03-23 19:13:10 -04:00
Matheus Azzi
1bd6196fb2 fix(codegen): support IE11 and Edge use of "Esc" key (#7887)
Closes #7880
2018-03-23 19:08:55 -04:00
Piotr Kaminski
7a145d8643 fix(observer): invoke getters on initial observation if setter defined (#7828) 2018-03-23 19:08:02 -04:00
Evan You
653aac2c57
perf: avoid unnecessary re-renders when computed property value did not change (#7824)
close #7767
2018-03-23 19:03:27 -04:00
Evan You
f43ce3a5d8
fix: invoke component node create hooks before insertion (#7823)
fix #7531
2018-03-23 19:03:17 -04:00
Evan You
b7445a2b94
fix: beforeUpdate should be called before render and allow state mutation (#7822)
fix #7481
2018-03-23 19:03:00 -04:00
Evan You
de42278d34 fix: ensure init/prepatch hooks are still repsected
this address a regression introduced in 984927a which
causes vue-router#1338 to resurface.
2018-03-23 19:01:24 -04:00
Evan You
a7d190d249 chore: update sponsors 2018-03-23 17:02:48 -04:00
Léo Andrès
943e5c242b workflow: clean shell scripts (#7826) 2018-03-22 10:02:40 -04:00
Evan You
903be9b91f Revert "refactor: remove unnecessary checks (#7875)"
This reverts commit 43551b4fb6.
2018-03-22 10:01:53 -04:00
Ryan Cavanaugh
49385e1efa types: add UMD global declaration to index.d.ts (#7868)
Users using Vue from e.g. the CDN might be using the global `.Vue` without importing the module.

See https://www.typescriptlang.org/docs/handbook/modules.html for details on the syntax
2018-03-22 09:58:04 -04:00
Huo Chunyang
43551b4fb6 refactor: remove unnecessary checks (#7875) 2018-03-22 09:56:05 -04:00
dherman
7b387390aa fix: correct the has implementation in the _renderProxy (#7878)
It's feasible that someone might ask if something other than a string is
in the proxy such as a `Symbol` that lacks a `charAt` method.  This aligns
the implementation with the `getHandler`.
2018-03-22 09:53:28 -04:00
Evan You
17d7a5f6bd chore: update sponsors 2018-03-20 10:26:32 -04:00
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