]> git.ipfire.org Git - thirdparty/vuejs/router.git/log
thirdparty/vuejs/router.git
5 years agotest: remove duplicated cases for replace
Eduardo San Martin Morote [Fri, 27 Mar 2020 14:52:22 +0000 (15:52 +0100)] 
test: remove duplicated cases for replace

5 years agodocs: document utils/query.ts
Eduardo San Martin Morote [Fri, 27 Mar 2020 11:46:09 +0000 (12:46 +0100)] 
docs: document utils/query.ts

5 years agochore: ignore generated folders
Eduardo San Martin Morote [Fri, 27 Mar 2020 11:45:45 +0000 (12:45 +0100)] 
chore: ignore generated folders

5 years agochore: fix yarn.lock
Eduardo San Martin Morote [Fri, 27 Mar 2020 10:52:33 +0000 (11:52 +0100)] 
chore: fix yarn.lock

5 years agochore: fix deps to older vue for the moment
Eduardo San Martin Morote [Fri, 27 Mar 2020 10:48:20 +0000 (11:48 +0100)] 
chore: fix deps to older vue for the moment

5 years agochore: fix yarn.lock
Eduardo San Martin Morote [Thu, 26 Mar 2020 22:21:23 +0000 (23:21 +0100)] 
chore: fix yarn.lock

5 years agorefactor: remove Immutable usage
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

5 years agotest: fix after change
Eduardo San Martin Morote [Thu, 26 Mar 2020 16:49:20 +0000 (17:49 +0100)] 
test: fix after change

5 years agofeat: improve route access
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 }
  }
  ```

5 years agochore: up deps
Eduardo San Martin Morote [Wed, 25 Mar 2020 21:34:06 +0000 (22:34 +0100)] 
chore: up deps

5 years agotest: fix tests
Eduardo San Martin Morote [Wed, 25 Mar 2020 20:31:42 +0000 (21:31 +0100)] 
test: fix tests

5 years agofeat: allow passing state to history
Eduardo San Martin Morote [Tue, 24 Mar 2020 21:12:10 +0000 (22:12 +0100)] 
feat: allow passing state to history

5 years agotest: reactive unit test
Eduardo San Martin Morote [Tue, 24 Mar 2020 10:29:22 +0000 (11:29 +0100)] 
test: reactive unit test

5 years agofeat(history): expose state on html5
Eduardo San Martin Morote [Tue, 24 Mar 2020 10:28:49 +0000 (11:28 +0100)] 
feat(history): expose state on html5

5 years agotest: add more for modals
Eduardo San Martin Morote [Tue, 24 Mar 2020 10:28:27 +0000 (11:28 +0100)] 
test: add more for modals

5 years agotest(e2e): fix tsconfig
Eduardo San Martin Morote [Tue, 24 Mar 2020 09:10:56 +0000 (10:10 +0100)] 
test(e2e): fix tsconfig

5 years agotest: add modal sample
Eduardo San Martin Morote [Tue, 24 Mar 2020 09:10:26 +0000 (10:10 +0100)] 
test: add modal sample

5 years agofeat(view): useView to customize router-view
Eduardo San Martin Morote [Tue, 24 Mar 2020 15:09:14 +0000 (16:09 +0100)] 
feat(view): useView to customize router-view

5 years agofix(history): use current history state when replacing
Eduardo San Martin Morote [Tue, 24 Mar 2020 09:15:16 +0000 (10:15 +0100)] 
fix(history): use current history state when replacing

5 years agofix: export more types
Eduardo San Martin Morote [Mon, 23 Mar 2020 09:55:16 +0000 (10:55 +0100)] 
fix: export more types

Closes #137

5 years agochore: remove outdated TODO
Eduardo San Martin Morote [Mon, 23 Mar 2020 09:30:44 +0000 (10:30 +0100)] 
chore: remove outdated TODO

5 years agobuild(deps-dev): bump rollup from 2.0.6 to 2.1.0
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>
5 years agobuild(deps-dev): bump ts-node from 8.6.2 to 8.8.1
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>
5 years agobuild(deps-dev): bump @types/webpack from 4.41.7 to 4.41.8
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>
5 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.7.8 to 7.7.10
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>
5 years agobuild(deps-dev): bump ts-loader from 6.2.1 to 6.2.2
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>
5 years agodocs: improve tsdoc
Eduardo San Martin Morote [Sun, 22 Mar 2020 18:19:37 +0000 (19:19 +0100)] 
docs: improve tsdoc

5 years agorefactor: use symbols for properties
Eduardo San Martin Morote [Sun, 22 Mar 2020 18:08:14 +0000 (19:08 +0100)] 
refactor: use symbols for properties

5 years agochore: add absolute nested aliases in playground
Eduardo San Martin Morote [Sun, 22 Mar 2020 16:28:49 +0000 (17:28 +0100)] 
chore: add absolute nested aliases in playground

5 years agotest: add pending tets
Eduardo San Martin Morote [Sun, 22 Mar 2020 16:28:02 +0000 (17:28 +0100)] 
test: add pending tets

5 years agofix(guards): free instances only if navigation is confirmed
Eduardo San Martin Morote [Sun, 22 Mar 2020 16:27:41 +0000 (17:27 +0100)] 
fix(guards): free instances only if navigation is confirmed

5 years agofix(hash): fix base position for hash routing
Eduardo San Martin Morote [Thu, 19 Mar 2020 22:27:15 +0000 (23:27 +0100)] 
fix(hash): fix base position for hash routing

5 years agotest: fix e2e paths
Eduardo San Martin Morote [Thu, 19 Mar 2020 22:26:54 +0000 (23:26 +0100)] 
test: fix e2e paths

5 years agorefactor: move examples into e2e
Eduardo San Martin Morote [Thu, 19 Mar 2020 22:26:20 +0000 (23:26 +0100)] 
refactor: move examples into e2e

5 years agofix: initial location with base
Eduardo San Martin Morote [Thu, 19 Mar 2020 16:41:06 +0000 (17:41 +0100)] 
fix: initial location with base

5 years agotest(e2e): setup e2e tests
Eduardo San Martin Morote [Thu, 19 Mar 2020 15:02:29 +0000 (16:02 +0100)] 
test(e2e): setup e2e tests

5 years agofeat: invoke guards with the right context
Eduardo San Martin Morote [Wed, 18 Mar 2020 23:08:27 +0000 (00:08 +0100)] 
feat: invoke guards with the right context

5 years agorefactor: error with enum types (#123)
宋铄运 [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>
5 years agochore: up vue
Eduardo San Martin Morote [Wed, 18 Mar 2020 09:59:01 +0000 (10:59 +0100)] 
chore: up vue

5 years agotest: improve parseQuery test
Eduardo San Martin Morote [Tue, 17 Mar 2020 12:41:07 +0000 (13:41 +0100)] 
test: improve parseQuery test

5 years agofeat: allow true in `next`
Eduardo San Martin Morote [Tue, 17 Mar 2020 09:59:57 +0000 (10:59 +0100)] 
feat: allow true in `next`

5 years agofeat(router): support custom parseQuery and stringifyQuery (#136)
Austin Akers [Tue, 17 Mar 2020 08:36:28 +0000 (03:36 -0500)] 
feat(router): support custom parseQuery and stringifyQuery (#136)

5 years agotest: add tests for in component guards
Eduardo San Martin Morote [Mon, 16 Mar 2020 15:25:14 +0000 (16:25 +0100)] 
test: add tests for in component guards

5 years agotest: refactor
Eduardo San Martin Morote [Mon, 16 Mar 2020 15:18:11 +0000 (16:18 +0100)] 
test: refactor

5 years agotest: guards with async components
Eduardo San Martin Morote [Mon, 16 Mar 2020 15:09:01 +0000 (16:09 +0100)] 
test: guards with async components

5 years agotest: test async components
Eduardo San Martin Morote [Mon, 16 Mar 2020 14:42:49 +0000 (15:42 +0100)] 
test: test async components

5 years agotest: fix types
Eduardo San Martin Morote [Mon, 16 Mar 2020 13:29:20 +0000 (14:29 +0100)] 
test: fix types

5 years agofeat: lazy loading
Eduardo San Martin Morote [Mon, 16 Mar 2020 13:25:16 +0000 (14:25 +0100)] 
feat: lazy loading

5 years agotest: refactor spies
Eduardo San Martin Morote [Mon, 16 Mar 2020 09:09:53 +0000 (10:09 +0100)] 
test: refactor spies

5 years agotest: redirect and redirectedFrom
Eduardo San Martin Morote [Mon, 16 Mar 2020 08:52:37 +0000 (09:52 +0100)] 
test: redirect and redirectedFrom

5 years agofeat(view): allow passing props as a function
Eduardo San Martin Morote [Mon, 16 Mar 2020 08:43:37 +0000 (09:43 +0100)] 
feat(view): allow passing props as a function

5 years agofeat(view): allow props as object in record
Eduardo San Martin Morote [Mon, 16 Mar 2020 08:37:11 +0000 (09:37 +0100)] 
feat(view): allow props as object in record

5 years agoci: remove redundant git add
Eduardo San Martin Morote [Sun, 15 Mar 2020 23:34:10 +0000 (00:34 +0100)] 
ci: remove redundant git add

5 years agobuild: add commit lint (#111)
Vinayak Kulkarni [Sun, 15 Mar 2020 23:32:49 +0000 (05:02 +0530)] 
build: add commit lint (#111)

5 years agodocs: use props in user page
Eduardo San Martin Morote [Sun, 15 Mar 2020 23:21:16 +0000 (00:21 +0100)] 
docs: use props in user page

5 years agotest: fix missing props
Eduardo San Martin Morote [Sun, 15 Mar 2020 23:16:40 +0000 (00:16 +0100)] 
test: fix missing props

5 years agofeat(view): add props option as boolean
Eduardo San Martin Morote [Sun, 15 Mar 2020 23:13:23 +0000 (00:13 +0100)] 
feat(view): add props option as boolean

5 years agodocs: data fetching with suspense
Eduardo San Martin Morote [Sun, 15 Mar 2020 19:05:20 +0000 (20:05 +0100)] 
docs: data fetching with suspense

5 years agorefactor: fix type in navigation guard
Eduardo San Martin Morote [Sun, 15 Mar 2020 18:58:43 +0000 (19:58 +0100)] 
refactor: fix type in navigation guard

5 years agofix(router): prevent duplicated navigation on aliases
Eduardo San Martin Morote [Sat, 14 Mar 2020 23:31:35 +0000 (00:31 +0100)] 
fix(router): prevent duplicated navigation on aliases

5 years agotest(matcher): add more tests for aliases
Eduardo San Martin Morote [Sat, 14 Mar 2020 22:54:30 +0000 (23:54 +0100)] 
test(matcher): add more tests for aliases

5 years agotest(matcher): test multiple children
Eduardo San Martin Morote [Sat, 14 Mar 2020 22:45:53 +0000 (23:45 +0100)] 
test(matcher): test multiple children

5 years agofeat(matcher): remove aliases alongside the original record
Eduardo San Martin Morote [Sat, 14 Mar 2020 22:40:19 +0000 (23:40 +0100)] 
feat(matcher): remove aliases alongside the original record

5 years agochore(changelog): 4.0.0-alpha.3
Eduardo San Martin Morote [Sat, 14 Mar 2020 16:26:26 +0000 (17:26 +0100)] 
chore(changelog): 4.0.0-alpha.3

5 years agov4.0.0-alpha.3 v4.0.0-alpha.3
Eduardo San Martin Morote [Sat, 14 Mar 2020 16:25:28 +0000 (17:25 +0100)] 
v4.0.0-alpha.3

5 years agobuild: rollup dts
Eduardo San Martin Morote [Sat, 14 Mar 2020 16:24:08 +0000 (17:24 +0100)] 
build: rollup dts

5 years agochore(changelog): 4.0.0-alpha.2
Eduardo San Martin Morote [Sat, 14 Mar 2020 16:21:02 +0000 (17:21 +0100)] 
chore(changelog): 4.0.0-alpha.2

5 years agov4.0.0-alpha.2 v4.0.0-alpha.2
Eduardo San Martin Morote [Sat, 14 Mar 2020 16:20:43 +0000 (17:20 +0100)] 
v4.0.0-alpha.2

5 years agochore: up deps
Eduardo San Martin Morote [Sat, 14 Mar 2020 16:16:26 +0000 (17:16 +0100)] 
chore: up deps

5 years agobuild(deps): [security] bump acorn from 6.4.0 to 6.4.1
dependabot-preview[bot] [Fri, 13 Mar 2020 21:38:49 +0000 (21:38 +0000)] 
build(deps): [security] bump acorn from 6.4.0 to 6.4.1

Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild: api-extractor
Eduardo San Martin Morote [Fri, 13 Mar 2020 17:24:18 +0000 (18:24 +0100)] 
build: api-extractor

5 years agochore: up rollup
Eduardo San Martin Morote [Fri, 13 Mar 2020 16:58:12 +0000 (17:58 +0100)] 
chore: up rollup

5 years agochore: add more testing links
Eduardo San Martin Morote [Fri, 13 Mar 2020 16:52:13 +0000 (17:52 +0100)] 
chore: add more testing links

5 years agotest: add tests for aliases
Eduardo San Martin Morote [Fri, 13 Mar 2020 16:25:15 +0000 (17:25 +0100)] 
test: add tests for aliases

5 years agorefactor: remove extra type
Eduardo San Martin Morote [Fri, 13 Mar 2020 15:19:12 +0000 (16:19 +0100)] 
refactor: remove extra type

5 years agotest: update tests fixtures
Eduardo San Martin Morote [Fri, 13 Mar 2020 15:18:45 +0000 (16:18 +0100)] 
test: update tests fixtures

5 years agofix(link): allow attrs to override behavior
Eduardo San Martin Morote [Fri, 13 Mar 2020 15:16:14 +0000 (16:16 +0100)] 
fix(link): allow attrs to override behavior

5 years agofeat(matcher): link aliases to their original record
Eduardo San Martin Morote [Fri, 13 Mar 2020 15:15:47 +0000 (16:15 +0100)] 
feat(matcher): link aliases to their original record

5 years agotest(link): active + alias
Eduardo San Martin Morote [Thu, 12 Mar 2020 16:05:15 +0000 (17:05 +0100)] 
test(link): active + alias

5 years agochore: add more aliases to playground
Eduardo San Martin Morote [Thu, 12 Mar 2020 14:55:16 +0000 (15:55 +0100)] 
chore: add more aliases to playground

5 years agofix(link): navigate to the alias path
Eduardo San Martin Morote [Thu, 12 Mar 2020 14:49:28 +0000 (15:49 +0100)] 
fix(link): navigate to the alias path

5 years agofix(link): allow custom classes (#134)
wietseva [Thu, 12 Mar 2020 11:24:38 +0000 (12:24 +0100)] 
fix(link): allow custom classes (#134)

Fix #133

5 years agochore: up deps
Eduardo San Martin Morote [Thu, 12 Mar 2020 10:40:51 +0000 (11:40 +0100)] 
chore: up deps

5 years agochore: up deps
Eduardo San Martin Morote [Sun, 8 Mar 2020 16:43:10 +0000 (17:43 +0100)] 
chore: up deps

5 years agochore: fix typo (#130)
Clément [Fri, 6 Mar 2020 16:44:37 +0000 (17:44 +0100)] 
chore: fix typo (#130)

5 years agochore: up deps
Eduardo San Martin Morote [Thu, 5 Mar 2020 19:46:30 +0000 (13:46 -0600)] 
chore: up deps

5 years agofix(history): correct url when replacing current location
Eduardo San Martin Morote [Tue, 3 Mar 2020 17:28:09 +0000 (11:28 -0600)] 
fix(history): correct url when replacing current location

5 years agobuild(deps-dev): bump rollup from 1.31.1 to 1.32.0
dependabot-preview[bot] [Mon, 2 Mar 2020 08:44:29 +0000 (08:44 +0000)] 
build(deps-dev): bump rollup from 1.31.1 to 1.32.0

Bumps [rollup](https://github.com/rollup/rollup) from 1.31.1 to 1.32.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/v1.31.1...v1.32.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump typescript from 3.8.2 to 3.8.3
dependabot-preview[bot] [Mon, 2 Mar 2020 08:43:48 +0000 (08:43 +0000)] 
build(deps-dev): bump typescript from 3.8.2 to 3.8.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.2 to 3.8.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.2...v3.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump @types/webpack from 4.41.6 to 4.41.7
dependabot-preview[bot] [Mon, 2 Mar 2020 08:41:57 +0000 (08:41 +0000)] 
build(deps-dev): bump @types/webpack from 4.41.6 to 4.41.7

Bumps [@types/webpack](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack) from 4.41.6 to 4.41.7.
- [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>
5 years agotest: add missing route
Eduardo San Martin Morote [Sun, 1 Mar 2020 18:37:57 +0000 (19:37 +0100)] 
test: add missing route

5 years agofeat: add aliasOf to normalized records
Eduardo San Martin Morote [Sun, 1 Mar 2020 18:31:17 +0000 (19:31 +0100)] 
feat: add aliasOf to normalized records

5 years agotest: test initial navigation to /
Eduardo San Martin Morote [Sat, 29 Feb 2020 16:57:55 +0000 (17:57 +0100)] 
test: test initial navigation to /

5 years agofix(link): non active repeatable params
Eduardo San Martin Morote [Fri, 28 Feb 2020 15:32:36 +0000 (16:32 +0100)] 
fix(link): non active repeatable params

5 years agotest: add todo tests
Eduardo San Martin Morote [Fri, 28 Feb 2020 14:34:01 +0000 (15:34 +0100)] 
test: add todo tests

5 years agorefactor(link): pass down everything from useLink
Eduardo San Martin Morote [Fri, 28 Feb 2020 14:32:43 +0000 (15:32 +0100)] 
refactor(link): pass down everything from useLink

5 years agofeat: handle active/exact in Link
Eduardo San Martin Morote [Fri, 28 Feb 2020 14:22:41 +0000 (15:22 +0100)] 
feat: handle active/exact in Link

5 years agobuild: add release script
Eduardo San Martin Morote [Wed, 26 Feb 2020 17:12:46 +0000 (18:12 +0100)] 
build: add release script

5 years agobuild: fix changelog script
Eduardo San Martin Morote [Wed, 26 Feb 2020 17:10:44 +0000 (18:10 +0100)] 
build: fix changelog script

5 years agochore(changelog): 4.0.0-alpha.1
Eduardo San Martin Morote [Wed, 26 Feb 2020 17:09:13 +0000 (18:09 +0100)] 
chore(changelog): 4.0.0-alpha.1