]>
git.ipfire.org Git - thirdparty/vuejs/router.git/log
Eduardo San Martin Morote [Mon, 24 Oct 2022 07:58:12 +0000 (09:58 +0200)]
feat(matcher): avoid empty records to be reached
Resolves https://github.com/posva/unplugin-vue-router/issues/81
Eduardo San Martin Morote [Mon, 24 Oct 2022 07:56:00 +0000 (09:56 +0200)]
chore: up deps
Eduardo San Martin Morote [Sun, 23 Oct 2022 14:04:40 +0000 (16:04 +0200)]
chore: update netlify
Eduardo San Martin Morote [Wed, 19 Oct 2022 17:11:19 +0000 (19:11 +0200)]
docs: add .vue suffix
奇变偶不变 [Fri, 14 Oct 2022 12:18:51 +0000 (20:18 +0800)]
chore: fixed router/e2e/runner function name spell mistake (#1579)
Co-authored-by: 王影 <wangying@everhigh.com.cn>
Nico Devs [Fri, 30 Sep 2022 19:01:39 +0000 (16:01 -0300)]
Docs: Update Free Weekend Vue School banner (#1566)
andreas [Wed, 28 Sep 2022 14:19:24 +0000 (17:19 +0300)]
chore: bronze sponsor link [skip ci] (#1563)
Jilson Thomas [Fri, 23 Sep 2022 14:17:29 +0000 (10:17 -0400)]
docs: add vuetoronto logo (#1559)
sgpinkus [Fri, 23 Sep 2022 12:29:28 +0000 (22:29 +1000)]
docs: beforeRouteEnter next callback (#1560)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Eduardo San Martin Morote [Tue, 20 Sep 2022 12:09:00 +0000 (14:09 +0200)]
docs: redirect records note
Nico Devs [Thu, 15 Sep 2022 21:38:05 +0000 (18:38 -0300)]
Docs: Add Vue School free weekend banner (#1553)
* docs(docs): Add Vue School free weekend banner
* docs(docs): Fix Vue School banner background for lanscape tablet viewport
ZHAO Jinxiang [Fri, 2 Sep 2022 12:39:51 +0000 (05:39 -0700)]
feat(types): improve link and view slots (#1544)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Nico Devs [Wed, 31 Aug 2022 16:22:40 +0000 (13:22 -0300)]
docs(docs): Fix link to Vue School banner to show Vue.js Forge offer (#1542)
Mauricio Matias C [Tue, 30 Aug 2022 15:01:40 +0000 (11:01 -0400)]
docs: code example on 'Fetching Before Navigation' with a better context (#1538)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Nico Devs [Tue, 30 Aug 2022 07:10:47 +0000 (04:10 -0300)]
Update Vue School banner to show Vue.js Forge offer (#1537)
Mozi [Sat, 27 Aug 2022 09:05:59 +0000 (17:05 +0800)]
docs(introduction): update links on zh page from en (#1536)
This is a patch related to the following commits:
-
bc122040833d9262b3e70bb4ef36af681062e1aa
-
9ce152c7cadb08c2c713d4a2b6510ec2085aadc4
Eduardo San Martin Morote [Fri, 26 Aug 2022 09:57:32 +0000 (11:57 +0200)]
release: vue-router@4.1.5
Eduardo San Martin Morote [Fri, 26 Aug 2022 09:53:45 +0000 (11:53 +0200)]
feat(warn): warn against removed params
See #1527
Eduardo San Martin Morote [Fri, 26 Aug 2022 09:24:59 +0000 (11:24 +0200)]
chore: wording in changelog [skip ci]
Eduardo San Martin Morote [Fri, 26 Aug 2022 09:19:37 +0000 (11:19 +0200)]
chore: alternative in changelog [skip ci]
Eduardo San Martin Morote [Thu, 25 Aug 2022 11:49:51 +0000 (13:49 +0200)]
feat(warn): better wording
#1530
Eduardo San Martin Morote [Mon, 22 Aug 2022 13:28:49 +0000 (15:28 +0200)]
release: vue-router@4.1.4
Eduardo San Martin Morote [Thu, 18 Aug 2022 07:47:20 +0000 (09:47 +0200)]
fix(build): remove devtools in cjs production
Fix #1524
Eduardo San Martin Morote [Thu, 18 Aug 2022 07:45:32 +0000 (09:45 +0200)]
chore: note
Nico Devs [Wed, 17 Aug 2022 11:19:19 +0000 (08:19 -0300)]
Docs: Add VF2 banner (#1520)
Eduardo San Martin Morote [Tue, 16 Aug 2022 15:11:55 +0000 (17:11 +0200)]
feat: pass state in guards and redirect
Close #1472
Eduardo San Martin Morote [Tue, 16 Aug 2022 14:05:20 +0000 (16:05 +0200)]
refactor(types): unused generic
Eduardo San Martin Morote [Tue, 16 Aug 2022 14:05:05 +0000 (16:05 +0200)]
chore: update dev script
Eduardo San Martin Morote [Tue, 16 Aug 2022 14:04:50 +0000 (16:04 +0200)]
chore: playground improvements
Eduardo San Martin Morote [Tue, 16 Aug 2022 13:56:04 +0000 (15:56 +0200)]
fix(matcher): remove unused params
Fix #1497
NOTES: if you were relying on passing `params` that were not defined as
part of the `path`, eg: having a route defined as follows:
```js
{
path: '/somewhere',
name: 'somewhere'
}
```
And pushing with an _artificial_ param:
```js
router.push({ name: 'somewhere', params: { oops: 'gets removed' }})
```
This change will break your app. This behavior has worked in some
scenarios but has been **advised against** for years as it's an
antipattern in routing. You can still put the data in `query` or as an
actual param.
Eduardo San Martin Morote [Tue, 16 Aug 2022 10:11:58 +0000 (12:11 +0200)]
chore: up deps
Eduardo San Martin Morote [Tue, 16 Aug 2022 10:04:49 +0000 (12:04 +0200)]
fix(build): production mjs import
Fix #1516
RadiumAg [Mon, 8 Aug 2022 14:02:04 +0000 (22:02 +0800)]
docs: improve Chinese translation (#1505)
Co-authored-by: edison <daiwei521@126.com>
Zing [Thu, 4 Aug 2022 14:04:41 +0000 (22:04 +0800)]
docs: improve Chinese translation (#1491)
Eduardo San Martin Morote [Thu, 4 Aug 2022 12:17:34 +0000 (14:17 +0200)]
docs: api gen
David Yunevich [Wed, 3 Aug 2022 20:09:01 +0000 (00:09 +0400)]
docs: fix link to dynamic import docs (fix #1498) (#1500)
Schlömi [Wed, 3 Aug 2022 09:57:01 +0000 (11:57 +0200)]
docs(nested-routes): add note for named routes (#1496)
Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
Eduardo San Martin Morote [Wed, 3 Aug 2022 08:08:10 +0000 (10:08 +0200)]
chore: up some deps
Eduardo San Martin Morote [Wed, 3 Aug 2022 08:06:28 +0000 (10:06 +0200)]
docs: better format
nandi95 [Wed, 3 Aug 2022 08:03:12 +0000 (09:03 +0100)]
docs: spelling fixes in doc blocks (#1495)
Levi [Tue, 2 Aug 2022 07:41:56 +0000 (15:41 +0800)]
docs: missing letter l of null (#1492)
Eduardo San Martin Morote [Wed, 27 Jul 2022 12:08:58 +0000 (14:08 +0200)]
chore: typo [skip ci]
Eduardo San Martin Morote [Wed, 27 Jul 2022 10:09:54 +0000 (12:09 +0200)]
release: vue-router@4.1.3
Eduardo San Martin Morote [Wed, 27 Jul 2022 10:06:33 +0000 (12:06 +0200)]
fix: avoid restore on cancelled pop navigations
Eduardo San Martin Morote [Wed, 27 Jul 2022 09:07:09 +0000 (11:07 +0200)]
chore: up deps
Nico Devs [Mon, 25 Jul 2022 16:14:31 +0000 (13:14 -0300)]
Update Vue School summer sale banner (#1487)
Li Kui [Sat, 23 Jul 2022 12:44:49 +0000 (20:44 +0800)]
docs: the playground link (#1483)
Li Kui [Sat, 23 Jul 2022 12:44:12 +0000 (20:44 +0800)]
docs: edit link not exist (#1484)
* fix: edit link not exist
* Update config.ts
Reii [Fri, 22 Jul 2022 14:54:47 +0000 (22:54 +0800)]
docs: replace yarn with pnpm in contributing.md (#1482) [skip ci]
NiceHwang [Fri, 22 Jul 2022 07:23:40 +0000 (16:23 +0900)]
docs: Router-Example typo fix. (#1481)
Docs-API: Links with typos. `(#addroute-2)` → `(#addroute)`
Router-Ex: Works fine, but typo in alpha value in css color. `rgb` → `rgba`
Link [Thu, 21 Jul 2022 07:28:44 +0000 (15:28 +0800)]
style: code prettier (#1480)
Qiang [Wed, 20 Jul 2022 08:22:13 +0000 (16:22 +0800)]
docs: add a blank line (#1474)
Add a line to make the document look more harmonious
Eduardo San Martin Morote [Tue, 19 Jul 2022 14:50:03 +0000 (16:50 +0200)]
chore: up api docs
Eduardo San Martin Morote [Tue, 19 Jul 2022 14:46:09 +0000 (16:46 +0200)]
chore: minors updates
Eduardo San Martin Morote [Tue, 19 Jul 2022 14:41:34 +0000 (16:41 +0200)]
refactor: better type inference
Eduardo San Martin Morote [Tue, 19 Jul 2022 13:19:36 +0000 (15:19 +0200)]
fix(types): allow redirect with children
Fix #1476
Eduardo San Martin Morote [Tue, 19 Jul 2022 10:42:04 +0000 (12:42 +0200)]
fix(matcher): correctly resolve empty paths with optional params
Fix #1475
Eduardo San Martin Morote [Tue, 19 Jul 2022 10:36:11 +0000 (12:36 +0200)]
test: update types
Eduardo San Martin Morote [Mon, 18 Jul 2022 07:30:37 +0000 (09:30 +0200)]
chore: no type warn
Eduardo San Martin Morote [Wed, 13 Jul 2022 08:50:47 +0000 (10:50 +0200)]
chore: up deps
Eduardo San Martin Morote [Wed, 13 Jul 2022 08:50:36 +0000 (10:50 +0200)]
fix: allow overriding replace in guards
Fix #1471
NiceHwang [Wed, 13 Jul 2022 08:34:30 +0000 (17:34 +0900)]
docs: incorrect reference links (#1470)
The content points to "optional params", but the link goes to "repeatable params".
Fixed links to point to "optional params".
Eduardo San Martin Morote [Mon, 11 Jul 2022 08:40:54 +0000 (10:40 +0200)]
release: vue-router@4.1.2
Daniel Roe [Mon, 11 Jul 2022 08:39:30 +0000 (09:39 +0100)]
fix: allow requiring in cjs context (#1465)
Xiangdong Zeng [Sat, 9 Jul 2022 11:49:15 +0000 (19:49 +0800)]
docs: update changelog link (#1464)
Eduardo San Martin Morote [Fri, 8 Jul 2022 15:36:36 +0000 (17:36 +0200)]
fix: force relativse link in types exportcs
Eduardo San Martin Morote [Fri, 8 Jul 2022 14:14:58 +0000 (16:14 +0200)]
ci: skip bs in forks
xunmi [Fri, 8 Jul 2022 13:36:58 +0000 (21:36 +0800)]
fix(types): allow `symbol` type (#1460)
Eduardo San Martin Morote [Wed, 6 Jul 2022 13:24:56 +0000 (15:24 +0200)]
feat(types): simplify props types
Eduardo San Martin Morote [Wed, 6 Jul 2022 12:40:57 +0000 (14:40 +0200)]
docs: fix algolia id
Close #1459
Liz Fong-Jones [Tue, 5 Jul 2022 22:19:45 +0000 (15:19 -0700)]
fix(types): adds ESM export of types (#1457)
Eduardo San Martin Morote [Tue, 5 Jul 2022 16:49:45 +0000 (18:49 +0200)]
chore: link to changelog
Close #1455
Eduardo San Martin Morote [Tue, 5 Jul 2022 14:57:06 +0000 (16:57 +0200)]
release: vue-router@4.1.1
Eduardo San Martin Morote [Tue, 5 Jul 2022 14:56:19 +0000 (16:56 +0200)]
fix: remove browser export
Avoids vitest including different versions of vue-router depending on what imported it
Eduardo San Martin Morote [Tue, 5 Jul 2022 07:57:52 +0000 (09:57 +0200)]
fix(types): allow simpler type check of route records (#1453)
Fix #1452
Eduardo San Martin Morote [Tue, 5 Jul 2022 07:35:20 +0000 (09:35 +0200)]
fix(types): remove unnecessary readonly
Eduardo San Martin Morote [Mon, 4 Jul 2022 12:55:16 +0000 (14:55 +0200)]
docs: skip chrome download
Eduardo San Martin Morote [Mon, 4 Jul 2022 12:50:04 +0000 (14:50 +0200)]
docs: typo
Close #1439
Eduardo San Martin Morote [Mon, 4 Jul 2022 12:37:30 +0000 (14:37 +0200)]
build: add skip git clean [skip ci]
Eduardo San Martin Morote [Mon, 4 Jul 2022 12:34:14 +0000 (14:34 +0200)]
release: vue-router@4.1.0
Eduardo San Martin Morote [Mon, 4 Jul 2022 12:33:49 +0000 (14:33 +0200)]
build: correct tag name
Eduardo San Martin Morote [Mon, 4 Jul 2022 12:28:04 +0000 (14:28 +0200)]
chore: play script
Eduardo San Martin Morote [Thu, 30 Jun 2022 20:51:32 +0000 (22:51 +0200)]
docs: fix link
Close #1451
Eduardo San Martin Morote [Wed, 29 Jun 2022 16:24:39 +0000 (18:24 +0200)]
build: fix line offset
Eduardo San Martin Morote [Wed, 29 Jun 2022 16:18:08 +0000 (18:18 +0200)]
feat(types): allow extending global types
Eduardo San Martin Morote [Wed, 29 Jun 2022 13:27:11 +0000 (15:27 +0200)]
docs: screenshot
Eduardo San Martin Morote [Wed, 29 Jun 2022 13:11:18 +0000 (15:11 +0200)]
chore: remove unused files
Eduardo San Martin Morote [Wed, 29 Jun 2022 13:05:31 +0000 (15:05 +0200)]
docs: update typed routes
Eduardo San Martin Morote [Wed, 29 Jun 2022 12:41:11 +0000 (14:41 +0200)]
refactor: revert the complex types for path parsing
Achieve it with a build plugin instead; https://github.com/posva/unplugin-vue-router
Types were too slow due to their recursive nature and relying on tuples
too much. A build-time type generation is not only reliable and fast but
also enable creating other patterns.
Eduardo San Martin Morote [Fri, 17 Jun 2022 13:58:35 +0000 (15:58 +0200)]
docs: typed routes details for 4.1
Eduardo San Martin Morote [Thu, 16 Jun 2022 08:57:27 +0000 (10:57 +0200)]
refactor(types): avoid eager evaluation of routerlink
Eduardo San Martin Morote [Thu, 16 Jun 2022 08:51:15 +0000 (10:51 +0200)]
docs: simplify RouterLink usage
Eduardo San Martin Morote [Thu, 16 Jun 2022 08:37:50 +0000 (10:37 +0200)]
types: typed routes for RouterLink
Eduardo San Martin Morote [Wed, 15 Jun 2022 16:37:12 +0000 (18:37 +0200)]
feat: add typed router link
Eduardo San Martin Morote [Wed, 15 Jun 2022 16:36:40 +0000 (18:36 +0200)]
docs: add typed routes
Eduardo San Martin Morote [Wed, 15 Jun 2022 08:23:18 +0000 (10:23 +0200)]
test: fix rename
Eduardo San Martin Morote [Tue, 14 Jun 2022 16:09:41 +0000 (18:09 +0200)]
chore: minor cleanup
Eduardo San Martin Morote [Tue, 14 Jun 2022 13:49:18 +0000 (15:49 +0200)]
refactor(types): prefix matcher types
Eduardo San Martin Morote [Tue, 14 Jun 2022 10:37:20 +0000 (12:37 +0200)]
refactor(types): move tests of types
Eduardo San Martin Morote [Tue, 14 Jun 2022 10:23:48 +0000 (12:23 +0200)]
chore: build scripts