]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
release: v4.0.0-alpha.7 v4.0.0-alpha.7
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 17 Apr 2020 18:40:23 +0000 (20:40 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 17 Apr 2020 18:40:23 +0000 (20:40 +0200)
CHANGELOG.md
package.json

index 85614dc4a845d4135156504f6612c3ebaee76afe..0b6e0ca4369c424313b92ab31298aee218645384 100644 (file)
@@ -1,3 +1,24 @@
+# [4.0.0-alpha.7](https://github.com/vuejs/vue-router-next/compare/v4.0.0-alpha.6...v4.0.0-alpha.7) (2020-04-17)
+
+
+### Features
+
+* add `$route` and `$router` types ([a4f80aa](https://github.com/vuejs/vue-router-next/commit/a4f80aaaafb1bf29a3f4d992e8c6a2bec0f70d62))
+* add guards types ([c7ccd5a](https://github.com/vuejs/vue-router-next/commit/c7ccd5a0e67d88467fc661474308fbdf55b947ec))
+* refactor navigation to comply with vuejs/rfcs[#150](https://github.com/vuejs/vue-router-next/issues/150) ([290c3be](https://github.com/vuejs/vue-router-next/commit/290c3be1f6cb476016f23b77d6fc49987dd84751))
+
+
+### BREAKING CHANGES
+
+* This follows the RFC at https://github.com/vuejs/rfcs/pull/150
+  Summary: `router.afterEach` and `router.onError` are now the global equivalent of
+  `router.push`/`router.replace` as well as navigation through the interface
+  (`history.go()`). A navigation only rejects if there was an unexpected error.
+  A navigation failure will still resolve the promise returned by `router.push`
+  and be exposed as the resolved value.
+
+
+
 # [4.0.0-alpha.6](https://github.com/vuejs/vue-router-next/compare/v4.0.0-alpha.5...v4.0.0-alpha.6) (2020-04-17)
 
 
index 87f5b51242cf07e9f4add8a7aafeaae7aefc60cf..6d79a53f01836d8b2b2022abab72bfca705c9677 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "vue-router",
-  "version": "4.0.0-alpha.6",
+  "version": "4.0.0-alpha.7",
   "main": "dist/vue-router.cjs.js",
   "browser": "dist/vue-router.esm.js",
   "unpkg": "dist/vue-router.global.js",