]> git.ipfire.org Git - thirdparty/vuejs/router.git/log
thirdparty/vuejs/router.git
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

5 years agov4.0.0-alpha.1 v4.0.0-alpha.1
Eduardo San Martin Morote [Wed, 26 Feb 2020 17:04:11 +0000 (18:04 +0100)] 
v4.0.0-alpha.1

5 years agofeat: add dynamic routing at router level
Eduardo San Martin Morote [Wed, 26 Feb 2020 16:10:00 +0000 (17:10 +0100)] 
feat: add dynamic routing at router level

5 years agotest: add matcher test for dynamic routing
Eduardo San Martin Morote [Wed, 26 Feb 2020 10:36:56 +0000 (11:36 +0100)] 
test: add matcher test for dynamic routing

5 years agochore: add changelog file
Eduardo San Martin Morote [Wed, 26 Feb 2020 10:21:50 +0000 (11:21 +0100)] 
chore: add changelog file

5 years agorefactor: rename createHistory and createHashHistory
Eduardo San Martin Morote [Wed, 26 Feb 2020 10:13:11 +0000 (11:13 +0100)] 
refactor: rename createHistory and createHashHistory

BREAKING CHANGE: `createHistory` is now named `createWebHistory`.
`createHashHistory` is now named `createWebHashHistory`.

  Both createHistory and createHashHistory are renamed to
  better reflect that they must be used in a browser environment while
  createMemoryHistory doesn't.

5 years agochore: up vue
Eduardo San Martin Morote [Wed, 26 Feb 2020 08:46:12 +0000 (09:46 +0100)] 
chore: up vue

5 years agochore: typo (#121)
迷渡 [Wed, 26 Feb 2020 08:24:33 +0000 (16:24 +0800)] 
chore: typo (#121)

5 years agochore: fix typos (#114)
易良 [Mon, 24 Feb 2020 20:08:21 +0000 (04:08 +0800)] 
chore: fix typos (#114)

5 years agobuild(deps-dev): bump typescript from 3.7.5 to 3.8.2
dependabot-preview[bot] [Mon, 24 Feb 2020 08:13:33 +0000 (08:13 +0000)] 
build(deps-dev): bump typescript from 3.7.5 to 3.8.2

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump @types/jest from 25.1.2 to 25.1.3
dependabot-preview[bot] [Mon, 24 Feb 2020 08:12:55 +0000 (08:12 +0000)] 
build(deps-dev): bump @types/jest from 25.1.2 to 25.1.3

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.1.2 to 25.1.3.
- [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>
5 years agobuild(deps-dev): bump ts-jest from 25.2.0 to 25.2.1
dependabot-preview[bot] [Mon, 24 Feb 2020 08:11:16 +0000 (08:11 +0000)] 
build(deps-dev): bump ts-jest from 25.2.0 to 25.2.1

Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.2.0 to 25.2.1.
- [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/v25.2.0...25.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agodocs(readme): correct typo (#113)
not [Sat, 22 Feb 2020 14:05:30 +0000 (08:05 -0600)] 
docs(readme): correct typo (#113)

5 years agochore: rename package name
Eduardo San Martin Morote [Fri, 21 Feb 2020 14:46:56 +0000 (15:46 +0100)] 
chore: rename package name

5 years agochore: add changelog
Eduardo San Martin Morote [Fri, 21 Feb 2020 14:33:36 +0000 (15:33 +0100)] 
chore: add changelog

5 years agodocs: readme
Eduardo San Martin Morote [Fri, 21 Feb 2020 08:24:02 +0000 (09:24 +0100)] 
docs: readme

5 years agodocs: project structure
Eduardo San Martin Morote [Thu, 20 Feb 2020 16:33:20 +0000 (17:33 +0100)] 
docs: project structure

5 years agochore: use fixed version of vue@next
Eduardo San Martin Morote [Thu, 20 Feb 2020 15:31:51 +0000 (16:31 +0100)] 
chore: use fixed version of vue@next

5 years agov0.0.12 v4.0.0-alpha.0
Eduardo San Martin Morote [Tue, 18 Feb 2020 15:41:38 +0000 (16:41 +0100)] 
v0.0.12

5 years agochore: add todo
Eduardo San Martin Morote [Tue, 18 Feb 2020 15:41:12 +0000 (16:41 +0100)] 
chore: add todo

5 years agofeat: export Link and View
Eduardo San Martin Morote [Mon, 17 Feb 2020 20:16:21 +0000 (21:16 +0100)] 
feat: export Link and View

5 years agodocs: change playground
Eduardo San Martin Morote [Mon, 17 Feb 2020 10:24:51 +0000 (11:24 +0100)] 
docs: change playground

5 years agofeat: useRoute, useRouter
Eduardo San Martin Morote [Mon, 17 Feb 2020 09:54:48 +0000 (10:54 +0100)] 
feat: useRoute, useRouter

5 years agov0.0.11
Eduardo San Martin Morote [Mon, 17 Feb 2020 09:05:03 +0000 (10:05 +0100)] 
v0.0.11

5 years agochore: up deps
Eduardo San Martin Morote [Mon, 17 Feb 2020 09:04:44 +0000 (10:04 +0100)] 
chore: up deps

5 years agofix: remove unused exports
Eduardo San Martin Morote [Mon, 17 Feb 2020 09:04:33 +0000 (10:04 +0100)] 
fix: remove unused exports

5 years agov0.0.10
Eduardo San Martin Morote [Sun, 16 Feb 2020 22:56:07 +0000 (23:56 +0100)] 
v0.0.10

5 years agochore: add peer dep
Eduardo San Martin Morote [Sun, 16 Feb 2020 22:55:47 +0000 (23:55 +0100)] 
chore: add peer dep

5 years agov0.0.9
Eduardo San Martin Morote [Sun, 16 Feb 2020 22:54:09 +0000 (23:54 +0100)] 
v0.0.9

5 years agorefactor: use InjectionKeys for route and router
Eduardo San Martin Morote [Sun, 16 Feb 2020 22:53:43 +0000 (23:53 +0100)] 
refactor: use InjectionKeys for route and router

5 years agofeat: allow removing children routes in matcher
Eduardo San Martin Morote [Fri, 14 Feb 2020 16:38:40 +0000 (17:38 +0100)] 
feat: allow removing children routes in matcher

5 years agov0.0.8
Eduardo San Martin Morote [Fri, 14 Feb 2020 10:58:51 +0000 (11:58 +0100)] 
v0.0.8

5 years agofix: types in package.json
Eduardo San Martin Morote [Fri, 14 Feb 2020 10:58:34 +0000 (11:58 +0100)] 
fix: types in package.json

5 years agodocs: contributing guidelines
Eduardo San Martin Morote [Fri, 14 Feb 2020 10:11:59 +0000 (11:11 +0100)] 
docs: contributing guidelines

5 years agochore: up deps
Eduardo San Martin Morote [Fri, 14 Feb 2020 10:09:33 +0000 (11:09 +0100)] 
chore: up deps

5 years agochore: up rollup ts plugin
Eduardo San Martin Morote [Fri, 14 Feb 2020 10:05:16 +0000 (11:05 +0100)] 
chore: up rollup ts plugin

5 years agochore: add .github and update readme
Eduardo San Martin Morote [Wed, 12 Feb 2020 18:38:09 +0000 (19:38 +0100)] 
chore: add .github and update readme

5 years agofeat: add redirectedFrom
Eduardo San Martin Morote [Wed, 12 Feb 2020 17:35:01 +0000 (18:35 +0100)] 
feat: add redirectedFrom