Commit Graph

704 Commits

Author SHA1 Message Date
Evan You fecd5c4044 release: v3.3.3 2023-05-18 13:10:52 +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
三咲智子 Kevin Deng 8ec73a3aea
fix(compiler-sfc): don't hoist regexp literial (#8300) 2023-05-18 11:09:40 +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 a374d7e6ed release: v3.3.2 2023-05-12 13:25:05 +01: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
Evan You 6e1966a92f release: v3.3.1 2023-05-11 09:00:14 +01:00
Evan You 483a4e7e3b release: v3.3.0 2023-05-11 08:44:38 +01:00
Evan You 847658b7a2 release: v3.3.0-beta.5 2023-05-08 16:40:41 +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
LiuSeen 8ccc570022
chore(compileScript): remove unused methods (#8211) 2023-05-08 14:43:39 +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 cc09cc7e28 release: v3.3.0-beta.4 2023-05-05 17:15:14 +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 4e2607a3d3 chore: move files into correct test block 2023-05-01 14:01:38 +08:00
Evan You 5d4c3c60a8 release: v3.3.0-beta.3 2023-05-01 12:28:29 +08:00
Evan You 45765488d4 feat(compiler-sfc): expose parseCache
So that users can adjust cache's max size.
close #8202
2023-05-01 11:33:07 +08:00
Evan You a778034a3e release: v3.3.0-beta.2 2023-04-25 16:41:04 +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 a370e8006a perf(compiler-sfc): infer ref binding type for more built-in methods 2023-04-25 09:29:30 +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
Evan You 1447596bf4 release: v3.3.0-beta.1 2023-04-21 16:26:10 +08:00
Evan You 7b2ff1e207 chore: remove deprecated ref sugar warning 2023-04-21 15:54:51 +08:00
edison 1d1d728949 feat(compiler-sfc): improve utility type Partial and Required (#8103) 2023-04-20 21:17:10 +08:00
Evan You 5cdaac2590 release: v3.3.0-alpha.13 2023-04-20 21:13:34 +08:00
Evan You 50c0bbe522 feat(compiler-sfc): support ExtractPropTypes when resolving types
close #8104
2023-04-20 21:02:50 +08:00
Evan You 5c6989557d chore: avoid hard error when inferring types 2023-04-20 16:57:36 +08:00
Evan You 4496456d7d feat(compiler-sfc): support dynamic imports when resolving types 2023-04-20 16:18:35 +08:00
Evan You 7c3ca3cc3e feat(compiler-sfc): support export * when resolving types 2023-04-20 15:56:24 +08:00
Evan You d53e157805 fix(compiler-sfc): handle type merging + fix namespace access when inferring type
close #8102
2023-04-20 14:13:08 +08:00
n028 f630555caa
chore: fix typo (#8113) [ci skip] 2023-04-20 10:08:00 +08:00
agoni1212 a58785945d
chore: typo (#8108) [ci skip] 2023-04-20 10:07:31 +08:00
Evan You 9b5a34bf8c fix(compiler-sfc): normalize filename when invalidating cache 2023-04-18 22:21:29 +08:00
Evan You 72be89423d release: v3.3.0-alpha.12 2023-04-18 22:18:56 +08:00
Evan You 0f77a2b1d1 fix(compiler): fix expression codegen for literal const bindings in non-inline mode 2023-04-18 11:39:53 +08:00
Evan You 57f0fbe76a release: v3.3.0-alpha.11 2023-04-17 21:17:17 +08:00
Evan You 271df09470 fix(compiler-sfc): normalize windows paths when resolving types 2023-04-17 21:11:22 +08:00