Commit Graph

4874 Commits

Author SHA1 Message Date
zhangenming fe762247f8
feat: allow accessing console in template (#6508)
close #7939
2023-04-21 15:10:36 +08:00
Anthony Fu cb37d0b9ff
feat(suspense): introduce suspensible option for `<Suspense>` (#6736)
close #5513
2023-04-21 14:43:30 +08:00
Evan You 15847f38a0 chore: bump vite & vitest 2023-04-21 14:41:41 +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 f17a82c769 fix(hmr): always traverse static children in dev
fix #7921
close #8100
2023-04-20 14:31:54 +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
Eduardo San Martin Morote 5510ce385a
feat: hasInjectionContext() for libraries (#8111) 2023-04-20 10:12:18 +08:00
白雾三语 2f9f6eceb9
chore: delete outdated content in readme (#8093) [ci skip]
close #8084
2023-04-20 10:11:22 +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 94fa67a4f7 fix(hmr): force update cached slots during HMR
close #7155
close #7158
2023-04-20 10:06:06 +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 7f1b546a99 workflow: support building types in build script 2023-04-18 11:39:21 +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
Evan You 33adc2a17a release: v3.3.0-alpha.10 2023-04-17 18:15:17 +08:00
Evan You 4b5b384485 fix(hmr): invalidate cached props/emits options on hmr 2023-04-17 18:05:17 +08:00
Evan You 4e028b9669 feat(compiler-sfc): support specifying global types for sfc macros
ref: https://github.com/vuejs/core/pull/8083#issuecomment-1508468713
2023-04-16 15:49:41 +08:00
Evan You f22e32e365 feat(compiler-sfc): expose type resolve APIs 2023-04-16 11:11:26 +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 760755f4f8 feat(compiler-sfc): support string/number indexed types in macros 2023-04-15 22:08:39 +08:00
Evan You 8d8ddd686c feat(compiler-sfc): expose type import deps on compiled script block 2023-04-15 22:08:39 +08:00
Evan You 075498c959 refactor: avoid hard error when inferring runtime type 2023-04-15 22:08:39 +08:00
Evan You a9f5e14c7c chore: comments [ci skip] 2023-04-15 22:08:39 +08:00
Evan You 34a007d00d test: refactor resolveType test 2023-04-15 22:08:39 +08:00
Evan You 3982bef533 feat(compiler-sfc): support resolving type imports from modules 2023-04-15 22:08:39 +08:00
Evan You 8451b92a7a wip: cache fileToScope + improve vue file offset 2023-04-15 22:08:39 +08:00
Evan You c93c11710e refactor: improve type resolve error output 2023-04-15 22:08:39 +08:00
Evan You 8aa4ea81d6 feat(compiler-sfc): support relative imported types in macros 2023-04-15 22:08:39 +08:00
Evan You 1c06fe1d02 chore: improve sfc-playground typing + bump repl for 3.3 external type resolve support
close #8051
2023-04-13 15:45:58 +08:00
Evan You 5ff40bb0dc feat(compiler-sfc): support namespace members type in macros 2023-04-13 12:32:52 +08:00
Evan You 3f779ddbf8 feat(compiler-sfc): support string indexed type in macros 2023-04-13 11:21:09 +08:00
Evan You 51773d5d1d refactor: adjust ResolvedElements shape 2023-04-13 10:42:15 +08:00
Evan You 1cfab4c695 feat(compiler-sfc): support limited built-in utility types in macros 2023-04-13 10:28:22 +08:00
Evan You fb8ecc803e feat(compiler-sfc): support mapped types, string types & template type in macros 2023-04-13 09:59:54 +08:00
Evan You d1f973bff8 feat(compiler-sfc): support intersection and union types in macros
close #7553
2023-04-12 21:34:13 +08:00
Evan You a6dedc33ba test: split compileScript macro tests 2023-04-12 16:46:26 +08:00
Evan You b2cdb2645f refactor(compiler-sfc): rework macro type resolution 2023-04-11 23:00:28 +08:00
Evan You ae5a9323b7 refactor(compiler-sfc): split normal script logic 2023-04-11 16:05:00 +08:00
Evan You 3da1bb36b1 refactor(compiler-sfc): split all macros 2023-04-11 16:05:00 +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