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
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