]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
2 years agofix(types): remove short syntax support in defineSlots()
Evan You [Mon, 8 May 2023 03:53:49 +0000 (11:53 +0800)] 
fix(types): remove short syntax support in defineSlots()

ref: https://github.com/vuejs/language-tools/issues/2758

2 years agofix(compiler-sfc): enable props destructure when reactivity transform option is enabled
Evan You [Sat, 6 May 2023 08:55:38 +0000 (16:55 +0800)] 
fix(compiler-sfc): enable props destructure when reactivity transform option is enabled

...to retain backwards compatible behavior before removal

2 years agorelease: v3.3.0-beta.4 v3.3.0-beta.4
Evan You [Fri, 5 May 2023 09:15:14 +0000 (17:15 +0800)] 
release: v3.3.0-beta.4

2 years agofeat(types): add slots types for built-in components (#6033)
Johnson Chu [Fri, 5 May 2023 09:12:51 +0000 (17:12 +0800)] 
feat(types): add slots types for built-in components (#6033)

2 years agofix(runtime-core): handle template ref with number values (#8233)
丶远方 [Fri, 5 May 2023 08:00:01 +0000 (16:00 +0800)] 
fix(runtime-core): handle template ref with number values (#8233)

close #8230

2 years agofix(types): retain compatibility for provide() usage with explicit type parameter
Evan You [Tue, 2 May 2023 13:35:28 +0000 (21:35 +0800)] 
fix(types): retain compatibility for provide() usage with explicit type parameter

2 years agochore: experimental warnings for reactive props destructure and defineModel
Evan You [Tue, 2 May 2023 08:23:02 +0000 (16:23 +0800)] 
chore: experimental warnings for reactive props destructure and defineModel

2 years agofeat(types): provide ExtractPublicPropTypes utility type
Evan You [Tue, 2 May 2023 03:06:24 +0000 (11:06 +0800)] 
feat(types): provide ExtractPublicPropTypes utility type

ref #5272
close #8168

2 years agofeat(compiler-dom): treat inert as boolean attribute (#8209)
Joaquín Sánchez [Tue, 2 May 2023 02:21:19 +0000 (04:21 +0200)] 
feat(compiler-dom): treat inert as boolean attribute (#8209)

close #8208

2 years agochore: move files into correct test block
Evan You [Mon, 1 May 2023 06:01:38 +0000 (14:01 +0800)] 
chore: move files into correct test block

2 years agorelease: v3.3.0-beta.3 v3.3.0-beta.3
Evan You [Mon, 1 May 2023 04:28:29 +0000 (12:28 +0800)] 
release: v3.3.0-beta.3

2 years agofix(hmr): keep slots proxy mutable for hmr
Evan You [Mon, 1 May 2023 04:21:10 +0000 (12:21 +0800)] 
fix(hmr): keep slots proxy mutable for hmr

close #8188

2 years agofeat(compiler-sfc): expose parseCache
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

2 years agofix(types): fix provide type checking for ref value
Evan You [Mon, 1 May 2023 03:26:47 +0000 (11:26 +0800)] 
fix(types): fix provide type checking for ref value

fix #8201

2 years agochore: remove deprecated package (#8196)
三咲智子 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

2 years agofix(compiler-core): handle slot argument parsing edge case
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

2 years agorelease: v3.3.0-beta.2 v3.3.0-beta.2
Evan You [Tue, 25 Apr 2023 08:41:04 +0000 (16:41 +0800)] 
release: v3.3.0-beta.2

2 years agofeat(compiler-sfc): support project references when resolving types
Evan You [Tue, 25 Apr 2023 08:30:11 +0000 (16:30 +0800)] 
feat(compiler-sfc): support project references when resolving types

close #8140

2 years agoperf(compiler-sfc): infer ref binding type for more built-in methods
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

2 years agofix(compiler-sfc): props bindings should not override user declared bindings
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

2 years agoci: setup windows ci for compiler and SSR tests (#8143)
Evan You [Mon, 24 Apr 2023 03:31:13 +0000 (11:31 +0800)] 
ci: setup windows ci for compiler and SSR tests (#8143)

2 years agofix(compiler-sfc): normalize windows paths when resolving types (#8136)
edison [Mon, 24 Apr 2023 03:03:57 +0000 (11:03 +0800)] 
fix(compiler-sfc): normalize windows paths when resolving types (#8136)

2 years agofix(compiler-sfc): avoid all hard errors when inferring runtime type
Evan You [Fri, 21 Apr 2023 08:48:21 +0000 (16:48 +0800)] 
fix(compiler-sfc): avoid all hard errors when inferring runtime type

2 years agorelease: v3.3.0-beta.1 v3.3.0-beta.1
Evan You [Fri, 21 Apr 2023 08:26:10 +0000 (16:26 +0800)] 
release: v3.3.0-beta.1

2 years agotest: update tests for deprecations
Evan You [Fri, 21 Apr 2023 08:06:08 +0000 (16:06 +0800)] 
test: update tests for deprecations

2 years agochore: bump repl
Evan You [Fri, 21 Apr 2023 08:03:05 +0000 (16:03 +0800)] 
chore: bump repl

2 years agochore: remove deprecated ref sugar warning
Evan You [Fri, 21 Apr 2023 07:54:51 +0000 (15:54 +0800)] 
chore: remove deprecated ref sugar warning

2 years agofeat(deprecation): unwrap injected refs in Options API by default, deprecate app...
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

2 years agofeat(deprecation): deprecate v-is directive
Evan You [Fri, 21 Apr 2023 07:26:01 +0000 (15:26 +0800)] 
feat(deprecation): deprecate v-is directive

2 years agofeat(deprecation): deprecate @vnode hooks in favor of vue: prefix
Evan You [Fri, 21 Apr 2023 07:20:12 +0000 (15:20 +0800)] 
feat(deprecation): deprecate @vnode hooks in favor of vue: prefix

2 years agofeat: allow accessing console in template (#6508)
zhangenming [Fri, 21 Apr 2023 07:10:36 +0000 (15:10 +0800)] 
feat: allow accessing console in template (#6508)

close #7939

2 years agofeat(suspense): introduce suspensible option for `<Suspense>` (#6736)
Anthony Fu [Fri, 21 Apr 2023 06:43:30 +0000 (08:43 +0200)] 
feat(suspense): introduce suspensible option for `<Suspense>` (#6736)

close #5513

2 years agochore: bump vite & vitest
Evan You [Fri, 21 Apr 2023 06:41:41 +0000 (14:41 +0800)] 
chore: bump vite & vitest

2 years agofeat(compiler-sfc): improve utility type Partial and Required (#8103)
edison [Thu, 20 Apr 2023 13:10:38 +0000 (21:10 +0800)] 
feat(compiler-sfc): improve utility type Partial and Required (#8103)

2 years agorelease: v3.3.0-alpha.13 v3.3.0-alpha.13
Evan You [Thu, 20 Apr 2023 13:13:34 +0000 (21:13 +0800)] 
release: v3.3.0-alpha.13

2 years agofeat(compiler-sfc): support ExtractPropTypes when resolving types
Evan You [Thu, 20 Apr 2023 13:02:50 +0000 (21:02 +0800)] 
feat(compiler-sfc): support ExtractPropTypes when resolving types

close #8104

2 years agochore: avoid hard error when inferring types
Evan You [Thu, 20 Apr 2023 08:57:36 +0000 (16:57 +0800)] 
chore: avoid hard error when inferring types

2 years agofeat(compiler-sfc): support dynamic imports when resolving types
Evan You [Thu, 20 Apr 2023 08:18:35 +0000 (16:18 +0800)] 
feat(compiler-sfc): support dynamic imports when resolving types

2 years agofeat(compiler-sfc): support export * when resolving types
Evan You [Thu, 20 Apr 2023 07:56:24 +0000 (15:56 +0800)] 
feat(compiler-sfc): support export * when resolving types

2 years agofix(hmr): always traverse static children in dev
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

2 years agofix(compiler-sfc): handle type merging + fix namespace access when inferring type
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

2 years agofeat: hasInjectionContext() for libraries (#8111)
Eduardo San Martin Morote [Thu, 20 Apr 2023 02:12:18 +0000 (04:12 +0200)] 
feat: hasInjectionContext() for libraries (#8111)

2 years agochore: delete outdated content in readme (#8093) [ci skip]
白雾三语 [Thu, 20 Apr 2023 02:11:22 +0000 (10:11 +0800)] 
chore: delete outdated content in readme (#8093) [ci skip]

close #8084

2 years agochore: fix typo (#8113) [ci skip]
n028 [Thu, 20 Apr 2023 02:08:00 +0000 (04:08 +0200)] 
chore: fix typo (#8113) [ci skip]

2 years agochore: typo (#8108) [ci skip]
agoni1212 [Thu, 20 Apr 2023 02:07:31 +0000 (10:07 +0800)] 
chore: typo (#8108) [ci skip]

2 years agofix(hmr): force update cached slots during HMR
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

2 years agofix(compiler-sfc): normalize filename when invalidating cache
Evan You [Tue, 18 Apr 2023 14:21:29 +0000 (22:21 +0800)] 
fix(compiler-sfc): normalize filename when invalidating cache

2 years agorelease: v3.3.0-alpha.12 v3.3.0-alpha.12
Evan You [Tue, 18 Apr 2023 14:18:56 +0000 (22:18 +0800)] 
release: v3.3.0-alpha.12

2 years agofix(compiler): fix expression codegen for literal const bindings in non-inline mode
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

2 years agoworkflow: support building types in build script
Evan You [Tue, 18 Apr 2023 03:39:21 +0000 (11:39 +0800)] 
workflow: support building types in build script

2 years agorelease: v3.3.0-alpha.11 v3.3.0-alpha.11
Evan You [Mon, 17 Apr 2023 13:17:17 +0000 (21:17 +0800)] 
release: v3.3.0-alpha.11

2 years agofix(compiler-sfc): normalize windows paths when resolving types
Evan You [Mon, 17 Apr 2023 12:59:03 +0000 (20:59 +0800)] 
fix(compiler-sfc): normalize windows paths when resolving types

2 years agorelease: v3.3.0-alpha.10 v3.3.0-alpha.10
Evan You [Mon, 17 Apr 2023 10:15:17 +0000 (18:15 +0800)] 
release: v3.3.0-alpha.10

2 years agofix(hmr): invalidate cached props/emits options on hmr
Evan You [Mon, 17 Apr 2023 10:05:17 +0000 (18:05 +0800)] 
fix(hmr): invalidate cached props/emits options on hmr

2 years agofeat(compiler-sfc): support specifying global types for sfc macros
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

2 years agofeat(compiler-sfc): expose type resolve APIs
Evan You [Sun, 16 Apr 2023 03:11:26 +0000 (11:11 +0800)] 
feat(compiler-sfc): expose type resolve APIs

2 years agofeat(compiler-sfc): mark props destructure as experimental and require explicit opt-in
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

2 years agofeat(compiler-sfc): support string/number indexed types in macros
Evan You [Sat, 15 Apr 2023 13:46:44 +0000 (21:46 +0800)] 
feat(compiler-sfc): support string/number indexed types in macros

2 years agofeat(compiler-sfc): expose type import deps on compiled script block
Evan You [Sat, 15 Apr 2023 10:06:48 +0000 (18:06 +0800)] 
feat(compiler-sfc): expose type import deps on compiled script block

2 years agorefactor: avoid hard error when inferring runtime type
Evan You [Sat, 15 Apr 2023 09:59:50 +0000 (17:59 +0800)] 
refactor: avoid hard error when inferring runtime type

2 years agochore: comments [ci skip]
Evan You [Fri, 14 Apr 2023 12:53:21 +0000 (20:53 +0800)] 
chore: comments [ci skip]

2 years agotest: refactor resolveType test
Evan You [Fri, 14 Apr 2023 09:43:14 +0000 (17:43 +0800)] 
test: refactor resolveType test

2 years agofeat(compiler-sfc): support resolving type imports from modules
Evan You [Fri, 14 Apr 2023 09:27:50 +0000 (17:27 +0800)] 
feat(compiler-sfc): support resolving type imports from modules

2 years agowip: cache fileToScope + improve vue file offset
Evan You [Thu, 13 Apr 2023 14:38:00 +0000 (22:38 +0800)] 
wip: cache fileToScope + improve vue file offset

2 years agorefactor: improve type resolve error output
Evan You [Thu, 13 Apr 2023 13:36:23 +0000 (21:36 +0800)] 
refactor: improve type resolve error output

2 years agofeat(compiler-sfc): support relative imported types in macros
Evan You [Thu, 13 Apr 2023 12:49:16 +0000 (20:49 +0800)] 
feat(compiler-sfc): support relative imported types in macros

2 years agochore: improve sfc-playground typing + bump repl for 3.3 external type resolve support
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

2 years agofeat(compiler-sfc): support namespace members type in macros
Evan You [Thu, 13 Apr 2023 04:32:52 +0000 (12:32 +0800)] 
feat(compiler-sfc): support namespace members type in macros

2 years agofeat(compiler-sfc): support string indexed 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

2 years agorefactor: adjust ResolvedElements shape
Evan You [Thu, 13 Apr 2023 02:42:15 +0000 (10:42 +0800)] 
refactor: adjust ResolvedElements shape

2 years agofeat(compiler-sfc): support limited built-in utility types in macros
Evan You [Thu, 13 Apr 2023 02:28:22 +0000 (10:28 +0800)] 
feat(compiler-sfc): support limited built-in utility types in macros

2 years agofeat(compiler-sfc): support mapped types, string types & template type 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

2 years agofeat(compiler-sfc): support intersection and union types 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

2 years agotest: split compileScript macro tests
Evan You [Wed, 12 Apr 2023 08:46:26 +0000 (16:46 +0800)] 
test: split compileScript macro tests

2 years agorefactor(compiler-sfc): rework macro type resolution
Evan You [Tue, 11 Apr 2023 15:00:28 +0000 (23:00 +0800)] 
refactor(compiler-sfc): rework macro type resolution

2 years agorefactor(compiler-sfc): split normal script logic
Evan You [Tue, 11 Apr 2023 07:58:53 +0000 (15:58 +0800)] 
refactor(compiler-sfc): split normal script logic

2 years agorefactor(compiler-sfc): split all macros
Evan You [Tue, 11 Apr 2023 07:35:05 +0000 (15:35 +0800)] 
refactor(compiler-sfc): split all macros

2 years agorefactor(compiler-sfc): split more logic
Evan You [Tue, 11 Apr 2023 07:20:55 +0000 (15:20 +0800)] 
refactor(compiler-sfc): split more logic

2 years agorefactor(compiler-sfc): simplify props destructure arguments
Evan You [Tue, 11 Apr 2023 06:37:57 +0000 (14:37 +0800)] 
refactor(compiler-sfc): simplify props destructure arguments

2 years agorefactor(compiler-sfc): extract defineEmits logic
Evan You [Tue, 11 Apr 2023 06:34:18 +0000 (14:34 +0800)] 
refactor(compiler-sfc): extract defineEmits logic

2 years agorefactor(compiler-sfc): extract processDefineModel, move main magic string instance...
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

2 years agorefactor(compiler-sfc): collapse genRuntimeProps logic
Evan You [Tue, 11 Apr 2023 06:06:54 +0000 (14:06 +0800)] 
refactor(compiler-sfc): collapse genRuntimeProps logic

2 years agorefactor(compiler-sfc): extract more defineProps logic
Evan You [Tue, 11 Apr 2023 05:45:45 +0000 (13:45 +0800)] 
refactor(compiler-sfc): extract more defineProps logic

2 years agorefactor(compiler-sfc): remove useless type generation
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

2 years agorefactor(compiler-sfc): (wip) split compileScript logic, use context, move defineProps
Evan You [Tue, 11 Apr 2023 05:06:04 +0000 (13:06 +0800)] 
refactor(compiler-sfc): (wip) split compileScript logic, use context, move defineProps

2 years agochore: update treeshaken deps list
Evan You [Mon, 10 Apr 2023 07:16:29 +0000 (15:16 +0800)] 
chore: update treeshaken deps list

2 years agofix(runtime-core): properly merge props and emits options from mixins (#8052)
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

2 years agochore(reactivity): remove unnecessary type assertions. (#8046)
丶远方 [Mon, 10 Apr 2023 06:06:56 +0000 (14:06 +0800)] 
chore(reactivity): remove unnecessary type assertions. (#8046)

2 years agochore: replace brotli with node:zlib (#8045)
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>
2 years agoperf(compiler): use source-map-js
Evan You [Sun, 9 Apr 2023 08:50:00 +0000 (16:50 +0800)] 
perf(compiler): use source-map-js

2 years agorelease: v3.3.0-alpha.9 v3.3.0-alpha.9
Evan You [Sat, 8 Apr 2023 05:33:46 +0000 (13:33 +0800)] 
release: v3.3.0-alpha.9

2 years agoworkflow: remove yarn usage in release script
Evan You [Sat, 8 Apr 2023 05:28:55 +0000 (13:28 +0800)] 
workflow: remove yarn usage in release script

2 years agochore: move ts-ignore comment in release script
Evan You [Sat, 8 Apr 2023 05:23:06 +0000 (13:23 +0800)] 
chore: move ts-ignore comment in release script

2 years agochore: lock puppeteer version
Evan You [Sat, 8 Apr 2023 04:40:44 +0000 (12:40 +0800)] 
chore: lock puppeteer version

2 years agochore: make vercel silent
Evan You [Sat, 8 Apr 2023 04:28:30 +0000 (12:28 +0800)] 
chore: make vercel silent

2 years agofeat(sfc): introduce `defineModel` macro and `useModel` helper (#8018)
三咲智子 Kevin Deng [Sat, 8 Apr 2023 04:13:05 +0000 (12:13 +0800)] 
feat(sfc): introduce `defineModel` macro and `useModel` helper (#8018)

2 years agochore: bump repl for sfc playground
Evan You [Thu, 6 Apr 2023 10:10:10 +0000 (18:10 +0800)] 
chore: bump repl for sfc playground

2 years agoworkflow: use environment for canary release workflow
Evan You [Thu, 6 Apr 2023 09:35:14 +0000 (17:35 +0800)] 
workflow: use environment for canary release workflow

2 years agofix(compiler-sfc): fix binding type for constants when hoistStatic is disabled (...
三咲智子 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)

2 years agochore(reactive): remove unref type assertion (#8007)
丶远方 [Thu, 6 Apr 2023 09:15:27 +0000 (17:15 +0800)] 
chore(reactive): remove unref type assertion (#8007)