From d29aefcf99156abf2973590ef97b6b03a8d11c9b Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 24 Apr 2020 16:20:20 -0400 Subject: [PATCH] release: v3.0.0-beta.4 --- CHANGELOG.md | 30 +++++++++++++++++++++++++ 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/shared/package.json | 2 +- packages/size-check/package.json | 2 +- packages/template-explorer/package.json | 2 +- packages/vue/package.json | 8 +++---- 15 files changed, 67 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05184c00343..433ded9a46e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +# [3.0.0-beta.4](https://github.com/vuejs/vue-next/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2020-04-24) + + +### Bug Fixes + +* **compiler-core:** dynamic component should always be made blocks ([7d0ab33](https://github.com/vuejs/vue-next/commit/7d0ab3392af5285147db111759fe380688ca17ea)), closes [#1018](https://github.com/vuejs/vue-next/issues/1018) +* **runtime-core:** dynamic component should support falsy values without warning ([ded92f9](https://github.com/vuejs/vue-next/commit/ded92f93b423cda28a40746c1f5fa9bcba56e80d)) +* **runtime-core:** fix dynamic node tracking in dynamic component that resolves to plain elements ([dcf2458](https://github.com/vuejs/vue-next/commit/dcf2458fa84d7573273b0306aaabcf28ee859622)), closes [#1039](https://github.com/vuejs/vue-next/issues/1039) +* **runtime-core:** fix key/ref resolution for cloneVNode ([d7379c7](https://github.com/vuejs/vue-next/commit/d7379c7647e3222eddd18d7dad8d2520f59deb8a)), closes [#1041](https://github.com/vuejs/vue-next/issues/1041) +* **runtime-core:** mixin options that rely on this context should be deferred ([ff4d1fc](https://github.com/vuejs/vue-next/commit/ff4d1fcd81d96f3ddb0e34f04e70e3539dc7a96f)), closes [#1016](https://github.com/vuejs/vue-next/issues/1016) [#1029](https://github.com/vuejs/vue-next/issues/1029) +* **runtime-core:** only infer component name for object components ([e422b8b](https://github.com/vuejs/vue-next/commit/e422b8b082f1765f596c3ae0ff5b2e65d756405a)), closes [#1023](https://github.com/vuejs/vue-next/issues/1023) +* **slots:** compiled slot fallback should be functions ([#1030](https://github.com/vuejs/vue-next/issues/1030)) ([2b19965](https://github.com/vuejs/vue-next/commit/2b19965bcf75d981400ed58a0348bcfc13f17e33)), closes [#1021](https://github.com/vuejs/vue-next/issues/1021) +* **types:** fix ref(false) type to Ref ([#1028](https://github.com/vuejs/vue-next/issues/1028)) ([0bdd889](https://github.com/vuejs/vue-next/commit/0bdd8891569eb15e492007b3eb0f45d598e85b3f)) +* **types:** make return type of `defineComponent` assignable to `Component` type ([#1032](https://github.com/vuejs/vue-next/issues/1032)) ([f3a9b51](https://github.com/vuejs/vue-next/commit/f3a9b516bd6feb42d1ea611faf6550f709fd3173)), closes [#993](https://github.com/vuejs/vue-next/issues/993) + + +### Features + +* **compiler-sfc:** add preprocessCustomRequire option ([20d425f](https://github.com/vuejs/vue-next/commit/20d425fb19e04cd5b66f76b0f52ca221c92eb74c)) +* **compiler-sfc:** built-in support for css modules ([fa216a0](https://github.com/vuejs/vue-next/commit/fa216a0c3adc70ff74deca872e295a154fa147c8)) +* **reactivity:** add triggerRef API ([2acf3e8](https://github.com/vuejs/vue-next/commit/2acf3e84b95d7f18925b4d7ada92f1992f5b7ee3)) +* **types:** expose `ToRefs` type ([#1037](https://github.com/vuejs/vue-next/issues/1037)) ([28b4c31](https://github.com/vuejs/vue-next/commit/28b4c317b412e0c08bb791d647d4234078c41542)) + + +### Performance Improvements + +* **reactivity:** ref should not trigger if value did not change ([b0d4df9](https://github.com/vuejs/vue-next/commit/b0d4df974339a570fd30263797cf948619e1f57b)), closes [#1012](https://github.com/vuejs/vue-next/issues/1012) + + + # [3.0.0-beta.3](https://github.com/vuejs/vue-next/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2020-04-20) diff --git a/package.json b/package.json index 3a37409ef1a..6cbba72d5f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "workspaces": [ "packages/*" ], diff --git a/packages/compiler-core/package.json b/packages/compiler-core/package.json index d88a7784784..2e009b99a72 100644 --- a/packages/compiler-core/package.json +++ b/packages/compiler-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-core", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/compiler-core", "main": "index.js", "module": "dist/compiler-core.esm-bundler.js", @@ -30,7 +30,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme", "dependencies": { - "@vue/shared": "3.0.0-beta.3", + "@vue/shared": "3.0.0-beta.4", "@babel/parser": "^7.8.6", "@babel/types": "^7.8.6", "estree-walker": "^0.8.1", diff --git a/packages/compiler-dom/package.json b/packages/compiler-dom/package.json index 814883c6303..6333728c60b 100644 --- a/packages/compiler-dom/package.json +++ b/packages/compiler-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-dom", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/compiler-dom", "main": "index.js", "module": "dist/compiler-dom.esm-bundler.js", @@ -35,7 +35,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme", "dependencies": { - "@vue/shared": "3.0.0-beta.3", - "@vue/compiler-core": "3.0.0-beta.3" + "@vue/shared": "3.0.0-beta.4", + "@vue/compiler-core": "3.0.0-beta.4" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index 9fa76a1e13f..0a7f35a73ef 100644 --- a/packages/compiler-sfc/package.json +++ b/packages/compiler-sfc/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-sfc", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/compiler-sfc", "main": "dist/compiler-sfc.cjs.js", "types": "dist/compiler-sfc.d.ts", @@ -27,13 +27,13 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme", "peerDependencies": { - "vue": "3.0.0-beta.3" + "vue": "3.0.0-beta.4" }, "dependencies": { - "@vue/compiler-core": "3.0.0-beta.3", - "@vue/compiler-dom": "3.0.0-beta.3", - "@vue/compiler-ssr": "3.0.0-beta.3", - "@vue/shared": "3.0.0-beta.3", + "@vue/compiler-core": "3.0.0-beta.4", + "@vue/compiler-dom": "3.0.0-beta.4", + "@vue/compiler-ssr": "3.0.0-beta.4", + "@vue/shared": "3.0.0-beta.4", "consolidate": "^0.15.1", "hash-sum": "^2.0.0", "lru-cache": "^5.1.1", diff --git a/packages/compiler-ssr/package.json b/packages/compiler-ssr/package.json index abb988774ea..fffb0979526 100644 --- a/packages/compiler-ssr/package.json +++ b/packages/compiler-ssr/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-ssr", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/compiler-ssr", "main": "dist/compiler-ssr.cjs.js", "types": "dist/compiler-ssr.d.ts", @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-ssr#readme", "dependencies": { - "@vue/shared": "3.0.0-beta.3", - "@vue/compiler-dom": "3.0.0-beta.3" + "@vue/shared": "3.0.0-beta.4", + "@vue/compiler-dom": "3.0.0-beta.4" } } diff --git a/packages/reactivity/package.json b/packages/reactivity/package.json index 10b80b81142..3041ae1719f 100644 --- a/packages/reactivity/package.json +++ b/packages/reactivity/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/reactivity", "main": "index.js", "module": "dist/reactivity.esm-bundler.js", @@ -35,6 +35,6 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme", "dependencies": { - "@vue/shared": "3.0.0-beta.3" + "@vue/shared": "3.0.0-beta.4" } } diff --git a/packages/runtime-core/package.json b/packages/runtime-core/package.json index 4c7b1d88248..bddc15b99cb 100644 --- a/packages/runtime-core/package.json +++ b/packages/runtime-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-core", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/runtime-core", "main": "index.js", "module": "dist/runtime-core.esm-bundler.js", @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-core#readme", "dependencies": { - "@vue/shared": "3.0.0-beta.3", - "@vue/reactivity": "3.0.0-beta.3" + "@vue/shared": "3.0.0-beta.4", + "@vue/reactivity": "3.0.0-beta.4" } } diff --git a/packages/runtime-dom/package.json b/packages/runtime-dom/package.json index dfcf9063c43..822fcb5e21e 100644 --- a/packages/runtime-dom/package.json +++ b/packages/runtime-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-dom", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/runtime-dom", "main": "index.js", "module": "dist/runtime-dom.esm-bundler.js", @@ -37,8 +37,8 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-dom#readme", "dependencies": { - "@vue/shared": "3.0.0-beta.3", - "@vue/runtime-core": "3.0.0-beta.3", + "@vue/shared": "3.0.0-beta.4", + "@vue/runtime-core": "3.0.0-beta.4", "csstype": "^2.6.8" } } diff --git a/packages/runtime-test/package.json b/packages/runtime-test/package.json index 09cc452fdaa..ba8b4ca835b 100644 --- a/packages/runtime-test/package.json +++ b/packages/runtime-test/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-test", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/runtime-test", "private": true, "main": "index.js", @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme", "dependencies": { - "@vue/shared": "3.0.0-beta.3", - "@vue/runtime-core": "3.0.0-beta.3" + "@vue/shared": "3.0.0-beta.4", + "@vue/runtime-core": "3.0.0-beta.4" } } diff --git a/packages/server-renderer/package.json b/packages/server-renderer/package.json index 4f0946ce09b..0f34743a6f1 100644 --- a/packages/server-renderer/package.json +++ b/packages/server-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/server-renderer", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@vue/server-renderer", "main": "index.js", "types": "dist/server-renderer.d.ts", @@ -27,10 +27,10 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/server-renderer#readme", "peerDependencies": { - "vue": "3.0.0-beta.3" + "vue": "3.0.0-beta.4" }, "dependencies": { - "@vue/shared": "3.0.0-beta.3", - "@vue/compiler-ssr": "3.0.0-beta.3" + "@vue/shared": "3.0.0-beta.4", + "@vue/compiler-ssr": "3.0.0-beta.4" } } diff --git a/packages/shared/package.json b/packages/shared/package.json index 4575de53515..bea70f9a832 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@vue/shared", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "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 cb1f8dca9ce..b4816d10364 100644 --- a/packages/size-check/package.json +++ b/packages/size-check/package.json @@ -1,6 +1,6 @@ { "name": "@vue/size-check", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "private": true, "buildOptions": { "name": "Vue", diff --git a/packages/template-explorer/package.json b/packages/template-explorer/package.json index f03916eb801..1f4cbc14117 100644 --- a/packages/template-explorer/package.json +++ b/packages/template-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/template-explorer", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "private": true, "buildOptions": { "formats": [ diff --git a/packages/vue/package.json b/packages/vue/package.json index 050116ed15d..a8d6cbb26c7 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "vue", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -38,9 +38,9 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme", "dependencies": { - "@vue/shared": "3.0.0-beta.3", - "@vue/compiler-dom": "3.0.0-beta.3", - "@vue/runtime-dom": "3.0.0-beta.3" + "@vue/shared": "3.0.0-beta.4", + "@vue/compiler-dom": "3.0.0-beta.4", + "@vue/runtime-dom": "3.0.0-beta.4" }, "devDependencies": { "lodash": "^4.17.15",