Commit Graph

637 Commits

Author SHA1 Message Date
Evan You 3a9d6f781c
fix(vapor): properly handle return when compiling vapor component for ssr 2025-03-11 19:05:46 +08:00
edison fb484f4f3c
fix(vapor): handle vapor mode with empty script (#12910) 2025-02-28 16:59:02 +08:00
Evan You ddfd83639a
chore: update compiler-vapor package.json 2025-02-03 14:43:36 +08:00
Evan You aa84afc199
wip(vapor): per-file vapor support in sfc playground 2025-02-03 12:22:45 +08:00
Evan You c2a91a8daf
wip(vapor): treat `<script vapor>` as setup 2025-02-03 10:05:07 +08:00
Evan You 4d65b1584f
wip(vapor): match vapor internal flag generated by compiler-sfc with runtime 2025-02-03 10:04:36 +08:00
Evan You 674151c9b9
chore: Merge branch 'minor' into vapor 2025-01-29 15:37:54 +08:00
Tycho 29216853d4
chore(compiler-sfc): remove unused variable (#12750) 2025-01-21 09:28:04 +08:00
edison ef6986fbc3
refactor(compiler-vapor): move operation with constant values out of renderEffect (#12547) 2024-12-16 14:30:38 +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
Evan You 08c4967086
wip: avoid iife for vapor prod mode 2024-12-10 08:35:54 +08:00
Evan You 7e8edcd9cd
build: add runtime-with-vapor format + fix sfc playground for vapor mode 2024-12-08 15:18:16 +08:00
三咲智子 Kevin Deng f6ce3f9d43
Merge tag 'v3.5.13' 2024-11-16 02:48:30 +08:00
edison 4aeff318bd
chore(deps): update dependency postcss-selector-parser to v7 (#12289) 2024-11-15 10:37:55 +08:00
Evan You b1260e0dd6
Merge remote-tracking branch 'upstream/main' 2024-11-11 17:05:52 +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
linzhe d3ecde8a69
fix(compiler-sfc): do not skip TSInstantiationExpression when transforming props destructure (#12064) 2024-10-11 10:51:57 +08:00
三咲智子 Kevin Deng c7fd6ae2dc
Merge tag 'v3.5.11' 2024-10-05 11:40:13 +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
edison fa0ba24b3a
fix(vue): properly cache runtime compilation (#12019) 2024-09-26 17:05:37 +08:00
三咲智子 Kevin Deng b8713589de
Merge remote-tracking branch 'upstream/main' 2024-09-22 02:42:52 +08:00
山吹色御守 215e154072
fix(compiler-sfc): initialize scope with null prototype object (#11963) 2024-09-20 16:44:14 +08:00
三咲智子 Kevin Deng 594cb1412d
Merge remote-tracking branch 'upstream/main' 2024-09-17 10:33:35 +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
山吹色御守 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 ca12e776bc
fix(hydration): escape css var name to avoid mismatch (#11739)
close #11735
2024-09-03 08:25:00 +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 ac9e7e8bfa
test: adjust coverage config, use v8 coverage 2024-08-29 10:41:29 +08:00
Paul Werner 334d47ddf3
dx(compiler-sfc): improve error message for missing template and script tag in vue file (#11723) 2024-08-28 17:49:33 +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
edison 4e7d5db4d2
feat(deprecated): remove deprecated parseExpressions option (#11597) 2024-08-13 22:04:48 +08:00
三咲智子 Kevin Deng 4468a2bea8
Merge tag 'v3.5.0-beta.1' 2024-08-09 00:55:35 +08:00
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
三咲智子 Kevin Deng a8248cf152
Merge remote-tracking branch 'upstream/minor' 2024-07-19 18:52:32 +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
Tycho 746352a14d
fix(compiler-core): handle inline comments with undefined bindings (#11217)
close #11216
2024-06-28 09:48:23 +08:00
三咲智子 Kevin Deng cf8be999df
Merge remote-tracking branch 'upstream/minor' 2024-06-16 17:01:49 +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
Evan You a476692ed2
fix(compiler-sfc): fix parsing of mts, d.mts, and mtsx files 2024-06-14 16:47:24 +02:00
Evan You 4ec387b100
fix(compiler-sfc): fix missing scope for extends error message 2024-06-14 16:46:26 +02:00
Evan You 26356264d2
chore: Merge branch 'main' into minor 2024-06-14 12:32:28 +02:00
Zhaolin Liang 495263a9cb
fix(compiler-sfc): support type resolve for keyof for intersection & union types (#11132)
close #11129
2024-06-14 17:10:46 +08:00
Tycho 8cf357ec04
chore(perf): replace startsWith with === (#11124) 2024-06-14 16:09:39 +08:00