0.7.0 (2023-09-22)
- allow overriding and extending folder options (1f6e312)
- correctly ignore folders (cbd14b9)
- keep parent override in children (f651961), closes #189
- allow path as function (b913f56)
exclude
is no longer relative toroutesFolder.src
but to the cwd. like other paths. Note this is technically a fix that should simplify your configuration.
0.6.4 (2023-05-09)
0.6.3 (2023-05-02)
- handle empty regexp in raw routes (9bea452)
0.6.2 (2023-05-01)
- options: dotNesting (b7abc9b)
0.6.1 (2023-05-01)
- types: correct exports in new files (e9056f7)
0.6.0 (2023-05-01)
- allow inserting raw routes in the editable tree node (c04d068)
- dotNesting option to disable dot special handling in filenames (d803831)
- types: expose RouterLinkProps typed (04031b4)
0.5.5 (2023-04-18)
- no missing imports (65f8c83)
- remove old option (7368185)
- split types from index to avoid types pollution (4026948), closes #136
- types: skip postbuild fix on types (d54a9b7)
0.5.4 (2023-03-02)
- allow exclude per folder (468b251)
0.5.3 (2023-03-02)
- feat!: rename filePattern to filePatterns and allow arrays (8902778)
filePattern
is now namedfilePatterns
because it allows arrays. This is only a naming change.
0.5.2 (2023-03-02)
- allow overriding the file pattern (96febf1)
0.5.1 (2023-03-01)
0.5.0 (2023-02-16)
- feat!: allow set operations on meta (a84d659)
- types: improve routeBlockLang (19bd892)
- if you were setting directly
route.meta
withinextendRoute()
, you know need to useroute.addToMeta()
instead to have the same merging behavior. Directly settingroute.meta
now replaces themeta
property completely.
0.4.1 (2023-02-16)
- webpack: handle loadInclude (9a43b63)
0.4.0 (2023-02-16)
-
handle insertions with leading slash in extendRoute (d1287b8)
-
feat!: rename EditableTreeNode
files
tocomponents
(5c359c9)
- add internal name in virtual files as comments (326156d)
- allow changing the path in extendRoute (a9d0c77)
- the property
files
inEditableTreeNode
(e.g. withinextendRoute
) is now namedcomponents
to match the route record name.
0.3.3 (2023-02-15)
🙌 This version introduces the ability to extend the routes with the extendRoutes
option. Please refer to the relevant issue for use cases and share any problems you might have.
- runtime: merge aliases (73bacd9)
- beforeWriteFiles (cc12c24)
- extendRoute (ff0195f)
- warn: improve invalid lang warn for route block (5c8c7df)
- warn: missing dots in extensions (18f30a1), closes #117
- wip extendroutes (627f417)
0.3.2 (2023-01-09)
0.3.1 (2023-01-08)
- parse non modules with definePage (ce70048), closes #114
- stricter extension check (f5f508a)
- work with files named definePage (178107b)
0.3.0 (2023-01-03)
0.2.3 (2022-10-05)
- merge route record (f1e7c8b)
0.2.2 (2022-09-30)
- types: for auto import (49ffe81)
- types: remove trailing slash in path for nested routes (f0cfb36), closes #70
0.2.1 (2022-08-27)
0.2.0 (2022-08-26)
Refer to https://github.com/posva/unplugin-vue-router/tree/main/src/data-fetching for up to date information on how to use the data fetching.
- add setupNavigationGuard options (0656e35)
- explicitly allow for the data fetching guard (5f672b2)
- importMode option (9aa2e33), closes #47
- one single auto import (c82e964)
- parse definePage (b2470a6)
- support props to route blocks (073c29c), closes #49
0.1.2 (2022-08-10)
- ssr: support SSR (5578f7d)
0.1.1 (2022-08-09)
- types: declaration of auto module (e5ac67c)
0.1.0 (2022-08-09)
- deep merge meta properties (47bce4f)
- expose options subpath (#42) (b44c32e)
- handle nested loaders that were already called (6887fb2)
- reload the page during dev when no cache entry is available (918bfd0)
- support older browsers with object.assign (66c7ae0)
- trigger loaders only once when nested (4a13819)
- rename
[@vue-router](https://github.com/vue-router)
tovue-router/auto
(461530a)
- add basic data loaders (9c19fd2)
- add lazy loaders (815f875)
- add pendingLoad (055bc3c)
- allow enabling experimental data fetching (1b7e6b3)
- change default route component folder to
src/pages
(6d6cb13) - implement nested sequential loaders (6d5201f)
- track hash reads (e5583a4)
-
the module name is now
vue-router/auto
instead of@vue-router
. To upgrade to this version you only need to replace it:-import { ... } from '@vue-router' +import { ... } from 'vue-router/auto' -import { ... } from '@vue-router/routes' +import { ... } from 'vue-router/auto/routes'
This allows stubbing the package in
vue-router
to hint the user towards this plugin. -
the default value of
routesFolder
is changed fromsrc/routes
tosrc/pages
. If you didn't change this setting, you will have to either:- rename your
src/routes
folder tosrc/pages
- add
routesFolder: 'src/routes'
to the options of the plugin in your vite, webpack, etc config
- rename your
0.0.21 (2022-07-12)
0.0.20 (2022-07-07)
- correct arg for useLink (afdf147)
0.0.19 (2022-07-07)
0.0.18 (2022-07-07)
0.0.17 (2022-07-06)
0.0.16 (2022-07-06)
0.0.15 (2022-07-05)
0.0.14 (2022-07-05)
- handle updates of routes (1a9a028)
0.0.13 (2022-07-05)
0.0.12 (2022-07-04)
0.0.11 (2022-07-04)
Adapt peer vue router per dep to 4.1.0
.
0.0.10 (2022-07-04)
- add route json schema (c5480e1)
- parse route custom block (963d1ca)
- vite: reload when routes change (0231679)
0.0.9 (2022-07-01)
0.0.8 (2022-06-29)
- correctly extendRoutes (e8d22a2)
- handle static unnested paths (56b73d7)
- stable order of paths (59d743a)
0.0.7 (2022-06-28)
- stable order of paths (59d743a)
- allow extending routes with extendRoutes (da4db97)
- keep one component if possible (efe20e2)
- named view support (#6) (a46dcd2)
0.0.6 (2022-06-27)
- small fixes
0.0.5 (2022-06-27)
- handle unnested routes (f52304d)
0.0.4 (2022-06-24)
- use virtual modules for @vue-router (74cb353)
0.0.3 (2022-06-24)
- correct module id (eb4ee83)
0.0.1 (2022-06-24)
- setup chokidar watcher (15f217f)