Skip to content

Commit a4eec41

Browse files
committed
release: v4.0.0-alpha.12
1 parent 0125ec3 commit a4eec41

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# [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)
2+
3+
### Bug Fixes
4+
5+
- **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)
6+
- prevent error on initial navigation to //invalid ([e72e4ba](https://github.com/vuejs/vue-router-next/commit/e72e4ba1cc7b80aa44d3958db259d9e3a351d0fd))
7+
8+
### Features
9+
10+
- **warn:** warn multiple leading slashes ([87c5e53](https://github.com/vuejs/vue-router-next/commit/87c5e53b43c218c83f9db986ac7538d74525ea5b))
11+
12+
### BREAKING CHANGES
13+
14+
- **hash:** When providing a base for hash histories, it is now necessary
15+
to include a trailing slash to create a url that starts with `/#/`, otherwise it
16+
will result in a url starting with `#/`. This allows users to use the routing
17+
system directly in simple files without needing to configure a server at all:
18+
- `https://example.com/file.html` + `base: 'file.html` will produce a final
19+
url of `https://example.com/file.html#/`
20+
- `https://example.com/folder` + `base: 'folder` will produce a final url of
21+
`https://example.com/folder#/`
22+
- `https://example.com/folder` + `base: 'folder/` will produce a final url of
23+
`https://example.com/folder/#/`
24+
125
# [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)
226

327
### Bug Fixes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-router",
3-
"version": "4.0.0-alpha.11",
3+
"version": "4.0.0-alpha.12",
44
"main": "dist/vue-router.cjs.js",
55
"browser": "dist/vue-router.esm.js",
66
"unpkg": "dist/vue-router.global.js",

0 commit comments

Comments
 (0)