白雾三语
8f0472c9ab
fix(runtime-core): fix error when using cssvars with disabled teleport ( #7341 )
...
close #7342
2023-10-20 16:34:11 +08:00
Kael
75b8722135
fix(runtime-core): delete stale slots which are present but undefined ( #6484 )
...
close #9109
2023-10-20 16:25:06 +08:00
Evan You
5ebb459fc7
release: v3.3.5
2023-10-20 11:50:49 +08:00
Vít Stanislav
e3c2d699f6
fix(compat): return value of vue compat set() ( #9377 )
...
According to https://v2.vuejs.org/v2/api/#Vue-set , Returns: the set value.
2023-10-19 20:58:59 +08:00
Haoqun Jiang
0a8be4537a
build: use `stripInternal` ( #9379 )
...
Unlike our custom plugin, TypeScript won't automatically remove
re-exports of internal types, so we need to explicitly mark them as
`@internal`.
2023-10-17 21:10:14 +08:00
Evan You
5479d1e5bb
chore: format
2023-09-05 15:24:10 +08:00
Daniel Roe
8f311c6f82
fix(runtime-core): swap client/server debug labels ( #9089 )
2023-09-05 15:21:20 +08:00
丶远方
2ffe3d5b3e
refactor: use symbol for private properties ( #8681 )
2023-08-22 16:57:15 +08:00
三咲智子 Kevin Deng
623ba514ec
chore: format code
2023-08-11 17:30:04 +08:00
Evan You
37a14a5dae
Revert "fix(types): propagate type parameter constraints for TypeScript 4.8 ( #6351 )"
...
This reverts commit 516fabb725
.
2023-07-12 11:38:59 +08:00
zqran
f07cb18fed
fix(types): correct withDefaults return type for boolean prop with undefined default value ( #8602 )
2023-07-11 18:35:22 +08:00
丶远方
6a22b1f6c2
fix(types): ensure nextTick return type reflect correct Promise value ( #8406 )
2023-07-11 17:56:02 +08:00
Anthony Fu
438027cf9e
perf: mark `defineComponent` as side-effects-free ( #8512 )
2023-07-11 17:52:43 +08:00
白雾三语
140a89b833
fix(teleport): handle target change while disabled ( #7837 )
...
close #7835
2023-07-11 17:36:26 +08:00
丶远方
3decc57d0c
chore: remove unnecessary type assertions ( #8386 )
2023-07-10 18:18:53 +08:00
Daniel Rosenwasser
516fabb725
fix(types): propagate type parameter constraints for TypeScript 4.8 ( #6351 )
...
* fix(types): propagate type parameter constraints for TypeScript 4.8
* fix: add more constraints
---------
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:04:08 +08:00
webfansplz
57afa2236b
chore: fix typo ( #8732 ) [ci skip]
2023-07-09 13:03:30 +08:00
三咲智子 Kevin Deng
7cdd13bd1e
chore: fix typo
2023-06-11 11:29:10 +08:00
Lioness100
6277cb994a
chore: fix typo ( #7693 )
2023-06-10 17:17:41 +08:00
Evan You
a95e612b25
chore: rename globals allow list
...
close #8416
2023-05-26 11:07:13 -05:00
Simon Johansson
020851e57d
fix(ssr): reset current instance if setting up options component errors ( #7743 )
...
close #7733
2023-05-19 09:09:21 +08:00
Phentom
f0691e4581
chore: typo ( #8345 ) [ci skip]
2023-05-19 07:59:09 +08:00
丶远方
b01fc7ea84
chore: remove unnecessary imports ( #8262 )
2023-05-19 07:54:12 +08:00
丶远方
3798c5480b
chore: remove unnecessary type assertions ( #8311 )
2023-05-19 07:49:28 +08:00
Evan You
0e8bbe873e
release: v3.3.4
2023-05-18 16:31:03 +08:00
Evan You
fecd5c4044
release: v3.3.3
2023-05-18 13:10:52 +08:00
Carlos Rodrigues
216f26995b
fix(types): support generic usage with withDefaults + defineProps ( #8335 )
...
fix #8310
fix #8331
fix #8325
2023-05-17 09:25:48 +08:00
Evan You
a374d7e6ed
release: v3.3.2
2023-05-12 13:25:05 +01:00
Cédric Exbrayat
ab9256a4bb
chore: fix typos in defineOptions ( #8277 )
2023-05-11 19:34:27 +08:00
Evan You
6e1966a92f
release: v3.3.1
2023-05-11 09:00:14 +01:00
白雾三语
a3f5485785
fix(suspense): handle nested sync suspense for hydration
...
ref e1475129fc
2023-05-11 08:47:01 +01:00
Evan You
483a4e7e3b
release: v3.3.0
2023-05-11 08:44:38 +01:00
Evan You
847658b7a2
release: v3.3.0-beta.5
2023-05-08 16:40:41 +08:00
Evan You
e1475129fc
fix(suspense): fix nested suspensible suspense with no asyn deps
...
close #8206
2023-05-08 16:37:46 +08:00
Evan You
c2172f3a0e
fix(build): retain defineComponent() treeshakability in Rollup
...
close #8236
2023-05-08 12:12:15 +08:00
Evan You
b2be75bad4
fix(runtime-core): ensure defineComponent name in extraOptions takes higher priority
2023-05-08 12:06:49 +08:00
Evan You
1279b17300
fix(types): remove short syntax support in defineSlots()
...
ref: https://github.com/vuejs/language-tools/issues/2758
2023-05-08 11:53:49 +08:00
Evan You
cc09cc7e28
release: v3.3.0-beta.4
2023-05-05 17:15:14 +08:00
Johnson Chu
3cb4dc9e55
feat(types): add slots types for built-in components ( #6033 )
2023-05-05 17:12:51 +08:00
丶远方
1b1242f4d1
fix(runtime-core): handle template ref with number values ( #8233 )
...
close #8230
2023-05-05 16:00:01 +08:00
Evan You
038cd830d5
fix(types): retain compatibility for provide() usage with explicit type parameter
2023-05-02 21:35:28 +08:00
Evan You
bff63c5498
feat(types): provide ExtractPublicPropTypes utility type
...
ref #5272
close #8168
2023-05-02 11:06:32 +08:00
Evan You
5d4c3c60a8
release: v3.3.0-beta.3
2023-05-01 12:28:29 +08:00
Evan You
c117d9c257
fix(hmr): keep slots proxy mutable for hmr
...
close #8188
2023-05-01 12:21:10 +08:00
Evan You
de87e6e405
fix(types): fix provide type checking for ref value
...
fix #8201
2023-05-01 11:27:05 +08:00
Evan You
a778034a3e
release: v3.3.0-beta.2
2023-04-25 16:41:04 +08:00
Evan You
1447596bf4
release: v3.3.0-beta.1
2023-04-21 16:26:10 +08:00
Evan You
526fa3b2cc
feat(deprecation): unwrap injected refs in Options API by default, deprecate app.config.unwrapInjectedRefs
2023-04-21 15:54:03 +08:00
Anthony Fu
cb37d0b9ff
feat(suspense): introduce suspensible option for `<Suspense>` ( #6736 )
...
close #5513
2023-04-21 14:43:30 +08:00
Evan You
5cdaac2590
release: v3.3.0-alpha.13
2023-04-20 21:13:34 +08:00
Evan You
f17a82c769
fix(hmr): always traverse static children in dev
...
fix #7921
close #8100
2023-04-20 14:31:54 +08:00
Eduardo San Martin Morote
5510ce385a
feat: hasInjectionContext() for libraries ( #8111 )
2023-04-20 10:12:18 +08:00
白雾三语
2f9f6eceb9
chore: delete outdated content in readme ( #8093 ) [ci skip]
...
close #8084
2023-04-20 10:11:22 +08:00
Evan You
94fa67a4f7
fix(hmr): force update cached slots during HMR
...
close #7155
close #7158
2023-04-20 10:06:06 +08:00
Evan You
72be89423d
release: v3.3.0-alpha.12
2023-04-18 22:18:56 +08:00
Evan You
57f0fbe76a
release: v3.3.0-alpha.11
2023-04-17 21:17:17 +08:00
Evan You
33adc2a17a
release: v3.3.0-alpha.10
2023-04-17 18:15:17 +08:00
Evan You
4b5b384485
fix(hmr): invalidate cached props/emits options on hmr
2023-04-17 18:05:17 +08:00
Himself65
c94ef02421
fix(runtime-core): properly merge props and emits options from mixins ( #8052 )
...
close #7989
2023-04-10 15:06:21 +08:00
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
af563bf428
fix(types): more public type argument order fix
2023-04-06 11:12:49 +08:00
Evan You
bdf557f6f2
fix(types): retain type parameters order for public types
2023-04-05 22:30:50 +08:00
Evan You
91a931ae87
fix(types): improve defineProps return type with generic arguments
2023-04-05 17:21:31 +08:00
Eduardo San Martin Morote
869f3fb93e
feat(app): app.runWithContext() ( #7451 )
2023-04-05 15:18:13 +08:00
Evan You
036914c10b
release: v3.3.0-alpha.8
2023-04-04 18:23:06 +08:00
魏
6003ef74c7
chore: remove duplicate test ( #8003 )
2023-04-04 18:20:56 +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
dfb21a5363
chore: add docs links for sfc macros
2023-04-02 10:02:33 +08:00
Evan You
4af5d1b075
feat(sfc): revert withDefaults() deprecation
...
In some cases, the user still needs access to the full props object,
in such cases withDefaults() is still needed.
2023-03-31 08:53:15 +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
ba9c2ae247
feat(compiler-sfc): enable reactive props destructure by default and deprecate withDefaults() ( #7986 )
2023-03-30 11:58:16 +08:00
Evan You
e10a89e608
fix(compiler-sfc): fix function default value handling w/ props destructure
2023-03-29 22:21:27 +08:00
三咲智子 Kevin Deng
63ad77f6f6
feat(runtime-core): add skipCheck for prop ( #7548 )
2023-03-28 22:29:54 +08:00
三咲智子 Kevin Deng
93f77292c9
fix(compiler-sfc): disallow `expose` property in `defineOptions` ( #7967 )
2023-03-28 17:32:37 +08:00
三咲智子 Kevin Deng
bcf5841dde
feat(compiler-sfc): add defineOptions macro ( #5738 )
2023-03-28 10:43:51 +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
27e1e38641
release: v3.3.0-alpha.5
2023-03-26 16:52:46 +08:00
Evan You
c288c7b0bd
fix(types): ensure defineProps with generics return correct types
2023-03-26 15:58:04 +08:00
Evan You
4c9bfd2b99
feat(dx): improve readability of displayed types for props
2023-03-24 15:06:43 +08:00
Evan You
58e5c51149
build: upgrade to TypeScript 5.x
2023-03-23 17:11:35 +08:00
Evan You
c02d8d097d
chore: remove warnings due to potential false-positives
2023-02-21 22:43:45 +08:00
Evan You
8d2d5bf48a
fix(runtime-core): support `getCurrentInstance` across mutiple builds of Vue
2023-02-21 21:59:41 +08:00
Evan You
34ad609bd7
refactor(runtime-core): use Symbol.for for runtime Symbols
2023-02-21 17:42:06 +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
d1181ad692
fix(build): avoid const enum conflicts
2023-02-06 09:44:12 +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
1ddde63b40
build: adjust dts test setup
2023-02-03 17:10:31 +08:00
Evan You
eb0c1e7025
build: remove api-extractor
2023-02-03 15:57:00 +08:00
Evan You
6213b73cd2
build: custom const enum processing
2023-02-03 09:54:15 +08:00
Evan You
53e3533b75
chore: bump deps
2023-02-03 05:47:40 +08:00
Evan You
124373db50
wip: isolatedModules + use rollup-plugin-esbuild
2023-02-03 04:30:19 +08:00
Evan You
3a6f5eb0f7
fix(build): ensure BaseTransition functions can be tree-shaken
2023-02-02 21:38:57 +08:00
Evan You
c1cbb747b5
chore: fix types
2023-02-02 15:27:29 +08:00
Evan You
45984d559f
release: v3.2.47
2023-02-02 13:48:18 +08:00