Commit Graph

3879 Commits

Author SHA1 Message Date
白雾三语 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 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
Evan You 9f2ca5155e refactor(compiler-sfc): extract processDefineModel, move main magic string instance to context 2023-04-11 16:05:00 +08:00
Evan You 9f5692e052 refactor(compiler-sfc): collapse genRuntimeProps logic 2023-04-11 16:05:00 +08:00
Evan You d0ac57872c refactor(compiler-sfc): extract more defineProps logic 2023-04-11 16:05:00 +08:00
Evan You fe9760188d refactor(compiler-sfc): remove useless type generation
we are no longer type-checking generated code
2023-04-11 16:05:00 +08:00
Evan You acd7eb22cf refactor(compiler-sfc): (wip) split compileScript logic, use context, move defineProps 2023-04-11 16:05:00 +08:00
Himself65 c94ef02421
fix(runtime-core): properly merge props and emits options from mixins (#8052)
close #7989
2023-04-10 15:06:21 +08:00
丶远方 2ce23f0e09
chore(reactivity): remove unnecessary type assertions. (#8046) 2023-04-10 14:06:56 +08:00
JayFate 37701a88c0
chore: replace brotli with node:zlib (#8045)
Signed-off-by: JayFate <48240828+JayFate@users.noreply.github.com>
2023-04-10 14:06:28 +08:00
Evan You 19e17a951c perf(compiler): use source-map-js 2023-04-09 16:50:20 +08:00
Evan You 681ac7c896 release: v3.3.0-alpha.9 2023-04-08 13:33:46 +08:00
Evan You 851635157f chore: make vercel silent 2023-04-08 12:28:30 +08:00
三咲智子 Kevin Deng 14f3d747a3
feat(sfc): introduce `defineModel` macro and `useModel` helper (#8018) 2023-04-08 12:13:05 +08:00
Evan You 3b02c27e6d chore: bump repl for sfc playground 2023-04-06 18:10:10 +08:00