]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
release: v4.0.0-beta.8 v4.0.0-beta.8
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 1 Sep 2020 16:44:24 +0000 (18:44 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 1 Sep 2020 16:44:24 +0000 (18:44 +0200)
CHANGELOG.md
package.json

index 1144801946031a438ebe3f5502ffd0b23e561cb2..a4090eabb35cf8b1fae79f716967c591db31d90b 100644 (file)
@@ -1,3 +1,21 @@
+# [4.0.0-beta.8](https://github.com/vuejs/vue-router-next/compare/v4.0.0-beta.7...v4.0.0-beta.8) (2020-09-01)
+
+### Bug Fixes
+
+- **router-view:** reuse saved instances in different records ([#446](https://github.com/vuejs/vue-router-next/issues/446)) ([6554171](https://github.com/vuejs/vue-router-next/commit/65541718b0d5af665fd87dc0e48770cba832a2bb))
+- **types:** add HTML attributes for JSX ([06f3f8f](https://github.com/vuejs/vue-router-next/commit/06f3f8fd7c3a32da331802fe5d3d19ced17200a3)), closes [#435](https://github.com/vuejs/vue-router-next/issues/435)
+- **types:** allow components defined via defineComponent ([#421](https://github.com/vuejs/vue-router-next/issues/421)) ([e47c84c](https://github.com/vuejs/vue-router-next/commit/e47c84c74a97ae7bb9095ea75f98a6fa8a216532))
+
+### BREAKING CHANGES
+
+- **router-view:** `onBeforeRouteLeave` and `onBeforeRouteUpdate` used to
+  have access to the component instance through `instance.proxy` but given
+  that:
+  1. It has been marked as `internal` (https://github.com/vuejs/vue-next/pull/1849)
+  2. When using `setup`, all variables are accessible on the scope (and
+     should be accessed that way because the code minimizes better)
+     It has been removed to prevent wrong usage and lighten Vue Router
+
 # [4.0.0-beta.7](https://github.com/vuejs/vue-router-next/compare/v4.0.0-beta.6...v4.0.0-beta.7) (2020-08-19)
 
 ### Bug Fixes
index 0799afbbb07432a21403bf92b55c203650430d65..2009e59cda3922b0d56cbe1b109501d1759482d4 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "vue-router",
-  "version": "4.0.0-beta.7",
+  "version": "4.0.0-beta.8",
   "main": "dist/vue-router.cjs.js",
   "browser": "dist/vue-router.esm.js",
   "unpkg": "dist/vue-router.global.js",