Commit Graph

3501 Commits

Author SHA1 Message Date
Alexander Lichter
165a14a6c6
fix(ssr): fix on-component directives rendering (#12661)
fix #10733
2022-08-18 04:22:55 -04:00
不见月
bba6b3d6b4
feat(types): enhance type for onErrorCaptured (#12735) 2022-08-18 04:20:27 -04:00
GU Yiling
9eb8ea5b63
chore: fix some legacy doc urls in warnings and readme (#12725) [ci skip] 2022-08-18 04:12:20 -04:00
JuniorTour
2263948c24
fix: directives shorthand normalize error (#12744)
fix #12743
2022-08-18 04:11:47 -04:00
林烁壕
5221d4d3b6
fix(compiler-sfc): rewriteDefault for class with decorators (#12747) 2022-08-18 04:01:00 -04:00
gu
89a6b5e865
feat(types): support mixins inference for new Vue() (#12737)
close #12730
2022-08-18 03:56:37 -04:00
Evan You
b4bf4c52ad fix(types): allow attaching unknown options to defined component
fix #12742
2022-08-18 15:32:12 +08:00
Evan You
80d1baf920 feat(types): export DefineComponent
close #12748
2022-08-18 15:23:47 +08:00
Evan You
f0057b101e fix(watch): avoid pre watcher firing on unmount
fix #12703
2022-08-15 19:06:38 +08:00
Evan You
bd89ce53a9 fix: ensure render watcher of manually created instance is correctly tracked in owner scope
fix #12701
2022-08-15 15:37:13 +08:00
Evan You
4b37b568c7 fix(types): fix options suggestions when using defineComponent
functional component overloads should be moved last

fix #12736
2022-08-15 09:53:12 +08:00
Jonas
5c742eb2e0
fix(compiler-sfc): allow full hostnames in asset url base (#12732)
fix #12731
2022-08-14 21:37:08 -04:00
jf-paradis
00458cd38d
fix(types): Make SetupBindings optional on ExtendedVue and CombinedVueInstance (#12727)
fix #12726
fix #12717
2022-08-08 20:50:53 -04:00
Evan You
1d8b892fcd release: v2.7.8 2022-07-22 11:24:39 +08:00
Evan You
2af751b6ef fix(reactivity): fix shallowReactive nested ref setting edge cases
ref #12688
2022-07-22 11:20:40 +08:00
Daniel Roe
ba7dd2c4ed
fix(types): export defineAsyncComponent type (#12684) 2022-07-21 22:18:52 -04:00
edison
a695c5a6df
fix(sfc): align <script setup> component resolution edge case with v3 (#12687)
fix #12685
2022-07-21 22:18:27 -04:00
Evan You
fabc1cf89f fix(types): avoid circular type inference between v2 and v3 instance types
fix #12683
2022-07-22 10:06:43 +08:00
Evan You
ce6fc149e3 types: fix manual api types for useAttrs/useListeners 2022-07-22 10:05:35 +08:00
Evan You
adf3ac8adc feat(setup): support listeners on setup context + useListeners() helper
These are added because Vue 2 does not include listeners in
`context.attrs` so there is no way to access the equivalent of
`this.$listeners` in `setup()`.
2022-07-20 12:13:04 +08:00
troy351
135d07442a
chore(sfc): remove useless vue-template-es2015-compiler (#12677) 2022-07-19 23:16:01 -04:00
Evan You
fc16281cf5 release: v2.7.7 2022-07-16 22:45:31 +08:00
Evan You
e8d3a7d7a1 fix(codegen): script setup should not attempt to resolve native elements as component
fix #12674
2022-07-16 22:08:07 +08:00
Evan You
67760f8d30 fix(setup): ensure setup context slots can be accessed immediately
fix #12672
2022-07-16 21:45:03 +08:00
Evan You
ea5d0f3fbf fix(inject): fix edge case of provided with async-mutated getters
fix #12667
2022-07-16 21:33:48 +08:00
Evan You
25ffdb62d2 fix(watch): fix queueing multiple post watchers
fix #12664
2022-07-16 20:46:39 +08:00
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