丶远方
a625376ac8
feat(types): improve event type inference when using `h` with native elements ( #9756 )
2023-12-11 22:10:01 +08:00
Carles Mitjans
a41409ed02
feat(types): support passing generics when registering global directives ( #9660 )
2023-12-11 22:07:24 +08:00
三咲智子 Kevin Deng
fa4969e7a3
feat(types): export ObjectPlugin and FunctionPlugin types ( #8946 )
...
close #8577
2023-12-11 22:04:56 +08:00
Evan You
982a145d38
chore: Merge branch 'main' into minor
2023-12-11 22:03:28 +08:00
丶远方
a6503e3e77
refactor(types): simplify `EmitsToProps` types ( #9788 )
2023-12-11 20:01:36 +08:00
三咲智子 Kevin Deng
096ba81817
feat(types): expose `DefineProps` type
2023-12-09 00:34:28 +08:00
edison
60415b5d67
fix(ssr): fix suspense hydration of fallback content ( #7188 )
2023-12-08 23:06:34 +08:00
Carlos Rodrigues
213eba479c
fix(types): support for generic keyof slots ( #8374 )
2023-12-08 22:54:57 +08:00
Evan You
c95ab62936
chore: fix types
2023-12-08 22:34:47 +08:00
三咲智子 Kevin Deng
927ab17cfc
feat(types): add emits and slots type to `FunctionalComponent` ( #8644 )
2023-12-08 22:24:58 +08:00
Carlos Rodrigues
bfb856565d
feat(types): provide ComponentInstance type ( #5408 )
2023-12-08 22:24:38 +08:00
Carlos Rodrigues
44135dc95f
feat(types): expose `PublicProps` type ( #2403 )
2023-12-08 22:17:46 +08:00
Fabian Gündel
d42b6ba3f5
feat: MathML support ( #7836 )
...
close #7820
2023-12-08 18:25:01 +08:00
Divyansh Singh
bc7698dbfe
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag ( #9550 )
2023-12-08 16:41:15 +08:00
Evan You
2ffc1e8cfd
feat(ssr): improve ssr hydration mismatch checks ( #5953 )
...
- Include the actual element in the warning message
- Also warn class/style/attribute mismatches
Note: class/style/attribute mismatches are check-only and will not be
rectified.
close #5063
2023-12-08 15:49:09 +08:00
edison
b700328342
fix(Suspense): properly get anchor when mount fallback vnode ( #9770 )
...
close #9769
2023-12-08 12:29:15 +08:00
Rudy
6784f0b1f8
fix(watch): should not fire pre watcher on child component unmount ( #7181 )
...
close #7030
2023-12-08 12:24:44 +08:00
Evan You
b4ac0e6ac1
chore(dx): fix defineProps jsdoc + update defineEmits jsdoc example
2023-12-07 14:30:32 +08:00
nandi95
8e27692029
feat(runtime-core): provide full props to props validator functions ( #3258 )
2023-12-05 17:14:17 +08:00
Evan You
e12b10ac3e
chore: Merge branch 'main' into minor
2023-12-04 23:17:41 +08:00
edison
65f3fe2731
fix(runtime-core): Suspense get anchor properly in Transition ( #9309 )
...
close #8105
2023-12-04 16:41:55 +08:00
Evan You
7f00ec2d97
chore: remove deprecated AppConfig.unwrapInjectedRef option
2023-12-01 11:32:34 +08:00
花果山大圣
cdb2df707b
chore(dx): improve color contrast in dark mode for custom formatter ( #8704 )
2023-12-01 02:45:03 +08:00
Blake Newman
887e54c347
fix(types): expose emits as props in functional components ( #9234 )
2023-12-01 02:37:51 +08:00
ZHAO Jin-Xiang
fff7b864f4
feat: use enum to replace const enum ( #9261 )
...
close #1228
2023-11-29 12:24:50 +08:00
三咲智子 Kevin Deng
9f8ba9821f
feat(dx): link errors to docs in prod build ( #9165 )
2023-11-28 07:39:11 +08:00
Evan You
0721daf22d
chore: Merge branch 'main' into minor
2023-11-27 15:59:07 +08:00
Carlos Rodrigues
1c525f75a3
types: support app.component to be `defineComponent` ( #9662 )
2023-11-22 22:18:02 +08:00
Evan You
1ea775633d
chore: Merge branch 'main' into minor
2023-11-21 09:48:26 +08:00
renovate[bot]
16a6438236
chore(deps): update lint ( #9627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
花果山大圣
73fd810eeb
fix(reactivity): onCleanup also needs to be cleaned ( #8655 )
...
close #5151
close #7695
2023-11-10 16:47:08 +08:00
Anthony Fu
5156ac5b38
fix(ssr): hydration `__vnode` missing for devtools ( #9328 )
2023-11-10 15:27:16 +08:00
Evan You
e15dc05655
chore: remove typeof NULL_DYNAMIC_COMPONENT for type compat with test-utils
2023-11-10 15:26:19 +08:00
zqran
f15debc01a
fix(types): return type of withDefaults should be readonly ( #8601 )
2023-11-10 15:20:02 +08:00
skirtle
f01afda159
dx(runtime-core): warn if `this` is used in a `<script setup>` template ( #7866 )
2023-11-10 15:05:39 +08:00
skirtle
a5491e1cdd
dx(runtime-core): warn when the prop type is `[]` ( #7608 )
2023-11-10 14:32:10 +08:00
Ha Pam
341b5416b2
chore: typo and grammar ( #8568 ) [ci skip]
...
Co-authored-by: Han <phamvanhan@gmail.com>
2023-11-10 13:42:26 +08:00
Evan You
364f319d21
fix(hydration): force hydration for v-bind with .prop modifier
...
ref #7490
2023-11-10 13:13:07 +08:00
Evan You
34b5a5da4a
fix(hydration): properly hydrate indeterminate prop
...
close #7476
2023-11-10 12:19:27 +08:00
Rudy
0e1e8f919e
fix(types): fix instance type when props type is incompatible with setup returned type ( #7338 )
...
close #5885
2023-11-09 17:40:36 +08:00
Nebula
6e0b068e92
chore: add name option for Teleport ( #7315 )
2023-11-09 17:21:38 +08:00
被雨水过滤的空气-Rain
d11e978fc9
fix(hmr/transition): fix kept-alive component inside transition disappearing after hmr ( #7126 )
...
fix #7121
2023-11-09 17:15:56 +08:00
Carlos Rodrigues
94c049d930
fix(types): remove optional properties from defineProps return type ( #6421 )
...
close #6420
2023-11-09 14:52:28 +08:00
Evan You
dd8a0cf5dc
fix(hydration): fix tagName access eeror on comment/text node hydration mismatch
...
fix #9531
2023-11-06 18:45:42 +08:00
Eduardo San Martin Morote
405f34587a
fix(warn): avoid warning on empty children with Suspense ( #3962 )
2023-11-06 17:48:40 +08:00
Johnson Chu
16e06ca08f
feat(reactivity): more efficient reactivity system ( #5912 )
...
fix #311 , fix #1811 , fix #6018 , fix #7160 , fix #8714 , fix #9149 , fix #9419 , fix #9464
2023-10-27 23:28:40 +09:00
三咲智子 Kevin Deng
feb2f2edce
feat: export runtime error strings ( #9301 )
...
These strings are used for automatically generating error references in the documentation and should be considered internal. The code-to-string mapping is **not** part of the public API and can change between non-major versions.
They are also exposed only in dev or the esm-bundler builds.
2023-10-27 23:28:40 +09:00
丶远方
a645e7aa51
feat(runtime-core): add `once` option to watch ( #9034 )
2023-10-27 23:28:40 +09:00
Carlos Rodrigues
7374e93f02
fix(types): fix ComponentCustomProps augmentation ( #9468 )
...
close #8376
2023-10-24 18:42:47 +08:00
edison
5ea8a8a4fa
fix(transition/ssr): make transition appear work with SSR ( #8859 )
...
close #6951
2023-10-24 09:36:10 +08:00