Commit Graph

5125 Commits

Author SHA1 Message Date
zr 3b5d8d2511
test(defineProps): add intersection type test (#8684)
Co-authored-by: daiwei <daiwei521@126.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-14 10:09:13 +08:00
renovate[bot] be9eed2593
chore(deps): update all non-major dependencies (#12164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 10:06:33 +08:00
skirtle 1755ac0a10
perf(runtime-core): use feature flag for call to resolveMergedOptions (#12163)
Reduce bundle size when using `__VUE_OPTIONS_API__: false`
2024-10-14 08:18:18 +08:00
Evan You 770ea67a9c
release: v3.5.12 2024-10-11 21:12:32 +08:00
skirtle c82b66214b
refactor(reactivity): reduce size of collectionHandlers (#12152) 2024-10-11 21:10:09 +08:00
Tycho ea943afe40
fix(runtime-dom): prevent unnecessary updates in v-model checkbox when value is unchanged (#12146)
close #12144
2024-10-11 21:00:08 +08:00
Evan You d82fa611e8
chore: format 2024-10-11 11:25:48 +08:00
KevinXi d96883cf7d
test(reactivity): test for verifying no unnecessary calls of reactive array identity methods (#11328)
related: #9511
2024-10-11 11:24:03 +08:00
Michael Brevard 1ae545a378
fix(hydration): provide compat fallback for idle callback hydration strategy (#11935) 2024-10-11 11:22:01 +08:00
edison 05685a9d7c
fix(types): retain union type narrowing with defaults applied (#12108)
close #12106
2024-10-11 11:17:48 +08:00
山吹色御守 cde2c0671b
fix(compiler): clone loc to `ifNode` (#12131)
fix vuejs/language-tools#4911
2024-10-11 11:07:07 +08:00
山吹色御守 4474c113d1
fix(compiler-sfc): use sass modern api if available and avoid deprecation warning (#11992) 2024-10-11 11:05:54 +08:00
YangLGggggggggg 9da1ac1565
fix(runtime-core): fix required prop check false positive for kebab-case edge cases (#12034)
close #12011
2024-10-11 11:02:58 +08:00
edison 10a46f43c0
chore(runtime-core): warn if use a non-ref to hold the element reference in DEV (#12051)
close #12029
2024-10-11 10:53:45 +08:00
linzhe d3ecde8a69
fix(compiler-sfc): do not skip TSInstantiationExpression when transforming props destructure (#12064) 2024-10-11 10:51:57 +08:00
linzhe 76a8223199
fix(teleport): handle disabled teleport with updateCssVars (#12113)
close #12112
2024-10-11 10:50:36 +08:00
yangxiuxiu b4d35349d8
fix(useId): ensure useId consistency when using serverPrefetch (#12128)
close #12102
2024-10-11 10:49:14 +08:00
skirtle ec917cfdb9
perf(reactivity): avoid unnecessary recursion in removeSub (#12135) 2024-10-11 10:48:54 +08:00
edison f6d9926236
fix(compiler-dom): avoid stringify option with null value (#12096)
close #12093
2024-10-11 10:41:55 +08:00
Tycho 7ad289e1e7
fix(reactivity): trigger reactivity for Map key `undefined` (#12055)
close #12054
2024-10-11 10:39:08 +08:00
山吹色御守 c0418a3b8f
fix(defineModel): handle kebab-case model correctly (#12063)
close #12060
2024-10-11 10:35:57 +08:00
edison f1a4f67aed
fix(transition/ssr): make transition appear work with Suspense in SSR (#12047)
close #12046
2024-10-11 10:34:28 +08:00
Tycho 704173e242
fix(types): ensure `this.$props` type does not include `string` (#12123)
close #12122
2024-10-11 10:30:09 +08:00
Tycho d9d4d4e158
fix(runtime-core): allow symbol values for slot prop key (#12069)
close #12068
2024-10-11 10:28:54 +08:00
edison e16e9a7341
fix(custom-element): properly remove hyphenated attribute (#12143)
close #12139
2024-10-11 09:52:06 +08:00
skirtle b094c72b3d
fix(watch): watchEffect clean-up with SSR (#12097)
close #11956
2024-10-04 16:09:23 +08:00
Evan You 6e4de8d75e
release: v3.5.11 2024-10-03 23:49:47 +08:00
山吹色御守 6f85894376
fix(type): should not intersect `PublicProps` with `Props` (#12077) 2024-10-03 23:24:09 +08:00
山吹色御守 c97bb84d0b
fix(types): infer the first generic type of `Ref` correctly (#12094) 2024-10-03 23:22:57 +08:00
山吹色御守 57315ab968
fix(types): correctly infer `TypeProps` when it is `any` (#12073)
close #12058
2024-10-03 23:22:27 +08:00
skirtle 577edca8e7
fix(scheduler): job ordering when the post queue is flushing (#12090) 2024-10-03 23:21:31 +08:00
renovate[bot] 435e4fefad
chore(deps): update all non-major dependencies (#12080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-03 23:17:22 +08:00
Tycho d3f5e6e531
fix(reactivity): prevent overwriting `next` property during batch processing (#12075)
close #12072
2024-10-03 23:16:52 +08:00
Evan You 29de6f8b0b
chore: remove no longer used property on Dep 2024-09-28 19:25:16 +08:00
山吹色御守 2328b051f4
fix(compiler-sfc): do not skip `TSSatisfiesExpression` when transforming props destructure (#12062)
close #12061
2024-09-28 09:56:09 +08:00
Evan You 4b09ab2074
release: v3.5.10 2024-09-27 23:16:33 +08:00
Evan You 93c95dd4cd
fix(reactivity): fix nested batch edge case 2024-09-27 23:10:20 +08:00
Evan You aa9ef2386a
fix(reactivity): only clear notified flags for computed in first batch iteration
close #12045
2024-09-27 11:25:58 +08:00
Evan You 60c2029f77
test: add test case for #11928 2024-09-27 11:06:34 +08:00
Tycho e2c19c20cf
fix(types/ref): handle nested refs in UnwrapRef (#12049)
close #12044
2024-09-27 10:23:01 +08:00
Evan You ea3efa09e0
fix(custom-element): properly set kebab-case props on Vue custom elements
close #12030
close #12032
2024-09-27 09:25:00 +08:00
Evan You 01f15beeb0
release: v3.5.9 2024-09-26 19:28:03 +08:00
Evan You 10ff159240
fix(reactivity): fix recursive sync watcher on computed edge case
close #12033
close #12037
2024-09-26 18:38:13 +08:00
edison cb34b28a4a
fix(runtime-core): avoid rendering plain object as VNode (#12038)
close #12035
close vitejs/vite-plugin-vue#353
2024-09-26 17:08:48 +08:00
edison fa0ba24b3a
fix(vue): properly cache runtime compilation (#12019) 2024-09-26 17:05:37 +08:00
山吹色御守 4da688141d
fix(types): correct type inference of union event names (#12022) 2024-09-26 17:00:05 +08:00
Evan You 6001e5c81a
fix(reactivity): fix property dep removal regression
close #12020
close #12021
2024-09-26 16:58:38 +08:00
yangxiuxiu c0e9434414
refactor(reactivity): avoid optional chaining in getDepFromReactive (#12007) 2024-09-24 18:02:01 +08:00
btea 7a00f6f093
chore: remove unused argument (#12006) 2024-09-24 18:01:20 +08:00
Boshen 5d9e81d3da
chore(types): disambiguate the `Comment` type in hydration.ts (#12009) 2024-09-24 18:00:39 +08:00