From 889511719721b754e774b42f1bc3e43391a30f35 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 7 Apr 2023 20:18:53 +0800 Subject: [PATCH] release: v3.3.0-alpha.9 --- CHANGELOG.md | 38 ++++++++++++++++ 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, 110 insertions(+), 72 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c7ba846f5c..5841b02aaa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,41 @@ +# [3.3.0-alpha.9](https://github.com/vuejs/core/compare/v3.3.0-alpha.8...v3.3.0-alpha.9) (2023-04-07) + + +### Bug Fixes + +* avoid track unrelated effects ([7768d43](https://github.com/vuejs/core/commit/7768d43175ca58dd7bb8eec00a3db3f13f12ef45)) +* **compiler-sfc:** skip empty `defineOptions` and support TypeScript type assertions ([#8028](https://github.com/vuejs/core/issues/8028)) ([9557529](https://github.com/vuejs/core/commit/955752951e1d31b90d817bd20830fe3f89018771)) +* **compiler-ssr:** disable v-once transform in ssr vdom fallback branch ([05f94cf](https://github.com/vuejs/core/commit/05f94cf7b01dd05ed7d3170916a38b175d5df292)), closes [#7644](https://github.com/vuejs/core/issues/7644) +* computed effect dons't transfer ([208e59c](https://github.com/vuejs/core/commit/208e59c9d9e44765b2bd6eccbf7f6f395ae18979)) +* jest -> vitest ([014dcd5](https://github.com/vuejs/core/commit/014dcd5aa45a62927a96424d522d36255b741575)) +* ref newVal arg incorrect ([62dc5ee](https://github.com/vuejs/core/commit/62dc5ee1d132fdbb711a1ae9736293c75593f82a)) +* revert effects trigger order ([4a3e554](https://github.com/vuejs/core/commit/4a3e554d56a0e35c709801a087aadaaf956cd380)) +* **types:** improve defineProps return type with generic arguments ([91a931a](https://github.com/vuejs/core/commit/91a931ae8707b8d43f10216e1ce8e18b12158f99)) +* **types:** more public type argument order fix ([af563bf](https://github.com/vuejs/core/commit/af563bf428200367b6f5bb7944f690c85d810202)) +* **types:** retain type parameters order for public types ([bdf557f](https://github.com/vuejs/core/commit/bdf557f6f233c039fff8007b1b16aec00c4e68aa)) +* urgent assessment edge case ([eb0f8fa](https://github.com/vuejs/core/commit/eb0f8fae3891dbd841f3c59adbae51fc88a34e8f)) + + +### Features + +* **app:** app.runWithContext() ([#7451](https://github.com/vuejs/core/issues/7451)) ([869f3fb](https://github.com/vuejs/core/commit/869f3fb93e61400be4fd925e0850c2b1564749e2)) +* more purposeful test ([f3a0071](https://github.com/vuejs/core/commit/f3a007124d93b9a369692e545c5b9378e08736dd)) + + +### Performance Improvements + +* avoid duplicate trigger effect to deps ([0e0c44e](https://github.com/vuejs/core/commit/0e0c44e74f51037253c02c7186adbffb49cc3a40)) +* calculate embedded `computed()` on-demand ([f485ea0](https://github.com/vuejs/core/commit/f485ea01a9d1d7aca3bdc61b12f768de91c8d583)) +* reduce `triggerRefValue()` triggered ([399f155](https://github.com/vuejs/core/commit/399f1553c889a8b7486191ee56ce961814f26b9d)) + + +### Reverts + +* Revert "chore: add test for effect() on-demand trigger" ([b5527a1](https://github.com/vuejs/core/commit/b5527a17fa0374de2e2f39175788af30db1f594f)) +* Revert "chore: remove unused args passed to ssrRender" ([b117b88](https://github.com/vuejs/core/commit/b117b8844881a732a021432066230ff2215049ea)) + + + # [3.3.0-alpha.8](https://github.com/vuejs/core/compare/v3.3.0-alpha.7...v3.3.0-alpha.8) (2023-04-04) diff --git a/package.json b/package.json index 2f6db271c76..7da3028e73a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "3.3.0-alpha.8", + "version": "3.3.0-alpha.9", "packageManager": "pnpm@7.26.0", "type": "module", "scripts": { diff --git a/packages/compiler-core/package.json b/packages/compiler-core/package.json index 152fc9ce6cf..a7c20e8e1b8 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.8", + "version": "3.3.0-alpha.9", "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.8", + "@vue/shared": "3.3.0-alpha.9", "estree-walker": "^2.0.2", "source-map": "^0.6.1" }, diff --git a/packages/compiler-dom/package.json b/packages/compiler-dom/package.json index 007568fec7c..a73978cec7e 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.8", + "version": "3.3.0-alpha.9", "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.8", - "@vue/compiler-core": "3.3.0-alpha.8" + "@vue/shared": "3.3.0-alpha.9", + "@vue/compiler-core": "3.3.0-alpha.9" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index ce831788a9a..8c97d3b3b9b 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.8", + "version": "3.3.0-alpha.9", "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.8", - "@vue/compiler-dom": "3.3.0-alpha.8", - "@vue/compiler-ssr": "3.3.0-alpha.8", - "@vue/reactivity-transform": "3.3.0-alpha.8", - "@vue/shared": "3.3.0-alpha.8", + "@vue/compiler-core": "3.3.0-alpha.9", + "@vue/compiler-dom": "3.3.0-alpha.9", + "@vue/compiler-ssr": "3.3.0-alpha.9", + "@vue/reactivity-transform": "3.3.0-alpha.9", + "@vue/shared": "3.3.0-alpha.9", "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 b692b9fdd0f..b1809422b1d 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.8", + "version": "3.3.0-alpha.9", "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.8", - "@vue/compiler-dom": "3.3.0-alpha.8" + "@vue/shared": "3.3.0-alpha.9", + "@vue/compiler-dom": "3.3.0-alpha.9" } } diff --git a/packages/dts-test/package.json b/packages/dts-test/package.json index 5d5acc0989d..833b92e5008 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.8" + "version": "3.3.0-alpha.9" } diff --git a/packages/reactivity-transform/package.json b/packages/reactivity-transform/package.json index 29f37dd6a49..5045a40a818 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.8", + "version": "3.3.0-alpha.9", "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.8", - "@vue/shared": "3.3.0-alpha.8", + "@vue/compiler-core": "3.3.0-alpha.9", + "@vue/shared": "3.3.0-alpha.9", "estree-walker": "^2.0.2", "magic-string": "^0.30.0" }, diff --git a/packages/reactivity/package.json b/packages/reactivity/package.json index e07312dce31..4c7988e82a6 100644 --- a/packages/reactivity/package.json +++ b/packages/reactivity/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity", - "version": "3.3.0-alpha.8", + "version": "3.3.0-alpha.9", "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.8" + "@vue/shared": "3.3.0-alpha.9" } } diff --git a/packages/runtime-core/package.json b/packages/runtime-core/package.json index a282b8d87b4..606fef5414a 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.8", + "version": "3.3.0-alpha.9", "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.8", - "@vue/reactivity": "3.3.0-alpha.8" + "@vue/shared": "3.3.0-alpha.9", + "@vue/reactivity": "3.3.0-alpha.9" } } diff --git a/packages/runtime-dom/package.json b/packages/runtime-dom/package.json index 29cf32c048b..25da3f9657a 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.8", + "version": "3.3.0-alpha.9", "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.8", - "@vue/runtime-core": "3.3.0-alpha.8", + "@vue/shared": "3.3.0-alpha.9", + "@vue/runtime-core": "3.3.0-alpha.9", "csstype": "^3.1.1" } } diff --git a/packages/runtime-test/package.json b/packages/runtime-test/package.json index 4c778451a92..202161c9474 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.8", + "version": "3.3.0-alpha.9", "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.8", - "@vue/runtime-core": "3.3.0-alpha.8" + "@vue/shared": "3.3.0-alpha.9", + "@vue/runtime-core": "3.3.0-alpha.9" } } diff --git a/packages/server-renderer/package.json b/packages/server-renderer/package.json index d6d43bf82f7..9f8a2f8eafd 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.8", + "version": "3.3.0-alpha.9", "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.8" + "vue": "3.3.0-alpha.9" }, "dependencies": { - "@vue/shared": "3.3.0-alpha.8", - "@vue/compiler-ssr": "3.3.0-alpha.8" + "@vue/shared": "3.3.0-alpha.9", + "@vue/compiler-ssr": "3.3.0-alpha.9" } } diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json index 214e81cce27..e434dd9495b 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.8", + "version": "3.3.0-alpha.9", "private": true, "scripts": { "dev": "vite", diff --git a/packages/shared/package.json b/packages/shared/package.json index 727e24ee626..a7ceb93b4ae 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@vue/shared", - "version": "3.3.0-alpha.8", + "version": "3.3.0-alpha.9", "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 94d49cc4e6a..34c7df41c92 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.8", + "version": "3.3.0-alpha.9", "private": true, "scripts": { "build": "vite build" diff --git a/packages/template-explorer/package.json b/packages/template-explorer/package.json index 7b42a4c3ea6..81852352839 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.8", + "version": "3.3.0-alpha.9", "private": true, "buildOptions": { "formats": [ diff --git a/packages/vue-compat/package.json b/packages/vue-compat/package.json index aa04139c247..5032c134cf8 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.8", + "version": "3.3.0-alpha.9", "description": "Vue 3 compatibility build for Vue 2", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -43,6 +43,6 @@ "source-map": "^0.6.1" }, "peerDependencies": { - "vue": "3.3.0-alpha.8" + "vue": "3.3.0-alpha.9" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index cb17e34700d..5a2e32f0e5a 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "3.3.0-alpha.8", + "version": "3.3.0-alpha.9", "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.8", - "@vue/compiler-dom": "3.3.0-alpha.8", - "@vue/runtime-dom": "3.3.0-alpha.8", - "@vue/compiler-sfc": "3.3.0-alpha.8", - "@vue/server-renderer": "3.3.0-alpha.8" + "@vue/shared": "3.3.0-alpha.9", + "@vue/compiler-dom": "3.3.0-alpha.9", + "@vue/runtime-dom": "3.3.0-alpha.9", + "@vue/compiler-sfc": "3.3.0-alpha.9", + "@vue/server-renderer": "3.3.0-alpha.9" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5206450c2af..489f7892681 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -102,7 +102,7 @@ importers: specifiers: '@babel/parser': ^7.21.3 '@babel/types': ^7.21.3 - '@vue/shared': 3.3.0-alpha.8 + '@vue/shared': 3.3.0-alpha.9 estree-walker: ^2.0.2 source-map: ^0.6.1 dependencies: @@ -115,8 +115,8 @@ importers: packages/compiler-dom: specifiers: - '@vue/compiler-core': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/compiler-core': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 dependencies: '@vue/compiler-core': link:../compiler-core '@vue/shared': link:../shared @@ -127,12 +127,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.8 - '@vue/compiler-dom': 3.3.0-alpha.8 - '@vue/compiler-ssr': 3.3.0-alpha.8 + '@vue/compiler-core': 3.3.0-alpha.9 + '@vue/compiler-dom': 3.3.0-alpha.9 + '@vue/compiler-ssr': 3.3.0-alpha.9 '@vue/consolidate': ^0.17.3 - '@vue/reactivity-transform': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/reactivity-transform': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 estree-walker: ^2.0.2 hash-sum: ^2.0.0 lru-cache: ^5.1.1 @@ -170,8 +170,8 @@ importers: packages/compiler-ssr: specifiers: - '@vue/compiler-dom': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/compiler-dom': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/shared': link:../shared @@ -184,7 +184,7 @@ importers: packages/reactivity: specifiers: - '@vue/shared': 3.3.0-alpha.8 + '@vue/shared': 3.3.0-alpha.9 dependencies: '@vue/shared': link:../shared @@ -193,8 +193,8 @@ importers: '@babel/core': ^7.21.3 '@babel/parser': ^7.20.15 '@babel/types': ^7.21.3 - '@vue/compiler-core': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/compiler-core': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 estree-walker: ^2.0.2 magic-string: ^0.30.0 dependencies: @@ -209,16 +209,16 @@ importers: packages/runtime-core: specifiers: - '@vue/reactivity': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/reactivity': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 dependencies: '@vue/reactivity': link:../reactivity '@vue/shared': link:../shared packages/runtime-dom: specifiers: - '@vue/runtime-core': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/runtime-core': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 csstype: ^3.1.1 dependencies: '@vue/runtime-core': link:../runtime-core @@ -227,16 +227,16 @@ importers: packages/runtime-test: specifiers: - '@vue/runtime-core': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/runtime-core': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 dependencies: '@vue/runtime-core': link:../runtime-core '@vue/shared': link:../shared packages/server-renderer: specifiers: - '@vue/compiler-ssr': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/compiler-ssr': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 dependencies: '@vue/compiler-ssr': link:../compiler-ssr '@vue/shared': link:../shared @@ -277,11 +277,11 @@ importers: packages/vue: specifiers: - '@vue/compiler-dom': 3.3.0-alpha.8 - '@vue/compiler-sfc': 3.3.0-alpha.8 - '@vue/runtime-dom': 3.3.0-alpha.8 - '@vue/server-renderer': 3.3.0-alpha.8 - '@vue/shared': 3.3.0-alpha.8 + '@vue/compiler-dom': 3.3.0-alpha.9 + '@vue/compiler-sfc': 3.3.0-alpha.9 + '@vue/runtime-dom': 3.3.0-alpha.9 + '@vue/server-renderer': 3.3.0-alpha.9 + '@vue/shared': 3.3.0-alpha.9 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/compiler-sfc': link:../compiler-sfc