From 1423c55af268fc6fea851a5481e54be0c04046be Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 3 Aug 2020 09:45:24 +0200 Subject: [PATCH] docs: add note about encoding --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3422404f..3d31c5b2 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,10 @@ ``` See more on the [KeepAlive](https://github.com/vuejs/vue-router-next/blob/master/e2e/keep-alive/index.ts) and the [Transition](https://github.com/vuejs/vue-router-next/blob/master/e2e/transitions/index.ts) examples. +- Encoding is now more consistent. The initial navigation should yield the same results are in-app navigations. + - Values in `path`, `fullPath` are not decoded anymore. They will appear as provided by the browser (most browsers provide them encoded). + - `params`, `query` and `hash` are now all decoded + - When using `push`, `resolve` and `replace` and providing a `string` location or a `path` property in an object, **it must be encoded**. `params`, `query` and `hash` must be provided in its decoded version. ### Typings -- 2.39.5