From 71f7c25fbe08f2039348c658d97b1574d3ba5141 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 2 Jun 2021 16:12:54 -0400 Subject: [PATCH] release: v3.1.0-beta.7 --- CHANGELOG.md | 34 +++++++++++++++++++++++++ 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/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 | 8 +++--- 17 files changed, 74 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8e8b8b8d66..dfef302e1d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +# [3.1.0-beta.7](https://github.com/vuejs/vue-next/compare/v3.1.0-beta.6...v3.1.0-beta.7) (2021-06-02) + + +### Bug Fixes + +* **compat:** fix deep data merge with extended constructor ([c7efb96](https://github.com/vuejs/vue-next/commit/c7efb967ca5ab42ea2713331b8e53ae5c2746a78)), closes [#3852](https://github.com/vuejs/vue-next/issues/3852) +* **compiler-sfc:** fix style injection when using normal script + setup ([8b94464](https://github.com/vuejs/vue-next/commit/8b94464a3b9759a7a98c23efeafc7a9359c9807d)), closes [#3688](https://github.com/vuejs/vue-next/issues/3688) +* **compiler-sfc:** fix template expression assignment codegen for script setup let refs ([#3626](https://github.com/vuejs/vue-next/issues/3626)) ([2c7bd42](https://github.com/vuejs/vue-next/commit/2c7bd428011e027efa8f66487d2269c8dd79a2b0)), closes [#3625](https://github.com/vuejs/vue-next/issues/3625) +* **runtime-core:** align option merge behavior with Vue 2 ([e2ca67b](https://github.com/vuejs/vue-next/commit/e2ca67b59a4de57a9bce8d3394263ba493a35a39)), closes [#3566](https://github.com/vuejs/vue-next/issues/3566) [#2791](https://github.com/vuejs/vue-next/issues/2791) +* **runtime-dom/v-model:** only set selectedIndex when the value changes ([#3845](https://github.com/vuejs/vue-next/issues/3845)) ([ecd97ee](https://github.com/vuejs/vue-next/commit/ecd97ee6e465ec5c841d58d96833fece4e899785)) +* **suspense:** fix suspense regression for errored template component ([44996d1](https://github.com/vuejs/vue-next/commit/44996d1a0a2de1bc6b3abfac6b2b8b3c969d4e01)), closes [#3857](https://github.com/vuejs/vue-next/issues/3857) +* **watch:** avoid traversing objects that are marked non-reactive ([9acc9a1](https://github.com/vuejs/vue-next/commit/9acc9a1fa838bdcdf673d2f7cc3f996b2b69ffbc)) + + +### Code Refactoring + +* adjust component options merge cache strategy ([1e35a86](https://github.com/vuejs/vue-next/commit/1e35a860b995c1158d5c4e1706d2fc9bcd3b8412)) + + +### Performance Improvements + +* avoid deopt for props/emits normalization when global mixins are used ([51d2be2](https://github.com/vuejs/vue-next/commit/51d2be20386d4dc59006d31a1cc96676871027ce)) + + +### BREAKING CHANGES + +* optionMergeStrategies functions no longer receive +the component instance as the 3rd argument. The argument was technically +internal in Vue 2 and only used for generating warnings, and should not +be needed in userland code. This removal enables much more efficient +caching of option merging. + + + # [3.1.0-beta.6](https://github.com/vuejs/vue-next/compare/v3.1.0-beta.5...v3.1.0-beta.6) (2021-05-28) diff --git a/package.json b/package.json index 5d82073325c..5e7dcd7af63 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "workspaces": [ "packages/*" ], diff --git a/packages/compiler-core/package.json b/packages/compiler-core/package.json index 6c0c9cbc08a..a5f031d7260 100644 --- a/packages/compiler-core/package.json +++ b/packages/compiler-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-core", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "@vue/compiler-core", "main": "index.js", "module": "dist/compiler-core.esm-bundler.js", @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme", "dependencies": { - "@vue/shared": "3.1.0-beta.6", + "@vue/shared": "3.1.0-beta.7", "@babel/parser": "^7.12.0", "@babel/types": "^7.12.0", "estree-walker": "^2.0.1", diff --git a/packages/compiler-dom/package.json b/packages/compiler-dom/package.json index 2e38ff78c1c..ad34930eb45 100644 --- a/packages/compiler-dom/package.json +++ b/packages/compiler-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-dom", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "@vue/compiler-dom", "main": "index.js", "module": "dist/compiler-dom.esm-bundler.js", @@ -37,7 +37,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme", "dependencies": { - "@vue/shared": "3.1.0-beta.6", - "@vue/compiler-core": "3.1.0-beta.6" + "@vue/shared": "3.1.0-beta.7", + "@vue/compiler-core": "3.1.0-beta.7" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index 63df0d9ddaf..ef55590ec27 100644 --- a/packages/compiler-sfc/package.json +++ b/packages/compiler-sfc/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-sfc", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "@vue/compiler-sfc", "main": "dist/compiler-sfc.cjs.js", "types": "dist/compiler-sfc.d.ts", @@ -31,15 +31,15 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme", "peerDependencies": { - "vue": "3.1.0-beta.6" + "vue": "3.1.0-beta.7" }, "dependencies": { "@babel/parser": "^7.13.9", "@babel/types": "^7.13.0", - "@vue/compiler-core": "3.1.0-beta.6", - "@vue/compiler-dom": "3.1.0-beta.6", - "@vue/compiler-ssr": "3.1.0-beta.6", - "@vue/shared": "3.1.0-beta.6", + "@vue/compiler-core": "3.1.0-beta.7", + "@vue/compiler-dom": "3.1.0-beta.7", + "@vue/compiler-ssr": "3.1.0-beta.7", + "@vue/shared": "3.1.0-beta.7", "consolidate": "^0.16.0", "estree-walker": "^2.0.1", "hash-sum": "^2.0.0", diff --git a/packages/compiler-ssr/package.json b/packages/compiler-ssr/package.json index f8e04468e46..2a58d865d34 100644 --- a/packages/compiler-ssr/package.json +++ b/packages/compiler-ssr/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-ssr", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "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/vue-next/tree/master/packages/compiler-ssr#readme", "dependencies": { - "@vue/shared": "3.1.0-beta.6", - "@vue/compiler-dom": "3.1.0-beta.6" + "@vue/shared": "3.1.0-beta.7", + "@vue/compiler-dom": "3.1.0-beta.7" } } diff --git a/packages/reactivity/package.json b/packages/reactivity/package.json index ec1395d4b8a..dbf73fc0a81 100644 --- a/packages/reactivity/package.json +++ b/packages/reactivity/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "@vue/reactivity", "main": "index.js", "module": "dist/reactivity.esm-bundler.js", @@ -36,6 +36,6 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme", "dependencies": { - "@vue/shared": "3.1.0-beta.6" + "@vue/shared": "3.1.0-beta.7" } } diff --git a/packages/runtime-core/package.json b/packages/runtime-core/package.json index 185390cab9b..e08d28e0259 100644 --- a/packages/runtime-core/package.json +++ b/packages/runtime-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-core", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "@vue/runtime-core", "main": "index.js", "module": "dist/runtime-core.esm-bundler.js", @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-core#readme", "dependencies": { - "@vue/shared": "3.1.0-beta.6", - "@vue/reactivity": "3.1.0-beta.6" + "@vue/shared": "3.1.0-beta.7", + "@vue/reactivity": "3.1.0-beta.7" } } diff --git a/packages/runtime-dom/package.json b/packages/runtime-dom/package.json index 1549fdd3ce9..60bf12dd1c7 100644 --- a/packages/runtime-dom/package.json +++ b/packages/runtime-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-dom", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "@vue/runtime-dom", "main": "index.js", "module": "dist/runtime-dom.esm-bundler.js", @@ -35,8 +35,8 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-dom#readme", "dependencies": { - "@vue/shared": "3.1.0-beta.6", - "@vue/runtime-core": "3.1.0-beta.6", + "@vue/shared": "3.1.0-beta.7", + "@vue/runtime-core": "3.1.0-beta.7", "csstype": "^2.6.8" } } diff --git a/packages/runtime-test/package.json b/packages/runtime-test/package.json index 8426e83d88a..f0148c8e1d0 100644 --- a/packages/runtime-test/package.json +++ b/packages/runtime-test/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-test", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "@vue/runtime-test", "private": true, "main": "index.js", @@ -25,7 +25,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme", "dependencies": { - "@vue/shared": "3.1.0-beta.6", - "@vue/runtime-core": "3.1.0-beta.6" + "@vue/shared": "3.1.0-beta.7", + "@vue/runtime-core": "3.1.0-beta.7" } } diff --git a/packages/server-renderer/package.json b/packages/server-renderer/package.json index 6fb9e58d16d..04de451b691 100644 --- a/packages/server-renderer/package.json +++ b/packages/server-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/server-renderer", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "@vue/server-renderer", "main": "index.js", "types": "dist/server-renderer.d.ts", @@ -28,10 +28,10 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/server-renderer#readme", "peerDependencies": { - "vue": "3.1.0-beta.6" + "vue": "3.1.0-beta.7" }, "dependencies": { - "@vue/shared": "3.1.0-beta.6", - "@vue/compiler-ssr": "3.1.0-beta.6" + "@vue/shared": "3.1.0-beta.7", + "@vue/compiler-ssr": "3.1.0-beta.7" } } diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json index cd267cfeab2..e6ba866e34f 100644 --- a/packages/sfc-playground/package.json +++ b/packages/sfc-playground/package.json @@ -1,6 +1,6 @@ { "name": "@vue/sfc-playground", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "private": true, "scripts": { "dev": "vite", diff --git a/packages/shared/package.json b/packages/shared/package.json index fd38f6156bd..a6aa6bc8265 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@vue/shared", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "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 2b52ed36257..006fb002be4 100644 --- a/packages/size-check/package.json +++ b/packages/size-check/package.json @@ -1,6 +1,6 @@ { "name": "@vue/size-check", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "private": true, "buildOptions": { "name": "Vue", diff --git a/packages/template-explorer/package.json b/packages/template-explorer/package.json index 3c57417d552..882dfacc140 100644 --- a/packages/template-explorer/package.json +++ b/packages/template-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/template-explorer", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "private": true, "buildOptions": { "formats": [ diff --git a/packages/vue-compat/package.json b/packages/vue-compat/package.json index 5034598a9e0..90f4d58e03d 100644 --- a/packages/vue-compat/package.json +++ b/packages/vue-compat/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compat", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "Vue 3 compatibility build for Vue 2", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -38,6 +38,6 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue-compat#readme", "peerDependencies": { - "vue": "3.1.0-beta.6" + "vue": "3.1.0-beta.7" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index ef0c1f24e6a..5867e8f546d 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "3.1.0-beta.6", + "version": "3.1.0-beta.7", "description": "The progressive JavaScript framework for buiding modern web UI.", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -37,9 +37,9 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme", "dependencies": { - "@vue/shared": "3.1.0-beta.6", - "@vue/compiler-dom": "3.1.0-beta.6", - "@vue/runtime-dom": "3.1.0-beta.6" + "@vue/shared": "3.1.0-beta.7", + "@vue/compiler-dom": "3.1.0-beta.7", + "@vue/runtime-dom": "3.1.0-beta.7" }, "devDependencies": { "lodash": "^4.17.15",