diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d16dbe3..0385eed3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +# [3.0.0-rc.13](https://github.com/vuejs/vue-next/compare/v3.0.0-rc.12...v3.0.0-rc.13) (2020-09-18) + + +### Bug Fixes + +* **hmr:** make hmr working with class components ([#2144](https://github.com/vuejs/vue-next/issues/2144)) ([422f05e](https://github.com/vuejs/vue-next/commit/422f05e085036e23ea3632c2ce75d86181a087b8)) +* **reactivity:** avoid length mutating array methods causing infinite updates ([#2138](https://github.com/vuejs/vue-next/issues/2138)) ([f316a33](https://github.com/vuejs/vue-next/commit/f316a332b055d3f448dc735365551d89041f1098)), closes [#2137](https://github.com/vuejs/vue-next/issues/2137) +* **suspense:** should discard unmount effects of invalidated pending branch ([5bfcad1](https://github.com/vuejs/vue-next/commit/5bfcad155b444b2f7ffaac171c1f61bc23909287)) +* **types:** component instance inference without props ([#2145](https://github.com/vuejs/vue-next/issues/2145)) ([57bdaa2](https://github.com/vuejs/vue-next/commit/57bdaa2220afefbde21118659c1ce2377d6b86d6)) + + +### Code Refactoring + +* watch APIs default to trigger pre-flush ([49bb447](https://github.com/vuejs/vue-next/commit/49bb44756fda0a7019c69f2fa6b880d9e41125aa)), closes [/github.com/vuejs/vue-next/issues/1706#issuecomment-666258948](https://github.com//github.com/vuejs/vue-next/issues/1706/issues/issuecomment-666258948) + + +### Features + +* **runtime-core:** support using inject() inside props default functions ([58c31e3](https://github.com/vuejs/vue-next/commit/58c31e36992d2647e5247de4904246fb2d6112ed)) +* **watch:** support dot-delimited path in watch option ([1c9a0b3](https://github.com/vuejs/vue-next/commit/1c9a0b3e195d144ac90d22d2cc2cef6a3fd8276d)) + + +### BREAKING CHANGES + +* watch APIs now default to use `flush: 'pre'` instead of +`flush: 'post'`. + + - This change affects `watch`, `watchEffect`, the `watch` component + option, and `this.$watch`. + + - As pointed out by @skirtles-code in + + + # [3.0.0-rc.12](https://github.com/vuejs/vue-next/compare/v3.0.0-rc.11...v3.0.0-rc.12) (2020-09-16) diff --git a/package.json b/package.json index d4c700cc..7a8fcaf6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "workspaces": [ "packages/*" ], diff --git a/packages/compiler-core/package.json b/packages/compiler-core/package.json index f0928920..8ded40ec 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-rc.12", + "version": "3.0.0-rc.13", "description": "@vue/compiler-core", "main": "index.js", "module": "dist/compiler-core.esm-bundler.js", @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme", "dependencies": { - "@vue/shared": "3.0.0-rc.12", + "@vue/shared": "3.0.0-rc.13", "@babel/parser": "^7.11.5", "@babel/types": "^7.11.5", "estree-walker": "^2.0.1", diff --git a/packages/compiler-dom/package.json b/packages/compiler-dom/package.json index 3c98116f..91afba2a 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-rc.12", + "version": "3.0.0-rc.13", "description": "@vue/compiler-dom", "main": "index.js", "module": "dist/compiler-dom.esm-bundler.js", @@ -36,7 +36,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme", "dependencies": { - "@vue/shared": "3.0.0-rc.12", - "@vue/compiler-core": "3.0.0-rc.12" + "@vue/shared": "3.0.0-rc.13", + "@vue/compiler-core": "3.0.0-rc.13" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index 9815e4fa..ed4f90a6 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-rc.12", + "version": "3.0.0-rc.13", "description": "@vue/compiler-sfc", "main": "dist/compiler-sfc.cjs.js", "types": "dist/compiler-sfc.d.ts", @@ -32,15 +32,15 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme", "peerDependencies": { - "vue": "3.0.0-rc.12" + "vue": "3.0.0-rc.13" }, "dependencies": { "@babel/parser": "^7.11.5", "@babel/types": "^7.11.5", - "@vue/compiler-core": "3.0.0-rc.12", - "@vue/compiler-dom": "3.0.0-rc.12", - "@vue/compiler-ssr": "3.0.0-rc.12", - "@vue/shared": "3.0.0-rc.12", + "@vue/compiler-core": "3.0.0-rc.13", + "@vue/compiler-dom": "3.0.0-rc.13", + "@vue/compiler-ssr": "3.0.0-rc.13", + "@vue/shared": "3.0.0-rc.13", "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 887859e6..194fcf8b 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-rc.12", + "version": "3.0.0-rc.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/vue-next/tree/master/packages/compiler-ssr#readme", "dependencies": { - "@vue/shared": "3.0.0-rc.12", - "@vue/compiler-dom": "3.0.0-rc.12" + "@vue/shared": "3.0.0-rc.13", + "@vue/compiler-dom": "3.0.0-rc.13" } } diff --git a/packages/reactivity/package.json b/packages/reactivity/package.json index cc898372..eb675381 100644 --- a/packages/reactivity/package.json +++ b/packages/reactivity/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "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.0.0-rc.12" + "@vue/shared": "3.0.0-rc.13" } } diff --git a/packages/runtime-core/package.json b/packages/runtime-core/package.json index 78226ccd..5ed9cc65 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-rc.12", + "version": "3.0.0-rc.13", "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.0.0-rc.12", - "@vue/reactivity": "3.0.0-rc.12" + "@vue/shared": "3.0.0-rc.13", + "@vue/reactivity": "3.0.0-rc.13" } } diff --git a/packages/runtime-dom/package.json b/packages/runtime-dom/package.json index c7ce948a..cae5257f 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-rc.12", + "version": "3.0.0-rc.13", "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.0.0-rc.12", - "@vue/runtime-core": "3.0.0-rc.12", + "@vue/shared": "3.0.0-rc.13", + "@vue/runtime-core": "3.0.0-rc.13", "csstype": "^2.6.8" } } diff --git a/packages/runtime-test/package.json b/packages/runtime-test/package.json index ab5f885d..f0aad177 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-rc.12", + "version": "3.0.0-rc.13", "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.0.0-rc.12", - "@vue/runtime-core": "3.0.0-rc.12" + "@vue/shared": "3.0.0-rc.13", + "@vue/runtime-core": "3.0.0-rc.13" } } diff --git a/packages/server-renderer/package.json b/packages/server-renderer/package.json index 98a2979f..a480e9a1 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-rc.12", + "version": "3.0.0-rc.13", "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.0.0-rc.12" + "vue": "3.0.0-rc.13" }, "dependencies": { - "@vue/shared": "3.0.0-rc.12", - "@vue/compiler-ssr": "3.0.0-rc.12" + "@vue/shared": "3.0.0-rc.13", + "@vue/compiler-ssr": "3.0.0-rc.13" } } diff --git a/packages/shared/package.json b/packages/shared/package.json index 275d8c32..cb67f854 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@vue/shared", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.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 f21de24e..d2e8039d 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-rc.12", + "version": "3.0.0-rc.13", "private": true, "buildOptions": { "name": "Vue", diff --git a/packages/template-explorer/package.json b/packages/template-explorer/package.json index e6402f74..e1afed4c 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-rc.12", + "version": "3.0.0-rc.13", "private": true, "buildOptions": { "formats": [ diff --git a/packages/vue/package.json b/packages/vue/package.json index 805318f3..a940a4a4 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "3.0.0-rc.12", + "version": "3.0.0-rc.13", "description": "vue", "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.0.0-rc.12", - "@vue/compiler-dom": "3.0.0-rc.12", - "@vue/runtime-dom": "3.0.0-rc.12" + "@vue/shared": "3.0.0-rc.13", + "@vue/compiler-dom": "3.0.0-rc.13", + "@vue/runtime-dom": "3.0.0-rc.13" }, "devDependencies": { "lodash": "^4.17.15",