linzhe
d3ecde8a69
fix(compiler-sfc): do not skip TSInstantiationExpression when transforming props destructure ( #12064 )
2024-10-11 10:51:57 +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
山吹色御守
215e154072
fix(compiler-sfc): initialize scope with null prototype object ( #11963 )
2024-09-20 16:44:14 +08:00
Kevin Deng 三咲智子
928af5fe2f
refactor(types): enable `isolatedDeclarations` ( #11178 )
2024-08-08 23:05:21 +08:00
Evan You
f15ba2c2e2
chore: Merge branch 'main' into minor
2024-07-17 17:32:31 +08:00
Tycho
746352a14d
fix(compiler-core): handle inline comments with undefined bindings ( #11217 )
...
close #11216
2024-06-28 09:48:23 +08: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
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
三咲智子 Kevin Deng
cf77435338
refactor(compiler-core): reuse unwrapTS utility function ( #9795 )
2023-12-11 10:46:28 +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
三咲智子 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
Cédric Exbrayat
fd1a3f9599
fix(compiler-sfc): typo in experimental feature warnings ( #8513 )
2023-06-10 17:17:21 +08:00
Evan You
f25bd37c67
fix(compiler-sfc): fix regression on props destructure when transform is not enabled
...
close #8289
2023-05-12 12:53:36 +01:00
Haoqun Jiang
287bd99994
fix(compiler-sfc): transform destructured props when reactivity transform option is enabled ( #8252 )
...
fixup 862edfd91a
2023-05-08 15:27:28 +08:00
Evan You
862edfd91a
fix(compiler-sfc): enable props destructure when reactivity transform option is enabled
...
...to retain backwards compatible behavior before removal
2023-05-06 16:55:38 +08:00
Evan You
d40d4a3380
chore: experimental warnings for reactive props destructure and defineModel
2023-05-02 16:23:02 +08:00
Evan You
6b13e04b4c
feat(compiler-sfc): mark props destructure as experimental and require explicit opt-in
2023-04-15 22:09:08 +08:00
Evan You
c52157c87d
refactor(compiler-sfc): split more logic
2023-04-11 16:05:00 +08:00
Evan You
0232c00e11
refactor(compiler-sfc): simplify props destructure arguments
2023-04-11 16:05:00 +08:00
Evan You
5a529bbf23
refactor(compiler-sfc): extract defineEmits logic
2023-04-11 16:05:00 +08:00
Evan You
d0ac57872c
refactor(compiler-sfc): extract more defineProps logic
2023-04-11 16:05:00 +08:00
Evan You
acd7eb22cf
refactor(compiler-sfc): (wip) split compileScript logic, use context, move defineProps
2023-04-11 16:05:00 +08:00