File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1+ # [ 0.17.0] ( https://github.com/posva/unplugin-vue-router/compare/v0.16.2...v0.17.0 ) (2025-11-14)
2+
3+ ### Code Refactoring
4+
5+ - remove deprecated export vue-router/auto ([ 9c3e4f2] ( https://github.com/posva/unplugin-vue-router/commit/9c3e4f2e51c0ee00b8c5c39464f246000ceba708 ) )
6+
7+ ### BREAKING CHANGES
8+
9+ - This export was creating multiple issues and was not
10+ needed. It was deprecated long time ago and has now been removed. In
11+ most cases you should be able to just import from ` vue-router ` instead,
12+ but other exports must be adapted:
13+
14+ - ` definePage ` shouldn't be imported, it's a macro with no runtime
15+ - ` DataLoaderPlugin ` and ` NavigationResult ` must be imported from
16+ ` unplugin-vue-router/data-loaders `
17+ - ` defineBasicLoader ` must be imported from ` unplugin-vue-router/data-loaders/basic `
18+ - ` defineColadaLoader ` must be imported from ` unplugin-vue-router/data-loaders/pinia-colada `
19+
20+ Here is the old declaration of ` vue-router/auto ` for reference:
21+
22+ ``` ts
23+ declare module ' vue-router/auto' {
24+ // reexport all types that are not augmented by unplugin-vue-router
25+ export * from ' vue-router'
26+
27+ export { definePage } from ' unplugin-vue-router/runtime'
28+ // Experimental Data Fetching
29+ export {
30+ DataLoaderPlugin ,
31+ NavigationResult ,
32+ } from ' unplugin-vue-router/data-loaders'
33+ }
34+ ```
35+
136## [ 0.16.2] ( https://github.com/posva/unplugin-vue-router/compare/v0.16.1...v0.16.2 ) (2025-11-14)
237
338### Bug Fixes
Original file line number Diff line number Diff line change 11{
22 "name" : " unplugin-vue-router" ,
3- "version" : " 0.16.2 " ,
3+ "version" : " 0.17.0 " ,
44 "type" : " module" ,
55 "packageManager" :
" [email protected] " ,
66 "description" : " File based typed routing for Vue Router" ,
You can’t perform that action at this time.
0 commit comments