]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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
三咲智子 Kevin Deng [Tue, 28 Mar 2023 08:28:06 +0000 (16:28 +0800)]
feat(compiler-sfc): support module string names syntax (#7428)
https://github.com/tc39/ecma262/pull/2154
三咲智子 Kevin Deng [Tue, 28 Mar 2023 08:27:34 +0000 (16:27 +0800)]
fix(compiler-sfc): fix edge case of default export call with no args (#7536)
closes #7534
三咲智子 Kevin Deng [Tue, 28 Mar 2023 08:23:39 +0000 (16:23 +0800)]
fix(compiler-sfc): properly remove comma of multiple macros in the same declaration (#7423)
closes #7422
reverts #6778
三咲智子 Kevin Deng [Tue, 28 Mar 2023 07:48:41 +0000 (15:48 +0800)]
fix(compiler-sfc): allow `<script>` with lang='js' (#7398)
Evan You [Tue, 28 Mar 2023 07:40:25 +0000 (15:40 +0800)]
fix(compiler-sfc): handle more TS built-in utilities in defineProps inference
三咲智子 Kevin Deng [Tue, 28 Mar 2023 07:40:03 +0000 (15:40 +0800)]
fix(compiler-sfc): infer TSIntersectionType in defineProps (#7394)
三咲智子 Kevin Deng [Tue, 28 Mar 2023 07:22:01 +0000 (15:22 +0800)]
fix(compiler-sfc): unwrap TS node for defineProps (#7340)
三咲智子 Kevin Deng [Tue, 28 Mar 2023 07:19:14 +0000 (15:19 +0800)]
fix(compiler-sfc): infer TS Extract&Exclude runtime type (#7339)
closes #7337
closes #6252
三咲智子 Kevin Deng [Tue, 28 Mar 2023 03:59:21 +0000 (11:59 +0800)]
fix(compiler-sfc): infer function prop type from type literal w/ callable signature (#7119)
三咲智子 Kevin Deng [Tue, 28 Mar 2023 03:54:22 +0000 (11:54 +0800)]
fix(compiler-sfc): rewrite default export with AST analysis instead of regex (#7068)
closes #7038
closes #7041
closes #7078
三咲智子 Kevin Deng [Tue, 28 Mar 2023 03:34:29 +0000 (11:34 +0800)]
feat(complier-sfc): hoist literal constants for script (#5752)
- Support using literal constants in macros
- fix useCssVars insert position edge case
- fix non-literal-const enum hoisting
close #5750
Evan You [Tue, 28 Mar 2023 03:17:38 +0000 (11:17 +0800)]
fix(types): revert jsx global removal (to be removed in 3.4)
Remco Haszing [Tue, 28 Mar 2023 03:06:49 +0000 (05:06 +0200)]
fix(jsx-runtime): fix automatic runtime implementation (#7959)
三咲智子 Kevin Deng [Tue, 28 Mar 2023 02:43:51 +0000 (10:43 +0800)]
feat(compiler-sfc): add defineOptions macro (#5738)
三咲智子 Kevin Deng [Tue, 28 Mar 2023 01:56:21 +0000 (09:56 +0800)]
chore: eslint node env should apply to root ts config files (#7687)
Evan You [Tue, 28 Mar 2023 01:53:33 +0000 (09:53 +0800)]
chore: remove unused deps
close #7365
三咲智子 Kevin Deng [Tue, 28 Mar 2023 01:52:06 +0000 (09:52 +0800)]
chore(deps): upgrade rollup & magic-string (#7326)
Haoqun Jiang [Tue, 28 Mar 2023 01:43:09 +0000 (09:43 +0800)]
build: exit with code 1 on release failure (#7962)
See https://github.com/vuejs/core/actions/runs/
4527710331 /jobs/
7973811532 #step:6:279
The canary release action should fail if the release script fails.
Haoqun Jiang [Tue, 28 Mar 2023 01:42:45 +0000 (09:42 +0800)]
build: don't wait for changelog edits when `--skip-prompts` or `--canary` is specified (#7965)
Evan You [Tue, 28 Mar 2023 00:57:56 +0000 (08:57 +0800)]
test: add test for defineComponent function syntax with object emits
Evan You [Mon, 27 Mar 2023 12:56:07 +0000 (20:56 +0800)]
feat(sfc): deprecate reactivity transform
Evan You [Mon, 27 Mar 2023 10:32:45 +0000 (18:32 +0800)]
ci: avoid duplicated ci runs on self-repo pull requests
Evan You [Mon, 27 Mar 2023 10:28:43 +0000 (18:28 +0800)]
feat(types): `defineComponent()` with generics support (#7963)
BREAKING CHANGE: The type of `defineComponent()` when passing in a function has changed. This overload signature is rarely used in practice and the breakage will be minimal, so repurposing it to something more useful should be worth it.
close #3102
Evan You [Mon, 27 Mar 2023 10:03:02 +0000 (18:03 +0800)]
chore: fix type
Evan You [Sun, 26 Mar 2023 09:44:01 +0000 (17:44 +0800)]
fix(types/jsx): remove $slots children override
Evan You [Sun, 26 Mar 2023 08:52:46 +0000 (16:52 +0800)]
release: v3.3.0-alpha.5
Evan You [Sun, 26 Mar 2023 08:40:53 +0000 (16:40 +0800)]
feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958)
- No longer implicitly register global JSX types by default
- This avoid conflict when using Vue in the same project with React
- Global registration must now be done by explicitly importing /
referencing `vue/jsx`, or listing it in `compilerOptions.types`.
- Add `vue/jsx-runtime` to support `jsxImportSource` usage
- Can enable globally by setting `compilerOptions.jsxImportSource` to `'vue'`
- Can also opt-in per-file with `/** @jsxImportSource vue */`
Evan You [Sun, 26 Mar 2023 08:38:42 +0000 (16:38 +0800)]
chore: allow editing changelog before committing release
Evan You [Sun, 26 Mar 2023 07:58:04 +0000 (15:58 +0800)]
fix(types): ensure defineProps with generics return correct types
Evan You [Sun, 26 Mar 2023 01:37:35 +0000 (09:37 +0800)]
chore: add redirect for template explorer