丶远方
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
三咲智子 Kevin Deng
b1fe48d851
ci: add continuous reactivity benchmark ( #9638 )
2023-12-08 21:26:48 +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
Evan You
19b590fa3a
release: v3.3.11
2023-12-08 14:13:52 +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
a817883c26
chore: Merge branch 'main' into minor
2023-12-05 10:54:20 +08:00
Evan You
e2f2b75b62
chore(deps): bump vitest to 1.0
2023-12-05 10:48:04 +08:00
Evan You
c0d396b785
release: v3.4.0-alpha.4
2023-12-04 23:24:43 +08:00
Evan You
e12b10ac3e
chore: Merge branch 'main' into minor
2023-12-04 23:17:41 +08:00
Evan You
d5a88ef9d7
release: v3.3.10
2023-12-04 21:42:18 +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
Evan You
7d89887f71
release: v3.4.0-alpha.3
2023-11-28 08:26:01 +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
ebaeb2e0aa
release: v3.4.0-alpha.2
2023-11-27 17:26:22 +08:00
Evan You
0721daf22d
chore: Merge branch 'main' into minor
2023-11-27 15:59:07 +08:00
Evan You
069f838691
release: v3.3.9
2023-11-25 16:11:31 +08:00
Carlos Rodrigues
1c525f75a3
types: support app.component to be `defineComponent` ( #9662 )
2023-11-22 22:18:02 +08:00
Evan You
afb21f7813
test: fix keepalive transition out-in test case
2023-11-21 17:57:44 +08:00
Evan You
1ea775633d
chore: Merge branch 'main' into minor
2023-11-21 09:48:26 +08:00
Evan You
8fddb19c3a
workflow: use workspace deps
2023-11-21 09:22:12 +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
Yuchao
3445356085
test(apiWatch): better indicate array pre & new values are the same object ( #7251 )
2023-11-10 14:37:46 +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
bc5846939c
release: v3.3.8
2023-11-06 18:54:26 +08:00
Evan You
2f8c769b6b
chore: delete unrelated test case
2023-11-06 18:46:40 +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
Evan You
3c828f3cfb
release: v3.4.0-alpha.1
2023-10-28 11:33:46 +09: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
丶远方
f32ec17131
chore: remove unnecessary imports from vitest ( #8562 )
2023-10-26 16:34:14 +08:00
Evan You
1789c1caac
release: v3.3.7
2023-10-25 07:35:08 +08: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
Carlos Rodrigues
16ecb44c89
fix(types): improve `h` overload to support union of string and component ( #5432 )
...
fix #5431
2023-10-23 23:40:06 +08:00
Carlos Rodrigues
00de3e61ed
fix(Suspense): calling hooks before the transition finishes ( #9388 )
...
close #5844
close #5952
2023-10-21 21:24:30 +08:00
Evan You
733437691f
fix(hmr): fix hmr error for hoisted children array in v-for
...
fix #6978
close #7114
2023-10-21 21:08:49 +08:00
Carlos Rodrigues
d8990fc618
fix(ssr): fix hydration mismatch for disabled teleport at component root ( #9399 )
...
close #6152
2023-10-21 11:37:52 +08:00
skirtle
a8f663867b
fix(scheduler): ensure jobs are in the correct order ( #7748 )
...
close #7576
2023-10-21 10:38:54 +08:00
Evan You
a09ed44446
release: v3.3.6
2023-10-20 21:04:11 +08:00
丶远方
712f96d6ac
perf: replace Map/Set with WeakMap/WeakSet ( #8549 )
2023-10-20 17:11:52 +08:00
pupu
4162311efd
fix(teleport): ensure descendent component would be unmounted correctly ( #6529 )
...
fix #6347
2023-10-20 16:42:04 +08:00
白雾三语
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