2369 Commits

Author SHA1 Message Date
Guillaume Chau
3626ff07fe feat(devtools): send instance 2020-12-18 18:24:01 +01:00
Cédric Exbrayat
dbe22ba356
dx(runtime-core): add selector in mount warning () 2020-12-04 18:25:13 -05:00
meteorlxy
5b9b37fc9b
fix(compiler-sfc): should keep template nodes with no content ()
close 
2020-12-04 18:23:01 -05:00
Joel Denning
db786b1afe
fix(compiler-sfc): support transforming asset urls with full base url. () 2020-12-04 18:20:25 -05:00
Bas van Meurs
3867bb4c14
fix(runtime-core): component mount anchor memory leak ()
fix 
2020-12-04 18:03:10 -05:00
edison
82bf7ebf36
refactor(runtime-core): extract common getComponentName function () 2020-12-04 17:03:03 -05:00
ᴜɴвʏтᴇ
b2189ba2f3
fix(runtime-dom): support mounting app on ShadowRoot ()
fix 
2020-12-04 16:51:38 -05:00
Evan You
338d869c70 test(compiler-core): test expression transform w/ bindingMetadata 2020-12-04 16:46:00 -05:00
Zcating
d2d27b2e66
types(watch): better typing when watching multiple sources () 2020-12-04 16:32:26 -05:00
edison
47b3652ecd
chore(compiler-core): improve types () 2020-12-04 16:28:26 -05:00
Carlos Rodrigues
6684c6334d
types: mixin and extends typing on data and setup ()
close 
2020-12-04 16:06:34 -05:00
Evan You
cbaa380506 fix(transition): ensure manual style manipulation in transition leave hooks work
ref 
2020-12-03 16:10:22 -05:00
童欧巴
df48fc225a
chore: fix file path in comments () [ci skip] 2020-12-03 12:27:03 -05:00
edison
c59897c7b0
fix(runtime-core): skip patchBlockChildren if n1.dynamicChildren is null ()
fix  

The bug was introduced by  where a compiled slot may result in a bailed Fragment
which then gets its dynamicChildren set to `null` by the renderer.
2020-12-03 12:17:04 -05:00
Evan You
a8352506f6 refactor: cache constant check result on transform context
also fix edge case for missed createVNode import on static svg nodes
2020-12-03 11:10:40 -05:00
Evan You
ad4d3915d3 fix(compiler-core): fix missing createVNode import on nested v-for
fix 
2020-12-03 11:03:06 -05:00
luwuer
3f8f9b67b3
fix(transition): ensure styles from *-leave-active trigger transition ()
fix 
2020-12-03 10:37:47 -05:00
Evan You
d067fb2dbb release: v3.0.4 2020-12-02 17:23:43 -05:00
Evan You
3523f743e5 build(deps-dev): handle @types/jest bump 2020-12-02 17:05:30 -05:00
Evan You
e315d84936 fix(types): fix ToRefs type on union value types
fix 
2020-12-02 14:58:03 -05:00
luwuer
e2618a632d
fix(transition): respect rules in *-leave-from transition class ()
fix 
2020-12-02 14:41:20 -05:00
Evan You
eaf8a67c72 fix(transition): avoid invoking stale transition end callbacks
fix 
2020-12-02 12:15:57 -05:00
Evan You
fe5428db12 fix(compiler-ssr): handle v-model checkbox with true-value binding 2020-12-01 12:43:59 -05:00
Evan You
48f00c0f1b fix(v-model): respect checkbox true-value/false-value on initial render
fix 
2020-12-01 12:02:37 -05:00
Evan You
085bbd5fe0 fix(compiler-sfc): named imports from .vue file should not be treated as constant
fix 
2020-12-01 11:52:29 -05:00
Evan You
f2b0a8e81d fix(v-model): avoid mutation when using Set models + fix multi select Set model update 2020-12-01 11:40:14 -05:00
Evan You
83a79a829c Revert "fix(v-model): mutate original array for v-model multi checkbox ()"
This reverts commit 87581cd2662d6db21b35db7a0b5df2090c8a7fe2.

ref: 
2020-12-01 11:16:40 -05:00
Evan You
11a76ebd94 chore: fix snapshot 2020-12-01 09:21:39 -05:00
Evan You
4307610c35 chore: fix setRef usage 2020-11-30 20:07:06 -05:00
Evan You
5a19bb5320 refactor(runtime-dom): avoid unnecessary typeof checks during props patching 2020-11-30 20:05:02 -05:00
edison
fb6b9f8e8f
fix(runtime-dom): attribute should be removed with nullish values ()
fix 
2020-11-30 19:28:03 -05:00
Evan You
64d4681e4b fix(async-component): forward refs on async component wrapper
fix 
2020-11-30 18:59:14 -05:00
HcySunYang
87581cd266
fix(v-model): mutate original array for v-model multi checkbox ()
Note: this change will break non-deep `watch` on the `v-model` bound array since the array is no longer replaced. This can be considered part of the Array watch changes in v3 as detailed at https://v3.vuejs.org/guide/migration/watch.html

This is unfortunate but unavoidable since the issue that it fixes is more important: `v-model` should definitely work with a non-ref reactive array.

fix 
2020-11-30 17:48:51 -05:00
Yasser Lahbibi
cd92836223
fix(teleport): Teleport into SVG elements ()
fix 
2020-11-30 17:30:41 -05:00
hiroki
7a1a782642
fix(provide): support symbols in applyOptions ()
fix 
2020-11-30 16:36:02 -05:00
Evan You
e4f09c1419 fix(compiler-core/v-on): handle falsy values when caching v-on handlers
fix 
2020-11-30 16:30:36 -05:00
Evan You
3cd30c5245 fix(v-show): ensure v-show conflict with inline string style binding
fix 
2020-11-30 15:48:34 -05:00
Evan You
9db7095962 fix(compiler-core): fix scope var reference check for v-on expressions
fix 
2020-11-30 15:19:32 -05:00
Evan You
e41b46c396 chore: annotate generated slot flag 2020-11-30 15:19:32 -05:00
edison
5f2a8533ac
fix(compiler-sfc): fix parsing error when lang="" is used on plain element ()
fix 
2020-11-30 14:45:26 -05:00
Evan You
bf16a57fc3 fix(runtime-core): handle static node move in production 2020-11-30 14:42:02 -05:00
underfin
2a9ba0c8e9
fix(runtime-core): remove static node in production mode ()
fix 
2020-11-30 14:07:43 -05:00
Thorsten Lünborg
421205d0ad
fix(runtime-core): ensure keep-alive deep-watches include/explude props ()
fix 
2020-11-30 14:04:45 -05:00
Evan You
67d1aac6ae feat(sfc): allow sfcs to recursively self-reference in template via name inferred from filename
e.g. A file named `FooBar.vue` can refer to itself as `<FooBar/>`. This gets rid of the need for the `name` option.
2020-11-30 12:30:51 -05:00
Evan You
43eab923ea fix(compiler-sfc): should not remove import statements with no specifier when compiling script setup 2020-11-28 13:51:32 -05:00
Evan You
a76e58e5fd build: avoid shipping patch flag name strings in prod 2020-11-27 18:13:04 -05:00
Evan You
3bc2914e32 fix(attr-fallthrough): ensure consistent attr fallthrough for root fragments with comments
fix 
2020-11-27 18:04:26 -05:00
shadowings-zy
3532b2b021
fix(runtime-core): fix emit listener check on kebab-case events ()
fix 
2020-11-27 15:24:29 -05:00
Evan You
2ab8c41a1a fix(slots): dynamically named slots should be keyed by name
fix 
2020-11-27 14:35:46 -05:00
Thorsten Lünborg
6e46a574ed
fix(reactivity): ensure add/set on reactive collections return the proxy ()
fix 
2020-11-27 14:16:00 -05:00