Evan You
58b07069ad
fix(watch): stop instance-bound watchers in post render queue
...
so that changes triggered in beforeUnmount get correct value in callback
fix #1525
2020-07-06 21:50:56 -04:00
Evan You
d7184c99e6
refactor(types): add VNode to VNodeTypes
2020-07-06 21:12:15 -04:00
Evan You
31e37b417b
chore: warn NaN vnode key
2020-07-06 18:56:21 -04:00
Evan You
d86b01ba3a
fix(keep-alive): fix keep-alive with scopeId/fallthrough attrs
...
fix #1511
2020-07-06 18:17:40 -04:00
Evan You
6dd59ee301
fix(v-model): should ignore compiled v-model listeners in attr fallthrough
...
fix #1510
2020-07-06 17:00:34 -04:00
Evan You
36b6b4f022
fix(runtime-core/template-ref): template ref used in the same template should trigger update
...
fix #1505
2020-07-06 16:40:00 -04:00
Evan You
7f83856f34
release: v3.0.0-beta.18
2020-07-01 21:06:25 -04:00
Evan You
f3e9c1b59d
fix(runtime-core): avoid accidental access of Object.prototype properties
2020-07-01 20:13:02 -04:00
Evan You
4e8e689572
fix: ensure vnode hooks are called consistently regardless of keep-alive
2020-07-01 19:50:13 -04:00
Evan You
c9629f2692
feat(runtime-core): support creating vnode from existing vnode
...
This allows passing vnode around with curried props and use it in
places where VNodeType is expected, e.g. `<component :is=""/>`
2020-07-01 19:48:01 -04:00
Evan You
2bdb5c1464
fix(runtime-core): pass unmount into inital mount patch prop
2020-07-01 16:01:46 -04:00
Evan You
7886c267f7
refactor: remove unused inheritRef option
...
This is technically a breaking change, but the option was not meant for public use
and ended up not solving the problem it was introduced for.
2020-07-01 15:40:11 -04:00
Evan You
f6da6bf999
release: v3.0.0-beta.17
2020-06-30 12:10:15 -04:00
Evan You
6b23216e6d
chore: comment on slot optimization hint [ci skip]
2020-06-30 12:01:05 -04:00
Evan You
d2bf3cc4a8
chore: remove unnecessary loop
2020-06-30 11:43:15 -04:00
Evan You
b3536d87a5
fix(runtime-dom): allow force updating value bindings for controlled inputs
...
fix #1471
2020-06-30 11:23:09 -04:00
Evan You
062835d45a
fix(slots): make compiled slot marker non-enumerable
...
fix #1470
2020-06-30 09:27:06 -04:00
Jian Zhang
0017caf68b
chore: avoid unnecessary function call ( #1464 )
2020-06-29 18:52:44 -04:00
Evan You
ec3c12ee10
release: v3.0.0-beta.16
2020-06-29 18:34:50 -04:00
Evan You
86d3972855
fix(transition-group): vue 2 compatible handling of transition-group w/ multiple v-for children
...
fix #1126
2020-06-29 18:16:10 -04:00
underfin
d4cd12887e
fix(BaseTransition): collect correct children with slot passthrough in Transition
( #1456 )
...
fix #1455
2020-06-29 12:04:28 -04:00
Evan You
afe13e0584
fix(ssr): fix ssr scopeId on component root
2020-06-27 00:27:44 -04:00
Evan You
978d9522e8
fix(runtime-core): fix scopeId inheritance for component inside slots
2020-06-26 22:28:55 -04:00
Evan You
0dd5cde861
fix(runtime-core): handle patch flag de-op from cloned vnode
...
close #1426
2020-06-26 18:05:53 -04:00
Evan You
f3f94e4deb
fix(runtime-core): component root should inherit scopeId from vnode
...
fix #1399
2020-06-26 17:54:44 -04:00
Evan You
70ea76ae0c
fix(slots): filter out compiler marker from resolved slots
...
fix #1451
2020-06-26 17:18:39 -04:00
Evan You
d5dbd27193
fix(ssr): handle fallthrough attrs in ssr compile output
2020-06-26 16:55:37 -04:00
Stanislav Lashmanov
6bc0e0a31a
feat(ssr): renderToStream ( #1197 )
2020-06-26 11:09:47 -04:00
Evan You
e0d19a6953
fix(runtime-core): always check props presence in public instance proxy
...
When the there are props merged from mixins or extends, the component itself
may not have a props property.
fix #1236 where merged props are not exposed in production
2020-06-26 10:19:07 -04:00
Evan You
5453e791ae
chore: fix types
2020-06-26 10:07:07 -04:00
edison
178e89305d
chore(reactivity): use consistent naming for ReactiveFlags enum ( #1428 )
2020-06-26 09:32:09 -04:00
Evan You
e765d81404
fix(runtime-core): fix component name inference in warnings
...
Should not pollute component definition name property
fix #1418
2020-06-26 09:28:15 -04:00
underfin
1c4e1b6792
fix(runtime-core): should remove no longer present camelCase props ( #1413 )
...
fix #1412
2020-06-26 09:16:06 -04:00
Evan You
056cac9185
feat(runtime-core): expose version on app instance
...
close #1449
2020-06-26 09:03:55 -04:00
Evan You
9edbc27f45
fix(transition): fix css:false with hooks with no explicit done callback
...
close #1149
2020-06-25 17:40:49 -04:00
underfin
2ff8dcab0a
fix(BaseTransition): fix BaseTransition
delayed leave with mode in-out
( #1404 )
...
fix #1400
2020-06-25 17:00:19 -04:00
Evan You
7ae70ea44c
fix(transition): fix appear hooks handling
2020-06-25 16:02:28 -04:00
Albert Liu
a60f3b1430
refactor(types): remove unnecessary as any ( #1411 )
2020-06-25 11:05:39 -04:00
Evan You
e68209bfdb
test: bump jest
2020-06-16 12:11:51 -04:00
Evan You
2961e149c9
fix(types): ensure correct public props interface for defineComponent instance type
...
fix #1385
2020-06-16 12:00:18 -04:00
underfin
6c8bfa1018
fix(runtime-core): fix parent el update on nested HOC self-update ( #1360 )
...
fix #1357
2020-06-15 16:46:29 -04:00
Evan You
be69beed5e
fix(runtime-core): cloneVNode should preserve correct ctx instance when normalizing ref
...
fix #1311
2020-06-15 15:57:37 -04:00
Cédric Exbrayat
68e2d6c68a
fix(types): export ComponentOptionsMixin ( #1361 )
...
The newly introduced `ComponentOptionsMixin` was not re-exported.
2020-06-15 11:13:00 -04:00
Cathrine Vaage
250eb4a5bc
fix(runtime-core): properly capitalize v-on object keys ( #1358 )
2020-06-15 11:12:08 -04:00
Carlos Rodrigues
6e9789cef1
test(runtime-core): test multi-root ref assignment ( #1374 )
2020-06-15 09:31:14 -04:00
Evan You
cf2f278f48
release: v3.0.0-beta.15
2020-06-12 18:09:05 -04:00
Evan You
51510adacb
test: fix hmr test
2020-06-12 17:17:01 -04:00
Evan You
6abac87b3d
fix(runtime-core): track access to $attrs
...
fix #1346
2020-06-12 16:59:15 -04:00
Evan You
91fa52850a
chore: lint for unused arguments
2020-06-12 16:31:31 -04:00
Evan You
e76ed4c269
refactor(hmr): simplify hmr force update check
2020-06-12 14:53:48 -04:00