From 8f3432977ce4d1cbad8f2de594672efb6107e12e Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 17 Apr 2020 20:40:23 +0200 Subject: [PATCH] release: v4.0.0-alpha.7 --- CHANGELOG.md | 21 +++++++++++++++++++++ package.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85614dc4a..0b6e0ca43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index 87f5b5124..6d79a53f0 100644 --- a/package.json +++ b/package.json @@ -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",