From 8243cd250fb4879bd6993ea598465a21673a00e2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 20 Apr 2023 21:13:34 +0800 Subject: [PATCH] release: v3.3.0-alpha.13 --- CHANGELOG.md | 20 +++++++++ package.json | 2 +- packages/compiler-core/package.json | 4 +- packages/compiler-dom/package.json | 6 +-- packages/compiler-sfc/package.json | 12 ++--- packages/compiler-ssr/package.json | 6 +-- packages/dts-test/package.json | 2 +- packages/reactivity-transform/package.json | 6 +-- packages/reactivity/package.json | 4 +- packages/runtime-core/package.json | 6 +-- packages/runtime-dom/package.json | 6 +-- packages/runtime-test/package.json | 6 +-- packages/server-renderer/package.json | 8 ++-- packages/sfc-playground/package.json | 2 +- packages/shared/package.json | 2 +- packages/size-check/package.json | 2 +- packages/template-explorer/package.json | 2 +- packages/vue-compat/package.json | 4 +- packages/vue/package.json | 12 ++--- pnpm-lock.yaml | 52 +++++++++++----------- 20 files changed, 92 insertions(+), 72 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dba7c533dc2..5b102924521 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +# [3.3.0-alpha.13](https://github.com/vuejs/core/compare/v3.3.0-alpha.12...v3.3.0-alpha.13) (2023-04-20) + + +### Bug Fixes + +* **compiler-sfc:** handle type merging + fix namespace access when inferring type ([d53e157](https://github.com/vuejs/core/commit/d53e157805678db7a3b9ca2fccc74530e1dfbc48)), closes [#8102](https://github.com/vuejs/core/issues/8102) +* **compiler-sfc:** normalize filename when invalidating cache ([9b5a34b](https://github.com/vuejs/core/commit/9b5a34bf8c0d1b4c6ec3cf1434076b7e25065f84)) +* **hmr:** always traverse static children in dev ([f17a82c](https://github.com/vuejs/core/commit/f17a82c769cfb60ee6785ef5d34d91191d153542)), closes [#7921](https://github.com/vuejs/core/issues/7921) [#8100](https://github.com/vuejs/core/issues/8100) +* **hmr:** force update cached slots during HMR ([94fa67a](https://github.com/vuejs/core/commit/94fa67a4f73b3646c8c1e29512a71b17bd56efc3)), closes [#7155](https://github.com/vuejs/core/issues/7155) [#7158](https://github.com/vuejs/core/issues/7158) + + +### Features + +* **compiler-sfc:** support dynamic imports when resolving types ([4496456](https://github.com/vuejs/core/commit/4496456d7d9947560ef1e35ccb176b97a27bd8f4)) +* **compiler-sfc:** support export * when resolving types ([7c3ca3c](https://github.com/vuejs/core/commit/7c3ca3cc3e122fe273e80a950c57d492a7f0bf4a)) +* **compiler-sfc:** support ExtractPropTypes when resolving types ([50c0bbe](https://github.com/vuejs/core/commit/50c0bbe5221dbc1dc353d4960e69ec7c8ba12905)), closes [#8104](https://github.com/vuejs/core/issues/8104) +* hasInjectionContext() for libraries ([#8111](https://github.com/vuejs/core/issues/8111)) ([5510ce3](https://github.com/vuejs/core/commit/5510ce385abfa151c07a5253cccf4abccabdd01d)) + + + # [3.3.0-alpha.12](https://github.com/vuejs/core/compare/v3.3.0-alpha.11...v3.3.0-alpha.12) (2023-04-18) diff --git a/package.json b/package.json index 9aadea2b94c..9a641ca6bb1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "packageManager": "pnpm@7.26.0", "type": "module", "scripts": { diff --git a/packages/compiler-core/package.json b/packages/compiler-core/package.json index 3e04a35b48c..9dde3747c6b 100644 --- a/packages/compiler-core/package.json +++ b/packages/compiler-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-core", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/compiler-core", "main": "index.js", "module": "dist/compiler-core.esm-bundler.js", @@ -33,7 +33,7 @@ "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme", "dependencies": { "@babel/parser": "^7.21.3", - "@vue/shared": "3.3.0-alpha.12", + "@vue/shared": "3.3.0-alpha.13", "estree-walker": "^2.0.2", "source-map-js": "^1.0.2" }, diff --git a/packages/compiler-dom/package.json b/packages/compiler-dom/package.json index 77315a776aa..4512b559dff 100644 --- a/packages/compiler-dom/package.json +++ b/packages/compiler-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-dom", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/compiler-dom", "main": "index.js", "module": "dist/compiler-dom.esm-bundler.js", @@ -37,7 +37,7 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.12", - "@vue/compiler-core": "3.3.0-alpha.12" + "@vue/shared": "3.3.0-alpha.13", + "@vue/compiler-core": "3.3.0-alpha.13" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index 7bdce2ae52f..1289bb3d98e 100644 --- a/packages/compiler-sfc/package.json +++ b/packages/compiler-sfc/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-sfc", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/compiler-sfc", "main": "dist/compiler-sfc.cjs.js", "module": "dist/compiler-sfc.esm-browser.js", @@ -33,11 +33,11 @@ "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme", "dependencies": { "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.0-alpha.12", - "@vue/compiler-dom": "3.3.0-alpha.12", - "@vue/compiler-ssr": "3.3.0-alpha.12", - "@vue/reactivity-transform": "3.3.0-alpha.12", - "@vue/shared": "3.3.0-alpha.12", + "@vue/compiler-core": "3.3.0-alpha.13", + "@vue/compiler-dom": "3.3.0-alpha.13", + "@vue/compiler-ssr": "3.3.0-alpha.13", + "@vue/reactivity-transform": "3.3.0-alpha.13", + "@vue/shared": "3.3.0-alpha.13", "estree-walker": "^2.0.2", "magic-string": "^0.30.0", "postcss": "^8.1.10", diff --git a/packages/compiler-ssr/package.json b/packages/compiler-ssr/package.json index 00a19fd30fb..d223daff98d 100644 --- a/packages/compiler-ssr/package.json +++ b/packages/compiler-ssr/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-ssr", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/compiler-ssr", "main": "dist/compiler-ssr.cjs.js", "types": "dist/compiler-ssr.d.ts", @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.12", - "@vue/compiler-dom": "3.3.0-alpha.12" + "@vue/shared": "3.3.0-alpha.13", + "@vue/compiler-dom": "3.3.0-alpha.13" } } diff --git a/packages/dts-test/package.json b/packages/dts-test/package.json index 35f773f4c8f..8a2476a73a6 100644 --- a/packages/dts-test/package.json +++ b/packages/dts-test/package.json @@ -4,5 +4,5 @@ "dependencies": { "vue": "workspace:*" }, - "version": "3.3.0-alpha.12" + "version": "3.3.0-alpha.13" } diff --git a/packages/reactivity-transform/package.json b/packages/reactivity-transform/package.json index 8f9f27714a2..e08f2f2412b 100644 --- a/packages/reactivity-transform/package.json +++ b/packages/reactivity-transform/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity-transform", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/reactivity-transform", "main": "dist/reactivity-transform.cjs.js", "files": [ @@ -29,8 +29,8 @@ "homepage": "https://github.com/vuejs/core/tree/dev/packages/reactivity-transform#readme", "dependencies": { "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.0-alpha.12", - "@vue/shared": "3.3.0-alpha.12", + "@vue/compiler-core": "3.3.0-alpha.13", + "@vue/shared": "3.3.0-alpha.13", "estree-walker": "^2.0.2", "magic-string": "^0.30.0" }, diff --git a/packages/reactivity/package.json b/packages/reactivity/package.json index 976c806f7d3..20914038024 100644 --- a/packages/reactivity/package.json +++ b/packages/reactivity/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/reactivity", "main": "index.js", "module": "dist/reactivity.esm-bundler.js", @@ -36,6 +36,6 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.12" + "@vue/shared": "3.3.0-alpha.13" } } diff --git a/packages/runtime-core/package.json b/packages/runtime-core/package.json index 262062392b3..d9cc4d84cdc 100644 --- a/packages/runtime-core/package.json +++ b/packages/runtime-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-core", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/runtime-core", "main": "index.js", "module": "dist/runtime-core.esm-bundler.js", @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.12", - "@vue/reactivity": "3.3.0-alpha.12" + "@vue/shared": "3.3.0-alpha.13", + "@vue/reactivity": "3.3.0-alpha.13" } } diff --git a/packages/runtime-dom/package.json b/packages/runtime-dom/package.json index 75f5abfaed3..67960114d81 100644 --- a/packages/runtime-dom/package.json +++ b/packages/runtime-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-dom", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/runtime-dom", "main": "index.js", "module": "dist/runtime-dom.esm-bundler.js", @@ -35,8 +35,8 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.12", - "@vue/runtime-core": "3.3.0-alpha.12", + "@vue/shared": "3.3.0-alpha.13", + "@vue/runtime-core": "3.3.0-alpha.13", "csstype": "^3.1.1" } } diff --git a/packages/runtime-test/package.json b/packages/runtime-test/package.json index 410b18e315a..bec719505a3 100644 --- a/packages/runtime-test/package.json +++ b/packages/runtime-test/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-test", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/runtime-test", "private": true, "main": "index.js", @@ -25,7 +25,7 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-test#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.12", - "@vue/runtime-core": "3.3.0-alpha.12" + "@vue/shared": "3.3.0-alpha.13", + "@vue/runtime-core": "3.3.0-alpha.13" } } diff --git a/packages/server-renderer/package.json b/packages/server-renderer/package.json index a33085b4b4c..b9dd96c1515 100644 --- a/packages/server-renderer/package.json +++ b/packages/server-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/server-renderer", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "@vue/server-renderer", "main": "index.js", "module": "dist/server-renderer.esm-bundler.js", @@ -32,10 +32,10 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme", "peerDependencies": { - "vue": "3.3.0-alpha.12" + "vue": "3.3.0-alpha.13" }, "dependencies": { - "@vue/shared": "3.3.0-alpha.12", - "@vue/compiler-ssr": "3.3.0-alpha.12" + "@vue/shared": "3.3.0-alpha.13", + "@vue/compiler-ssr": "3.3.0-alpha.13" } } diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json index fa21efb2cd2..9b5f5908e82 100644 --- a/packages/sfc-playground/package.json +++ b/packages/sfc-playground/package.json @@ -1,6 +1,6 @@ { "name": "@vue/sfc-playground", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "private": true, "scripts": { "dev": "vite", diff --git a/packages/shared/package.json b/packages/shared/package.json index f45c496a974..b4c580a0b68 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@vue/shared", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "internal utils shared across @vue packages", "main": "index.js", "module": "dist/shared.esm-bundler.js", diff --git a/packages/size-check/package.json b/packages/size-check/package.json index ec6535ed06d..44642b96df5 100644 --- a/packages/size-check/package.json +++ b/packages/size-check/package.json @@ -1,6 +1,6 @@ { "name": "@vue/size-check", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "private": true, "scripts": { "build": "vite build" diff --git a/packages/template-explorer/package.json b/packages/template-explorer/package.json index a3864701851..6fd51f21f59 100644 --- a/packages/template-explorer/package.json +++ b/packages/template-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/template-explorer", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "private": true, "buildOptions": { "formats": [ diff --git a/packages/vue-compat/package.json b/packages/vue-compat/package.json index 0a1f8117f26..6d9024a6c5d 100644 --- a/packages/vue-compat/package.json +++ b/packages/vue-compat/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compat", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "Vue 3 compatibility build for Vue 2", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -43,6 +43,6 @@ "source-map-js": "^1.0.2" }, "peerDependencies": { - "vue": "3.3.0-alpha.12" + "vue": "3.3.0-alpha.13" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index 7769f075d1b..1154246eef4 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "3.3.0-alpha.12", + "version": "3.3.0-alpha.13", "description": "The progressive JavaScript framework for building modern web UI.", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -81,10 +81,10 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.12", - "@vue/compiler-dom": "3.3.0-alpha.12", - "@vue/runtime-dom": "3.3.0-alpha.12", - "@vue/compiler-sfc": "3.3.0-alpha.12", - "@vue/server-renderer": "3.3.0-alpha.12" + "@vue/shared": "3.3.0-alpha.13", + "@vue/compiler-dom": "3.3.0-alpha.13", + "@vue/runtime-dom": "3.3.0-alpha.13", + "@vue/compiler-sfc": "3.3.0-alpha.13", + "@vue/server-renderer": "3.3.0-alpha.13" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d880dbbd69..b81830f3abc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -100,7 +100,7 @@ importers: specifiers: '@babel/parser': ^7.21.3 '@babel/types': ^7.21.3 - '@vue/shared': 3.3.0-alpha.12 + '@vue/shared': 3.3.0-alpha.13 estree-walker: ^2.0.2 source-map-js: ^1.0.2 dependencies: @@ -113,8 +113,8 @@ importers: packages/compiler-dom: specifiers: - '@vue/compiler-core': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/compiler-core': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 dependencies: '@vue/compiler-core': link:../compiler-core '@vue/shared': link:../shared @@ -125,12 +125,12 @@ importers: '@babel/types': ^7.21.3 '@types/estree': ^0.0.48 '@types/lru-cache': ^5.1.0 - '@vue/compiler-core': 3.3.0-alpha.12 - '@vue/compiler-dom': 3.3.0-alpha.12 - '@vue/compiler-ssr': 3.3.0-alpha.12 + '@vue/compiler-core': 3.3.0-alpha.13 + '@vue/compiler-dom': 3.3.0-alpha.13 + '@vue/compiler-ssr': 3.3.0-alpha.13 '@vue/consolidate': ^0.17.3 - '@vue/reactivity-transform': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/reactivity-transform': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 estree-walker: ^2.0.2 hash-sum: ^2.0.0 lru-cache: ^5.1.1 @@ -168,8 +168,8 @@ importers: packages/compiler-ssr: specifiers: - '@vue/compiler-dom': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/compiler-dom': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/shared': link:../shared @@ -182,7 +182,7 @@ importers: packages/reactivity: specifiers: - '@vue/shared': 3.3.0-alpha.12 + '@vue/shared': 3.3.0-alpha.13 dependencies: '@vue/shared': link:../shared @@ -191,8 +191,8 @@ importers: '@babel/core': ^7.21.3 '@babel/parser': ^7.20.15 '@babel/types': ^7.21.3 - '@vue/compiler-core': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/compiler-core': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 estree-walker: ^2.0.2 magic-string: ^0.30.0 dependencies: @@ -207,16 +207,16 @@ importers: packages/runtime-core: specifiers: - '@vue/reactivity': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/reactivity': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 dependencies: '@vue/reactivity': link:../reactivity '@vue/shared': link:../shared packages/runtime-dom: specifiers: - '@vue/runtime-core': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/runtime-core': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 csstype: ^3.1.1 dependencies: '@vue/runtime-core': link:../runtime-core @@ -225,16 +225,16 @@ importers: packages/runtime-test: specifiers: - '@vue/runtime-core': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/runtime-core': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 dependencies: '@vue/runtime-core': link:../runtime-core '@vue/shared': link:../shared packages/server-renderer: specifiers: - '@vue/compiler-ssr': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/compiler-ssr': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 dependencies: '@vue/compiler-ssr': link:../compiler-ssr '@vue/shared': link:../shared @@ -275,11 +275,11 @@ importers: packages/vue: specifiers: - '@vue/compiler-dom': 3.3.0-alpha.12 - '@vue/compiler-sfc': 3.3.0-alpha.12 - '@vue/runtime-dom': 3.3.0-alpha.12 - '@vue/server-renderer': 3.3.0-alpha.12 - '@vue/shared': 3.3.0-alpha.12 + '@vue/compiler-dom': 3.3.0-alpha.13 + '@vue/compiler-sfc': 3.3.0-alpha.13 + '@vue/runtime-dom': 3.3.0-alpha.13 + '@vue/server-renderer': 3.3.0-alpha.13 + '@vue/shared': 3.3.0-alpha.13 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/compiler-sfc': link:../compiler-sfc