Commit Graph

466 Commits

Author SHA1 Message Date
daiwei 716b6de355 chore: Merge branch 'main' into minor 2025-08-21 14:03:13 +08:00
edison d9dd628800
fix(compiler-sfc): improve type inference for generic type aliases types (#12876)
close #12872
2025-08-21 09:48:40 +08:00
Adrian Cerbaro 0562548ab3
fix(compiler-sfc): throw mismatched script langs error before invoking babel (#13194)
Close #13193
2025-08-20 21:05:52 +08:00
edison 7f60ef83e7
fix(compiler-core): prevent cached array children from retaining detached dom nodes (#13691)
fix element-plus/element-plus#21408
Re-fix #13211
2025-08-20 20:51:04 +08:00
Rizumu Ayaka 57354e195a
refactor(compiler-sfc): destructure built-in properties ($emit,$attrs,$slots) in inline mode (#13663)
Co-authored-by: daiwei <daiwei521@126.com>
2025-08-20 17:50:53 +08:00
edison d8e40ef7e1
fix(compiler-sfc): transform empty srcset w/ includeAbsolute: true (#13639)
close vitejs/vite-plugin-vue#631
2025-07-23 08:41:17 +08:00
daiwei 926748423d chore: Merge branch 'minor' into vapor 2025-07-04 14:20:10 +08:00
GU Yiling c85f1b5a13
fix(css-vars): nullish v-bind in style should not lead to unexpected inheritance (#12461)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
close #12434
close #12439
close #7474
close #7475
2025-07-03 16:20:28 +08:00
Tycho f3479aac96
fix(compiler-sfc): improved type resolution for function type aliases (#13452)
close #13444
2025-06-18 20:54:09 +08:00
daiwei a0c42ffbbc chore: Merge branch 'minor' into vapor 2025-06-18 09:30:17 +08:00
edison 99a8c6d34b
fix(runtime-vapor): reset insertion state to avoid duplicate block inserts during non-hydration (#13220) 2025-06-18 09:01:59 +08:00
Arman Tang 4aa7a4aba3
chore(shared): update patch flag name (#12831) 2025-06-05 10:01:51 +08:00
edison 4eb46e443f
fix(compile-sfc): handle mapped types work with omit and pick (#12648)
close #12647
2025-06-05 10:01:22 +08:00
btea 62f2aa11a2
test(compiler-sfc): direct descendant wildcard rule selector (#13411)
add test case for #13387
2025-05-30 10:35:27 +08:00
edison 19f23b180b
Revert "fix(compiler-sfc): add scoping tag to trailing universal selector (#1…" (#13406)
This reverts commit 949df80880.
2025-05-29 08:21:19 +08:00
edison 42f879fcab
Revert "fix(compiler-sfc): add error handling for defineModel() without varia…" (#13390)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
This reverts commit 00734afef5.
2025-05-27 18:49:34 +08:00
thecodewarrior 949df80880
fix(compiler-sfc): add scoping tag to trailing universal selector (#12918)
close #12906
2025-05-22 08:41:27 +08:00
Runyasak Chaengnaimuang 00734afef5
fix(compiler-sfc): add error handling for defineModel() without variable assignment (#13352)
close #13280
2025-05-21 09:06:05 +08:00
edison 89edc6cdcb
fix(compile-sfc): handle inline template source map in prod build (#12701)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
close #12682
close vitejs/vite-plugin-vue#500
2025-05-20 08:46:01 +08:00
Teages f7ce5ae666
fix(compiler-sfc): simulate `allowArbitraryExtensions` on resolving type (#13301)
close #13295
2025-05-16 08:38:47 +08:00
linzhe cf5a5e0edf
fix(compiler-sfc): improve type inference for TSTypeAliasDeclaration with better runtime type detection (#13245)
close #13240
2025-05-16 08:32:13 +08:00
edison d37a2ac59d
fix(compiler-core): ensure mapping is added only if node source is available (#13285)
close #13261
close vitejs/vite-plugin-vue#368
2025-05-16 08:22:37 +08:00
daiwei 77067abd33 chore: merge main into minor
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
2025-05-15 16:27:31 +08:00
edison 8e3435779a
fix(compiler-sfc): fix scope handling for props destructure in function parameters and catch clauses
close #12790
2025-05-13 22:17:24 +08:00
renovate[bot] c3e3396475
chore(deps): update dependency vite to v5.4.18 [security] (#13229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: edison <daiwei521@126.com>
2025-04-23 08:31:15 +08:00
edison fb484f4f3c
fix(vapor): handle vapor mode with empty script (#12910) 2025-02-28 16:59:02 +08:00
edison cbf5821028
chore(deps): fix MappingItem type (#12891) 2025-02-17 15:07:10 +08:00
Evan You ddfd83639a
chore: update compiler-vapor package.json 2025-02-03 14:43:36 +08:00
edison e79a6df093
fix(vapor/defineProps): register type bindings before compile template + props destructure work with vapor (#12545) 2024-12-16 14:18:27 +08:00
edison 828d4a4439
fix(test): update snapshot (#12169) 2024-10-14 11:24:13 +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
linzhe d3ecde8a69
fix(compiler-sfc): do not skip TSInstantiationExpression when transforming props destructure (#12064) 2024-10-11 10:51:57 +08:00
edison 62242886d7
fix(compile-core): fix v-model with newlines edge case (#11960)
close #8306
2024-09-20 16:45:47 +08:00
Evan You 8492c3c49a
fix(compiler-sfc): preserve old behavior when using withDefaults with desutructure
close #11930
2024-09-16 11:25:04 +08:00
linzhe 0e7bc717e6
fix(compiler-sfc): nested css supports atrule and comment (#11899)
close #11896
2024-09-13 16:53:49 +08:00
Evan You b1db66a1a9
chore(deps): upgrade to TypeScript 5.6 2024-09-10 16:46:19 +08:00
山吹色御守 b1de75ed04
fix(compiler-sfc): correct scoped injection for nesting selector (#11854)
close #10567
2024-09-10 15:38:33 +08:00
Evan You 40193696b3
chore(build): use /*@__PURE__*/ annotation consistently 2024-09-04 20:24:33 +08:00
edison 7b5b6e0275
fix(cssVars): correctly escape double quotes in SSR (#11784)
close #11779
2024-09-03 17:39:07 +08:00
Evan You 0f7c0e5dc0
fix(compiler-sfc): fix import usage check for kebab-case same name shorthand binding
fix #11745
close #11754
2024-09-02 17:29:59 +08:00
cyrilluce 9c4c2e51b0
fix(compiler-sfc): skip circular tsconfig project reference (#11680)
Co-authored-by: cluezhang <cluezhang@futurefab.ai>

close #11382
2024-08-29 11:42:35 +08:00
Evan You 3d6f01571b
fix(compiler-sfc): fix prefixIdentifier default value 2024-08-15 14:29:28 +08:00
disservin fe008152c0
fix(compiler-sfc): handle keyof operator with index object (#11581) 2024-08-15 10:24:04 +08:00
Evan You 741d8a0710
chore: Merge branch 'main' into minor 2024-08-08 23:06:53 +08:00
disservin c6841bdf4e
test(compiler-sfc): add assertion for template functional (#11557) 2024-08-08 21:08:58 +08:00
Evan You f15ba2c2e2
chore: Merge branch 'main' into minor 2024-07-17 17:32:31 +08:00
Zhaolin Liang b287aeec3e
fix(compiler-sfc): correctly resolve type annotation for declared function (#11279)
close #11266
2024-07-17 15:06:14 +08:00
Evan You 0fd6193def
fix(compiler-sfc): should properly walk desutructured props when reactive destructure is not enabled
close #11325
2024-07-17 11:41:58 +08:00
Evan You 524e660e35
chore: Merge branch 'main' into minor 2024-06-14 18:15:20 +02:00
Evan You a23e99bedf
fix(compiler-sfc): support @vue-ignore comment on more type sources 2024-06-14 17:46:50 +02:00