Skip to content

Commit

Permalink
release: v4.0.0-alpha.7
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Apr 17, 2020
1 parent 2b44b3f commit 8f34329
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions 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)


Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down

0 comments on commit 8f34329

Please sign in to comment.