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
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
cyrilluce
bdeac377c7
fix(compile-sfc): Support project reference with folder, ( #10908 )
...
close #10907
2024-06-10 15:25:47 +08:00
Zhaolin Liang
2594b1df57
fix(compiler-sfc): support as keyword with template literal types ( #11100 )
...
close #10962
2024-06-10 15:19:39 +08:00
Tycho
293cf4e131
fix(compiler-sfc): improve type resolving for the keyof operator ( #10921 )
...
close #10920
close #11002
2024-06-07 16:27:43 +08:00
Evan You
cd0ea0d479
fix(compiler-core): change node hoisting to caching per instance ( #11067 )
...
close #5256
close #9219
close #10959
2024-06-04 20:09:54 +08:00
Evan You
1d8727ec97
chore: Merge branch 'main' into minor
2024-05-30 11:21:12 +08:00
Haoqun Jiang
07b3c4b786
fix(compat): correctly transform non-identifier expressions in legacy filter syntax ( #10896 )
...
close #10852
2024-05-27 17:04:48 +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
Tycho
10d34a5624
fix(compiler-sfc): handle keyof operator ( #10874 )
...
close #10871
2024-05-07 07:16:14 +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
Evan You
4253a57f17
fix(defineModel): align prod mode runtime type generation with defineProps
...
close #10769
2024-04-24 18:21:57 +08:00
Evan You
5cef52a5c2
fix(compiler-sfc): handle readonly operator and ReadonlyArray/Map/Set types
...
close #10726
2024-04-22 15:36:38 +08:00
yangxiuxiu
0cef65cee4
fix(compiler-sfc): fix defineModel coercion for boolean + string union types ( #9603 )
...
close #9587
close #10676
2024-04-15 21:18:59 +08:00
Doctor Wu
54a6afa75a
fix(compiler-sfc): fix universal selector scope ( #10551 )
...
close #10548
2024-04-15 19:36:13 +08:00
edison
e5919d4658
fix(compile-sfc): analyze v-bind shorthand usage in template ( #10518 )
...
close #10515
2024-04-15 16:32:04 +08:00
liudaodanOo
34106bc9c7
fix(compiler-sfc): also search for `.tsx` when type import's extension is omitted ( #10637 )
...
Co-authored-by: liuxiaofei <liuxfb@digiwin.com>
Closes #10635
2024-04-09 16:14:11 +08:00
Doctor Wu
660cadc7aa
fix(compiler-sfc): :is() and :where() in compound selectors ( #10522 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Closes #10511
2024-03-25 14:12:33 +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
1f6a1102aa
test: clean snapshot
2024-02-28 15:19:24 +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
Evan You
b20350ded5
fix(compiler-sfc): fix co-usage of defineModel transform options and props destructure
...
close #9972
2024-01-04 17:07:29 +08:00
Evan You
ae60a91cc2
fix(compiler-sfc): fix sfc template unref rewrite for class instantiation
...
close #6483
close #6491
2024-01-04 15:58:13 +08:00
edison
7dbdb3edf0
fix(compiler-ssr): fix node clone edge case caused by AST reuse ( #9983 )
...
close #9981
2024-01-04 10:52:09 +08:00
Evan You
274f6f71fc
test: test case for sfc parse options cache invalidation
2023-12-30 21:09:15 +08:00
Evan You
c3fd577177
chore: fix snapshot
2023-12-30 18:57:22 +08:00
Evan You
dce99c12df
fix(compiler-sfc): fix dev regression for dot / namespace component usage
...
close #9947
2023-12-30 18:20:14 +08:00
Evan You
63c3e621ce
test: split import usage check tests into dedicated file
2023-12-30 18:13:35 +08:00
Evan You
6fab8551e4
feat(compiler-sfc): support passing template parsing options when parsing sfc
...
- This is released in a patch because it is an relatively internal API
but required to properly fix https://github.com/vitejs/vite-plugin-vue/issues/322
- `parseExpressions` is now deprecated because it can be passed using
original template parsing options (`prefixIdentifiers`)
2023-12-30 08:44:39 +08:00