Evan You
780dac561b
fix(ssr): should not warn for custom directives that do not have ssr implementation
...
fix #9167
2018-12-09 15:47:43 -05:00
Evan You
8a2dbf5010
fix(transition-group): fix activeInstance regression
...
fix #9151
2018-12-05 17:33:39 -05:00
GU Yiling
0ed0aad772
fix: fix keyName checking for space and delete in IE11 ( #9150 )
...
fix #9112
2018-12-05 15:26:58 -05:00
Evan You
f077ed17af
fix(ssr): fix ssr template publicPath generation
...
fix #9145
2018-12-05 11:22:27 -05:00
Evan You
1b4a8a0c1e
fix(compiler): fix codegen for v-for component inside template
...
fix #9142
2018-12-04 10:51:49 -05:00
ggtmtmgg
307835284a
fix(ssr): resolve server directives the same as on client ( #9129 )
...
fix #8961
2018-12-02 16:01:19 -05:00
Evan You
e4b1b57fd7
fix(ssr): adjust call stack size defer threshold
...
fix #8545
2018-12-02 12:31:16 -05:00
laoxiong
19c33a7e40
fix(v-on): correctly remove once listener ( #8036 )
...
fix #8032
2018-12-02 11:33:39 -05:00
Evan You
530ca1b2db
fix(core): properly handle reused vnodes
...
This also removes the restrictions on rendering the same slot multiple
times.
close #7913
2018-12-01 21:07:18 -05:00
Evan You
097f6229df
fix(core): avoid mutating original children when cloning vnode
...
The on-demand clone strategy introduced in 956756b
mutates the owner
array of the cloned vnode. This causes the newly cloned vnode to be
destroyed when the parent node is destroyed. This is fixed by cloning
the children array when cloning a vnode.
fix #7975
2018-12-01 17:05:36 -05:00
Subhash
ef8524ab7d
fix(compiler): wrap scoped slots v-if conditions in parens ( #9119 )
...
fix #9114
2018-12-01 00:33:59 -05:00
Husam Ibrahim
0b31647c41
chore: fix grammar in core/observer/index.js comments ( #9116 )
2018-12-01 00:29:37 -05:00
ysj16
0d62bb84ff
fix: actually disable dep collection when invoking lifecycle hooks ( #9095 )
...
fix #9046
2018-12-01 00:24:30 -05:00
Mitar
b111de486b
fix: make sure global state is restored in the case of an exception in macrotask callback ( #9093 )
2018-12-01 00:07:46 -05:00
sqal
33e669b22f
fix(ssr): computed properties should pass vm as first argument in ssr ( #9090 )
...
fix #8977
2018-12-01 00:05:13 -05:00
Jay Fong
05e8bcfe5d
fix: fix server env detection in wechat mini program ( #9075 )
2018-11-30 23:58:29 -05:00
Joseph Anglada
1129d18448
refactor: reduce if-else nesting, coalesce conditions ( #9060 )
2018-11-30 23:57:26 -05:00
Alexey Tirman
613cb52bf3
polish: improve invalid method warning with type info ( #8974 )
...
close #8017
2018-11-30 18:06:24 -05:00
Kael
a7658e03a1
fix(data): skip recursive call if values are identical ( #8967 )
2018-11-30 18:04:05 -05:00
Jovino Xu
05001e695e
fix(compiler): should keep newline after unary tags in <pre> ( #8965 )
...
fix #8950
2018-11-30 18:02:54 -05:00
Daniel Santana Rocha
2bb3199da7
polish: warn duplicate keys when patching children into empty node ( #8881 )
...
close #8832
2018-11-30 18:01:45 -05:00
GU Yiling
758524134e
fix: v-bind object should be overridable with kebab-cased props ( #8845 )
...
In addition .sync should generate camelCased event name
2018-11-30 17:56:41 -05:00
Kael
80f17fa498
fix(core): skip mixins and extends if child is already merged ( #8870 )
...
fix #8865
2018-11-30 17:54:16 -05:00
Sultan Iman
374861f72b
refactor: remove redundant ternary ( #8848 )
2018-11-30 17:38:09 -05:00
Evan You
e29fbad0ac
chore: fix lint
2018-11-30 17:37:30 -05:00
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
2018-11-30 17:36:08 -05:00
HcySunYang
5f6ef15fb2
polish: warn sequential index on <transition-group> ( #8748 )
2018-11-30 17:35:10 -05:00
Clark Du
5624278fbe
fix(ssr): check js assets more accurate in ssr webpack plugin ( #8639 )
2018-11-30 17:32:28 -05:00
Rahul Kadyan
4ecc21c29e
feat(devtools): store functional render context on vnode in development ( #8586 )
2018-11-30 17:31:44 -05:00
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
2018-11-29 18:14:28 -05:00
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 .
2018-11-29 18:11:20 -05:00
X.L
d483a49c86
fix(compiler): normalize potential functional component children in v-for ( #8558 )
...
fix #8468
2018-10-24 14:02:45 -04:00
Phablulo Joel
59d4351ad8
fix(transition): handle local-formatted floats in toMs function. ( #8495 )
...
fix #4894
2018-10-24 13:58:25 -04:00
阿林
8c2674ea6a
refactor: remove unnecessary judgment ( #8493 )
2018-10-24 13:56:02 -04:00
HcySunYang
eb604529c6
fix: support modifier combination of click.right + .once ( #8492 )
2018-10-24 13:55:33 -04:00
Evan You
002acbe678
refactor(codegen): only generate pre data for possible components
2018-10-24 13:52:35 -04:00
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
2018-10-24 13:26:20 -04:00
Haoqun Jiang
8f04135dba
fix(parser): allow CRLFs in string interpolations ( #8408 )
...
fix #8103
2018-10-24 13:24:55 -04:00
Haoqun Jiang
a64ff1957c
fix(lifecycle): updated should not be called after component being destroyed ( #8381 )
...
fix #8076
2018-10-24 13:24:31 -04:00
Haoqun Jiang
a71853bfc5
fix(v-pre): skip compiling custom component tags in v-pre blocks ( fix #8286 ) ( #8376 )
2018-10-24 13:24:07 -04:00
Vladimir Verstov
504d5da7ef
fix(transition): transition-group should only listen for first-level children's end events ( #8374 )
2018-10-24 13:23:12 -04:00
淼淼真人
96b833bc5d
refactor: remove unnecessary code in html-parser.js ( #8359 )
2018-10-24 13:22:16 -04:00
X.L
6eaf56e28d
refactor: keep single source of truth ( #8334 )
2018-10-24 13:21:14 -04:00
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
2018-10-24 13:07:40 -04:00
Alex Ivasyuv
5cfdf1a248
fix: handle undefined style properties in jsdom ( fix #7444 ) ( #8281 )
2018-10-24 13:06:17 -04:00
yongningfu
038ed86967
polish(compiler): remove the extra space of v-for alias ( #8233 )
2018-10-24 13:05:48 -04:00
Eduardo San Martin Morote
952ae33290
polish: warn when an existing property starting with $ is not pro… ( #8214 )
2018-10-24 13:04:56 -04:00
Herrington Darkholme
46b8d2c59d
fix(server): use path.posix.join to generate public path ( #8177 )
...
fix #8167
2018-10-24 13:02:11 -04:00
Kevin Ball
ecac831691
fix(compiler): templates inside v-pre should be rendered to HTML ( #8146 )
...
close #8041
2018-10-24 13:01:29 -04:00
DongGyu Lee
61c32cc673
Fix: block unnecessary input event on input tag placeholder in IE ( #8140 )
2018-10-24 13:01:02 -04:00