Skip to content

Commit d9522a2

Browse files
committed
release: unplugin-vue-router@0.8.4
1 parent f76d1f7 commit d9522a2

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

CHANGELOG.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## [0.8.4](https://github.com/posva/unplugin-vue-router/compare/v0.8.3...v0.8.4) (2024-02-24)
2+
3+
This patch contains the necessary fixes to allow importing the data loaders. However, they cannot be imported from `vue-router/auto` nor from `unplugin-vue-router/runtime`. Instead, they should be imported from `unplugin-vue-router/data-loaders/...`. This is needed as some of the loaders depends on extra packages that not all users have installed. At the moment, there are two data loaders
4+
5+
- `unplugin-vue-router/data-loaders/basic`: https://uvr.esm.is/rfcs/data-loaders/basic.html
6+
- `unplugin-vue-router/data-loaders/pinia-colada`: https://uvr.esm.is/rfcs/data-loaders/colada.html
7+
8+
### Bug Fixes
9+
10+
- allow untyped router with data loaders ([51f7d55](https://github.com/posva/unplugin-vue-router/commit/51f7d557d402ba90037ea454c7c350d2e1cbdbcc))
11+
- **build:** externalize libs ([e55d735](https://github.com/posva/unplugin-vue-router/commit/e55d7357f25bf57ea944b71310381b40bea75c04))
12+
- remove the need to install @pinia/colada ([8d45669](https://github.com/posva/unplugin-vue-router/commit/8d45669c9119fc8a968493a0b26294f662df4ca7))
13+
- **types:** externalize uvr/types ([ee9a2a3](https://github.com/posva/unplugin-vue-router/commit/ee9a2a35c6ea62fae950c6abb3bd3cd85b28edc5)), closes [#322](https://github.com/posva/unplugin-vue-router/issues/322)
14+
115
## [0.8.3](https://github.com/posva/unplugin-vue-router/compare/v0.8.2...v0.8.3) (2024-02-22)
216

317
### Bug Fixes
@@ -97,10 +111,9 @@ For people using the file-based routing, you now need to add `unplugin-vue-route
97111
- To reduce the dependency on file-based router, things have been
98112
refactored and none of the defineLoader functions are automatically
99113
imported anymore. You can add them yourself to the list of auto
100-
imports, or import them from `vue-router/auto`. The good news is you
114+
imports, or import them from `unplugin-vue-router/data-loaders/...`. The good news is you
101115
no longer need to use the plugin in order to benefit from the data
102-
loaders; they can be directly imported from
103-
`unplugin-vue-router/runtime` **even if you don't want file-based routing**.
116+
loaders; they can be imported **even if you don't want file-based routing**.
104117

105118
If you find missing information or improvements, please open a Pull
106119
Request to improve the `CHANGELOG.md`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unplugin-vue-router",
3-
"version": "0.8.3",
3+
"version": "0.8.4",
44
"packageManager": "pnpm@8.15.3",
55
"description": "File based typed routing for Vue Router",
66
"keywords": [

0 commit comments

Comments
 (0)