Commit Graph

322 Commits

Author SHA1 Message Date
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
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 594cb1412d
Merge remote-tracking branch 'upstream/main' 2024-09-17 10:33:35 +08:00
Evan You 40193696b3
chore(build): use /*@__PURE__*/ annotation consistently 2024-09-04 20:24:33 +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
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 26356264d2
chore: Merge branch 'main' into minor 2024-06-14 12:32:28 +02:00
Kevin Deng 三咲智子 34a97edd2c
fix(compiler-sfc): throw error when import macro as alias (#11041) 2024-05-31 17:08:54 +08:00
三咲智子 Kevin Deng 334e72eeee
Merge remote-tracking branch 'upstream/minor' 2024-05-30 21:41:53 +08:00
Evan You 1d8727ec97
chore: Merge branch 'main' into minor 2024-05-30 11:21:12 +08:00
edison b2b5f57c2c
fix(compile-sfc): register props destructure rest id as setup bindings (#10888)
close #10885
2024-05-09 07:43:17 +08:00
三咲智子 Kevin Deng fb58e65d3d
Merge remote-tracking branch 'upstream/minor' 2024-04-29 17:50:30 +09:00
Evan You d2dac0e359
feat(compiler-sfc): enable reactive props destructure by default
Also allow prohibiting usage via config.
RFC: https://github.com/vuejs/rfcs/discussions/502
2024-04-29 10:45:48 +08:00
三咲智子 Kevin Deng b4aa5f98d7
Merge remote-tracking branch 'upstream/main' 2024-03-14 14:17:25 +08:00
Doctor Wu e76d7430aa
fix(compiler-sfc): use options module name if options provide runtimeModuleName options (#10457)
close #10454
2024-03-06 10:45:42 +08:00
三咲智子 Kevin Deng afa7ee2fb1
feat(compiler-sfc): add vapor option to script 2024-02-10 14:25:33 +08:00
三咲智子 Kevin Deng b640bb70fc
feat(compiler-sfc): respect vapor attr 2024-02-10 14:04:54 +08:00
三咲智子 Kevin Deng 164fd90df4
refactor(compiler-vapor): codegen result 2024-01-27 22:00:34 +08:00
三咲智子 Kevin Deng 736db791a4
Merge remote-tracking branch 'upstream/main' 2024-01-19 16:29:21 +08:00
Evan You 75e866bd4e fix(compiler-sfc): fix type resolution for symlinked node_modules structure w/ pnpm
close #10121
2024-01-18 13:52:42 +08:00
三咲智子 Kevin Deng af9f892afa
Merge remote-tracking branch 'upstream/main' 2024-01-14 23:33:08 +08:00
Evan You c60479146a dx(defineModel): warn against reference of setup scope variables in defineModel options
close #10093
2024-01-12 22:07:16 +08:00
Rizumu Ayaka a82d070890
Merge remote-tracking branch 'upstream/minor' 2023-12-29 21:03:21 +08:00
三咲智子 Kevin Deng 116c3f37ae
Merge remote-tracking branch 'upstream/minor' 2023-12-26 23:47:18 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You 8f339ea144 chore: reuse descriptor ast in compileScript inlineTemplate mode by default 2023-12-19 18:06:04 +08:00
三咲智子 Kevin Deng 597eae423b
Merge remote-tracking branch 'upstream/minor' 2023-12-16 16:12:55 +08:00
三咲智子 Kevin Deng ef688ba92b
feat(compiler-sfc): promote defineModel stable (#9598) 2023-12-12 17:28:40 +08:00
Evan You 982a145d38 chore: Merge branch 'main' into minor 2023-12-11 22:03:28 +08:00
三咲智子 Kevin Deng cf77435338
refactor(compiler-core): reuse unwrapTS utility function (#9795) 2023-12-11 10:46:28 +08:00
白雾三语 d74d364d62
fix(custom-element): correctly handle number type props in prod (#8989)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-06 08:16:16 +01:00
三咲智子 Kevin Deng 377723d8b2
Merge remote-tracking branch 'upstream/minor' 2023-11-29 21:10:26 +08:00
三咲智子 Kevin Deng 55ef2f0c5f
fix(compiler-sfc): vue import 2023-11-29 20:58:10 +08:00
三咲智子 Kevin Deng 4549e28665
fix: playground 2023-11-29 02:38:01 +08:00
Evan You e8e3ec6ca7 perf(compiler-sfc): remove magic-string trim on script
magic-string's trim method uses a regex check for aborting which turns
out to be extremely expensive - it cna take up to 10% time in total SFC
compilation! The usage here is purely aesthetic so simply removing it
for a big perf gain is well worth it.
2023-11-25 16:18:29 +08:00
三咲智子 Kevin Deng 79b8a0905b
feat!: remove reactivity transform (#9321)
BREAKING CHANGE: Reactivity Transform was marked deprecated in 3.3 and is now removed in 3.4. This change does not require a major due to the feature being experimental. Users who wish to continue using the feature can do so via the external plugin at https://vue-macros.dev/features/reactivity-transform.html
2023-11-21 18:06:42 +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
edison c568778ea3
fix(compiler-sfc): avoid gen useCssVars when targeting SSR (#6979)
close #6926
2023-10-21 12:11:41 +08:00
三咲智子 Kevin Deng 24db9516d8
fix(compiler-sfc): don't hoist props and emit (#8535)
fix #7805
close #7812
2023-07-12 11:03:14 +08:00
Evan You ae7453f0f1 chore: use moduleResolution: bundler + shim estree-walker 2023-06-23 08:54:25 +08:00
Vadim 23c81691d9
chore: fix typo (#7416) 2023-06-10 17:10:20 +08:00
三咲智子 Kevin Deng 8ec73a3aea
fix(compiler-sfc): don't hoist regexp literial (#8300) 2023-05-18 11:09:40 +08:00
LiuSeen 8ccc570022
chore(compileScript): remove unused methods (#8211) 2023-05-08 14:43:39 +08:00
Evan You a370e8006a perf(compiler-sfc): infer ref binding type for more built-in methods 2023-04-25 09:29:30 +08:00