Evan You
681ac7c896
release: v3.3.0-alpha.9
2023-04-08 13:33:46 +08:00
三咲智子 Kevin Deng
14f3d747a3
feat(sfc): introduce `defineModel` macro and `useModel` helper ( #8018 )
2023-04-08 12:13:05 +08:00
Evan You
bdf557f6f2
fix(types): retain type parameters order for public types
2023-04-05 22:30:50 +08:00
Evan You
036914c10b
release: v3.3.0-alpha.8
2023-04-04 18:23:06 +08:00
Evan You
9a09e47667
release: v3.3.0-alpha.7
2023-04-03 18:19:11 +08:00
三咲智子 Kevin Deng
5a2f5d59cf
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option ( #7982 )
2023-04-03 16:49:16 +08:00
Evan You
59e828448e
feat(reactivity): improve support of getter usage in reactivity APIs ( #7997 )
2023-04-02 10:17:51 +08:00
Evan You
8876dccf42
feat(sfc): support more ergnomic defineEmits type syntax ( #7992 )
2023-03-30 19:24:32 +08:00
Evan You
8ac0620c1b
release: v3.3.0-alpha.6
2023-03-30 18:22:42 +08:00
Evan You
e3de9a6911
test: add test for defineComponent function syntax with object emits
2023-03-28 08:57:56 +08:00
Evan You
d77557c403
feat(types): `defineComponent()` with generics support ( #7963 )
...
BREAKING CHANGE: The type of `defineComponent()` when passing in a function has changed. This overload signature is rarely used in practice and the breakage will be minimal, so repurposing it to something more useful should be worth it.
close #3102
2023-03-27 18:28:43 +08:00
Evan You
28e30c819d
fix(types/jsx): remove $slots children override
2023-03-26 17:44:01 +08:00
Evan You
27e1e38641
release: v3.3.0-alpha.5
2023-03-26 16:52:46 +08:00
Evan You
d0b7ef3b61
feat(types/jsx): support jsxImportSource, avoid global JSX conflict ( #7958 )
...
- No longer implicitly register global JSX types by default
- This avoid conflict when using Vue in the same project with React
- Global registration must now be done by explicitly importing /
referencing `vue/jsx`, or listing it in `compilerOptions.types`.
- Add `vue/jsx-runtime` to support `jsxImportSource` usage
- Can enable globally by setting `compilerOptions.jsxImportSource` to `'vue'`
- Can also opt-in per-file with `/** @jsxImportSource vue */`
2023-03-26 16:40:53 +08:00
Evan You
c288c7b0bd
fix(types): ensure defineProps with generics return correct types
2023-03-26 15:58:04 +08:00
Evan You
58e5c51149
build: upgrade to TypeScript 5.x
2023-03-23 17:11:35 +08:00
Evan You
78b86150b8
release: v3.3.0-alpha.4
2023-02-06 14:10:56 +08:00
Evan You
097f6beca2
release: v3.3.0-alpha.3
2023-02-06 10:27:25 +08:00
Evan You
37ec04b984
release: v3.3.0-alpha.2
2023-02-05 16:23:54 +08:00
Evan You
85f4d8ccb9
release: v3.3.0-alpha.1
2023-02-05 11:20:39 +08:00
Evan You
1e0251a377
test: more strict linking in dts tests
2023-02-03 21:41:33 +08:00
Evan You
7a0a6658c6
docs: update contributing guide
2023-02-03 17:47:34 +08:00
Evan You
1ddde63b40
build: adjust dts test setup
2023-02-03 17:10:31 +08:00