Commit Graph

3959 Commits

Author SHA1 Message Date
丶远方 5ddeb45e82
chore: remove unused imports (#8327) 2023-05-19 07:47:23 +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 0e8bbe873e release: v3.3.4 2023-05-18 16:31:03 +08:00
Evan You 5aec717a24 fix(compiler-sfc): handle imported types from default exports
close #8355
2023-05-18 16:15:27 +08:00
Evan You d621d4c646 fix(build): ensure correct typing for node esm 2023-05-18 13:53:51 +08:00
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
Carlos Rodrigues 216f26995b
fix(types): support generic usage with withDefaults + defineProps (#8335)
fix #8310
fix #8331
fix #8325
2023-05-17 09:25:48 +08:00
Evan You 91f1c62e63 fix: avoid regex s flag for old browsers
close #8316
2023-05-17 09:23:09 +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 80a708f17a chore: bump plugin-vue 2023-05-12 12:37:25 +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
Evan You 8dc8cf852b fix(compiler-core): treat floating point numbers as constants
close #8295
2023-05-12 10:53:40 +01:00
Evan You c454b9d7f4 fix(compiler-dom): do not throw in production on side effect tags
close #8287
close #8292
2023-05-12 10:25:37 +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
白雾三语 a3f5485785 fix(suspense): handle nested sync suspense for hydration
ref e1475129fc
2023-05-11 08:47:01 +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
Evan You e1475129fc fix(suspense): fix nested suspensible suspense with no asyn deps
close #8206
2023-05-08 16:37:46 +08:00
Evan You 62e71b5320 chore: add sfc playground local debug shortcut 2023-05-08 15:50:11 +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
linghaoSu 4495373d28
fix(runtime-dom): check attribute value when setting option value (#8246)
fix #8227
2023-05-08 15:26:14 +08:00
ntnyq bf16697e25
chore: fix broken vite plugin url in warning message (#8224) 2023-05-08 14:47:02 +08:00
LiuSeen 8ccc570022
chore(compileScript): remove unused methods (#8211) 2023-05-08 14:43:39 +08:00
丶远方 3294e50b0b
chore: update tests to use expect.toBeInstanceOf (#8154) 2023-05-08 14:34:24 +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 c2172f3a0e fix(build): retain defineComponent() treeshakability in Rollup
close #8236
2023-05-08 12:12:15 +08:00
Evan You b2be75bad4 fix(runtime-core): ensure defineComponent name in extraOptions takes higher priority 2023-05-08 12:06:49 +08:00
Evan You 1279b17300 fix(types): remove short syntax support in defineSlots()
ref: https://github.com/vuejs/language-tools/issues/2758
2023-05-08 11:53:49 +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
Johnson Chu 3cb4dc9e55
feat(types): add slots types for built-in components (#6033) 2023-05-05 17:12:51 +08:00
丶远方 1b1242f4d1
fix(runtime-core): handle template ref with number values (#8233)
close #8230
2023-05-05 16:00:01 +08:00
Evan You 038cd830d5 fix(types): retain compatibility for provide() usage with explicit type parameter 2023-05-02 21:35:28 +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
Joaquín Sánchez 918ec8a5cb
feat(compiler-dom): treat inert as boolean attribute (#8209)
close #8208
2023-05-02 10:21:19 +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