Skip to content

Commit

Permalink
release: v4.0.0-alpha.12
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed May 19, 2020
1 parent 0125ec3 commit a4eec41
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions 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
Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down

1 comment on commit a4eec41

@danyadev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello again!

Since the advent of vuex-next, I began to rewrite (rather large) my application on vue 3 and at the moment I have already implemented the basis of the application and it can already be used.

I started switching to vue 3 too early, because for some very important features I needed Fragment support (some of which I already implemented).

However, I have one (and only) vue issue - there is no KeepAlive support for RouterView. Complex problems arise from this:

  • The state of a large component and its children is not preserved. Because of this, the scroll position and previously written text are lost, and data from the API is also reloaded;
  • It is impossible to switch between these components using the key switch (without crutches);
  • There are some other bugs that are associated with the mismatch of the (unsaved) component state with the global state.

In all the rest, by the way, there really are no problems and everything works quickly and cool :)

I ask you to start implementing KeepAlive support as early as possible, because it greatly affects my project.

Please sign in to comment.