]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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
Himself65 [Sat, 25 Mar 2023 01:01:10 +0000 (20:01 -0500)]
test: improve test case on `$el` (#7922)
Evan You [Fri, 24 Mar 2023 07:06:43 +0000 (15:06 +0800)]
feat(dx): improve readability of displayed types for props
Evan You [Thu, 23 Mar 2023 09:11:35 +0000 (17:11 +0800)]
build: upgrade to TypeScript 5.x
Evan You [Thu, 23 Mar 2023 08:36:33 +0000 (16:36 +0800)]
chore: bump vite & vitest
Evan You [Thu, 23 Mar 2023 08:33:10 +0000 (16:33 +0800)]
build: bump rollup, remove cjs re-exports hack
Evan You [Thu, 23 Mar 2023 08:30:42 +0000 (16:30 +0800)]
refactor: remove circular dependencies in compiler
Haoqun Jiang [Fri, 17 Mar 2023 08:47:48 +0000 (16:47 +0800)]
build: fix canary bundling issues (#7907)
1. correct the rollup config after the package name changed
2. fix the same-day patch version bump of canary releases
Haoqun Jiang [Fri, 17 Mar 2023 07:37:29 +0000 (15:37 +0800)]
ci: release canary versions every week (#7860)
* build: support `--canary` flag for canary releases
Also adds `--skip-git` and `--skip-prompts` flags as they would be
useful in ecosystem-ci
* ci: add a workflow to do canary releases every Monday
* build: allow manually releasing patch canary versions
* chore: don't bother updating the README
As far as I know, only Knighly modifies the README for nightly builds:
<https://www.npmjs.com/package/@knightly/vue>
Nuxt, React, and TypeScript all keep the README as-is for edge releases.
So I think we can avoid the complexity here.
* refactor: checkCIStatus -> getCIResult
* chore: keep the canary major in sync with the repo major
* fix: fix version rewriting
* fix: `@vue/compat` is also a core package
The directory name format of `@vue/compat` is different from other core packages, so it needs to be handled separately.
Missing it didn't cause any problems because the `isCorePackage`
function is only used to test dependency names, and `@vue/compat` isn't
used as a dependency anywhere.
But it's good to fix it anyway.
Evan You [Tue, 21 Feb 2023 14:46:43 +0000 (22:46 +0800)]
ci: only disable threads for gh
Evan You [Tue, 21 Feb 2023 14:43:45 +0000 (22:43 +0800)]
chore: remove warnings due to potential false-positives
Evan You [Tue, 21 Feb 2023 13:59:41 +0000 (21:59 +0800)]
fix(runtime-core): support `getCurrentInstance` across mutiple builds of Vue
Evan You [Tue, 21 Feb 2023 12:44:00 +0000 (20:44 +0800)]
chore: bump vitest + use threads
Evan You [Tue, 21 Feb 2023 09:42:06 +0000 (17:42 +0800)]
refactor(runtime-core): use Symbol.for for runtime Symbols
丶远方 [Sat, 11 Feb 2023 16:55:21 +0000 (00:55 +0800)]
chore: fix typo (#7680)
Haoqun Jiang [Fri, 10 Feb 2023 11:02:41 +0000 (19:02 +0800)]
ci: add a ecosystem-ci-trigger workflow (#7618)
Evan You [Mon, 6 Feb 2023 06:10:56 +0000 (14:10 +0800)]
release: v3.3.0-alpha.4
Evan You [Mon, 6 Feb 2023 06:03:15 +0000 (14:03 +0800)]
fix(build): fix const enum w/ number values
Evan You [Mon, 6 Feb 2023 02:27:25 +0000 (10:27 +0800)]
release: v3.3.0-alpha.3
Evan You [Mon, 6 Feb 2023 01:47:46 +0000 (09:47 +0800)]
build: fix const enum when cache dir does not exist
Evan You [Mon, 6 Feb 2023 01:44:12 +0000 (09:44 +0800)]
fix(build): avoid const enum conflicts
Evan You [Mon, 6 Feb 2023 01:35:08 +0000 (09:35 +0800)]
build: reuse const enum data between concurrent rollup builds
Evan You [Mon, 6 Feb 2023 01:02:41 +0000 (09:02 +0800)]
chore: catch unhandled export as just in case
Evan You [Sun, 5 Feb 2023 08:23:54 +0000 (16:23 +0800)]
release: v3.3.0-alpha.2
Evan You [Sun, 5 Feb 2023 08:05:33 +0000 (16:05 +0800)]
chore: avoid double-building types on release
Evan You [Sun, 5 Feb 2023 05:26:01 +0000 (13:26 +0800)]
fix(build): fix dev flag replacement in esm-bundler builds
Evan You [Sun, 5 Feb 2023 03:20:39 +0000 (11:20 +0800)]
release: v3.3.0-alpha.1
Evan You [Sat, 4 Feb 2023 03:59:42 +0000 (11:59 +0800)]
build: improve dts rollup output
Evan You [Fri, 3 Feb 2023 13:49:18 +0000 (21:49 +0800)]
chore: use workspace vue dep for sfc-playground
Evan You [Fri, 3 Feb 2023 13:41:33 +0000 (21:41 +0800)]
test: more strict linking in dts tests
Evan You [Fri, 3 Feb 2023 10:29:17 +0000 (18:29 +0800)]
build: stricter conditions for UnaryExpression in const enum plugin
Evan You [Fri, 3 Feb 2023 10:24:03 +0000 (18:24 +0800)]
chore: use consistent ts-check comments in scripts
Evan You [Fri, 3 Feb 2023 10:18:20 +0000 (18:18 +0800)]
chore: update packageManager field
Evan You [Fri, 3 Feb 2023 10:12:56 +0000 (18:12 +0800)]
chore: use type: "module"
Evan You [Fri, 3 Feb 2023 10:03:33 +0000 (18:03 +0800)]
docs: document git hooks [ci skip]
Evan You [Fri, 3 Feb 2023 09:50:20 +0000 (17:50 +0800)]
ci: avoid netlify oom
Evan You [Fri, 3 Feb 2023 09:47:34 +0000 (17:47 +0800)]
docs: update contributing guide
Evan You [Fri, 3 Feb 2023 09:22:01 +0000 (17:22 +0800)]
build: fix size check
Evan You [Fri, 3 Feb 2023 09:10:31 +0000 (17:10 +0800)]
build: adjust dts test setup
Evan You [Fri, 3 Feb 2023 08:46:57 +0000 (16:46 +0800)]
ci: try puppeteer fix
Evan You [Fri, 3 Feb 2023 08:26:56 +0000 (16:26 +0800)]
build: fix handling of const enum that rely on previous values
Evan You [Fri, 3 Feb 2023 07:57:00 +0000 (15:57 +0800)]
build: remove api-extractor
Evan You [Fri, 3 Feb 2023 07:48:12 +0000 (15:48 +0800)]
build: use rollup-plugin-dts for dts build
Evan You [Fri, 3 Feb 2023 01:54:15 +0000 (09:54 +0800)]
build: custom const enum processing
Evan You [Thu, 2 Feb 2023 21:47:40 +0000 (05:47 +0800)]
chore: bump deps
Evan You [Thu, 2 Feb 2023 21:00:06 +0000 (05:00 +0800)]
build: refactor rollup config
Evan You [Thu, 2 Feb 2023 14:13:53 +0000 (22:13 +0800)]
chore: remove hanging slash from import
Evan You [Thu, 2 Feb 2023 08:36:07 +0000 (16:36 +0800)]
workflow: type check on commit
Evan You [Thu, 2 Feb 2023 08:26:12 +0000 (16:26 +0800)]
chore: remove rpts2
Evan You [Thu, 2 Feb 2023 08:20:32 +0000 (16:20 +0800)]
wip: isolatedModules + use rollup-plugin-esbuild
Evan You [Thu, 2 Feb 2023 14:32:21 +0000 (22:32 +0800)]
build: only enable esModule compat for cjs builds
Evan You [Thu, 2 Feb 2023 14:08:37 +0000 (22:08 +0800)]
workflow: disable threads during tests
Evan You [Thu, 2 Feb 2023 13:37:10 +0000 (21:37 +0800)]
chore: define compile time flags during size check
Evan You [Thu, 2 Feb 2023 13:36:36 +0000 (21:36 +0800)]
fix(build): ensure BaseTransition functions can be tree-shaken
Evan You [Thu, 2 Feb 2023 12:54:39 +0000 (20:54 +0800)]
chore: fix size reporting for brotli
Evan You [Thu, 2 Feb 2023 07:27:29 +0000 (15:27 +0800)]
chore: fix types
Evan You [Thu, 2 Feb 2023 05:48:18 +0000 (13:48 +0800)]
release: v3.2.47
Evan You [Thu, 2 Feb 2023 05:41:25 +0000 (13:41 +0800)]
fix(build): enforce __esModule interop for cjs builds
Evan You [Thu, 2 Feb 2023 03:32:04 +0000 (11:32 +0800)]
release: v3.2.46
Evan You [Thu, 2 Feb 2023 03:24:26 +0000 (11:24 +0800)]
workflow: check ci status during release
三咲智子 Kevin Deng [Thu, 2 Feb 2023 02:57:28 +0000 (10:57 +0800)]
fix(types): optional boolean props should have boolean type in return type of defineProps (#7619)
close #7116
fix #5847
fix #7487
edison [Wed, 1 Feb 2023 09:24:50 +0000 (17:24 +0800)]
fix(compiler-sfc): support resolving type declaration from normal script (#5831)
fix #5830
李想 [Wed, 1 Feb 2023 09:02:03 +0000 (17:02 +0800)]
fix(runtime-core): fix keep-alive cache prune logic on vnodes with same type but different keys (#7510)
fix #7355