]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Mon, 1 May 2023 03:30:58 +0000 (11:30 +0800)]
feat(compiler-sfc): expose parseCache
So that users can adjust cache's max size.
close #8202
Evan You [Mon, 1 May 2023 03:26:47 +0000 (11:26 +0800)]
fix(types): fix provide type checking for ref value
fix #8201
三咲智子 Kevin Deng [Mon, 1 May 2023 03:04:59 +0000 (11:04 +0800)]
chore: remove deprecated package (#8196)
see https://github.com/remorses/esbuild-plugins/pull/29#issuecomment-
1497077035
Evan You [Thu, 27 Apr 2023 08:55:37 +0000 (16:55 +0800)]
fix(compiler-core): handle slot argument parsing edge case
ref https://github.com/vuejs/language-tools/issues/2710
Evan You [Tue, 25 Apr 2023 08:41:04 +0000 (16:41 +0800)]
release: v3.3.0-beta.2
Evan You [Tue, 25 Apr 2023 08:30:11 +0000 (16:30 +0800)]
feat(compiler-sfc): support project references when resolving types
close #8140
Evan You [Tue, 25 Apr 2023 01:29:30 +0000 (09:29 +0800)]
perf(compiler-sfc): infer ref binding type for more built-in methods
Evan You [Tue, 25 Apr 2023 01:21:14 +0000 (09:21 +0800)]
fix(compiler-sfc): props bindings should not override user declared bindings
fix #8148
Evan You [Mon, 24 Apr 2023 03:31:13 +0000 (11:31 +0800)]
ci: setup windows ci for compiler and SSR tests (#8143)
edison [Mon, 24 Apr 2023 03:03:57 +0000 (11:03 +0800)]
fix(compiler-sfc): normalize windows paths when resolving types (#8136)
Evan You [Fri, 21 Apr 2023 08:48:21 +0000 (16:48 +0800)]
fix(compiler-sfc): avoid all hard errors when inferring runtime type
Evan You [Fri, 21 Apr 2023 08:26:10 +0000 (16:26 +0800)]
release: v3.3.0-beta.1
Evan You [Fri, 21 Apr 2023 08:06:08 +0000 (16:06 +0800)]
test: update tests for deprecations
Evan You [Fri, 21 Apr 2023 08:03:05 +0000 (16:03 +0800)]
chore: bump repl
Evan You [Fri, 21 Apr 2023 07:54:51 +0000 (15:54 +0800)]
chore: remove deprecated ref sugar warning
Evan You [Fri, 21 Apr 2023 07:54:03 +0000 (15:54 +0800)]
feat(deprecation): unwrap injected refs in Options API by default, deprecate app.config.unwrapInjectedRefs
Evan You [Fri, 21 Apr 2023 07:26:01 +0000 (15:26 +0800)]
feat(deprecation): deprecate v-is directive
Evan You [Fri, 21 Apr 2023 07:20:12 +0000 (15:20 +0800)]
feat(deprecation): deprecate @vnode hooks in favor of vue: prefix
zhangenming [Fri, 21 Apr 2023 07:10:36 +0000 (15:10 +0800)]
feat: allow accessing console in template (#6508)
close #7939
Anthony Fu [Fri, 21 Apr 2023 06:43:30 +0000 (08:43 +0200)]
feat(suspense): introduce suspensible option for `<Suspense>` (#6736)
close #5513
Evan You [Fri, 21 Apr 2023 06:41:41 +0000 (14:41 +0800)]
chore: bump vite & vitest
edison [Thu, 20 Apr 2023 13:10:38 +0000 (21:10 +0800)]
feat(compiler-sfc): improve utility type Partial and Required (#8103)
Evan You [Thu, 20 Apr 2023 13:13:34 +0000 (21:13 +0800)]
release: v3.3.0-alpha.13
Evan You [Thu, 20 Apr 2023 13:02:50 +0000 (21:02 +0800)]
feat(compiler-sfc): support ExtractPropTypes when resolving types
close #8104
Evan You [Thu, 20 Apr 2023 08:57:36 +0000 (16:57 +0800)]
chore: avoid hard error when inferring types
Evan You [Thu, 20 Apr 2023 08:18:35 +0000 (16:18 +0800)]
feat(compiler-sfc): support dynamic imports when resolving types
Evan You [Thu, 20 Apr 2023 07:56:24 +0000 (15:56 +0800)]
feat(compiler-sfc): support export * when resolving types
Evan You [Thu, 20 Apr 2023 06:31:54 +0000 (14:31 +0800)]
fix(hmr): always traverse static children in dev
fix #7921
close #8100
Evan You [Thu, 20 Apr 2023 06:13:08 +0000 (14:13 +0800)]
fix(compiler-sfc): handle type merging + fix namespace access when inferring type
close #8102
Eduardo San Martin Morote [Thu, 20 Apr 2023 02:12:18 +0000 (04:12 +0200)]
feat: hasInjectionContext() for libraries (#8111)
白雾三语 [Thu, 20 Apr 2023 02:11:22 +0000 (10:11 +0800)]
chore: delete outdated content in readme (#8093) [ci skip]
close #8084
n028 [Thu, 20 Apr 2023 02:08:00 +0000 (04:08 +0200)]
chore: fix typo (#8113) [ci skip]
agoni1212 [Thu, 20 Apr 2023 02:07:31 +0000 (10:07 +0800)]
chore: typo (#8108) [ci skip]
Evan You [Thu, 20 Apr 2023 02:06:06 +0000 (10:06 +0800)]
fix(hmr): force update cached slots during HMR
close #7155
close #7158
Evan You [Tue, 18 Apr 2023 14:21:29 +0000 (22:21 +0800)]
fix(compiler-sfc): normalize filename when invalidating cache
Evan You [Tue, 18 Apr 2023 14:18:56 +0000 (22:18 +0800)]
release: v3.3.0-alpha.12
Evan You [Tue, 18 Apr 2023 03:39:53 +0000 (11:39 +0800)]
fix(compiler): fix expression codegen for literal const bindings in non-inline mode
Evan You [Tue, 18 Apr 2023 03:39:21 +0000 (11:39 +0800)]
workflow: support building types in build script
Evan You [Mon, 17 Apr 2023 13:17:17 +0000 (21:17 +0800)]
release: v3.3.0-alpha.11
Evan You [Mon, 17 Apr 2023 12:59:03 +0000 (20:59 +0800)]
fix(compiler-sfc): normalize windows paths when resolving types
Evan You [Mon, 17 Apr 2023 10:15:17 +0000 (18:15 +0800)]
release: v3.3.0-alpha.10
Evan You [Mon, 17 Apr 2023 10:05:17 +0000 (18:05 +0800)]
fix(hmr): invalidate cached props/emits options on hmr
Evan You [Sun, 16 Apr 2023 07:49:41 +0000 (15:49 +0800)]
feat(compiler-sfc): support specifying global types for sfc macros
ref: https://github.com/vuejs/core/pull/8083#issuecomment-
1508468713
Evan You [Sun, 16 Apr 2023 03:11:26 +0000 (11:11 +0800)]
feat(compiler-sfc): expose type resolve APIs
Evan You [Sat, 15 Apr 2023 09:15:50 +0000 (17:15 +0800)]
feat(compiler-sfc): mark props destructure as experimental and require explicit opt-in
Evan You [Sat, 15 Apr 2023 13:46:44 +0000 (21:46 +0800)]
feat(compiler-sfc): support string/number indexed types in macros
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