]>
git.ipfire.org Git - thirdparty/vuejs/router.git/log
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
Eduardo San Martin Morote [Sat, 28 Mar 2020 20:40:04 +0000 (21:40 +0100)]
docs: add breaking change to list
Eduardo San Martin Morote [Fri, 27 Mar 2020 14:52:22 +0000 (15:52 +0100)]
test: remove duplicated cases for replace
Eduardo San Martin Morote [Fri, 27 Mar 2020 11:46:09 +0000 (12:46 +0100)]
docs: document utils/query.ts
Eduardo San Martin Morote [Fri, 27 Mar 2020 11:45:45 +0000 (12:45 +0100)]
chore: ignore generated folders
Eduardo San Martin Morote [Fri, 27 Mar 2020 10:52:33 +0000 (11:52 +0100)]
chore: fix yarn.lock
Eduardo San Martin Morote [Fri, 27 Mar 2020 10:48:20 +0000 (11:48 +0100)]
chore: fix deps to older vue for the moment
Eduardo San Martin Morote [Thu, 26 Mar 2020 22:21:23 +0000 (23:21 +0100)]
chore: fix yarn.lock
Eduardo San Martin Morote [Thu, 26 Mar 2020 22:04:00 +0000 (23:04 +0100)]
refactor: remove Immutable usage
It's been breaking very often and is not providing a satisfactory solution. A
better solution could be using Readonly<T> at the specific places it is
necessary. It could also make sense to expose a public type that is different
from the one used internally
Eduardo San Martin Morote [Thu, 26 Mar 2020 16:49:20 +0000 (17:49 +0100)]
test: fix after change
Eduardo San Martin Morote [Thu, 26 Mar 2020 16:45:12 +0000 (17:45 +0100)]
feat: improve route access
BREAKING CHANGE: `useRoute` now retrieves a reactive RouteLocationNormalized instead of a Ref<RouteLocationNormalized>.
This means there is no need to use `.value` when accessing the route. You still need to wrap it with `toRefs` if you want to expose parts of the route:
```js
setup () {
return { params: toRefs(useRoute()).params }
}
```
Eduardo San Martin Morote [Wed, 25 Mar 2020 21:34:06 +0000 (22:34 +0100)]
chore: up deps
Eduardo San Martin Morote [Wed, 25 Mar 2020 20:31:42 +0000 (21:31 +0100)]
test: fix tests
Eduardo San Martin Morote [Tue, 24 Mar 2020 21:12:10 +0000 (22:12 +0100)]
feat: allow passing state to history
Eduardo San Martin Morote [Tue, 24 Mar 2020 10:29:22 +0000 (11:29 +0100)]
test: reactive unit test
Eduardo San Martin Morote [Tue, 24 Mar 2020 10:28:49 +0000 (11:28 +0100)]
feat(history): expose state on html5
Eduardo San Martin Morote [Tue, 24 Mar 2020 10:28:27 +0000 (11:28 +0100)]
test: add more for modals
Eduardo San Martin Morote [Tue, 24 Mar 2020 09:10:56 +0000 (10:10 +0100)]
test(e2e): fix tsconfig
Eduardo San Martin Morote [Tue, 24 Mar 2020 09:10:26 +0000 (10:10 +0100)]
test: add modal sample
Eduardo San Martin Morote [Tue, 24 Mar 2020 15:09:14 +0000 (16:09 +0100)]
feat(view): useView to customize router-view
Eduardo San Martin Morote [Tue, 24 Mar 2020 09:15:16 +0000 (10:15 +0100)]
fix(history): use current history state when replacing
Eduardo San Martin Morote [Mon, 23 Mar 2020 09:55:16 +0000 (10:55 +0100)]
fix: export more types
Closes #137
Eduardo San Martin Morote [Mon, 23 Mar 2020 09:30:44 +0000 (10:30 +0100)]
chore: remove outdated TODO
dependabot-preview[bot] [Mon, 23 Mar 2020 09:13:47 +0000 (09:13 +0000)]
build(deps-dev): bump rollup from 2.0.6 to 2.1.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.0.6 to 2.1.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.0.6...v2.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 23 Mar 2020 09:13:52 +0000 (09:13 +0000)]
build(deps-dev): bump ts-node from 8.6.2 to 8.8.1
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.6.2 to 8.8.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.6.2...v8.8.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 23 Mar 2020 09:09:56 +0000 (09:09 +0000)]
build(deps-dev): bump @types/webpack from 4.41.7 to 4.41.8
Bumps [@types/webpack](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack) from 4.41.7 to 4.41.8.
- [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, 23 Mar 2020 09:07:00 +0000 (09:07 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.7.8 to 7.7.10
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.7.8 to 7.7.10.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.8...@microsoft/api-extractor_v7.7.10)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 23 Mar 2020 09:07:19 +0000 (09:07 +0000)]
build(deps-dev): bump ts-loader from 6.2.1 to 6.2.2
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 6.2.1 to 6.2.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/v6.2.1...v6.2.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Sun, 22 Mar 2020 18:19:37 +0000 (19:19 +0100)]
docs: improve tsdoc
Eduardo San Martin Morote [Sun, 22 Mar 2020 18:08:14 +0000 (19:08 +0100)]
refactor: use symbols for properties
Eduardo San Martin Morote [Sun, 22 Mar 2020 16:28:49 +0000 (17:28 +0100)]
chore: add absolute nested aliases in playground
Eduardo San Martin Morote [Sun, 22 Mar 2020 16:28:02 +0000 (17:28 +0100)]
test: add pending tets
Eduardo San Martin Morote [Sun, 22 Mar 2020 16:27:41 +0000 (17:27 +0100)]
fix(guards): free instances only if navigation is confirmed
Eduardo San Martin Morote [Thu, 19 Mar 2020 22:27:15 +0000 (23:27 +0100)]
fix(hash): fix base position for hash routing
Eduardo San Martin Morote [Thu, 19 Mar 2020 22:26:54 +0000 (23:26 +0100)]
test: fix e2e paths
Eduardo San Martin Morote [Thu, 19 Mar 2020 22:26:20 +0000 (23:26 +0100)]
refactor: move examples into e2e
Eduardo San Martin Morote [Thu, 19 Mar 2020 16:41:06 +0000 (17:41 +0100)]
fix: initial location with base
Eduardo San Martin Morote [Thu, 19 Mar 2020 15:02:29 +0000 (16:02 +0100)]
test(e2e): setup e2e tests
Eduardo San Martin Morote [Wed, 18 Mar 2020 23:08:27 +0000 (00:08 +0100)]
feat: invoke guards with the right context
宋铄运 [Wed, 18 Mar 2020 16:04:39 +0000 (00:04 +0800)]
refactor: error with enum types (#123)
* refactor error with enum codes
* fix lint
* rename error 'code' to 'type'
* refactor
* remove INVALID_ROUTE_MATCH
* fix: lint
* fix: remove ErrorTypeMessages in production build
* fix: types
* fix: add interface NavigationRedirectError
* build: use similar config to vue
* refactor: errors
* build: add banner
* refactor: delete old errors.ts
* refactor: rename errors-new
Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
Eduardo San Martin Morote [Wed, 18 Mar 2020 09:59:01 +0000 (10:59 +0100)]
chore: up vue
Eduardo San Martin Morote [Tue, 17 Mar 2020 12:41:07 +0000 (13:41 +0100)]
test: improve parseQuery test
Eduardo San Martin Morote [Tue, 17 Mar 2020 09:59:57 +0000 (10:59 +0100)]
feat: allow true in `next`
Austin Akers [Tue, 17 Mar 2020 08:36:28 +0000 (03:36 -0500)]
feat(router): support custom parseQuery and stringifyQuery (#136)
Eduardo San Martin Morote [Mon, 16 Mar 2020 15:25:14 +0000 (16:25 +0100)]
test: add tests for in component guards
Eduardo San Martin Morote [Mon, 16 Mar 2020 15:18:11 +0000 (16:18 +0100)]
test: refactor
Eduardo San Martin Morote [Mon, 16 Mar 2020 15:09:01 +0000 (16:09 +0100)]
test: guards with async components
Eduardo San Martin Morote [Mon, 16 Mar 2020 14:42:49 +0000 (15:42 +0100)]
test: test async components
Eduardo San Martin Morote [Mon, 16 Mar 2020 13:29:20 +0000 (14:29 +0100)]
test: fix types
Eduardo San Martin Morote [Mon, 16 Mar 2020 13:25:16 +0000 (14:25 +0100)]
feat: lazy loading
Eduardo San Martin Morote [Mon, 16 Mar 2020 09:09:53 +0000 (10:09 +0100)]
test: refactor spies
Eduardo San Martin Morote [Mon, 16 Mar 2020 08:52:37 +0000 (09:52 +0100)]
test: redirect and redirectedFrom
Eduardo San Martin Morote [Mon, 16 Mar 2020 08:43:37 +0000 (09:43 +0100)]
feat(view): allow passing props as a function
Eduardo San Martin Morote [Mon, 16 Mar 2020 08:37:11 +0000 (09:37 +0100)]
feat(view): allow props as object in record
Eduardo San Martin Morote [Sun, 15 Mar 2020 23:34:10 +0000 (00:34 +0100)]
ci: remove redundant git add