]>
git.ipfire.org Git - thirdparty/vuejs/router.git/log
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:58:37 +0000 (15:58 +0200)]
test: fix unexpected warnings
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:37:29 +0000 (15:37 +0200)]
release: vue-router@4.4.0
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:30:48 +0000 (15:30 +0200)]
docs: update vitepress
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:26:48 +0000 (15:26 +0200)]
chore: remove unused dep
Eduardo San Martin Morote [Fri, 21 Jun 2024 13:22:42 +0000 (15:22 +0200)]
chore: up pnpm
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
Eduardo San Martin Morote [Thu, 20 Jun 2024 16:44:24 +0000 (18:44 +0200)]
docs: vuejs.de banner
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>
Eduardo San Martin Morote [Wed, 19 Jun 2024 13:57:07 +0000 (15:57 +0200)]
release: vue-router@4.4.0-alpha.3
Eduardo San Martin Morote [Wed, 19 Jun 2024 13:54:03 +0000 (15:54 +0200)]
feat: add a clearRoutes method
Eduardo San Martin Morote [Mon, 17 Jun 2024 15:56:21 +0000 (17:56 +0200)]
docs: vuejs.de banner
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
Eduardo San Martin Morote [Mon, 17 Jun 2024 13:25:49 +0000 (15:25 +0200)]
test: migrate type tests from uvr
Eduardo San Martin Morote [Mon, 17 Jun 2024 12:53:12 +0000 (14:53 +0200)]
test: migrate to vitest
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...
Eduardo San Martin Morote [Thu, 13 Jun 2024 08:43:50 +0000 (10:43 +0200)]
refactor: remove RouteRecordNameGeneric
Eduardo San Martin Morote [Thu, 13 Jun 2024 08:34:21 +0000 (10:34 +0200)]
docs: note about generic route record name
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:56:28 +0000 (10:56 +0200)]
release: vue-router@4.4.0-alpha.2
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:54:07 +0000 (10:54 +0200)]
fix: allow arbitrary strings in RouteLocationRaw
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:49:35 +0000 (10:49 +0200)]
release: vue-router@4.4.0-alpha.1
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:49:00 +0000 (10:49 +0200)]
docs: fix
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:46:24 +0000 (10:46 +0200)]
chore: expose useLink return type
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:43:53 +0000 (10:43 +0200)]
docs: typed routes update
Eduardo San Martin Morote [Wed, 12 Jun 2024 08:34:13 +0000 (10:34 +0200)]
feat: type useLink
Micha Huhn [Tue, 11 Jun 2024 12:43:47 +0000 (14:43 +0200)]
docs: fix typo (#2265)
Eduardo San Martin Morote [Tue, 11 Jun 2024 10:24:32 +0000 (12:24 +0200)]
release: vue-router@4.4.0-alpha.0
Eduardo San Martin Morote [Tue, 11 Jun 2024 10:20:18 +0000 (12:20 +0200)]
build: update release script
Eduardo San Martin Morote [Tue, 11 Jun 2024 10:09:34 +0000 (12:09 +0200)]
docs: fix links
Eduardo San Martin Morote [Tue, 11 Jun 2024 09:34:15 +0000 (11:34 +0200)]
docs: line
Eduardo San Martin Morote [Tue, 11 Jun 2024 09:30:24 +0000 (11:30 +0200)]
refactor: fix todos
Eduardo San Martin Morote [Tue, 11 Jun 2024 09:19:02 +0000 (11:19 +0200)]
refactor: remove old types
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>
Eduardo San Martin Morote [Mon, 10 Jun 2024 20:10:28 +0000 (22:10 +0200)]
refactor: remove old RouteRecordName
Eduardo San Martin Morote [Mon, 10 Jun 2024 20:02:23 +0000 (22:02 +0200)]
refactor: remove old RouteLocation
Eduardo San Martin Morote [Mon, 10 Jun 2024 19:12:49 +0000 (21:12 +0200)]
ci: remove patch check coverage
Eduardo San Martin Morote [Mon, 10 Jun 2024 19:04:52 +0000 (21:04 +0200)]
ci: avoid double run
Eduardo San Martin Morote [Mon, 10 Jun 2024 14:46:11 +0000 (16:46 +0200)]
ci: upgrade tests
Eduardo San Martin Morote [Mon, 10 Jun 2024 14:42:56 +0000 (16:42 +0200)]
chore: tests
Eduardo San Martin Morote [Mon, 10 Jun 2024 14:40:53 +0000 (16:40 +0200)]
refactor: migrate guard types
Eduardo San Martin Morote [Mon, 3 Jun 2024 15:04:55 +0000 (17:04 +0200)]
feat: wip typed routes
Eduardo San Martin Morote [Mon, 10 Jun 2024 13:33:41 +0000 (15:33 +0200)]
release: vue-router@4.3.3
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>
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.
Nazaré da Piedade [Sun, 26 May 2024 09:17:48 +0000 (10:17 +0100)]
docs: correct become sponsor button text color when hovering (#2252)
Eduardo San Martin Morote [Fri, 17 May 2024 10:09:39 +0000 (12:09 +0200)]
docs: add sponsors block
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>
Eduardo San Martin Morote [Mon, 13 May 2024 14:32:38 +0000 (16:32 +0200)]
docs: remove vuejs.de banner
Eduardo San Martin Morote [Sun, 12 May 2024 19:09:04 +0000 (21:09 +0200)]
ci: upgrade codecov
Antony Konstantinidis [Wed, 8 May 2024 09:44:12 +0000 (11:44 +0200)]
docs: add vuejsde conf banner may (#2208)
Evan You [Tue, 30 Apr 2024 08:00:03 +0000 (01:00 -0700)]
chore: add security.md [ci skip]
Eduardo San Martin Morote [Thu, 18 Apr 2024 10:00:34 +0000 (12:00 +0200)]
release: vue-router@4.3.2
Eduardo San Martin Morote [Thu, 18 Apr 2024 09:55:53 +0000 (11:55 +0200)]
fix: Revert "fix: avoid normalizing the fullPath (#2189)"
This reverts commit
c54fc8407bd1944a3b724fbcc7f6fbac5ff45f0f .
Fix vuejs/router#2216
Eduardo San Martin Morote [Wed, 17 Apr 2024 09:06:02 +0000 (11:06 +0200)]
release: vue-router@4.3.1
Eduardo San Martin Morote [Wed, 17 Apr 2024 08:20:34 +0000 (10:20 +0200)]
fix: avoid normalizing the fullPath (#2189)
* fix: avoid normalizing the fullPath
Close vuejs/router#2187
* test: add test
Eduardo San Martin Morote [Tue, 16 Apr 2024 15:34:57 +0000 (17:34 +0200)]
docs: update aside
Eduardo San Martin Morote [Tue, 16 Apr 2024 15:32:30 +0000 (17:32 +0200)]
docs: up cert
Kerrick Long [Sun, 14 Apr 2024 12:43:15 +0000 (07:43 -0500)]
docs: use UTF-8 box drawing characters (#2201)
Use UTF-8 box drawing characters
Rainer Eli [Sun, 14 Apr 2024 12:41:40 +0000 (06:41 -0600)]
docs: Update active-links.md (#2207)
* Update active-links.md
Add Documentation regarding RouteLink "Active" state through the use of slot properties
* Update packages/docs/guide/essentials/active-links.md
---------
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Jennifer Long [Sat, 6 Apr 2024 18:19:23 +0000 (13:19 -0500)]
Update dynamic-matching.md (#2200)
Eduardo San Martin Morote [Thu, 28 Mar 2024 09:55:50 +0000 (10:55 +0100)]
docs: update certificate links
Eduardo San Martin Morote [Mon, 25 Mar 2024 08:54:25 +0000 (09:54 +0100)]
chore: lines in comments
skirtle [Sat, 23 Mar 2024 11:00:01 +0000 (11:00 +0000)]
docs: add 'Active links' (#2183)
* docs: add RouterLink classes
* Rename page to 'Active links'
John Mao [Mon, 18 Mar 2024 14:17:17 +0000 (22:17 +0800)]
docs(zh): translate the rest of RouteRecordNormalized to Chinese (#2172)
* docs(zh): translate the rest of RouteRecordNormalized to Chinese
* Update packages/docs/zh/api/interfaces/RouteRecordNormalized.md
---------
Co-authored-by: Jinjiang <zhaojinjiang@me.com>
John Mao [Mon, 18 Mar 2024 14:02:17 +0000 (22:02 +0800)]
docs(zh): translate the redirect records note to Chinese and add it to migration (#2167)
* docs(zh): translate the redirect records note to Chinese and add it to migration
Refs (commit):
83b63f7
* Apply suggestions from code review
---------
Co-authored-by: Jinjiang <zhaojinjiang@me.com>
skirtle [Sat, 16 Mar 2024 19:37:32 +0000 (19:37 +0000)]
docs: rewrite the Named Routes page (#2176)
* docs: rewrite the Named Routes page
* Update packages/docs/guide/essentials/named-routes.md [skip ci]
---------
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
skirtle [Thu, 14 Mar 2024 06:34:10 +0000 (06:34 +0000)]
docs: update examples to use SFCs (#2174)
* docs: update examples to use SFCs
* Further small docs tweaks
John Mao [Wed, 6 Mar 2024 23:57:19 +0000 (07:57 +0800)]
docs(zh): translate the currentRoute section of migration to Chinese (#2163)
* docs(zh): translate the currentRoute section of migration to Chinese
* Apply suggestions from code review
---------
Co-authored-by: Jinjiang <zhaojinjiang@me.com>
John Mao [Wed, 6 Mar 2024 23:50:15 +0000 (07:50 +0800)]
docs(zh): translate the description section of RouterScrollBehavior to Chinese (#2162)
John Mao [Wed, 6 Mar 2024 23:49:28 +0000 (07:49 +0800)]
docs(zh): translate the warning part of passing_props to Chinese (#2161)
skirtle [Tue, 5 Mar 2024 07:44:23 +0000 (07:44 +0000)]
feat(dx): warn when passing undefined/null locations (#2158)
* feat(dx): warn when passing undefined/null locations
* Reword test descriptions
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
* Pass the router as a plugin during testing
* Use null when there are no errors
* Use isRouteLocation
---------
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
John Mao [Tue, 5 Mar 2024 01:54:06 +0000 (09:54 +0800)]
docs(zh): translate the note part of programmatic_navigation to Chinese (#2159)
* docs(zh): translate the note part of programmatic_navigation to Chinese
* Update packages/docs/zh/guide/essentials/navigation.md
---------
Co-authored-by: Jinjiang <zhaojinjiang@me.com>
Aaron-zon [Mon, 4 Mar 2024 15:50:20 +0000 (23:50 +0800)]
docs(zh): fix the comment format in packages/docs/zh/guide/index.md (#2156)
skirtle [Sun, 3 Mar 2024 09:01:47 +0000 (09:01 +0000)]
feat(dx): warn when `addRoute` cannot find the parent (#2157)
Eduardo San Martin Morote [Wed, 21 Feb 2024 17:11:43 +0000 (18:11 +0100)]
release: vue-router@4.3.0
Eduardo San Martin Morote [Wed, 21 Feb 2024 17:04:45 +0000 (18:04 +0100)]
chore: up packages
Eduardo San Martin Morote [Wed, 21 Feb 2024 16:53:07 +0000 (17:53 +0100)]
chore: require up to date node
Eduardo San Martin Morote [Wed, 21 Feb 2024 11:13:42 +0000 (12:13 +0100)]
chore: comment
Eduardo San Martin Morote [Wed, 21 Feb 2024 11:13:18 +0000 (12:13 +0100)]
docs: api updates
Eduardo San Martin Morote [Tue, 13 Feb 2024 16:31:50 +0000 (17:31 +0100)]
chore: up vue
Haoqun Jiang [Mon, 19 Feb 2024 13:26:36 +0000 (21:26 +0800)]
chore: update chromedriver to 121.0.2 to fix binary CDN URL issue (#2144)
The default CDN URL for Chrome binaries has been updated in the past few
days. So fresh installations of the chromedriver package will fail with
a 404 error. Here's an example in `vuejs/ecosystem-ci`:
https://github.com/vuejs/ecosystem-ci/actions/runs/
7954792731 /job/
21714823187 #step:7:5745
This issue was fixed in `chromedriver` 121.0.2:
https://github.com/giggio/node-chromedriver/commit/
06656e982bf7e2ab4ff18ca73dc70ec3032765c0
Quanzhi Fu [Sat, 17 Feb 2024 17:46:18 +0000 (12:46 -0500)]
docs(zh): translate the last paragraph of named_routes to Chinese (#2141)
* translate the last paragraph of named routes docs
* docs(zh): translate last paragraph of named-routes to Chinese
* translate the last paragraph of `named-routes` in `zh`
* Apply suggestions from code review
---------
Co-authored-by: quanzhi <qf37@duke.edu>
Co-authored-by: Jinjiang <zhaojinjiang@me.com>
chuyuan du [Tue, 13 Feb 2024 16:10:28 +0000 (00:10 +0800)]
fix: keep optional params coming from a parent record (#2031)
* keep optional params coming from a parent record when resolving a location
* format code
* improve code logic and add unit test for parent optional params
* revert wrong commit of pnpm-lock.yaml
Leo [Tue, 13 Feb 2024 15:52:04 +0000 (12:52 -0300)]
docs: fix index.md to avoid horizontal scrolling in code (#2129)
* Fix: index.md - split comment to avoid horizontal scrolling
* docs: fix index.md to avoid horizontal scrolling
Eduardo San Martin Morote [Tue, 13 Feb 2024 15:51:15 +0000 (16:51 +0100)]
docs: reorder
丶远方 [Tue, 13 Feb 2024 15:50:28 +0000 (23:50 +0800)]
chore: defining default values for Props using withDefaults (#1880)
[skip ci]
Eduardo San Martin Morote [Tue, 13 Feb 2024 15:44:22 +0000 (16:44 +0100)]
Merge pull request #2140 from vuejs/feat/auto-types
feat: allow auto types
skirtle [Tue, 6 Feb 2024 08:13:39 +0000 (08:13 +0000)]
docs: explain per-route guards on nested routes (#2130)
skirtle [Sun, 4 Feb 2024 09:58:08 +0000 (09:58 +0000)]
docs: omitting parent components for nested routes (#2127)
* docs: omitting parent components for nested routes
* Update packages/docs/guide/essentials/nested-routes.md
---------
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Imken Luo [Mon, 29 Jan 2024 15:55:35 +0000 (23:55 +0800)]
docs(zh): translate installation#Package-manager (#2122)
* docs(zh): translate installation#Package-manager
* Apply suggestions from code review
---------
Co-authored-by: Jinjiang <zhaojinjiang@me.com>
Jinjiang [Mon, 29 Jan 2024 09:43:33 +0000 (17:43 +0800)]
refactor: replace translation scripts and ui with vitepress-translation-helper (#2109)
* refactor: replace translation scripts and ui with vitepress-translation-helper
* chore: remove old translation scripts
* chore: bump vitepress-translation-helper
* chore: bump vitepress-translation-helper
* Update index.ts
---------
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Gennadii Fairushin [Mon, 29 Jan 2024 08:56:02 +0000 (08:56 +0000)]
fix(guards): run beforeRouteEnter with app context (#2117)
Fix vuejs/router#2051
heygsc [Mon, 29 Jan 2024 08:50:11 +0000 (16:50 +0800)]
docs: delete useless import (#2120)
Eduardo San Martin Morote [Tue, 23 Jan 2024 08:12:00 +0000 (09:12 +0100)]
docs: remove VM banner
Eduardo San Martin Morote [Tue, 23 Jan 2024 07:59:47 +0000 (08:59 +0100)]
chore: testing out auto types
laiguangtao [Fri, 19 Jan 2024 04:09:39 +0000 (12:09 +0800)]
#Spelling error by updating Transaction to Transition (#2113)
Eduardo San Martin Morote [Thu, 18 Jan 2024 15:59:37 +0000 (16:59 +0100)]
feat: allow auto types
zifengb [Wed, 10 Jan 2024 09:56:56 +0000 (17:56 +0800)]
docs(zh): fix the sidebar link path (#2105)
Jinjiang [Sun, 7 Jan 2024 14:32:32 +0000 (22:32 +0800)]
docs: support dir in meta for pages (#2085)
* docs: bump vitepress version to support dir in meta
* chore: update pnpm lock file
烽宁 [Thu, 4 Jan 2024 08:36:33 +0000 (16:36 +0800)]
docs(zh): add algolia search box translation (#2100)
* docs(zh): add algolia search box translation
* modify
heygsc [Wed, 3 Jan 2024 09:02:36 +0000 (17:02 +0800)]
docs: style error caused by banner (#2099)
* docs: style error caused by banner
* Update packages/docs/.vitepress/theme/components/VueMasteryBanner.vue
---------
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>