]>
git.ipfire.org Git - thirdparty/vuejs/router.git/log
Eduardo San Martin Morote [Thu, 6 Aug 2020 13:29:40 +0000 (15:29 +0200)]
fix(encoding): encode partial params
Eduardo San Martin Morote [Thu, 6 Aug 2020 13:19:48 +0000 (15:19 +0200)]
fix(matcher): avoid trailing slash with optional params
dependabot-preview[bot] [Wed, 5 Aug 2020 12:30:32 +0000 (14:30 +0200)]
build(deps-dev): bump vue, @vue/compiler-sfc and @vue/server-renderer (#399)
Bumps [vue](https://github.com/vuejs/vue), [@vue/compiler-sfc](https://github.com/vuejs/vue-next) and [@vue/server-renderer](https://github.com/vuejs/vue-next). These dependencies needed to be updated together.
Updates `vue` from 3.0.0-rc.2 to 3.0.0-rc.5
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)
Updates `@vue/compiler-sfc` from 3.0.0-rc.2 to 3.0.0-rc.5
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/compare/v3.0.0-rc.2...v3.0.0-rc.5)
Updates `@vue/server-renderer` from 3.0.0-rc.2 to 3.0.0-rc.5
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/compare/v3.0.0-rc.2...v3.0.0-rc.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Eduardo San Martin Morote [Wed, 5 Aug 2020 12:30:09 +0000 (14:30 +0200)]
build(deps-dev): bump chromedriver from 83.0.1 to 84.0.1 (#391)
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 83.0.1 to 84.0.1.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/commits)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
dependabot-preview[bot] [Wed, 5 Aug 2020 12:30:04 +0000 (14:30 +0200)]
build(deps-dev): bump css-loader from 3.6.0 to 4.2.0 (#400)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 4.2.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.6.0...v4.2.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Eduardo San Martin Morote [Wed, 5 Aug 2020 12:12:28 +0000 (14:12 +0200)]
docs: add rfc links in readme
Eduardo San Martin Morote [Wed, 5 Aug 2020 12:12:15 +0000 (14:12 +0200)]
test(types): use ts instead of tsd
Eduardo San Martin Morote [Wed, 5 Aug 2020 11:32:49 +0000 (13:32 +0200)]
chore: remove old tsdoc
Eduardo San Martin Morote [Wed, 5 Aug 2020 08:34:38 +0000 (10:34 +0200)]
release: v4.0.0-beta.6
Eduardo San Martin Morote [Wed, 5 Aug 2020 08:26:49 +0000 (10:26 +0200)]
test: fix failing tests
Eduardo San Martin Morote [Wed, 5 Aug 2020 08:26:40 +0000 (10:26 +0200)]
test(router-link): add test regarding aria-current
Eduardo San Martin Morote [Wed, 5 Aug 2020 08:25:52 +0000 (10:25 +0200)]
feat(router-link): add ariaCurrentValue prop
Eduardo San Martin Morote [Tue, 4 Aug 2020 14:52:22 +0000 (16:52 +0200)]
docs: add more breaking changes notes
Eduardo San Martin Morote [Tue, 4 Aug 2020 14:52:02 +0000 (16:52 +0200)]
feat: add Vetur support
Close #381
Eduardo San Martin Morote [Tue, 4 Aug 2020 14:22:58 +0000 (16:22 +0200)]
chore: add todo about optional params
Eduardo San Martin Morote [Tue, 4 Aug 2020 14:22:36 +0000 (16:22 +0200)]
fix(router): stack overflow with redirect
Close #404
Eduardo San Martin Morote [Tue, 4 Aug 2020 14:21:36 +0000 (16:21 +0200)]
docs: add breaking change not about parent
Eduardo San Martin Morote [Mon, 3 Aug 2020 15:53:20 +0000 (17:53 +0200)]
build: format changelog [skip ci]
Eduardo San Martin Morote [Mon, 3 Aug 2020 15:48:44 +0000 (17:48 +0200)]
release: v4.0.0-beta.5
Eduardo San Martin Morote [Mon, 3 Aug 2020 15:47:29 +0000 (17:47 +0200)]
feat: resolve simple relative links
Works with links like ../../url but not with ../url/./path
Eduardo San Martin Morote [Mon, 3 Aug 2020 11:08:47 +0000 (13:08 +0200)]
docs: move encoding to improvements [skip ci]
dependabot-preview[bot] [Mon, 3 Aug 2020 10:17:04 +0000 (10:17 +0000)]
build(deps-dev): bump jest from 26.1.0 to 26.2.2
Bumps [jest](https://github.com/facebook/jest) from 26.1.0 to 26.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.1.0...v26.2.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 3 Aug 2020 10:17:05 +0000 (10:17 +0000)]
build(deps-dev): bump webpack from 4.44.0 to 4.44.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.0 to 4.44.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.0...v4.44.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 3 Aug 2020 09:58:20 +0000 (09:58 +0000)]
build(deps-dev): bump ts-jest from 26.1.3 to 26.1.4
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.1.3 to 26.1.4.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.1.3...v26.1.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 3 Aug 2020 09:55:52 +0000 (09:55 +0000)]
build(deps-dev): bump @types/jest from 26.0.7 to 26.0.8
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.7 to 26.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 3 Aug 2020 09:52:40 +0000 (09:52 +0000)]
build(deps-dev): bump ts-loader from 8.0.1 to 8.0.2
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.1...v8.0.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Mon, 3 Aug 2020 08:56:50 +0000 (10:56 +0200)]
chore: expose createRouterMatcher as internal
Eduardo San Martin Morote [Mon, 3 Aug 2020 08:54:39 +0000 (10:54 +0200)]
feat(url): simple resolve relative location
Eduardo San Martin Morote [Mon, 3 Aug 2020 07:45:24 +0000 (09:45 +0200)]
docs: add note about encoding
Eduardo San Martin Morote [Fri, 31 Jul 2020 17:33:40 +0000 (19:33 +0200)]
docs: add note about transition and keepalive
Eduardo San Martin Morote [Fri, 31 Jul 2020 14:35:09 +0000 (16:35 +0200)]
refactor(guards): correctly chain promises
Eduardo San Martin Morote [Fri, 31 Jul 2020 14:26:18 +0000 (16:26 +0200)]
feat(warn): warn if guard returns without calling next
Eduardo San Martin Morote [Thu, 30 Jul 2020 21:06:53 +0000 (23:06 +0200)]
chore: add todo$
dependabot-preview[bot] [Wed, 29 Jul 2020 21:11:42 +0000 (21:11 +0000)]
build(deps): [security] bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Austin Akers [Tue, 28 Jul 2020 07:32:34 +0000 (02:32 -0500)]
docs: update status (#395)
dependabot-preview[bot] [Mon, 27 Jul 2020 09:35:10 +0000 (09:35 +0000)]
build(deps-dev): bump chromedriver from 83.0.1 to 84.0.1
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 83.0.1 to 84.0.1.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/commits)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 27 Jul 2020 09:22:20 +0000 (09:22 +0000)]
build(deps-dev): bump @types/jest from 26.0.5 to 26.0.7
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.5 to 26.0.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 27 Jul 2020 09:21:40 +0000 (09:21 +0000)]
build(deps-dev): bump codecov from 3.7.1 to 3.7.2
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.7.1 to 3.7.2.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.7.1...v3.7.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 27 Jul 2020 09:21:03 +0000 (09:21 +0000)]
build(deps-dev): bump nightwatch from 1.3.6 to 1.3.7
Bumps [nightwatch](https://github.com/nightwatchjs/nightwatch) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/nightwatchjs/nightwatch/releases)
- [Commits](https://github.com/nightwatchjs/nightwatch/compare/v1.3.6...v1.3.7)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 27 Jul 2020 09:16:58 +0000 (09:16 +0000)]
build(deps-dev): bump rollup from 2.22.1 to 2.23.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.22.1 to 2.23.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.22.1...v2.23.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 27 Jul 2020 09:16:17 +0000 (09:16 +0000)]
build(deps-dev): bump webpack from 4.43.0 to 4.44.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.43.0 to 4.44.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.43.0...v4.44.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Sat, 25 Jul 2020 19:22:19 +0000 (21:22 +0200)]
release: v4.0.0-beta.4
Eduardo San Martin Morote [Fri, 24 Jul 2020 08:42:22 +0000 (10:42 +0200)]
test(router-view): test v-slot
Eduardo San Martin Morote [Fri, 24 Jul 2020 08:39:18 +0000 (10:39 +0200)]
fix(router-view): render the slot when there is no match
Close #385
瓦姆乌·湫曗 [Fri, 24 Jul 2020 07:09:29 +0000 (15:09 +0800)]
fix: work on Edge by adding an argument to catch (#383)
Eduardo San Martin Morote [Tue, 21 Jul 2020 15:06:07 +0000 (17:06 +0200)]
release: v4.0.0-beta.3
Eduardo San Martin Morote [Tue, 21 Jul 2020 15:05:01 +0000 (17:05 +0200)]
docs: remove extra content
Eduardo San Martin Morote [Tue, 21 Jul 2020 14:55:26 +0000 (16:55 +0200)]
docs: add more tsdocs
weihaiyu [Tue, 21 Jul 2020 13:24:58 +0000 (20:24 +0700)]
refactor(guards): optimize with one single for loop (#375)
* refactor(src): optimized with one single for loop
* refactor(src): optimized with one single for loop
* fix(src): The _RouteLocationBase define but never be used
Eduardo San Martin Morote [Tue, 21 Jul 2020 13:03:20 +0000 (15:03 +0200)]
feat(errors): export isNavigationFailure
Eduardo San Martin Morote [Tue, 21 Jul 2020 13:03:09 +0000 (15:03 +0200)]
types(guards): allow to return values in guards
Eduardo San Martin Morote [Tue, 21 Jul 2020 12:39:29 +0000 (14:39 +0200)]
feat(guards): allow guards to return a value instead of calling next (#343)
dependabot[bot] [Tue, 21 Jul 2020 12:36:38 +0000 (14:36 +0200)]
build(deps): bump lodash from 4.17.15 to 4.17.19 (#377) [skip ci]
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Eduardo San Martin Morote [Tue, 21 Jul 2020 12:32:20 +0000 (14:32 +0200)]
fix(guards): skip update and leave guards of unmounted views
Eduardo San Martin Morote [Tue, 21 Jul 2020 11:49:41 +0000 (13:49 +0200)]
fix(guards): remove registered update guards after leaving
Eduardo San Martin Morote [Tue, 21 Jul 2020 11:49:11 +0000 (13:49 +0200)]
test(guards): test onBeforeRouteLeave are removed
Eduardo San Martin Morote [Tue, 21 Jul 2020 09:46:40 +0000 (11:46 +0200)]
feat(guards): wip context support in multi apps
Eduardo San Martin Morote [Tue, 21 Jul 2020 11:41:24 +0000 (13:41 +0200)]
fix(guards): call beforeRouteEnter once per named view
Eduardo San Martin Morote [Tue, 21 Jul 2020 09:46:52 +0000 (11:46 +0200)]
docs: add comments
Eduardo San Martin Morote [Mon, 20 Jul 2020 11:06:17 +0000 (13:06 +0200)]
fix(hash): allow url to contain search params before hash
Fix #378
Eduardo San Martin Morote [Mon, 20 Jul 2020 08:44:51 +0000 (10:44 +0200)]
chore: up deps
Eduardo San Martin Morote [Fri, 17 Jul 2020 13:16:53 +0000 (15:16 +0200)]
ci: add size-limit action (#376)
* ci: add size-limit action
* ci: remove bad options
[skip ci]
Eduardo San Martin Morote [Fri, 17 Jul 2020 08:16:02 +0000 (10:16 +0200)]
build: clear build cache
uuoocckk-983 [Thu, 16 Jul 2020 10:13:02 +0000 (18:13 +0800)]
test(__tests__/RouterLink.spec): add not match repeated params test (#373)
* test(__tests__/RouterLink.spec): add not match repeated params test
* Update __tests__/RouterLink.spec.ts [skip ci]
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
zMouse [Wed, 15 Jul 2020 12:06:39 +0000 (20:06 +0800)]
test(warns): add a warning test when `next` is called twice (#371)
dependabot-preview[bot] [Mon, 13 Jul 2020 09:16:02 +0000 (09:16 +0000)]
build(deps-dev): bump @rollup/plugin-commonjs from 13.0.0 to 13.0.1
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 13.0.0 to 13.0.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v13.0.0...commonjs-v13.0.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Jul 2020 09:12:57 +0000 (09:12 +0000)]
build(deps-dev): bump chromedriver from 83.0.0 to 83.0.1
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 83.0.0 to 83.0.1.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/compare/83.0.0...83.0.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Jul 2020 09:10:51 +0000 (09:10 +0000)]
build(deps-dev): bump @rollup/plugin-node-resolve from 8.1.0 to 8.4.0
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 8.1.0 to 8.4.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v8.1.0...node-resolve-v8.4.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Sun, 12 Jul 2020 22:10:12 +0000 (00:10 +0200)]
chore: move issue template folder
Eduardo San Martin Morote [Sun, 12 Jul 2020 22:08:25 +0000 (00:08 +0200)]
chore: fix issue template
Eduardo San Martin Morote [Sun, 12 Jul 2020 12:46:05 +0000 (14:46 +0200)]
chore: up deps
Eduardo San Martin Morote [Sat, 11 Jul 2020 20:43:49 +0000 (22:43 +0200)]
chore: up vue
bu [Sat, 11 Jul 2020 17:12:46 +0000 (01:12 +0800)]
refactor: remove unused imports and code (#364)
ImJustAMan [Thu, 9 Jul 2020 18:35:50 +0000 (02:35 +0800)]
test(router-link): add not active with different params type and delete repeat test (#363)
Eduardo San Martin Morote [Tue, 7 Jul 2020 08:47:43 +0000 (10:47 +0200)]
release: v4.0.0-beta.2
Eduardo San Martin Morote [Tue, 7 Jul 2020 08:43:56 +0000 (10:43 +0200)]
test(e2e): add fixme note
dependabot-preview[bot] [Mon, 6 Jul 2020 09:17:43 +0000 (09:17 +0000)]
build(deps-dev): bump rollup from 2.18.1 to 2.19.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.18.1 to 2.19.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.18.1...v2.19.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 6 Jul 2020 09:16:06 +0000 (09:16 +0000)]
build(deps-dev): bump typescript from 3.9.5 to 3.9.6
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 3.9.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 6 Jul 2020 09:15:55 +0000 (09:15 +0000)]
build(deps-dev): bump @types/webpack from 4.41.18 to 4.41.19
Bumps [@types/webpack](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack) from 4.41.18 to 4.41.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webpack)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 6 Jul 2020 09:10:46 +0000 (09:10 +0000)]
build(deps-dev): bump @microsoft/api-documenter from 7.8.19 to 7.8.21
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack) from 7.8.19 to 7.8.21.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-documenter_v7.8.19...@microsoft/api-documenter_v7.8.21)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 6 Jul 2020 09:09:43 +0000 (09:09 +0000)]
build(deps-dev): bump size-limit and @size-limit/preset-small-lib
Bumps [size-limit](https://github.com/ai/size-limit) and [@size-limit/preset-small-lib](https://github.com/ai/size-limit). These dependencies needed to be updated together.
Updates `size-limit` from 4.5.2 to 4.5.3
- [Release notes](https://github.com/ai/size-limit/releases)
- [Changelog](https://github.com/ai/size-limit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ai/size-limit/compare/4.5.2...4.5.3)
Updates `@size-limit/preset-small-lib` from 4.5.2 to 4.5.3
- [Release notes](https://github.com/ai/size-limit/releases)
- [Changelog](https://github.com/ai/size-limit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ai/size-limit/compare/4.5.2...4.5.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Nick Hall [Sat, 4 Jul 2020 08:11:01 +0000 (03:11 -0500)]
docs: typo in readme (#349)
Johann Schopplich [Fri, 3 Jul 2020 14:54:50 +0000 (16:54 +0200)]
chore(warn): typo in <keep-alive> deprecation message (#347)
béla [Fri, 3 Jul 2020 14:54:13 +0000 (16:54 +0200)]
chore: update readme status (#348)
Eduardo San Martin Morote [Fri, 3 Jul 2020 09:44:26 +0000 (11:44 +0200)]
chore: typo in comment [skip ci]
Eduardo San Martin Morote [Fri, 3 Jul 2020 09:44:00 +0000 (11:44 +0200)]
release: v4.0.0-beta.1
Eduardo San Martin Morote [Fri, 3 Jul 2020 09:36:06 +0000 (11:36 +0200)]
refactor(router): remove history property
BREAKING CHANGE: the history property was marked as internal already. Since we
need to pass the history instance to the router, we always have access to it,
differently from Vue Router 3 where the history was instantiated internally.
The history API was also internal (it wasn't documented), so this change
shouldn't be a problem as people shouldn't be relying on `router.history` in
their apps. If you think this property is needed, please open an issue to
discuss the use case. Note it's already accessible as you have to create it:
```js
export const history = createWebHistory()
export const router = createRouter({ history, routes: [] })
```
Eduardo San Martin Morote [Fri, 3 Jul 2020 09:31:58 +0000 (11:31 +0200)]
refactor(history): simplify location as a string
BREAKING CHANGE: HistoryLocation is just a string now. It was pretty much an
internal property but it could be used inside `history.state`. It used to be an
object `{ fullPath: '/the-url' }`. And it's now just the `fullPath` property.
Eduardo San Martin Morote [Fri, 3 Jul 2020 06:40:36 +0000 (08:40 +0200)]
fix(router-link): add missing prop custom in jsx
Eduardo San Martin Morote [Thu, 2 Jul 2020 21:31:04 +0000 (23:31 +0200)]
build: use release vue-next release script
Eduardo San Martin Morote [Thu, 2 Jul 2020 21:24:59 +0000 (23:24 +0200)]
build: prepare for beta
Eduardo San Martin Morote [Thu, 2 Jul 2020 21:23:10 +0000 (23:23 +0200)]
docs: remove outdated missing features
Eduardo San Martin Morote [Thu, 2 Jul 2020 21:19:33 +0000 (23:19 +0200)]
test(errors): add test for isNavigationFailure
Eduardo San Martin Morote [Thu, 2 Jul 2020 20:37:31 +0000 (22:37 +0200)]
fix(hash): manual changes should trigger a navigation
Close #346
Eduardo San Martin Morote [Thu, 2 Jul 2020 20:05:48 +0000 (22:05 +0200)]
refactor: remove old TODO
Eduardo San Martin Morote [Thu, 2 Jul 2020 18:02:05 +0000 (20:02 +0200)]
feat(guards): next callback beforeRouteEnter
Eduardo San Martin Morote [Thu, 2 Jul 2020 14:04:45 +0000 (16:04 +0200)]
fix(warn): warn when RouterView is wrapped with transition
Evan You [Thu, 2 Jul 2020 13:49:35 +0000 (09:49 -0400)]
fix(router-view): preserve keep-alive route guard this context (#344)
* refactor: refactor router-view + fix keep-alive route guard this context
* test: add skipped unit test for keep alive
* refactor(e2e): omit props in v-slot
* test(e2e): add guard tests keep alive
* test(e2e): fix keep alive test
* refactor(router-view): render slot content if empty
Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
Eduardo San Martin Morote [Wed, 1 Jul 2020 15:56:13 +0000 (17:56 +0200)]
chore: add comment [skip ci]
Eduardo San Martin Morote [Wed, 1 Jul 2020 13:39:28 +0000 (15:39 +0200)]
docs: add missing hyphen