]> git.ipfire.org Git - thirdparty/vuejs/router.git/log
thirdparty/vuejs/router.git
18 months agofix: null should be preserved in relative navigations fix/optional-param-relative 2083/head
Eduardo San Martin Morote [Tue, 20 Jun 2023 15:52:04 +0000 (17:52 +0200)] 
fix: null should be preserved in relative navigations

The fix is a bit more complicated that I anticipated, I will come back
to this later on as the currently documented version works perfectly.

- the nullish params are removed before being passed to the matcher
- The encodeParam function transform null into ''
- The applyToParams also works with arrays but it makes no sense to
  allow null in array params

Ideally, I would make the matcher a bit more permissive so the encoding
is kept at the router level. I think the matcher sholud be responsible
for removing the nullish parameters but that also means the encode
function should leave nullish values untouched. We might need an
intermediate Type for this shape of Params, it gets a little bit tedious
in terms of types, so I would like to avoid adding more types.

Close #1893

18 months agorefactor: simplify location parsing (#1691)
MonsterPi [Fri, 15 Dec 2023 07:11:09 +0000 (15:11 +0800)] 
refactor: simplify location parsing (#1691)

* chore: maybe it's unnecessary to add this expression

* style: format code

18 months agodocs(zh): additions `setData` method (#2008)
Satrong [Fri, 15 Dec 2023 07:09:59 +0000 (15:09 +0800)] 
docs(zh): additions `setData` method (#2008)

18 months agodocs: translate `Caveat` in `zh` (#1921)
_Kerman [Fri, 15 Dec 2023 06:18:08 +0000 (14:18 +0800)] 
docs: translate `Caveat` in `zh` (#1921)

18 months agodocs: expand installation.md (#2071)
skirtle [Fri, 15 Dec 2023 06:14:29 +0000 (06:14 +0000)] 
docs: expand installation.md (#2071)

18 months agochore: rewording [skip ci]
Eduardo San Martin Morote [Fri, 15 Dec 2023 06:08:23 +0000 (07:08 +0100)] 
chore: rewording [skip ci]

18 months agodocs: non-checkpoint-branch workflow (#1855)
Jinjiang [Fri, 15 Dec 2023 05:17:28 +0000 (13:17 +0800)] 
docs: non-checkpoint-branch workflow (#1855)

* add translation status on page top

* refactor: use mjs and promises

* chore: format contribution guidelines

* chore: update translation workflow to remove checkpoint branches

* fix: wrong git diff arg in compare-to-translate

* chore: make the translation status generator compatible with legacy log format

* chore: update translation workflow guide and ignore translation-status.json

* chore: add docs:preview command

* chore: improve translation workflow in docs

* chore: update contributing docs

* chore: update contributing docs

* Apply suggestions from code review

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
* Update contributing.md

---------

Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
18 months agodocs: mp banner
Eduardo San Martin Morote [Mon, 11 Dec 2023 15:47:50 +0000 (16:47 +0100)] 
docs: mp banner

18 months agorefactor: remove deprecated usage of pageXOffset
Eduardo San Martin Morote [Mon, 11 Dec 2023 14:56:24 +0000 (15:56 +0100)] 
refactor: remove deprecated usage of pageXOffset

19 months agodocs: mention useRouter for programmatic navigation (#2070)
skirtle [Thu, 7 Dec 2023 09:51:20 +0000 (09:51 +0000)] 
docs: mention useRouter for programmatic navigation (#2070)

19 months agodocs: update custom transition example (#2069)
skirtle [Tue, 5 Dec 2023 09:23:51 +0000 (09:23 +0000)] 
docs: update custom transition example (#2069)

19 months agofix: decode hash when parsing urls (#2061)
Eduardo San Martin Morote [Fri, 1 Dec 2023 19:33:35 +0000 (20:33 +0100)] 
fix: decode hash when parsing urls (#2061)

Fix #2060

19 months agofix: check document for browser instead of window (#2042)
Jeff Yang [Fri, 1 Dec 2023 19:32:33 +0000 (03:32 +0800)] 
fix: check document for browser instead of window (#2042)

19 months agochore: up deps
Eduardo San Martin Morote [Fri, 1 Dec 2023 19:22:33 +0000 (20:22 +0100)] 
chore: up deps

19 months agochore: update sponsors
Eduardo San Martin Morote [Thu, 30 Nov 2023 16:17:08 +0000 (17:17 +0100)] 
chore: update sponsors

19 months agodocs: use vue-html for template examples (#2056)
skirtle [Sat, 25 Nov 2023 12:26:54 +0000 (12:26 +0000)] 
docs: use vue-html for template examples (#2056)

19 months agodocs: add a guide to the RouterView slot (#2049)
skirtle [Thu, 23 Nov 2023 08:30:43 +0000 (08:30 +0000)] 
docs: add a guide to the RouterView slot (#2049)

* docs: add a guide to the RouterView slot

* docs: updates to router-view-slot.md based on review feedback

19 months agodocs: update links to the core Vue docs (#2055)
skirtle [Thu, 23 Nov 2023 08:28:22 +0000 (08:28 +0000)] 
docs: update links to the core Vue docs (#2055)

19 months agoUpdate navigation-failures.md (#2048)
Naim Ahmed Shuvo [Tue, 21 Nov 2023 22:49:13 +0000 (04:49 +0600)] 
Update navigation-failures.md (#2048)

added comma while passing params to sendToAnalytics function in doc.

19 months agodocs: typo (#2043)
Daniel Schmelz [Sat, 18 Nov 2023 15:12:04 +0000 (16:12 +0100)] 
docs: typo (#2043)

19 months agodocs: update links for mastering pinia and Vue Certification banners (#2038)
Charles Nii Adotey Allotey [Tue, 14 Nov 2023 08:36:04 +0000 (08:36 +0000)] 
docs: update links for mastering pinia and Vue Certification banners (#2038)

19 months agodocs: Add links for Mastering Pinia and Vue Certificate (#2036)
Peregrine Nkwain [Thu, 9 Nov 2023 10:23:11 +0000 (11:23 +0100)] 
docs: Add links for Mastering Pinia and Vue Certificate (#2036)

19 months agochore: dedupe
Eduardo San Martin Morote [Wed, 8 Nov 2023 14:16:42 +0000 (15:16 +0100)] 
chore: dedupe

19 months agodocs: twitter logo
Eduardo San Martin Morote [Wed, 8 Nov 2023 13:32:43 +0000 (14:32 +0100)] 
docs: twitter logo

19 months agodocs: vm update
Eduardo San Martin Morote [Wed, 8 Nov 2023 13:32:38 +0000 (14:32 +0100)] 
docs: vm update

19 months agodocs: update vitepress
Eduardo San Martin Morote [Wed, 8 Nov 2023 13:32:17 +0000 (14:32 +0100)] 
docs: update vitepress

19 months agodocs: link typo
Eduardo San Martin Morote [Wed, 8 Nov 2023 13:11:12 +0000 (14:11 +0100)] 
docs: link typo

19 months agodocs: fix new links
Eduardo San Martin Morote [Wed, 8 Nov 2023 13:06:18 +0000 (14:06 +0100)] 
docs: fix new links

19 months agodocs: update api generation
Eduardo San Martin Morote [Wed, 8 Nov 2023 12:48:50 +0000 (13:48 +0100)] 
docs: update api generation

19 months agochore: up rollup
Eduardo San Martin Morote [Wed, 8 Nov 2023 12:39:27 +0000 (13:39 +0100)] 
chore: up rollup

19 months agochore: up deps
Eduardo San Martin Morote [Wed, 8 Nov 2023 12:38:03 +0000 (13:38 +0100)] 
chore: up deps

20 months agodocs: use positive offset in scroll
Eduardo San Martin Morote [Fri, 3 Nov 2023 10:32:37 +0000 (11:32 +0100)] 
docs: use positive offset in scroll

20 months agochore: up sponsors
Eduardo San Martin Morote [Thu, 2 Nov 2023 16:53:48 +0000 (17:53 +0100)] 
chore: up sponsors

20 months agodocs: add example about passing props
Eduardo San Martin Morote [Mon, 23 Oct 2023 18:52:04 +0000 (20:52 +0200)] 
docs: add example about passing props

Co-authored-by: Björn Harrtell <bjornharrtell@users.noreply.github.com>
20 months agodocs: lazy loading example (#1995)
Kian Salout [Mon, 23 Oct 2023 18:42:02 +0000 (20:42 +0200)] 
docs: lazy loading example (#1995)

Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
20 months agodocs: Add link to Russian docs (#2012)
Nikita Perfilyev [Thu, 12 Oct 2023 07:26:05 +0000 (16:26 +0900)] 
docs: Add link to Russian docs (#2012)

21 months agochore: Add z/Z to alphanumeric characters (#1998)
Ryan McCahan [Tue, 26 Sep 2023 17:20:06 +0000 (11:20 -0600)] 
chore: Add z/Z to alphanumeric characters (#1998)

21 months agorelease: vue-router@4.2.5 v4.2.5
Eduardo San Martin Morote [Fri, 22 Sep 2023 09:24:59 +0000 (11:24 +0200)] 
release: vue-router@4.2.5

21 months agofix(devtools): display children with empty parent
Eduardo San Martin Morote [Fri, 22 Sep 2023 09:23:54 +0000 (11:23 +0200)] 
fix(devtools): display children with empty parent

Fix posva/unplugin-vue-router#235

21 months agodocs: fix zh translation errors (#1985)
Jeff [Wed, 13 Sep 2023 08:13:38 +0000 (16:13 +0800)] 
docs: fix zh translation errors (#1985)

21 months agodocs: add fathom analytics
Eduardo San Martin Morote [Sun, 10 Sep 2023 09:32:16 +0000 (11:32 +0200)] 
docs: add fathom analytics

22 months agodocs: remove metrics
Eduardo San Martin Morote [Thu, 7 Sep 2023 16:27:07 +0000 (18:27 +0200)] 
docs: remove metrics

22 months agorefactor(memory): reduce duplicate 'queue.push' (#1973)
echo [Mon, 4 Sep 2023 16:13:36 +0000 (00:13 +0800)] 
refactor(memory): reduce duplicate 'queue.push' (#1973)

22 months agodocs: link to current Apache configuration (#1979)
Glandos [Mon, 4 Sep 2023 10:15:40 +0000 (12:15 +0200)] 
docs: link to current Apache configuration (#1979)

22 months agodocs(migration): router.currentRoute (#1976)
Adam Grande [Wed, 30 Aug 2023 08:38:45 +0000 (16:38 +0800)] 
docs(migration): router.currentRoute (#1976)

Co-authored-by: Adam Grande <adam.grande@hireup.com.au>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
22 months agodocs: add link to the Portuguese documentation (#1972)
Nazaré da Piedade [Sat, 26 Aug 2023 08:57:43 +0000 (09:57 +0100)] 
docs: add link to the Portuguese documentation (#1972)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
22 months agochore: typo (#1971)
Kekeocha Justin Chetachukwu [Fri, 25 Aug 2023 06:10:08 +0000 (07:10 +0100)] 
chore: typo (#1971)

[skip ci]

22 months agodocs: capitalization typo (#1963)
Zhenghang Cai [Mon, 21 Aug 2023 15:48:27 +0000 (17:48 +0200)] 
docs: capitalization typo (#1963)

[skip ci]

22 months agodocs: Add Link to Vue.js Certification (#1962)
Nico Devs [Mon, 21 Aug 2023 11:57:59 +0000 (08:57 -0300)] 
docs: Add Link to Vue.js Certification (#1962)

22 months agodocs: broken play icon on vue school links (#1960)
Daniel Kelly [Fri, 18 Aug 2023 14:07:24 +0000 (09:07 -0500)] 
docs: broken play icon on vue school links (#1960)

22 months agodocs(ko): add ko-KR translation (#1941)
Niceplugin [Thu, 17 Aug 2023 08:43:48 +0000 (17:43 +0900)] 
docs(ko): add ko-KR translation (#1941)

22 months agochore: up deps
Eduardo San Martin Morote [Wed, 16 Aug 2023 16:04:40 +0000 (18:04 +0200)] 
chore: up deps

22 months agochore: author
Eduardo San Martin Morote [Wed, 16 Aug 2023 16:02:42 +0000 (18:02 +0200)] 
chore: author

22 months agochore: remove an unnecessary note 'console.log({ deltaFromCurrent })' (#1958)
liudaodanOo [Sun, 13 Aug 2023 13:43:35 +0000 (21:43 +0800)] 
chore: remove an unnecessary note 'console.log({ deltaFromCurrent })' (#1958)

Co-authored-by: 刘捣蛋 <liudaodan@192.168.1.6>
[skip ci]

23 months agodocs: better slugify
Eduardo San Martin Morote [Thu, 3 Aug 2023 08:32:04 +0000 (10:32 +0200)] 
docs: better slugify

23 months agodocs: reorder example
Eduardo San Martin Morote [Wed, 2 Aug 2023 09:00:52 +0000 (11:00 +0200)] 
docs: reorder example

23 months agotypes: fix exposed types for documentation
Eduardo San Martin Morote [Tue, 1 Aug 2023 18:17:02 +0000 (20:17 +0200)] 
types: fix exposed types for documentation

23 months agochore: up versions of vite
Eduardo San Martin Morote [Tue, 1 Aug 2023 18:16:48 +0000 (20:16 +0200)] 
chore: up versions of vite

23 months agodocs: update api files
Eduardo San Martin Morote [Tue, 1 Aug 2023 18:16:32 +0000 (20:16 +0200)] 
docs: update api files

23 months agodocs: upgrade api docs generation
Eduardo San Martin Morote [Tue, 1 Aug 2023 18:16:11 +0000 (20:16 +0200)] 
docs: upgrade api docs generation

No longer need to manually edit duplicated links

23 months agodocs: fix incorrect link url (#1944)
bleenCN [Sat, 29 Jul 2023 17:27:15 +0000 (01:27 +0800)] 
docs: fix incorrect link url (#1944)

23 months agotypes: replace internal any by unknown
Eduardo San Martin Morote [Thu, 27 Jul 2023 13:01:56 +0000 (15:01 +0200)] 
types: replace internal any by unknown

23 months agotest: improve for vuejs/router#1929
Eduardo San Martin Morote [Tue, 18 Jul 2023 05:42:26 +0000 (07:42 +0200)] 
test: improve for vuejs/router#1929

23 months agochore: up dep types
Eduardo San Martin Morote [Sat, 15 Jul 2023 10:26:51 +0000 (12:26 +0200)] 
chore: up dep types

23 months agochore: up deps
Eduardo San Martin Morote [Sat, 15 Jul 2023 10:26:15 +0000 (12:26 +0200)] 
chore: up deps

23 months agodocs: mention in more places that names are unique.
Eduardo San Martin Morote [Fri, 14 Jul 2023 13:24:43 +0000 (15:24 +0200)] 
docs: mention in more places that names are unique.

As pointed out in vuejs/router#1930

2 years agorelease: vue-router@4.2.4 v4.2.4
Eduardo San Martin Morote [Thu, 6 Jul 2023 16:33:58 +0000 (18:33 +0200)] 
release: vue-router@4.2.4

2 years agofix: allow removing guards within the guard
Eduardo San Martin Morote [Thu, 6 Jul 2023 16:31:35 +0000 (18:31 +0200)] 
fix: allow removing guards within the guard

2 years agorelease: vue-router@4.2.3 v4.2.3
Eduardo San Martin Morote [Wed, 5 Jul 2023 13:36:45 +0000 (15:36 +0200)] 
release: vue-router@4.2.3

2 years agochore: up ts to 5
Eduardo San Martin Morote [Wed, 5 Jul 2023 12:59:59 +0000 (14:59 +0200)] 
chore: up ts to 5

2 years agoperf: use getter instead of `computed` for route location (#1916)
Anthony Fu [Wed, 5 Jul 2023 12:42:22 +0000 (14:42 +0200)] 
perf: use getter instead of `computed` for route location (#1916)

2 years agorefactor(guards): use enteringRecords in queue (#1910)
lightnoway [Mon, 3 Jul 2023 06:40:38 +0000 (14:40 +0800)] 
refactor(guards): use enteringRecords in queue (#1910)

2 years agochore: update warn link
Eduardo San Martin Morote [Sun, 2 Jul 2023 20:34:59 +0000 (22:34 +0200)] 
chore: update warn link

2 years agodocs: global navigation failures
Eduardo San Martin Morote [Fri, 30 Jun 2023 11:54:41 +0000 (13:54 +0200)] 
docs: global navigation failures

Close #1905

2 years agodocs: params
Eduardo San Martin Morote [Tue, 20 Jun 2023 14:49:44 +0000 (16:49 +0200)] 
docs: params

2 years agotest: removes optional params when specified as null
Eduardo San Martin Morote [Tue, 20 Jun 2023 14:45:41 +0000 (16:45 +0200)] 
test: removes optional params when specified as null

Close #1893

2 years agodocs: format
Eduardo San Martin Morote [Wed, 14 Jun 2023 08:13:59 +0000 (10:13 +0200)] 
docs: format

2 years agorefactor: state typ
Eduardo San Martin Morote [Wed, 14 Jun 2023 07:41:19 +0000 (09:41 +0200)] 
refactor: state typ

2 years agodocs: upgrade typedoc
Eduardo San Martin Morote [Wed, 7 Jun 2023 12:05:20 +0000 (14:05 +0200)] 
docs: upgrade typedoc

2 years agochore: changelog [skip ci]
Eduardo San Martin Morote [Mon, 29 May 2023 09:00:57 +0000 (11:00 +0200)] 
chore: changelog [skip ci]

2 years agorelease: vue-router@4.2.2 v4.2.2
Eduardo San Martin Morote [Mon, 29 May 2023 09:00:41 +0000 (11:00 +0200)] 
release: vue-router@4.2.2

2 years agobuild: release script
Eduardo San Martin Morote [Mon, 29 May 2023 08:59:34 +0000 (10:59 +0200)] 
build: release script

2 years agochore: update sponsors [skip ci]
Eduardo San Martin Morote [Mon, 29 May 2023 08:56:44 +0000 (10:56 +0200)] 
chore: update sponsors [skip ci]

2 years agobuild: add readme to package release
Eduardo San Martin Morote [Mon, 29 May 2023 08:17:33 +0000 (10:17 +0200)] 
build: add readme to package release

2 years agoUpdate dynamic-matching.md (#1853)
Sourabh Ranka [Sun, 21 May 2023 12:56:25 +0000 (18:26 +0530)] 
Update dynamic-matching.md (#1853)

Comma issues.

2 years agodocs: url (#1852)
Sourabh Ranka [Sun, 21 May 2023 12:55:44 +0000 (18:25 +0530)] 
docs: url (#1852)

Easier to read and remain consistent with usage.

2 years agochore: up testing deps
Eduardo San Martin Morote [Thu, 18 May 2023 16:46:58 +0000 (18:46 +0200)] 
chore: up testing deps

2 years agoci: fix maybe
Eduardo San Martin Morote [Thu, 18 May 2023 16:39:35 +0000 (18:39 +0200)] 
ci: fix maybe

2 years agochore: up others
Eduardo San Martin Morote [Thu, 18 May 2023 16:35:13 +0000 (18:35 +0200)] 
chore: up others

2 years agochore: up rollup deps
Eduardo San Martin Morote [Thu, 18 May 2023 16:33:07 +0000 (18:33 +0200)] 
chore: up rollup deps

2 years agostyle: no lint
Eduardo San Martin Morote [Thu, 18 May 2023 16:20:27 +0000 (18:20 +0200)] 
style: no lint

2 years agorelease: vue-router@4.2.1 v4.2.1
Eduardo San Martin Morote [Thu, 18 May 2023 15:48:56 +0000 (17:48 +0200)] 
release: vue-router@4.2.1

2 years agofix(types): revert declare module vue
Eduardo San Martin Morote [Thu, 18 May 2023 15:47:41 +0000 (17:47 +0200)] 
fix(types): revert declare module vue

This seems to be causing problems without fixing any. I'm reverting this
to avoid any more trouble until we can figure out a better rollout
strategy.

2 years agodocs(zh): translate api interfaces (#1821)
Jinjiang [Tue, 16 May 2023 01:46:37 +0000 (11:46 +1000)] 
docs(zh): translate api interfaces (#1821)

* docs(zh): translate api interfaces

* Update Router.md

* Apply suggestions from code review

Co-authored-by: wxsm <wxsms@foxmail.com>
---------

Co-authored-by: wxsm <wxsms@foxmail.com>
2 years agochore: up api
Eduardo San Martin Morote [Mon, 15 May 2023 12:50:56 +0000 (14:50 +0200)] 
chore: up api

2 years agochore: update pnpm node
Eduardo San Martin Morote [Mon, 15 May 2023 12:48:04 +0000 (14:48 +0200)] 
chore: update pnpm node

2 years agodocs: show store
Eduardo San Martin Morote [Thu, 11 May 2023 10:58:27 +0000 (12:58 +0200)] 
docs: show store

2 years agorelease: vue-router@4.2.0 v4.2.0
Eduardo San Martin Morote [Thu, 11 May 2023 10:53:30 +0000 (12:53 +0200)] 
release: vue-router@4.2.0

2 years agodocs: allow global injections
Eduardo San Martin Morote [Thu, 11 May 2023 10:51:46 +0000 (12:51 +0200)] 
docs: allow global injections

2 years agostyle: lint
Eduardo San Martin Morote [Thu, 11 May 2023 10:41:46 +0000 (12:41 +0200)] 
style: lint