From: Eduardo San Martin Morote Date: Tue, 19 May 2020 12:23:44 +0000 (+0200) Subject: release: v4.0.0-alpha.12 X-Git-Tag: v4.0.0-alpha.12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4eec417e33f4bd52a35fbbd834d6aedff6b24d0;p=thirdparty%2Fvuejs%2Frouter.git release: v4.0.0-alpha.12 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 392286fd..3a5dfc2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +# [4.0.0-alpha.12](https://github.com/vuejs/vue-router-next/compare/v4.0.0-alpha.11...v4.0.0-alpha.12) (2020-05-19) + +### Bug Fixes + +- **hash:** allow base with non trailing slash ([f5cc050](https://github.com/vuejs/vue-router-next/commit/f5cc0505f9e0cc30ff94e362ceb24d300afd684d)), closes [#247](https://github.com/vuejs/vue-router-next/issues/247) +- prevent error on initial navigation to //invalid ([e72e4ba](https://github.com/vuejs/vue-router-next/commit/e72e4ba1cc7b80aa44d3958db259d9e3a351d0fd)) + +### Features + +- **warn:** warn multiple leading slashes ([87c5e53](https://github.com/vuejs/vue-router-next/commit/87c5e53b43c218c83f9db986ac7538d74525ea5b)) + +### BREAKING CHANGES + +- **hash:** When providing a base for hash histories, it is now necessary + to include a trailing slash to create a url that starts with `/#/`, otherwise it + will result in a url starting with `#/`. This allows users to use the routing + system directly in simple files without needing to configure a server at all: + - `https://example.com/file.html` + `base: 'file.html` will produce a final + url of `https://example.com/file.html#/` + - `https://example.com/folder` + `base: 'folder` will produce a final url of + `https://example.com/folder#/` + - `https://example.com/folder` + `base: 'folder/` will produce a final url of + `https://example.com/folder/#/` + # [4.0.0-alpha.11](https://github.com/vuejs/vue-router-next/compare/v4.0.0-alpha.10...v4.0.0-alpha.11) (2020-05-12) ### Bug Fixes diff --git a/package.json b/package.json index 9c1f8444..289aa5ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-router", - "version": "4.0.0-alpha.11", + "version": "4.0.0-alpha.12", "main": "dist/vue-router.cjs.js", "browser": "dist/vue-router.esm.js", "unpkg": "dist/vue-router.global.js",