Commit Graph

5619 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng af75b64b40
feat: scope id for child component 2024-11-14 20:52:23 +08:00
三咲智子 Kevin Deng 247617612a
feat(vapor): merge inherited attrs with current attrs 2024-11-14 20:21:20 +08:00
Kevin Deng 三咲智子 c91586528a
feat(runtime-vapor): fallback component (#232)
* feat(runtime-vapor): fallback component

* fix
2024-11-13 16:53:44 +08:00
三咲智子 Kevin Deng f85ac40f6c
chore(compiler-vapor): fix type error 2024-11-13 16:36:23 +08:00
三咲智子 Kevin Deng 39f85ecc21
fix(runtime-vapor): don't overridden attrs in static template
closes #253
2024-11-13 16:16:21 +08:00
三咲智子 Kevin Deng 5f92ff8ca2
feat(vapor): dynamic component 2024-11-13 14:56:39 +08:00
三咲智子 Kevin Deng fab9917ae4
fix(runtime-vapor): component self-reference 2024-11-13 11:00:07 +08:00
三咲智子 Kevin Deng 114d501524
feat(compiler-vapor): support implicit prop in template 2024-11-13 10:12:12 +08:00
三咲智子 Kevin Deng 51d9bbe7f0
fix(compiler-vapor): nested component 2024-11-13 09:28:15 +08:00
三咲智子 Kevin Deng 8ea6e4fb22
fix(vue-vapor): remove compiler version 2024-11-13 09:08:03 +08:00
Kevin Deng 三咲智子 c574faa8f3
refactor(runtime-vapor): simplify directive mechanism (#278)
* feat: custom directive v2

* wip

* fix: directive

* fix

* refactor

* refactor: remove ref for el
2024-11-13 08:41:02 +08:00
三咲智子 Kevin Deng eed7d1d4fd
refactor(compiler-vapor): drop browser build 2024-11-13 08:38:38 +08:00
Evan You b1260e0dd6
Merge remote-tracking branch 'upstream/main' 2024-11-11 17:05:52 +08:00
renovate[bot] b5ff930089
fix(deps): update dependency postcss to ^8.4.48 (#12356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:20:54 +08:00
renovate[bot] 7d0dc7394f
chore(deps): update all non-major dependencies (#12316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 09:25:09 +08:00
renovate[bot] ad247b3323
chore(deps): update all non-major dependencies (#12275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 09:17:49 +08:00
renovate[bot] ed01d92571
chore(deps): update all non-major dependencies (#12222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 09:53:31 +08:00
Tycho 657603d7b7
docs: update package name to `@vue/compiler-core` (#12192)[ci skip] 2024-10-17 12:00:03 +08:00
edison 828d4a4439
fix(test): update snapshot (#12169) 2024-10-14 11:24:13 +08:00
btea a038505c65
chore: improve `renderComponentRoot` warn message (#10914) 2024-10-14 10:14:32 +08:00
远方os 4e19a99461
test(shared): improve test coverage (#8456)
Co-authored-by: edison <daiwei521@126.com>
2024-10-14 10:10:27 +08:00
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
三咲智子 Kevin Deng 2ed0be8020
fix(compiler-vapor): quote slot name 2024-10-07 13:14:18 +08:00
三咲智子 Kevin Deng c849864337
fix(runtime-shared): dedupe deps 2024-10-06 11:22:54 +08:00
三咲智子 Kevin Deng 3fa4069a1c
perf(runtime): clear container on unmount 2024-10-06 01:42:32 +08:00
三咲智子 Kevin Deng c1c316d392
feat(runtime-vapor): fast path for clear all children 2024-10-05 21:27:57 +08:00