狼族小狈
c711ec189a
fix(types): support chain call for Vue.use and Vue.mixin ( #8595 )
6 years ago
Alexey Tirman
613cb52bf3
polish: improve invalid method warning with type info ( #8974 )
close #8017
6 years ago
Jovino Xu
05001e695e
fix(compiler): should keep newline after unary tags in <pre> ( #8965 )
fix #8950
6 years ago
Daniel Santana Rocha
2bb3199da7
polish: warn duplicate keys when patching children into empty node ( #8881 )
close #8832
6 years ago
GU Yiling
758524134e
fix: v-bind object should be overridable with kebab-cased props ( #8845 )
In addition .sync should generate camelCased event name
6 years ago
Kael
80f17fa498
fix(core): skip mixins and extends if child is already merged ( #8870 )
fix #8865
6 years ago
Matt Lavallee
2e472c5e5e
fix(component): clean up memory leak after loading async component completes ( fix #8740 ) ( #8755 )
* fix(component): clean up memory leak after loading async component completes
* fix(async component): accounting for async components with loading property
* refactor(component): simplifying memory cleanup logic
6 years ago
HcySunYang
5f6ef15fb2
polish: warn sequential index on <transition-group> ( #8748 )
6 years ago
Adrià Fontcuberta
2686818beb
fix(error handling): handle errors on immediate watcher execution ( #8581 )
The handle callback call should be wrapped in a try/catch that explicitly calls handleError
fix #8567
6 years ago
Evan You
7b7164c11c
fix(v-model): avoid duplicate model transforms
This happens when a component directly passes down its own data object
to a child component. Fix #8436 .
6 years ago
X.L
d483a49c86
fix(compiler): normalize potential functional component children in v-for ( #8558 )
fix #8468
6 years ago
Haoqun Jiang
0b16927c9d
fix(transition): check existence of `el.parentNode` ( #8422 )
fix #8199
* fix(transition): check existence of `el.parentNode`
If the new parentNode gets a `textContent` or `innerHTML` property during
patching, the `transition` node would have been detached early, which means
`el.parentNode` no longer exists.
* fix(vdom): should not reuse nodes with `textContent` / `innerHTML` props
6 years ago
Haoqun Jiang
8f04135dba
fix(parser): allow CRLFs in string interpolations ( #8408 )
fix #8103
6 years ago
Haoqun Jiang
a64ff1957c
fix(lifecycle): updated should not be called after component being destroyed ( #8381 )
fix #8076
6 years ago
Haoqun Jiang
a71853bfc5
fix(v-pre): skip compiling custom component tags in v-pre blocks ( fix #8286 ) ( #8376 )
6 years ago
Sam Lichlyter
5489339a30
refactor(core): Replace "var" ( #8299 )
Replaces instances of "var" with "let" and "const" where applicable using the eslint 'no-var' and
'prefer-const' rules
6 years ago
Eduardo San Martin Morote
952ae33290
polish: warn when an existing property starting with $ is not pro… ( #8214 )
6 years ago
Herrington Darkholme
46b8d2c59d
fix(server): use path.posix.join to generate public path ( #8177 )
fix #8167
6 years ago
Kevin Ball
ecac831691
fix(compiler): templates inside v-pre should be rendered to HTML ( #8146 )
close #8041
6 years ago
Evan You
e9fc04ba50
test: fix assertion
6 years ago
Jovino Xu
aef2a5f3db
fix(compiler): maybeComponent should return true when "is" attribute exists ( #8114 )
close #8101
6 years ago
Yuhang Liu
1b69cbde74
refactor: add empty v-bind warning(re #7973 ) ( #7988 )
* refactor: add empty v-bind warnings
re #7973
* Update index.js
6 years ago
Eduardo San Martin Morote
db7287c23b
fix(shared): check dates in looseEqual ( #7940 )
Fix #7928
thanks to @w3cj for the initial version. This one is using getTime instead of toUTCString because it
is much faster to compare
6 years ago
Evan You
7597bb06e0
test: fix ssr tests
6 years ago
katashin
9d2f9a034f
fix(sfc): avoid deindent when pad option is specified ( #7647 )
6 years ago
Evan You
76fd45c9fd
build: upgrade eslint and use only non-stylistic rules
6 years ago
Evan You
52f9d3f492
build: upgrade webpack & karma
6 years ago
Vikram Rangaraj
12e8efc2e7
workflow: upgraded to babel 7 ( #8948 )
6 years ago
Evan You
6b1d431a89
Revert "perf: avoid unnecessary re-renders when computed property value did not change ( #7824 )"
This reverts commit 653aac2c57
.
6 years ago
Tim
d280937045
test(e2e): trigger click on .new-todo instead of footer ( #7938 )
6 years ago
Haoqun Jiang
c21b89ebed
fix(ssr): fix double escaping of staticClass values ( #7859 ) ( #8037 )
6 years ago
Yuriy Alekseyev
59860b0a75
refactor: make the warning messages more explicit ( close #7764 ) ( #7881 )
6 years ago
Edd Yerburgh
c94482743c
feat: add async option ( #8240 )
This is an option intended only for testing purposes, and should not be used in
application code.
6 years ago
Evan You
3d36a443c7
fix: fix potential xss vulnerability in ssr when using v-bind
6 years ago
Zhenfei You
62265035c0
feat(weex): support object syntax of class ( #7930 )
7 years ago
Evan You
f148077437
chore: format
7 years ago
Evan You
653aac2c57
perf: avoid unnecessary re-renders when computed property value did not change ( #7824 )
close #7767
7 years ago
Evan You
b7445a2b94
fix: beforeUpdate should be called before render and allow state mutation ( #7822 )
fix #7481
7 years ago
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.
7 years ago
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`.
7 years ago
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
7 years ago
Piotr Kaminski
9084747e30
fix(core): Make set/delete warning condition for undefined, null and ( #7818 )
primitive values more precise. Corrects #7452
7 years ago
leon
1a979c44d6
fix(ssr): fix v-show inline style rendering when style binding is array ( #7814 )
fix #7813
7 years ago
Hiroki Osame
a6169d1eb7
fix(model): fix static input type being overwritten by v-bind object ( #7819 )
fix #7811
7 years ago
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
7 years ago
Evan You
215f877d1b
fix(keep-alive): run prune after render for correct active component check
fix #7566
7 years ago
Evan You
984927a1a9
fix: fix regression on duplicate component init when using shared data objects
fix #7805
7 years ago
Evan You
882e7199fd
fix(ssr): fix SSR for async functional components
fix #7784
7 years ago
JK
666cdbd71e
test(vdom): add test case for #7786 ( #7793 )
7 years ago
Evan You
71b4b25375
fix: allow multiline expression in v-for
fix #7792
7 years ago