Kael
448ba65d2b
fix(types): correct scopedSlot types ( #9131 )
see #8946
6 years ago
Evan You
0d7fb73925
chore: update sponsors/backers [ci skip]
6 years ago
Evan You
e8031b4e68
build: release v2.5.18-beta.0
6 years ago
Evan You
fe194dd5d8
build: build v2.5.18-beta.0
6 years ago
ggtmtmgg
307835284a
fix(ssr): resolve server directives the same as on client ( #9129 )
fix #8961
6 years ago
Haoqun Jiang
aca17b4064
ci: add regression test for popular libraries in Vue.js ecosystem ( #8608 )
6 years ago
Evan You
e4b1b57fd7
fix(ssr): adjust call stack size defer threshold
fix #8545
6 years ago
laoxiong
19c33a7e40
fix(v-on): correctly remove once listener ( #8036 )
fix #8032
6 years ago
Evan You
530ca1b2db
fix(core): properly handle reused vnodes
This also removes the restrictions on rendering the same slot multiple
times.
close #7913
6 years ago
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
6 years ago
Subhash
ef8524ab7d
fix(compiler): wrap scoped slots v-if conditions in parens ( #9119 )
fix #9114
6 years ago
Husam Ibrahim
0b31647c41
chore: fix grammar in core/observer/index.js comments ( #9116 )
6 years ago
ysj16
0d62bb84ff
fix: actually disable dep collection when invoking lifecycle hooks ( #9095 )
fix #9046
6 years ago
James George
b0ccb86183
chore: rephrase comment ( #9100 )
6 years ago
Mitar
b111de486b
fix: make sure global state is restored in the case of an exception in macrotask callback ( #9093 )
6 years ago
sqal
33e669b22f
fix(ssr): computed properties should pass vm as first argument in ssr ( #9090 )
fix #8977
6 years ago
Julian Rüth
f43ae6d151
chore(typo): fix typo ( #9085 )
6 years ago
Jay Fong
05e8bcfe5d
fix: fix server env detection in wechat mini program ( #9075 )
6 years ago
Joseph Anglada
1129d18448
refactor: reduce if-else nesting, coalesce conditions ( #9060 )
6 years ago
hugoazevedosoares
97086f3658
fix(types): fix vm.$once argument type ( #8995 )
vm.$once should accept an event or array of events as first parameter.
fix #8983
6 years ago
thenickname
76443803e8
Typings: Improve $slots and $scopedSlots type to prevent unchecked access to undefined ( #8946 )
* fix(types): Declare $scopedSlots as potentially undefined to enable stricter TS checks
* fix(types): Fix tests
* fix(types): declare $slots option as potentially undefined
declare $slots option as potentially undefined to enable stricter TS checks
6 years ago
Kaoru Hagihara
3cd4af4af0
fix(types): support typing $el as SVGElement ( #8809 )
6 years ago
nel215
0ba79e2588
fix(types): accept `number` type as key on Vue.set/delete ( #8707 ) ( #8709 )
6 years ago
st-sloth
ac217d2472
fix(types): fix `renderError`arguments type ( #8636 )
fix #8635
6 years ago
狼族小狈
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
Kael
a7658e03a1
fix(data): skip recursive call if values are identical ( #8967 )
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
Sultan Iman
374861f72b
refactor: remove redundant ternary ( #8848 )
6 years ago
Evan You
e29fbad0ac
chore: fix lint
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
Clark Du
5624278fbe
fix(ssr): check js assets more accurate in ssr webpack plugin ( #8639 )
6 years ago
Rahul Kadyan
4ecc21c29e
feat(devtools): store functional render context on vnode in development ( #8586 )
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
william-pan
69730fac8f
chore: update badge for Vue CLI 3 ( #8640 )
6 years ago
Evan You
6cc070063b
chore: update sponsors
6 years ago
Evan You
1762a66204
chore: update sponsors
6 years ago
Evan You
3d220a65de
chore: update sponsors
6 years ago
Evan You
0008e0c5cf
chore: update sponsors
6 years ago
X.L
d483a49c86
fix(compiler): normalize potential functional component children in v-for ( #8558 )
fix #8468
6 years ago
Phablulo Joel
59d4351ad8
fix(transition): handle local-formatted floats in toMs function. ( #8495 )
fix #4894
6 years ago
阿林
8c2674ea6a
refactor: remove unnecessary judgment ( #8493 )
6 years ago
HcySunYang
eb604529c6
fix: support modifier combination of click.right + .once ( #8492 )
6 years ago
Evan You
002acbe678
refactor(codegen): only generate pre data for possible components
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