]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Sat, 15 Apr 2023 10:06:48 +0000 (18:06 +0800)]
feat(compiler-sfc): expose type import deps on compiled script block
Evan You [Sat, 15 Apr 2023 09:59:50 +0000 (17:59 +0800)]
refactor: avoid hard error when inferring runtime type
Evan You [Fri, 14 Apr 2023 12:53:21 +0000 (20:53 +0800)]
chore: comments [ci skip]
Evan You [Fri, 14 Apr 2023 09:43:14 +0000 (17:43 +0800)]
test: refactor resolveType test
Evan You [Fri, 14 Apr 2023 09:27:50 +0000 (17:27 +0800)]
feat(compiler-sfc): support resolving type imports from modules
Evan You [Thu, 13 Apr 2023 14:38:00 +0000 (22:38 +0800)]
wip: cache fileToScope + improve vue file offset
Evan You [Thu, 13 Apr 2023 13:36:23 +0000 (21:36 +0800)]
refactor: improve type resolve error output
Evan You [Thu, 13 Apr 2023 12:49:16 +0000 (20:49 +0800)]
feat(compiler-sfc): support relative imported types in macros
Evan You [Thu, 13 Apr 2023 07:45:58 +0000 (15:45 +0800)]
chore: improve sfc-playground typing + bump repl for 3.3 external type resolve support
close #8051
Evan You [Thu, 13 Apr 2023 04:32:52 +0000 (12:32 +0800)]
feat(compiler-sfc): support namespace members type in macros
Evan You [Thu, 13 Apr 2023 03:21:09 +0000 (11:21 +0800)]
feat(compiler-sfc): support string indexed type in macros
Evan You [Thu, 13 Apr 2023 02:42:15 +0000 (10:42 +0800)]
refactor: adjust ResolvedElements shape
Evan You [Thu, 13 Apr 2023 02:28:22 +0000 (10:28 +0800)]
feat(compiler-sfc): support limited built-in utility types in macros
Evan You [Thu, 13 Apr 2023 01:59:54 +0000 (09:59 +0800)]
feat(compiler-sfc): support mapped types, string types & template type in macros
Evan You [Wed, 12 Apr 2023 13:17:57 +0000 (21:17 +0800)]
feat(compiler-sfc): support intersection and union types in macros
close #7553
Evan You [Wed, 12 Apr 2023 08:46:26 +0000 (16:46 +0800)]
test: split compileScript macro tests
Evan You [Tue, 11 Apr 2023 15:00:28 +0000 (23:00 +0800)]
refactor(compiler-sfc): rework macro type resolution
Evan You [Tue, 11 Apr 2023 07:58:53 +0000 (15:58 +0800)]
refactor(compiler-sfc): split normal script logic
Evan You [Tue, 11 Apr 2023 07:35:05 +0000 (15:35 +0800)]
refactor(compiler-sfc): split all macros
Evan You [Tue, 11 Apr 2023 07:20:55 +0000 (15:20 +0800)]
refactor(compiler-sfc): split more logic
Evan You [Tue, 11 Apr 2023 06:37:57 +0000 (14:37 +0800)]
refactor(compiler-sfc): simplify props destructure arguments
Evan You [Tue, 11 Apr 2023 06:34:18 +0000 (14:34 +0800)]
refactor(compiler-sfc): extract defineEmits logic
Evan You [Tue, 11 Apr 2023 06:17:12 +0000 (14:17 +0800)]
refactor(compiler-sfc): extract processDefineModel, move main magic string instance to context
Evan You [Tue, 11 Apr 2023 06:06:54 +0000 (14:06 +0800)]
refactor(compiler-sfc): collapse genRuntimeProps logic
Evan You [Tue, 11 Apr 2023 05:45:45 +0000 (13:45 +0800)]
refactor(compiler-sfc): extract more defineProps logic
Evan You [Tue, 11 Apr 2023 05:06:33 +0000 (13:06 +0800)]
refactor(compiler-sfc): remove useless type generation
we are no longer type-checking generated code
Evan You [Tue, 11 Apr 2023 05:06:04 +0000 (13:06 +0800)]
refactor(compiler-sfc): (wip) split compileScript logic, use context, move defineProps
Evan You [Mon, 10 Apr 2023 07:16:29 +0000 (15:16 +0800)]
chore: update treeshaken deps list
Himself65 [Mon, 10 Apr 2023 07:06:21 +0000 (02:06 -0500)]
fix(runtime-core): properly merge props and emits options from mixins (#8052)
close #7989
丶远方 [Mon, 10 Apr 2023 06:06:56 +0000 (14:06 +0800)]
chore(reactivity): remove unnecessary type assertions. (#8046)
JayFate [Mon, 10 Apr 2023 06:06:28 +0000 (14:06 +0800)]
chore: replace brotli with node:zlib (#8045)
Signed-off-by: JayFate <48240828+JayFate@users.noreply.github.com>
Evan You [Sun, 9 Apr 2023 08:50:00 +0000 (16:50 +0800)]
perf(compiler): use source-map-js
Evan You [Sat, 8 Apr 2023 05:33:46 +0000 (13:33 +0800)]
release: v3.3.0-alpha.9
Evan You [Sat, 8 Apr 2023 05:28:55 +0000 (13:28 +0800)]
workflow: remove yarn usage in release script
Evan You [Sat, 8 Apr 2023 05:23:06 +0000 (13:23 +0800)]
chore: move ts-ignore comment in release script
Evan You [Sat, 8 Apr 2023 04:40:44 +0000 (12:40 +0800)]
chore: lock puppeteer version
Evan You [Sat, 8 Apr 2023 04:28:30 +0000 (12:28 +0800)]
chore: make vercel silent
三咲智子 Kevin Deng [Sat, 8 Apr 2023 04:13:05 +0000 (12:13 +0800)]
feat(sfc): introduce `defineModel` macro and `useModel` helper (#8018)
Evan You [Thu, 6 Apr 2023 10:10:10 +0000 (18:10 +0800)]
chore: bump repl for sfc playground
Evan You [Thu, 6 Apr 2023 09:35:14 +0000 (17:35 +0800)]
workflow: use environment for canary release workflow
三咲智子 Kevin Deng [Thu, 6 Apr 2023 09:19:00 +0000 (17:19 +0800)]
fix(compiler-sfc): fix binding type for constants when hoistStatic is disabled (#8029)
丶远方 [Thu, 6 Apr 2023 09:15:27 +0000 (17:15 +0800)]
chore(reactive): remove unref type assertion (#8007)
Cloyd Lau [Thu, 6 Apr 2023 09:14:16 +0000 (17:14 +0800)]
chore: fix wrong placeholder in issue template (#7918) [ci skip]
-isum [Thu, 6 Apr 2023 09:13:34 +0000 (17:13 +0800)]
fix(compiler-sfc): accept `StringLiteral` node in `defineEmit` tuple syntax (#8041)
close #8040
Evan You [Thu, 6 Apr 2023 05:02:05 +0000 (13:02 +0800)]
chore: bump repl to handle legacy playground import maps
Evan You [Thu, 6 Apr 2023 04:46:19 +0000 (12:46 +0800)]
chore: enable cors for sfc as temporary fix
Evan You [Thu, 6 Apr 2023 04:46:19 +0000 (12:46 +0800)]
chore: enable cors for sfc as temporary fix
Evan You [Thu, 6 Apr 2023 04:42:07 +0000 (12:42 +0800)]
chore: update playground url
Evan You [Thu, 6 Apr 2023 03:12:49 +0000 (11:12 +0800)]
fix(types): more public type argument order fix
Evan You [Wed, 5 Apr 2023 14:30:50 +0000 (22:30 +0800)]
fix(types): retain type parameters order for public types
Evan You [Wed, 5 Apr 2023 12:39:43 +0000 (20:39 +0800)]
Revert "chore: remove unused args passed to ssrRender"
This reverts commit
2a9e379655a1ed1cae5615f29498a9f0aa7aa9c6.
三咲智子 Kevin Deng [Wed, 5 Apr 2023 09:33:29 +0000 (17:33 +0800)]
fix(compiler-sfc): skip empty `defineOptions` and support TypeScript type assertions (#8028)
Evan You [Wed, 5 Apr 2023 09:18:11 +0000 (17:18 +0800)]
fix(types): improve defineProps return type with generic arguments
Evan You [Wed, 5 Apr 2023 08:35:10 +0000 (16:35 +0800)]
refactor(compiler-sfc): move related files into separate directories
Eduardo San Martin Morote [Wed, 5 Apr 2023 07:18:13 +0000 (09:18 +0200)]
feat(app): app.runWithContext() (#7451)
Evan You [Wed, 5 Apr 2023 03:16:08 +0000 (11:16 +0800)]
chore: remove unused args passed to ssrRender
Evan You [Wed, 5 Apr 2023 03:10:21 +0000 (11:10 +0800)]
fix(compiler-ssr): disable v-once transform in ssr vdom fallback branch
fix #7644
Evan You [Tue, 4 Apr 2023 10:23:06 +0000 (18:23 +0800)]
release: v3.3.0-alpha.8
魏 [Tue, 4 Apr 2023 10:20:56 +0000 (18:20 +0800)]
chore: remove duplicate test (#8003)
JayFate [Tue, 4 Apr 2023 10:14:45 +0000 (18:14 +0800)]
chore: add setupVitest to tsconfig (#8009)
Evan You [Tue, 4 Apr 2023 10:10:13 +0000 (18:10 +0800)]
fix(compiler-sfc): check binding is prop before erroring
fix #8017
Evan You [Mon, 3 Apr 2023 10:19:11 +0000 (18:19 +0800)]
release: v3.3.0-alpha.7
三咲智子 Kevin Deng [Mon, 3 Apr 2023 08:49:16 +0000 (16:49 +0800)]
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982)
Evan You [Sun, 2 Apr 2023 02:17:51 +0000 (10:17 +0800)]
feat(reactivity): improve support of getter usage in reactivity APIs (#7997)
Evan You [Sun, 2 Apr 2023 02:02:33 +0000 (10:02 +0800)]
chore: add docs links for sfc macros
Roland Hummel [Fri, 31 Mar 2023 09:06:10 +0000 (11:06 +0200)]
docs: comments on reactivity functions (fixes #4832) (#4836)
close #4832
白雾三语 [Fri, 31 Mar 2023 08:33:00 +0000 (16:33 +0800)]
fix(compiler-dom): handle newlines when evaluating constants during stringification (#7995)
fix #7994
Evan You [Fri, 31 Mar 2023 01:08:23 +0000 (09:08 +0800)]
fix(compiler-sfc): use dynamic defaults merging for methods with computed keys
ref #7113
Evan You [Fri, 31 Mar 2023 01:04:27 +0000 (09:04 +0800)]
feat(compiler-sfc): support arbitrary expression as withDefaults argument
ref #6459
Evan You [Fri, 31 Mar 2023 00:58:03 +0000 (08:58 +0800)]
chore: remove unused param
Evan You [Fri, 31 Mar 2023 00:53:15 +0000 (08:53 +0800)]
feat(sfc): revert withDefaults() deprecation
In some cases, the user still needs access to the full props object,
in such cases withDefaults() is still needed.
Evan You [Thu, 30 Mar 2023 12:06:11 +0000 (20:06 +0800)]
refactor(compiler-sfc): remove unnecessary emits type codegen
This is no longer necessary as we no longer recommend type checking generated code
Evan You [Thu, 30 Mar 2023 11:59:07 +0000 (19:59 +0800)]
feat(compiler-sfc): codegen support for defineEmits() short syntax (followup of #7992)
Evan You [Thu, 30 Mar 2023 11:24:32 +0000 (19:24 +0800)]
feat(sfc): support more ergnomic defineEmits type syntax (#7992)
Evan You [Thu, 30 Mar 2023 10:22:42 +0000 (18:22 +0800)]
release: v3.3.0-alpha.6
Evan You [Thu, 30 Mar 2023 10:06:28 +0000 (18:06 +0800)]
chore: bump csstype version
Evan You [Thu, 30 Mar 2023 10:02:27 +0000 (18:02 +0800)]
build: improve dts generation
Evan You [Thu, 30 Mar 2023 08:58:41 +0000 (16:58 +0800)]
feat(compiler-sfc): support generating variable instead of default export in compileScript
Evan You [Thu, 30 Mar 2023 07:19:27 +0000 (15:19 +0800)]
fix(compiler-core): fix codegen for literal const in non-inline mode
三咲智子 Kevin Deng [Thu, 30 Mar 2023 06:49:28 +0000 (14:49 +0800)]
fix(compiler-sfc): infer runtime type in defineProps (#7972)
Evan You [Thu, 30 Mar 2023 03:58:16 +0000 (11:58 +0800)]
feat(compiler-sfc): enable reactive props destructure by default and deprecate withDefaults() (#7986)
Evan You [Wed, 29 Mar 2023 14:21:27 +0000 (22:21 +0800)]
fix(compiler-sfc): fix function default value handling w/ props destructure
Evan You [Wed, 29 Mar 2023 13:01:52 +0000 (21:01 +0800)]
fix(compiler-sfc): infer object type for empty type literal
Evan You [Wed, 29 Mar 2023 12:31:25 +0000 (20:31 +0800)]
fix(compiler-sfc): fix defineExpose() codegen regression from #7949
Haoqun Jiang [Wed, 29 Mar 2023 12:22:29 +0000 (20:22 +0800)]
fix(types/jsx): move JSX DOM types back to `@vue/runtime-dom` (#7979)
Leonardo Piccioni de Almeida [Wed, 29 Mar 2023 08:17:34 +0000 (05:17 -0300)]
fix(jsx-runtime): handle keys (#7976)
Haoqun Jiang [Wed, 29 Mar 2023 08:15:08 +0000 (16:15 +0800)]
fix(types/jsx): jsx-runtime types for global JSX namespace registration (#7978)
三咲智子 Kevin Deng [Wed, 29 Mar 2023 01:02:16 +0000 (09:02 +0800)]
fix(compiler-core): check if expression is constant (#7974)
close #7973
三咲智子 Kevin Deng [Tue, 28 Mar 2023 14:29:54 +0000 (22:29 +0800)]
feat(runtime-core): add skipCheck for prop (#7548)
Evan You [Tue, 28 Mar 2023 13:21:54 +0000 (21:21 +0800)]
chore: fix accidentally replaced comments [ci skip]
白雾三语 [Tue, 28 Mar 2023 10:27:09 +0000 (18:27 +0800)]
chore: update snapshots by #7766 (#7970)
白雾三语 [Tue, 28 Mar 2023 09:47:10 +0000 (17:47 +0800)]
fix(compiler-sfc): use prependLeft to handle CSSVars (#7760)
Evan You [Tue, 28 Mar 2023 09:35:42 +0000 (17:35 +0800)]
chore: update snapshots
三咲智子 Kevin Deng [Tue, 28 Mar 2023 09:34:23 +0000 (17:34 +0800)]
fix(compiler-sfc): avoid codegen conflict with user variable named `expose` (#7949)
rename `expose` to `__expose` to avoid duplicate identifier
relate #7890
三咲智子 Kevin Deng [Tue, 28 Mar 2023 09:32:37 +0000 (17:32 +0800)]
fix(compiler-sfc): disallow `expose` property in `defineOptions` (#7967)
三咲智子 Kevin Deng [Tue, 28 Mar 2023 09:31:23 +0000 (17:31 +0800)]
feat(compiler-core): support parsing `const` modifier in type parameters (#7912)
Evan You [Tue, 28 Mar 2023 09:29:31 +0000 (17:29 +0800)]
feat(compiler-sfc): improve runtime props inference for enum
Evan You [Tue, 28 Mar 2023 09:15:25 +0000 (17:15 +0800)]
fix(compiler-sfc): properly handle unknown types in runtime prop inference
fix #7511
Evan You [Tue, 28 Mar 2023 08:55:19 +0000 (16:55 +0800)]
Revert "fix(compiler-sfc): infer correct type for enums"
This reverts commit
2e074a70091e76359e930e733785100cd7dc66ed.
Evan You [Tue, 28 Mar 2023 08:39:13 +0000 (16:39 +0800)]
fix(compiler-sfc): infer correct type for enums
fix #7511