Commit Graph

3525 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
46ec648694
fix(types): vue.d.ts should use relative import to v3-component-public-instance (#12668)
fix #12666
2022-07-16 08:21:07 -04:00
Evan You
7d4a7722e3 release: v2.7.6 2022-07-15 17:12:28 +08:00
Evan You
9ed684785f test: add test for type casting $refs to defineComponent instance type 2022-07-15 17:07:19 +08:00
Nikhil Verma
fffbb9e856
fix(types): $refs can also contain ComponentPublicInstance (#12659) 2022-07-15 05:05:04 -04:00
Evan You
e0a9546ef3 fix(types): fix missing expose() type on setup context
fix #12660
2022-07-15 16:58:01 +08:00
Evan You
52a59790a5 fix(types): fix $children and $root instance types
fix #12655
2022-07-15 16:52:27 +08:00
Evan You
cdd2df6171 release: v2.7.5 2022-07-13 11:08:37 +08:00
Evan You
1a2c3c2d77 fix(watch): fix deep watch for structures containing raw refs
fix #12652
2022-07-13 11:01:10 +08:00
Evan You
005e52d0b6 fix(types): support Vue interface augmentations in defineComponent
fix #12642
2022-07-13 10:44:57 +08:00
Daniel Roe
08fb4a222c
fix: add missing export from vue.runtime.mjs (#12648) 2022-07-12 21:47:38 -04:00
Wang Weitao
498dc1d89f
chore(changelog): fix dead link (#12646) [ci skip] 2022-07-12 21:47:20 -04:00
Evan You
0198f9f9ee chore: document TS changes in changelog [ci skip] 2022-07-13 09:31:39 +08:00
Evan You
a6e74985cf fix: detect property add/deletion on reactive objects from setup when used in templates 2022-07-12 18:59:26 +08:00
Evan You
98fb01c79c fix(reactivity): fix watch behavior inconsistency + deep ref shallow check
fix #12643
2022-07-12 18:50:12 +08:00
Evan You
0825d3087f fix: do not set currentInstance in beforeCreate
fix #12636
2022-07-12 18:19:19 +08:00
Evan You
04b4703de7 fix(sfc): fix sfc name inference type check
fix #12637
2022-07-12 17:39:49 +08:00
Evan You
018d29af5f release: v2.7.4 2022-07-08 15:46:21 +08:00
Evan You
f8de4ca9d4 fix(types): fix missing instance properties on defineComponent this
ref https://github.com/vuejs/vue/issues/12628#issuecomment-1177258223
2022-07-08 15:39:16 +08:00
Evan You
d3add06e6e fix(types): fix this.$slots type for defineComponent 2022-07-08 15:17:22 +08:00
Evan You
1d5a411c1e fix(types): fix type inference when using components option 2022-07-08 15:15:22 +08:00
Evan You
dc8a68e8c6 fix: pass element creation helper to static render fns for functional components
fix #12625
2022-07-08 15:03:09 +08:00
Evan You
8904ca77c2 fix(watch): fix watchers triggered in mounted hook
fix #12624
2022-07-08 14:47:03 +08:00
Evan You
012e10c9ca fix(build): fix mjs dual package hazard
close #12626
2022-07-08 11:42:36 +08:00
Evan You
559600f13d feat: support functional components in defineComponent
close #12619
2022-07-08 11:18:36 +08:00
Evan You
9d12106e21 feat: defineAsyncComponent
close #12608
2022-07-08 10:55:23 +08:00
Evan You
26ff4bc0ed fix(types): global component registration type compat w/ defineComponent
fix #12622
2022-07-08 10:39:36 +08:00
Evan You
b70a2585fc fix(compiler-sfc): use safer deindent default for compatibility with previous behavior 2022-07-08 09:45:37 +08:00
blackie
ca7daefaa1
fix(ssr/reactivity): fix array setting error at created in ssr [#12632] (#12633)
fix #12632
2022-07-07 21:44:41 -04:00
Evan You
15e6f1dee4 release: v2.7.3 2022-07-06 13:16:22 +08:00
Caleb Hearon
6d1dbeee7e
fix: add renderTracked/Triggered merge strategy (#12616) 2022-07-06 00:59:30 -04:00
Evan You
360272bde3 fix(ssr/reactivity): fix composition api behavior in SSR
fix #12615
2022-07-06 12:49:30 +08:00
Evan You
94ccca207c fix(types): allow slot attribute
close #12617
2022-07-06 11:17:33 +08:00
Evan You
e244687135 release: v2.7.2 2022-07-05 10:54:47 +08:00
Evan You
1294385300 fix(compiler-sfc): preserve old deindent behavior for pug
fix #12611
2022-07-05 10:33:20 +08:00
Evan You
fb93c1be77
feat(types): define component improvements (#12612) 2022-07-04 22:12:21 -04:00
Kael
d45bbeac27 feat: allow passing directive definition directly to h() (#12590) 2022-07-04 18:40:12 +08:00
Evan You
427028ad89 release: v2.7.1 2022-07-04 18:38:35 +08:00
Evan You
caceece8fa fix(compiler-sfc): fix template usage check edge case for v-on statements
fix #12591
2022-07-04 11:38:48 +08:00
webfansplz
6f0d2e6985
chore(compiler-sfc): replace substr with slice (#12564) 2022-07-03 23:26:18 -04:00
webfansplz
ff2d52f7ac
chore(types): remove unnecessary type assertion (#12563) 2022-07-03 23:25:59 -04:00
码农小余
86fb6bd151
chore(benchmarks:ssr): createRenderer function path error (#12601) 2022-07-03 22:58:42 -04:00
Evan You
e452e9d436 fix: export proxyRefs
close #12600
2022-07-04 10:56:36 +08:00
Evan You
bcb62d1a00 test: test case for #12597 2022-07-04 10:39:36 +08:00
Evan You
ff5acb12cf fix: fix NaN comparison on state change
fix #12595
2022-07-04 10:37:22 +08:00
Deft
15b9b9b19d
fix(reactivity): shallowReactive should not unwrap refs (#12605)
fix #12597
2022-07-03 22:33:44 -04:00
Evan You
8cdd0ac07e chore: update 2.7 changelog [ci skip] 2022-07-01 14:31:58 +08:00
Evan You
89bd1c2056 chore: changelog [ci skip] 2022-07-01 12:26:41 +08:00
Evan You
1e3a0ceb26 release: v2.7.0 2022-07-01 12:22:26 +08:00
Evan You
8dc1b31cb8 chore: use v2-latest release tag 2022-07-01 12:20:29 +08:00
Evan You
326d24a4e4 fix(sfc): only include legacy decorator parser plugin when new plugin is not used 2022-07-01 12:16:56 +08:00