]>
git.ipfire.org Git - thirdparty/vuejs/router.git/log
Eduardo San Martin Morote [Wed, 15 Apr 2020 14:37:57 +0000 (16:37 +0200)]
test: modify e2e tests to work on safari
Eduardo San Martin Morote [Wed, 15 Apr 2020 09:04:17 +0000 (11:04 +0200)]
ci: update chrome driver
Eduardo San Martin Morote [Wed, 15 Apr 2020 08:50:13 +0000 (10:50 +0200)]
ci: try fixing e2e
https://bugs.chromium.org/p/chromedriver/issues/detail?id=2473
Eduardo San Martin Morote [Wed, 15 Apr 2020 08:47:07 +0000 (10:47 +0200)]
Revert "test: only call browser.end on the last test"
This reverts commit
4b3ba8920d40cd4ac94bd8b1deb545b2ff550dcf .
Eduardo San Martin Morote [Wed, 15 Apr 2020 08:35:32 +0000 (10:35 +0200)]
test: only call browser.end on the last test
Eduardo San Martin Morote [Wed, 15 Apr 2020 08:18:20 +0000 (10:18 +0200)]
test: add transition test
Eduardo San Martin Morote [Wed, 15 Apr 2020 08:09:18 +0000 (10:09 +0200)]
test: remove headless from e2e for transitions
Eduardo San Martin Morote [Wed, 15 Apr 2020 08:08:37 +0000 (10:08 +0200)]
test: mock isBrowser in unit tests
Eduardo San Martin Morote [Wed, 15 Apr 2020 08:07:57 +0000 (10:07 +0200)]
build: add browser env to webpack builds
Eduardo San Martin Morote [Wed, 15 Apr 2020 08:07:27 +0000 (10:07 +0200)]
refactor: proper isBrowser
Eduardo San Martin Morote [Tue, 14 Apr 2020 09:19:10 +0000 (11:19 +0200)]
feat: merge meta fields
Eduardo San Martin Morote [Mon, 13 Apr 2020 14:50:12 +0000 (16:50 +0200)]
fix(history): allow hash history with no origin
Close #163
Eduardo San Martin Morote [Mon, 13 Apr 2020 14:20:00 +0000 (16:20 +0200)]
fix(history): allow base with / and base tag
Close #164
Eduardo San Martin Morote [Mon, 13 Apr 2020 11:33:45 +0000 (13:33 +0200)]
test: add find method to wrapper
dependabot-preview[bot] [Mon, 13 Apr 2020 09:03:55 +0000 (09:03 +0000)]
build(deps-dev): bump @microsoft/api-documenter from 7.7.17 to 7.7.18
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack) from 7.7.17 to 7.7.18.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-documenter_v7.7.17...@microsoft/api-documenter_v7.7.18)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 09:00:29 +0000 (09:00 +0000)]
build(deps-dev): bump @rollup/plugin-alias from 3.0.1 to 3.1.0
Bumps [@rollup/plugin-alias](https://github.com/rollup/plugins) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/alias-v3.0.1...alias-v3.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 08:58:54 +0000 (08:58 +0000)]
build(deps-dev): bump jest from 25.2.7 to 25.3.0
Bumps [jest](https://github.com/facebook/jest) from 25.2.7 to 25.3.0.
- [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/v25.2.7...v25.3.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 08:54:16 +0000 (08:54 +0000)]
build(deps-dev): bump css-loader from 3.4.2 to 3.5.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.2 to 3.5.2.
- [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.4.2...v3.5.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 08:53:29 +0000 (08:53 +0000)]
build(deps-dev): bump @rollup/plugin-commonjs from 11.0.2 to 11.1.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.2 to 11.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.2...commonjs-v11.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 08:50:20 +0000 (08:50 +0000)]
build(deps-dev): bump @types/jsdom from 16.2.0 to 16.2.1
Bumps [@types/jsdom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jsdom) from 16.2.0 to 16.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jsdom)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 08:50:13 +0000 (08:50 +0000)]
build(deps-dev): bump lint-staged from 10.1.2 to 10.1.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.2 to 10.1.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.2...v10.1.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 08:49:41 +0000 (08:49 +0000)]
build(deps-dev): bump html-webpack-plugin from 4.0.4 to 4.2.0
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.0.4 to 4.2.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.0.4...v4.2.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 08:49:10 +0000 (08:49 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.7.12 to 7.7.13
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.7.12 to 7.7.13.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.12...@microsoft/api-extractor_v7.7.13)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 13 Apr 2020 08:46:20 +0000 (08:46 +0000)]
build(deps-dev): bump @rollup/plugin-node-resolve from 7.1.1 to 7.1.3
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 7.1.1 to 7.1.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.1.1...node-resolve-v7.1.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Thu, 9 Apr 2020 19:12:43 +0000 (21:12 +0200)]
refactor(link): directly inject the route
Eduardo San Martin Morote [Thu, 9 Apr 2020 18:51:45 +0000 (20:51 +0200)]
test: rename mount2
Eduardo San Martin Morote [Thu, 9 Apr 2020 18:50:52 +0000 (20:50 +0200)]
test: remove old mount helper
Eduardo San Martin Morote [Thu, 9 Apr 2020 18:50:12 +0000 (20:50 +0200)]
test: refactor mount function
Eduardo San Martin Morote [Thu, 9 Apr 2020 17:20:24 +0000 (19:20 +0200)]
refactor: use cleaner mount for tests
Eduardo San Martin Morote [Thu, 9 Apr 2020 13:32:41 +0000 (15:32 +0200)]
chore: add vm to playground for testing purposes
Eduardo San Martin Morote [Thu, 9 Apr 2020 13:32:26 +0000 (15:32 +0200)]
chore: up vue
Eduardo San Martin Morote [Wed, 8 Apr 2020 18:46:53 +0000 (20:46 +0200)]
test: extra import
Eduardo San Martin Morote [Wed, 8 Apr 2020 18:45:08 +0000 (20:45 +0200)]
test: remove outdated error
Eduardo San Martin Morote [Wed, 8 Apr 2020 16:13:59 +0000 (18:13 +0200)]
fix: revert history navigation if navigation is cancelled
Eduardo San Martin Morote [Wed, 8 Apr 2020 15:41:10 +0000 (17:41 +0200)]
feat(guards): support errors in navigation guards
Eduardo San Martin Morote [Wed, 8 Apr 2020 13:44:45 +0000 (15:44 +0200)]
test: rename test
Eduardo San Martin Morote [Wed, 8 Apr 2020 13:44:24 +0000 (15:44 +0200)]
refactor: group guards code
Eduardo San Martin Morote [Wed, 8 Apr 2020 12:14:38 +0000 (14:14 +0200)]
feat(router): hasRoute
Eduardo San Martin Morote [Wed, 8 Apr 2020 12:12:43 +0000 (14:12 +0200)]
test: group tests
Eduardo San Martin Morote [Wed, 8 Apr 2020 10:56:17 +0000 (12:56 +0200)]
build: fix script
Eduardo San Martin Morote [Wed, 8 Apr 2020 10:54:37 +0000 (12:54 +0200)]
release: v4.0.0-alpha.5
Eduardo San Martin Morote [Wed, 8 Apr 2020 10:45:55 +0000 (12:45 +0200)]
chore: consistent usage of yarn run
Eduardo San Martin Morote [Wed, 8 Apr 2020 10:43:27 +0000 (12:43 +0200)]
refactor: remove old comments
Eduardo San Martin Morote [Wed, 8 Apr 2020 10:36:59 +0000 (12:36 +0200)]
test(e2e): add hash test
Eduardo San Martin Morote [Wed, 8 Apr 2020 10:36:45 +0000 (12:36 +0200)]
refactor: test
Eduardo San Martin Morote [Wed, 8 Apr 2020 10:03:08 +0000 (12:03 +0200)]
fix(link): not active when matched is empty
Eduardo San Martin Morote [Wed, 8 Apr 2020 09:40:53 +0000 (11:40 +0200)]
chore: improve scrolling in playground
Eduardo San Martin Morote [Wed, 8 Apr 2020 09:04:39 +0000 (11:04 +0200)]
test: throws with invalid route locations
Eduardo San Martin Morote [Tue, 7 Apr 2020 13:32:08 +0000 (15:32 +0200)]
fix: ignore order of keys in query and params
Eduardo San Martin Morote [Tue, 7 Apr 2020 12:23:37 +0000 (14:23 +0200)]
test: test missing param error
Eduardo San Martin Morote [Tue, 7 Apr 2020 11:58:19 +0000 (13:58 +0200)]
test: update snapshots
Eduardo San Martin Morote [Tue, 7 Apr 2020 11:57:21 +0000 (13:57 +0200)]
test: refactor tests
Eduardo San Martin Morote [Tue, 7 Apr 2020 10:40:13 +0000 (12:40 +0200)]
feat: allow symbols as route record name
Eduardo San Martin Morote [Tue, 7 Apr 2020 10:19:46 +0000 (12:19 +0200)]
feat(link): allow `custom` prop
Eduardo San Martin Morote [Tue, 7 Apr 2020 10:19:30 +0000 (12:19 +0200)]
test(link): add absolute alias active tests
Eduardo San Martin Morote [Tue, 7 Apr 2020 10:00:15 +0000 (12:00 +0200)]
feat(link): activeClass and exactActiveClass props
Eduardo San Martin Morote [Tue, 7 Apr 2020 09:41:50 +0000 (11:41 +0200)]
refactor: remove vue-loader usage from e2e tests
Austin Akers [Tue, 7 Apr 2020 09:45:41 +0000 (04:45 -0500)]
test: onBeforeRouteLeave (#161)
[ci skip]
Eduardo San Martin Morote [Mon, 6 Apr 2020 09:09:55 +0000 (11:09 +0200)]
chore: update comment in docs
dependabot-preview[bot] [Mon, 6 Apr 2020 09:05:57 +0000 (09:05 +0000)]
build(deps-dev): bump chromedriver from 80.0.1 to 80.0.2
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 80.0.1 to 80.0.2.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/commits/80.0.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Mon, 6 Apr 2020 08:59:28 +0000 (10:59 +0200)]
chore: up vue
Eduardo San Martin Morote [Mon, 6 Apr 2020 08:40:08 +0000 (10:40 +0200)]
chore: up chalk
Eduardo San Martin Morote [Mon, 6 Apr 2020 08:37:33 +0000 (10:37 +0200)]
chore: up deps
Eduardo San Martin Morote [Sat, 4 Apr 2020 10:32:35 +0000 (12:32 +0200)]
test(e2e): adapt scroll restoration test
Eduardo San Martin Morote [Fri, 3 Apr 2020 13:09:06 +0000 (15:09 +0200)]
chore: typos
Eduardo San Martin Morote [Fri, 3 Apr 2020 13:08:57 +0000 (15:08 +0200)]
test(e2e): add scroll behavior test
Eduardo San Martin Morote [Fri, 3 Apr 2020 13:00:02 +0000 (15:00 +0200)]
refactor(e2e): use regular functions to support old browsers
Eduardo San Martin Morote [Fri, 3 Apr 2020 12:01:41 +0000 (14:01 +0200)]
chore: typos
Eduardo San Martin Morote [Fri, 3 Apr 2020 11:53:22 +0000 (13:53 +0200)]
refactor: typos and refactor in tests
Eduardo San Martin Morote [Fri, 3 Apr 2020 11:52:49 +0000 (13:52 +0200)]
refactor: reorganize unit tests
Eduardo San Martin Morote [Fri, 3 Apr 2020 11:19:46 +0000 (13:19 +0200)]
docs: document history
Eduardo San Martin Morote [Fri, 3 Apr 2020 10:27:24 +0000 (12:27 +0200)]
refactor: rename spec
Eduardo San Martin Morote [Fri, 3 Apr 2020 09:44:25 +0000 (11:44 +0200)]
fix: check query and hash when navigating
Eduardo San Martin Morote [Fri, 3 Apr 2020 09:39:05 +0000 (11:39 +0200)]
chore: fix title in e2e tests
Eduardo San Martin Morote [Fri, 3 Apr 2020 09:38:15 +0000 (11:38 +0200)]
test(e2e): allow window.r
Eduardo San Martin Morote [Fri, 3 Apr 2020 09:25:31 +0000 (11:25 +0200)]
test(e2e): add scroll behavior test
dependabot-preview[bot] [Thu, 2 Apr 2020 14:30:47 +0000 (16:30 +0200)]
build(deps-dev): bump rollup-plugin-typescript2 from 0.26.0 to 0.27.0 (#153)
Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases)
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.26.0...0.27.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 [Thu, 2 Apr 2020 13:43:15 +0000 (15:43 +0200)]
ci: add e2e tests
Eduardo San Martin Morote [Thu, 2 Apr 2020 13:42:54 +0000 (15:42 +0200)]
ci: fix serving
Eduardo San Martin Morote [Thu, 2 Apr 2020 12:49:53 +0000 (14:49 +0200)]
test(e2e): build e2e tests
Eduardo San Martin Morote [Thu, 2 Apr 2020 08:22:46 +0000 (10:22 +0200)]
chore: remove ignored files
Eduardo San Martin Morote [Thu, 2 Apr 2020 08:21:52 +0000 (10:21 +0200)]
refactor: create utils/location.ts
Eduardo San Martin Morote [Thu, 2 Apr 2020 08:14:08 +0000 (10:14 +0200)]
docs: encoding.ts
Eduardo San Martin Morote [Thu, 2 Apr 2020 07:32:25 +0000 (09:32 +0200)]
test: fix type
Eduardo San Martin Morote [Mon, 30 Mar 2020 20:29:16 +0000 (22:29 +0200)]
fix: skip initial guards with static redirect
BREAKING CHANGE: Renamed types by removing suffix Normalized and using Raw instead
- `RouteLocation` -> `RouteLocationRaw`
- `RouteLocationNormalized` -> `RouteLocation`
- `RouteLocationNormalized` is now a location that can be displayed (not a static redirect)
- `RouteLocationNormalizedResolved` -> `RouteLocationNormalizedLoaded`
- `RouteRecord` -> `RouteRecordRaw`
- `RouteRecordNormalized` -> `RouteRecord`
- `RouteRecordNormalized` is now a record that is not a static redirect
dependabot-preview[bot] [Mon, 30 Mar 2020 09:13:37 +0000 (09:13 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.7.10 to 7.7.12
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.7.10 to 7.7.12.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.10...@microsoft/api-extractor_v7.7.12)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Mar 2020 09:10:48 +0000 (09:10 +0000)]
build(deps-dev): bump html-webpack-plugin from 4.0.2 to 4.0.3
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.0.2...v4.0.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Mar 2020 09:09:02 +0000 (09:09 +0000)]
build(deps-dev): bump @microsoft/api-documenter from 7.7.14 to 7.7.16
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack) from 7.7.14 to 7.7.16.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-documenter_v7.7.14...@microsoft/api-documenter_v7.7.16)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Mar 2020 09:07:42 +0000 (09:07 +0000)]
build(deps-dev): bump @types/jsdom from 16.1.1 to 16.2.0
Bumps [@types/jsdom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jsdom) from 16.1.1 to 16.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jsdom)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Mar 2020 09:06:11 +0000 (09:06 +0000)]
build(deps-dev): bump jest from 25.2.3 to 25.2.4
Bumps [jest](https://github.com/facebook/jest) from 25.2.3 to 25.2.4.
- [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/v25.2.3...v25.2.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Mar 2020 09:03:03 +0000 (09:03 +0000)]
build(deps-dev): bump lint-staged from 10.0.9 to 10.0.10
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.0.9 to 10.0.10.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.0.9...v10.0.10)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Mar 2020 09:03:15 +0000 (09:03 +0000)]
build(deps-dev): bump ts-jest from 25.2.1 to 25.3.0
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.2.1 to 25.3.0.
- [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/25.2.1...v25.3.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 30 Mar 2020 09:01:53 +0000 (09:01 +0000)]
build(deps-dev): bump @types/webpack from 4.41.8 to 4.41.9
Bumps [@types/webpack](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack) from 4.41.8 to 4.41.9.
- [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>
Eduardo San Martin Morote [Sun, 29 Mar 2020 17:29:36 +0000 (19:29 +0200)]
fix(types): add missing exported types
Close #147
Eduardo San Martin Morote [Sun, 29 Mar 2020 16:16:00 +0000 (18:16 +0200)]
test(e2e): add wip transition example
Eduardo San Martin Morote [Sun, 29 Mar 2020 16:15:31 +0000 (18:15 +0200)]
chore: empty lines in docs
Eduardo San Martin Morote [Sat, 28 Mar 2020 21:21:45 +0000 (22:21 +0100)]
build: fix release
Eduardo San Martin Morote [Sat, 28 Mar 2020 21:21:31 +0000 (22:21 +0100)]
release: v4.0.0-alpha.4
Eduardo San Martin Morote [Sat, 28 Mar 2020 20:59:54 +0000 (21:59 +0100)]
build: accept version as commit
Eduardo San Martin Morote [Sat, 28 Mar 2020 20:44:56 +0000 (21:44 +0100)]
build: display current version in release.sh