]> git.ipfire.org Git - thirdparty/vuejs/router.git/log
thirdparty/vuejs/router.git
7 months agoMerge branch 'main' into perf/router-view-rerenders perf/router-view-rerenders 2082/head
Eduardo San Martin Morote [Wed, 13 Nov 2024 11:12:23 +0000 (12:12 +0100)] 
Merge branch 'main' into perf/router-view-rerenders

7 months agofeat(link): add view-transition prop (#2356)
Eduardo San Martin Morote [Wed, 13 Nov 2024 11:11:59 +0000 (12:11 +0100)] 
feat(link): add view-transition prop (#2356)

7 months agofix(router): allow duplicated navigation on back + redirect (#2133)
Eduardo San Martin Morote [Wed, 13 Nov 2024 11:11:16 +0000 (12:11 +0100)] 
fix(router): allow duplicated navigation on back + redirect (#2133)

7 months agobuild: add vue-router.esm-browser.prod.js (#2242)
skirtle [Wed, 13 Nov 2024 11:10:52 +0000 (11:10 +0000)] 
build: add vue-router.esm-browser.prod.js (#2242)

Co-authored-by: kianfang <kianfang@163.com>
Co-authored-by: Kian <16569491+kianfang@users.noreply.github.com>
8 months agoMerge branch 'main' into perf/router-view-rerenders
Eduardo San Martin Morote [Tue, 29 Oct 2024 16:27:13 +0000 (17:27 +0100)] 
Merge branch 'main' into perf/router-view-rerenders

8 months agofeat: throw if parent and child routes have the same name (#2267)
skirtle [Tue, 29 Oct 2024 16:26:22 +0000 (16:26 +0000)] 
feat: throw if parent and child routes have the same name (#2267)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
8 months agofix: combining 'end' and 'strict' (#2154)
skirtle [Tue, 29 Oct 2024 16:23:28 +0000 (16:23 +0000)] 
fix: combining 'end' and 'strict' (#2154)

8 months agodocs: improve example line wrapping (#2374)
Dominik Pschenitschni [Fri, 25 Oct 2024 06:51:12 +0000 (08:51 +0200)] 
docs: improve example line wrapping (#2374)

8 months agoci: continous release
Eduardo San Martin Morote [Sun, 20 Oct 2024 22:17:13 +0000 (07:17 +0900)] 
ci: continous release

8 months agodocs: remove experimental message
Eduardo San Martin Morote [Sat, 19 Oct 2024 07:20:36 +0000 (16:20 +0900)] 
docs: remove experimental message

8 months agofix: custom directive doesn't work when custom=true (#2377)
DecadeMoon [Thu, 17 Oct 2024 03:25:42 +0000 (14:25 +1100)] 
fix: custom directive doesn't work when custom=true (#2377)

Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
9 months agoci: adjust codecov options
Eduardo San Martin Morote [Wed, 2 Oct 2024 15:23:59 +0000 (17:23 +0200)] 
ci: adjust codecov options

9 months agorelease: vue-router@4.4.5 v4.4.5
Eduardo San Martin Morote [Fri, 13 Sep 2024 06:46:30 +0000 (08:46 +0200)] 
release: vue-router@4.4.5

9 months agofix: fix mods in aliases
Eduardo San Martin Morote [Fri, 13 Sep 2024 06:40:15 +0000 (08:40 +0200)] 
fix: fix mods in aliases

9 months agofix: mods must be added only wiht defineProperty
Eduardo San Martin Morote [Fri, 13 Sep 2024 06:27:50 +0000 (08:27 +0200)] 
fix: mods must be added only wiht defineProperty

9 months agofix: make internal property non enumerable
Eduardo San Martin Morote [Fri, 13 Sep 2024 06:14:15 +0000 (08:14 +0200)] 
fix: make internal property non enumerable

9 months agorelease: vue-router@4.4.4 v4.4.4
Eduardo San Martin Morote [Tue, 10 Sep 2024 17:59:21 +0000 (19:59 +0200)] 
release: vue-router@4.4.4

9 months agofeat(loaders): internal mods in route records
Eduardo San Martin Morote [Tue, 10 Sep 2024 17:55:53 +0000 (19:55 +0200)] 
feat(loaders): internal mods in route records

9 months agofix(ssr): handle symboless Modules in dynamic imports (#2355)
Eduardo San Martin Morote [Tue, 10 Sep 2024 13:27:23 +0000 (15:27 +0200)] 
fix(ssr): handle symboless Modules in dynamic imports (#2355)

* fix(ssr): handle symboless Modules in dynamic imports

* chore: fix types

9 months agodocs: fix small colors
Eduardo San Martin Morote [Tue, 10 Sep 2024 09:32:26 +0000 (11:32 +0200)] 
docs: fix small colors

9 months agodocs: refactor and fix become sponsor button colors
Eduardo San Martin Morote [Tue, 10 Sep 2024 09:30:03 +0000 (11:30 +0200)] 
docs: refactor and fix become sponsor button colors

9 months agochore: pin vue versions because of withDefaults bug in compiler
Eduardo San Martin Morote [Tue, 10 Sep 2024 09:29:47 +0000 (11:29 +0200)] 
chore: pin vue versions because of withDefaults bug in compiler

9 months agochore: up deps
Eduardo San Martin Morote [Tue, 10 Sep 2024 09:10:11 +0000 (11:10 +0200)] 
chore: up deps

9 months agochore: up pnpm
Eduardo San Martin Morote [Tue, 10 Sep 2024 09:06:00 +0000 (11:06 +0200)] 
chore: up pnpm

9 months agodocs: vue.js de banner removal
Eduardo San Martin Morote [Sun, 8 Sep 2024 18:46:58 +0000 (20:46 +0200)] 
docs: vue.js de banner removal

10 months agodocs: Vuejsde conf banner high res (#2352)
Antony Konstantinidis [Mon, 2 Sep 2024 13:02:59 +0000 (15:02 +0200)] 
docs: Vuejsde conf banner high res (#2352)

* feat: add vuejsde conf banner may

* feat: vuejsde conf banner september 2024

* fix: update banners

* fix: enable banner

* fix: adjust close button size

* fix: add vuejsde conf banner high res versions

10 months agodocs: Vuejsde conf banner september 2024 (#2210)
Antony Konstantinidis [Mon, 2 Sep 2024 11:55:22 +0000 (13:55 +0200)] 
docs: Vuejsde conf banner september 2024 (#2210)

* feat: add vuejsde conf banner may

* feat: vuejsde conf banner september 2024

* fix: update banners

* fix: enable banner

* fix: adjust close button size

10 months agodocs(types): remove extra space (#2347)
StEve YoUng [Thu, 29 Aug 2024 06:14:44 +0000 (14:14 +0800)] 
docs(types): remove extra space (#2347)

10 months agochore: update link for bug reports
Eduardo San Martin Morote [Fri, 23 Aug 2024 08:25:39 +0000 (10:25 +0200)] 
chore: update link for bug reports

11 months agorelease: vue-router@4.4.3 v4.4.3
Eduardo San Martin Morote [Tue, 6 Aug 2024 15:39:11 +0000 (17:39 +0200)] 
release: vue-router@4.4.3

11 months agoSection about deprecated onDemand and onAbort callback arguments (#2330)
Steve König [Tue, 6 Aug 2024 06:28:36 +0000 (08:28 +0200)] 
Section about deprecated onDemand and onAbort callback arguments (#2330)

* Added deprecated onDemand and onAbort callback arguments to migration guide

The  onDemand and onAbort  callbacks for router.push and .replace were deprecated in v4. I added a section to the migration guide explaining that users should replace them with the thenable Promise the methods return.

* Apply suggestions from code review

* Update packages/docs/guide/migration/index.md [skip ci]

---------

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
11 months agochore: use `with` instead of `assert` in rollup.mjs (#2326)
Vlad [Mon, 5 Aug 2024 08:50:31 +0000 (19:50 +1100)] 
chore: use `with` instead of `assert` in rollup.mjs (#2326)

11 months agofix: reorder exports in `package.json` (#2323)
SerKo [Thu, 1 Aug 2024 18:04:20 +0000 (02:04 +0800)] 
fix: reorder exports in `package.json` (#2323)

11 months agochore: note in chnagelog [skip ci]
Eduardo San Martin Morote [Thu, 1 Aug 2024 15:28:02 +0000 (17:28 +0200)] 
chore: note in chnagelog [skip ci]

11 months agorelease: vue-router@4.4.2 v4.4.2
Eduardo San Martin Morote [Thu, 1 Aug 2024 08:00:47 +0000 (10:00 +0200)] 
release: vue-router@4.4.2

11 months agofix(types): revert stricter meta
Eduardo San Martin Morote [Thu, 1 Aug 2024 07:57:37 +0000 (09:57 +0200)] 
fix(types): revert stricter meta

Close #2319

11 months agochore: typos [skip ci]
Eduardo San Martin Morote [Wed, 31 Jul 2024 16:52:39 +0000 (18:52 +0200)] 
chore: typos [skip ci]

11 months agorelease: vue-router@4.4.1 v4.4.1
Eduardo San Martin Morote [Wed, 31 Jul 2024 16:51:30 +0000 (18:51 +0200)] 
release: vue-router@4.4.1

11 months agochore: comment
Eduardo San Martin Morote [Wed, 31 Jul 2024 16:49:33 +0000 (18:49 +0200)] 
chore: comment

11 months agochore: up sponsors
Eduardo San Martin Morote [Thu, 18 Jul 2024 08:31:56 +0000 (10:31 +0200)] 
chore: up sponsors

11 months agodocs: add missing backtick (#2302)
Maël Belval [Thu, 11 Jul 2024 15:50:12 +0000 (17:50 +0200)] 
docs: add missing backtick (#2302)

Add a single backtick causing code rendering issue

11 months agodocs: trailing space
Eduardo San Martin Morote [Tue, 9 Jul 2024 09:14:01 +0000 (11:14 +0200)] 
docs: trailing space

11 months agochore: github issue playground link
Eduardo San Martin Morote [Tue, 9 Jul 2024 09:13:56 +0000 (11:13 +0200)] 
chore: github issue playground link

11 months agodocs: mention an edge case with mutliple optional params in the docs (#2192)
Matyáš Racek [Tue, 9 Jul 2024 07:59:50 +0000 (09:59 +0200)] 
docs: mention an edge case with mutliple optional params in the docs (#2192)

* docs: mention an edge case with mutliple optional params in the docs

See #2190 for more info.

* Update packages/docs/guide/essentials/route-matching-syntax.md

---------

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
11 months agofix: router typescript definations related to vue package (#2295)
tingyuan [Tue, 9 Jul 2024 07:27:24 +0000 (15:27 +0800)] 
fix: router typescript definations related to vue package (#2295)

Co-authored-by: tingyuan <1932294867@qq.com>
11 months agodocs: reorder symbols (#2296)
chen wen jun [Tue, 9 Jul 2024 07:27:01 +0000 (15:27 +0800)] 
docs: reorder symbols (#2296)

* docs: reorder symbols

* Update packages/docs/guide/essentials/route-matching-syntax.md

---------

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
12 months agochore: order in test command
Eduardo San Martin Morote [Mon, 1 Jul 2024 08:44:58 +0000 (10:44 +0200)] 
chore: order in test command

12 months agoci: fix test order
Eduardo San Martin Morote [Mon, 1 Jul 2024 08:43:51 +0000 (10:43 +0200)] 
ci: fix test order

12 months agofix(types): stricter meta with required fields
Eduardo San Martin Morote [Mon, 1 Jul 2024 08:42:00 +0000 (10:42 +0200)] 
fix(types): stricter meta with required fields

12 months agodocs: fix punctuation (#2286)
Curt Grimes [Sat, 29 Jun 2024 15:04:58 +0000 (10:04 -0500)] 
docs: fix punctuation (#2286)

Fix punctuation and comma splices in a few spots.

12 months agochore: update badge
Eduardo San Martin Morote [Wed, 26 Jun 2024 12:32:46 +0000 (14:32 +0200)] 
chore: update badge

12 months agofeat(warn): fix links to docs
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:58:51 +0000 (15:58 +0200)] 
feat(warn): fix links to docs

12 months agotest: fix unexpected warnings
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:58:37 +0000 (15:58 +0200)] 
test: fix unexpected warnings

12 months agorelease: vue-router@4.4.0 v4.4.0
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:37:29 +0000 (15:37 +0200)] 
release: vue-router@4.4.0

12 months agodocs: update vitepress
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:30:48 +0000 (15:30 +0200)] 
docs: update vitepress

12 months agochore: remove unused dep
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:26:48 +0000 (15:26 +0200)] 
chore: remove unused dep

12 months agochore: up pnpm
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:22:42 +0000 (15:22 +0200)] 
chore: up pnpm

12 months agoMerge pull request #2264 from vuejs/refactor/typed-routes
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:18:33 +0000 (15:18 +0200)] 
Merge pull request #2264 from vuejs/refactor/typed-routes

feat: add generic location types

12 months agodocs: vuejs.de banner
Eduardo San Martin Morote [Thu, 20 Jun 2024 16:44:24 +0000 (18:44 +0200)] 
docs: vuejs.de banner

12 months agodocs(zh): fix the order of useRouter() and useRoute() in packages/docs/zh/guide/index...
yaoshaohua [Thu, 20 Jun 2024 10:23:24 +0000 (18:23 +0800)] 
docs(zh): fix the order of useRouter() and useRoute() in packages/docs/zh/guide/index.md (#2278)

Co-authored-by: yaoshaohua <yaoshaohua@xinye.com>
12 months agorelease: vue-router@4.4.0-alpha.3 2264/head v4.4.0-alpha.3
Eduardo San Martin Morote [Wed, 19 Jun 2024 13:57:07 +0000 (15:57 +0200)] 
release: vue-router@4.4.0-alpha.3

12 months agofeat: add a clearRoutes method
Eduardo San Martin Morote [Wed, 19 Jun 2024 13:54:03 +0000 (15:54 +0200)] 
feat: add a clearRoutes method

12 months agodocs: vuejs.de banner
Eduardo San Martin Morote [Mon, 17 Jun 2024 15:56:21 +0000 (17:56 +0200)] 
docs: vuejs.de banner

12 months agoVuejsde conf banner june 2024 (#2209)
Antony Konstantinidis [Mon, 17 Jun 2024 15:55:36 +0000 (17:55 +0200)] 
Vuejsde conf banner june 2024 (#2209)

* feat: add vuejsde conf banner may

* feat: add vuejsde conf banner june

12 months agotest: migrate type tests from uvr
Eduardo San Martin Morote [Mon, 17 Jun 2024 13:25:49 +0000 (15:25 +0200)] 
test: migrate type tests from uvr

12 months agotest: migrate to vitest
Eduardo San Martin Morote [Mon, 17 Jun 2024 12:53:12 +0000 (14:53 +0200)] 
test: migrate to vitest

12 months agorefactor: use RouteRecordNameGeneric
Eduardo San Martin Morote [Thu, 13 Jun 2024 08:50:34 +0000 (10:50 +0200)] 
refactor: use RouteRecordNameGeneric

It seems to still have value as it work in app code...

12 months agorefactor: remove RouteRecordNameGeneric
Eduardo San Martin Morote [Thu, 13 Jun 2024 08:43:50 +0000 (10:43 +0200)] 
refactor: remove RouteRecordNameGeneric

12 months agodocs: note about generic route record name
Eduardo San Martin Morote [Thu, 13 Jun 2024 08:34:21 +0000 (10:34 +0200)] 
docs: note about generic route record name

12 months agorelease: vue-router@4.4.0-alpha.2 v4.4.0-alpha.2
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:56:28 +0000 (10:56 +0200)] 
release: vue-router@4.4.0-alpha.2

12 months agofix: allow arbitrary strings in RouteLocationRaw
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:54:07 +0000 (10:54 +0200)] 
fix: allow arbitrary strings in RouteLocationRaw

12 months agorelease: vue-router@4.4.0-alpha.1 v4.4.0-alpha.1
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:49:35 +0000 (10:49 +0200)] 
release: vue-router@4.4.0-alpha.1

12 months agodocs: fix
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:49:00 +0000 (10:49 +0200)] 
docs: fix

12 months agochore: expose useLink return type
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:46:24 +0000 (10:46 +0200)] 
chore: expose useLink return type

12 months agodocs: typed routes update
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:43:53 +0000 (10:43 +0200)] 
docs: typed routes update

12 months agofeat: type useLink
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:34:13 +0000 (10:34 +0200)] 
feat: type useLink

12 months agodocs: fix typo (#2265)
Micha Huhn [Tue, 11 Jun 2024 12:43:47 +0000 (14:43 +0200)] 
docs: fix typo (#2265)

12 months agorelease: vue-router@4.4.0-alpha.0 v4.4.0-alpha.0
Eduardo San Martin Morote [Tue, 11 Jun 2024 10:24:32 +0000 (12:24 +0200)] 
release: vue-router@4.4.0-alpha.0

12 months agobuild: update release script
Eduardo San Martin Morote [Tue, 11 Jun 2024 10:20:18 +0000 (12:20 +0200)] 
build: update release script

12 months agodocs: fix links
Eduardo San Martin Morote [Tue, 11 Jun 2024 10:09:34 +0000 (12:09 +0200)] 
docs: fix links

12 months agodocs: line
Eduardo San Martin Morote [Tue, 11 Jun 2024 09:34:15 +0000 (11:34 +0200)] 
docs: line

12 months agorefactor: fix todos
Eduardo San Martin Morote [Tue, 11 Jun 2024 09:30:24 +0000 (11:30 +0200)] 
refactor: fix todos

12 months agorefactor: remove old types
Eduardo San Martin Morote [Tue, 11 Jun 2024 09:19:02 +0000 (11:19 +0200)] 
refactor: remove old types

12 months agodocs(zh): sync to d842b6f (#2244)
Jinjiang [Tue, 11 Jun 2024 03:20:40 +0000 (11:20 +0800)] 
docs(zh): sync to d842b6f (#2244)

* docs(zh): sync to d842b6f

* docs(zh): translate the new docs

* docs(zh): update the checkpoint

* Update packages/docs/zh/guide/essentials/named-routes.md

Co-authored-by: GU Yiling <justice360@gmail.com>
* Apply suggestions from code review

Co-authored-by: GU Yiling <justice360@gmail.com>
* Update zh.ts

* Update data-fetching.md

* Update composition-api.md

* Update navigation-guards.md

* Update navigation-guards.md

---------

Co-authored-by: GU Yiling <justice360@gmail.com>
12 months agorefactor: remove old RouteRecordName
Eduardo San Martin Morote [Mon, 10 Jun 2024 20:10:28 +0000 (22:10 +0200)] 
refactor: remove old RouteRecordName

12 months agorefactor: remove old RouteLocation
Eduardo San Martin Morote [Mon, 10 Jun 2024 20:02:23 +0000 (22:02 +0200)] 
refactor: remove old RouteLocation

12 months agoci: remove patch check coverage
Eduardo San Martin Morote [Mon, 10 Jun 2024 19:12:49 +0000 (21:12 +0200)] 
ci: remove patch check coverage

12 months agoci: avoid double run
Eduardo San Martin Morote [Mon, 10 Jun 2024 19:04:52 +0000 (21:04 +0200)] 
ci: avoid double run

12 months agoci: upgrade tests
Eduardo San Martin Morote [Mon, 10 Jun 2024 14:46:11 +0000 (16:46 +0200)] 
ci: upgrade tests

12 months agochore: tests
Eduardo San Martin Morote [Mon, 10 Jun 2024 14:42:56 +0000 (16:42 +0200)] 
chore: tests

12 months agorefactor: migrate guard types
Eduardo San Martin Morote [Mon, 10 Jun 2024 14:40:53 +0000 (16:40 +0200)] 
refactor: migrate guard types

12 months agofeat: wip typed routes
Eduardo San Martin Morote [Mon, 3 Jun 2024 15:04:55 +0000 (17:04 +0200)] 
feat: wip typed routes

12 months agorelease: vue-router@4.3.3 v4.3.3
Eduardo San Martin Morote [Mon, 10 Jun 2024 13:33:41 +0000 (15:33 +0200)] 
release: vue-router@4.3.3

12 months agoperf: use a binary search for insertMatcher (#2137)
skirtle [Mon, 10 Jun 2024 13:23:27 +0000 (14:23 +0100)] 
perf: use a binary search for insertMatcher (#2137)

* perf: use a binary search for insertMatcher

* Fix matcher ordering in edge cases

* chore: docs and logs

---------

Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
13 months agochore: adjust test case type checking
Evan You [Tue, 4 Jun 2024 09:22:11 +0000 (17:22 +0800)] 
chore: adjust test case type checking

context: the type usage is incorrect and was previously ignored by ts-expect-error,
but with 3.5 the error happens at the call level so it is safer to just any it.

13 months agodocs: correct become sponsor button text color when hovering (#2252)
Nazaré da Piedade [Sun, 26 May 2024 09:17:48 +0000 (10:17 +0100)] 
docs: correct become sponsor button text color when hovering (#2252)

13 months agodocs: add sponsors block
Eduardo San Martin Morote [Fri, 17 May 2024 10:09:39 +0000 (12:09 +0200)] 
docs: add sponsors block

13 months agodoc(zh): sync getting started page at 3ab1e5e (#2234)
Yuanhao Geng [Wed, 15 May 2024 02:50:14 +0000 (10:50 +0800)] 
doc(zh): sync getting started page at 3ab1e5e (#2234)

* doc(zh): sync getting started page at 3ab1e5e

* fix: use code v-pre

* update: fix heading language

* fix type

* Apply suggestions from code review

* Update packages/docs/zh/guide/index.md

---------

Co-authored-by: Jinjiang <zhaojinjiang@me.com>
13 months agodocs: remove vuejs.de banner
Eduardo San Martin Morote [Mon, 13 May 2024 14:32:38 +0000 (16:32 +0200)] 
docs: remove vuejs.de banner

13 months agoci: upgrade codecov
Eduardo San Martin Morote [Sun, 12 May 2024 19:09:04 +0000 (21:09 +0200)] 
ci: upgrade codecov