Evan You
b59eabdc0d
refactor: use more efficient walk for importUsageCheck
2023-11-25 16:18:29 +08:00
Evan You
5fc695be26
wip: support reusing template ast from sfc descriptor
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
Evan You
1ea775633d
chore: Merge branch 'main' into minor
2023-11-21 09:48:26 +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
Bogdan Kolesnyk
f18a174979
fix(compiler-sfc): malformed filename on windows using path.posix.join() ( #9478 )
...
Closes : #8671 , #9583
Not fixed with: #9446
Related: #9473
2023-11-13 15:48:25 +08:00
auvred
3e08d246df
fix(compiler-sfc): consistently escape type-only prop names ( #8654 )
...
close #8635
close #8910
close vitejs/vite-plugin-vue#184
2023-11-10 16:23:47 +08:00
edison
9e1b74bcd5
fix(compiler-sfc): support resolve extends interface for defineEmits ( #8470 )
...
close #8465
2023-11-10 16:00:04 +08:00
Tycho
d5fd343555
refactor(compiler-sfc): reuse `forAliasRE` regex from compiler-core ( #9568 )
2023-11-10 14:22:00 +08:00
丶远方
9d0eba916f
fix(compiler-core): fix `resolveParserPlugins` decorators check ( #9566 )
...
close #9560
2023-11-09 14:32:08 +08:00
edison
b39fa1f815
fix(compiler-sfc): fix dynamic directive arguments usage check for slots ( #9495 )
...
close #9493
2023-11-06 17:46:48 +08:00
木杉
a9893458ec
fix(compile-sfc): support `Error` type in `defineProps` ( #5955 )
2023-10-30 15:45:58 +08:00
三咲智子 Kevin Deng
9e77580c0c
feat(compiler-sfc): expose resolve type-based props and emits ( #8874 )
2023-10-27 23:28:40 +09:00
edison
c568778ea3
fix(compiler-sfc): avoid gen useCssVars when targeting SSR ( #6979 )
...
close #6926
2023-10-21 12:11:41 +08:00
Haoqun Jiang
089d36d167
fix: correctly resolve types from relative paths on Windows ( #9446 )
...
close #8671
close https://github.com/vuejs/vue-loader/issues/2048
2023-10-21 10:35:16 +08:00
三咲智子 Kevin Deng
df81da8be9
fix(compiler-sfc): model name conflict ( #8798 )
2023-10-20 17:36:36 +08:00
renovate[bot]
021a47ac02
chore(deps): update compiler ( #9157 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-20 11:16:58 -05:00
三咲智子 Kevin Deng
623ba514ec
chore: format code
2023-08-11 17:30:04 +08:00
三咲智子 Kevin Deng
70c3ac746d
dx(compiler-sfc): warn when disabled defineModel ( #8534 )
2023-07-12 11:05:43 +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
Artyom Tuchkov
e404a699f4
fix(compiler-sfc): handle dynamic directive arguments in template usage check ( #8538 )
...
close #8537
2023-07-11 18:38:27 +08:00
vaakian X
776ebf25b2
fix(compiler-sfc): fix using imported ref as template ref during dev ( #7593 )
...
close #7567
2023-07-11 17:26:31 +08:00
Evan You
ae7453f0f1
chore: use moduleResolution: bundler + shim estree-walker
2023-06-23 08:54:25 +08:00
Evan You
d2c3d8b70b
perf(compiler-sfc): lazy require typescript
2023-06-15 16:38:44 +08:00
Cédric Exbrayat
fd1a3f9599
fix(compiler-sfc): typo in experimental feature warnings ( #8513 )
2023-06-10 17:17:21 +08:00
丶远方
702711e771
chore(compiler-sfc): break in switch statement ( #8347 )
2023-05-19 07:46:39 +08:00
edison
4fa8da8576
fix(compiler-sfc): support resolve multiple re-export /w same source type name ( #8365 )
...
close #8364
2023-05-19 07:45:28 +08:00
Evan You
5aec717a24
fix(compiler-sfc): handle imported types from default exports
...
close #8355
2023-05-18 16:15:27 +08:00
白雾三语
ecbd42a144
fix(compiler-sfc): parses correctly when inline mode is off ( #8337 )
...
close #6088
2023-05-18 13:07:08 +08:00
三咲智子 Kevin Deng
b133e0fd97
fix(compiler-sfc): support defineEmits type reference with unions ( #8299 )
...
close #7943
2023-05-18 12:59:12 +08:00
Evan You
fab9c72780
fix(compiler-sfc): fix type import from path aliased vue file
...
close #8348
2023-05-18 12:50:47 +08:00
Evan You
b36addd3bd
fix(compiler-sfc): handle ts files with relative imports with .js extension
...
close #8339
2023-05-17 10:14:44 +08:00
Kalven Schraut
f69dbabf87
fix(compiler-sfc): fix props destructing default value type checking with unresolved type ( #8340 )
...
close #8326
2023-05-17 09:59:49 +08:00
Evan You
82350721a4
fix(compiler-sfc): raise specific warning for failed extends and allow ignoring extends
...
ref #8286
2023-05-12 13:17:55 +01: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
Evan You
574c83b522
refactor(compiler-sfc): move prop key escape logic to utils
2023-05-12 11:26:33 +01:00
白雾三语
690ef29635
fix(compiler-sfc): handle prop keys that need escaping ( #7803 )
...
close #8291
2023-05-12 18:24:59 +08:00
Evan You
aa1e77d532
fix(compiler-sfc): properly parse d.ts files when resolving types
...
close #8285
2023-05-12 11:08:29 +01:00
Cédric Exbrayat
ab9256a4bb
chore: fix typos in defineOptions ( #8277 )
2023-05-11 19:34:27 +08: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
6b194bcf3b
fix(compiler-sfc): fix built-in type resolving in external files
...
close #8244
2023-05-08 12:30:19 +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
bff63c5498
feat(types): provide ExtractPublicPropTypes utility type
...
ref #5272
close #8168
2023-05-02 11:06:32 +08:00
Evan You
1c0be5c744
feat(compiler-sfc): support project references when resolving types
...
close #8140
2023-04-25 16:30:11 +08:00
Evan You
433a58ccb6
fix(compiler-sfc): props bindings should not override user declared bindings
...
fix #8148
2023-04-25 09:21:14 +08:00
Evan You
01f43c1741
ci: setup windows ci for compiler and SSR tests ( #8143 )
2023-04-24 11:31:13 +08:00
edison
29da504687
fix(compiler-sfc): normalize windows paths when resolving types ( #8136 )
2023-04-24 11:03:57 +08:00
Evan You
2d9f6f9264
fix(compiler-sfc): avoid all hard errors when inferring runtime type
2023-04-21 16:48:21 +08:00
edison
1d1d728949
feat(compiler-sfc): improve utility type Partial and Required ( #8103 )
2023-04-20 21:17:10 +08:00