Skip to content

Latest commit

 

History

History
428 lines (246 loc) · 23.7 KB

CHANGELOG.md

File metadata and controls

428 lines (246 loc) · 23.7 KB

0.7.0 (2023-09-22)

Bug Fixes

  • allow overriding and extending folder options (1f6e312)
  • correctly ignore folders (cbd14b9)
  • keep parent override in children (f651961), closes #189

Features

BREAKING CHANGES

  • exclude is no longer relative to routesFolder.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)

Bug Fixes

  • expose types for bundler module resolution (#162) (82e2577)

Features

0.6.3 (2023-05-02)

Bug Fixes

  • handle empty regexp in raw routes (9bea452)

0.6.2 (2023-05-01)

Bug Fixes

0.6.1 (2023-05-01)

Bug Fixes

  • types: correct exports in new files (e9056f7)

0.6.0 (2023-05-01)

Bug Fixes

  • allow suffix after param [id]_s (f0fcc07)
  • handle raw segments in EditableTreeNode (5695522)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • add children to EditableTreeNode (2eef836)
  • expose default options (47b4aed)

0.5.4 (2023-03-02)

Features

  • allow exclude per folder (468b251)

0.5.3 (2023-03-02)

  • feat!: rename filePattern to filePatterns and allow arrays (8902778)

BREAKING CHANGES

  • filePattern is now named filePatterns because it allows arrays. This is only a naming change.

0.5.2 (2023-03-02)

Features

  • allow overriding the file pattern (96febf1)

0.5.1 (2023-03-01)

Features

  • allow extending the type of definePage() (4d663b1)
  • export EditableTreeNode (b5745e1)

0.5.0 (2023-02-16)

  • feat!: allow set operations on meta (a84d659)

Features

  • types: improve routeBlockLang (19bd892)

BREAKING CHANGES

  • if you were setting directly route.meta within extendRoute(), you know need to use route.addToMeta() instead to have the same merging behavior. Directly setting route.meta now replaces the meta property completely.

0.4.1 (2023-02-16)

Bug Fixes

  • webpack: handle loadInclude (9a43b63)

0.4.0 (2023-02-16)

Bug Fixes

  • handle insertions with leading slash in extendRoute (d1287b8)

  • feat!: rename EditableTreeNode files to components (5c359c9)

Features

  • add internal name in virtual files as comments (326156d)
  • allow changing the path in extendRoute (a9d0c77)

BREAKING CHANGES

  • the property files in EditableTreeNode (e.g. within extendRoute) is now named components 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.

Bug Fixes

Features

0.3.2 (2023-01-09)

Bug Fixes

0.3.1 (2023-01-08)

Bug Fixes

  • parse non modules with definePage (ce70048), closes #114
  • stricter extension check (f5f508a)
  • work with files named definePage (178107b)

Features

0.3.0 (2023-01-03)

Bug Fixes

  • build: remove DEV (a50b713)
  • read name and path from definePage (dffcc61), closes #74

Features

0.2.3 (2022-10-05)

Bug Fixes

0.2.2 (2022-09-30)

Bug Fixes

  • types: for auto import (49ffe81)
  • types: remove trailing slash in path for nested routes (f0cfb36), closes #70

Features

0.2.1 (2022-08-27)

Bug Fixes

0.2.0 (2022-08-26)

Introducing Experimental Data fetching

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.

Bug Fixes

Features

  • 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)

Features

0.1.1 (2022-08-09)

Bug Fixes

  • types: declaration of auto module (e5ac67c)

0.1.0 (2022-08-09)

Bug Fixes

  • 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)

Code Refactoring

  • rename [@vue-router](https://github.com/vue-router) to vue-router/auto (461530a)

Features

  • 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)

BREAKING CHANGES

  • 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 from src/routes to src/pages. If you didn't change this setting, you will have to either:

    • rename your src/routes folder to src/pages
    • add routesFolder: 'src/routes' to the options of the plugin in your vite, webpack, etc config

0.0.21 (2022-07-12)

Features

0.0.20 (2022-07-07)

Bug Fixes

  • correct arg for useLink (afdf147)

0.0.19 (2022-07-07)

Bug Fixes

0.0.18 (2022-07-07)

Bug Fixes

Features

  • types: expose some useful route location types (86b1d01)
  • types: typed useLink() (55bf04e)

0.0.17 (2022-07-06)

Features

0.0.16 (2022-07-06)

Bug Fixes

0.0.15 (2022-07-05)

Bug Fixes

Features

0.0.14 (2022-07-05)

Features

  • handle updates of routes (1a9a028)

0.0.13 (2022-07-05)

Bug Fixes

  • build: externalize vue compiler (7ef277b)
  • use route block in nested routes (bdf4170), closes #17

0.0.12 (2022-07-04)

Bug Fixes

  • options: make all options optional (9a573dd), closes #13

Features

0.0.11 (2022-07-04)

Adapt peer vue router per dep to 4.1.0.

0.0.10 (2022-07-04)

Features

  • add route json schema (c5480e1)
  • parse route custom block (963d1ca)
  • vite: reload when routes change (0231679)

0.0.9 (2022-07-01)

Bug Fixes

  • keep tree nodes until all children are removed (e254d15)
  • stable order of paths (59d743a)

0.0.8 (2022-06-29)

Bug Fixes

  • correctly extendRoutes (e8d22a2)
  • handle static unnested paths (56b73d7)
  • stable order of paths (59d743a)

0.0.7 (2022-06-28)

Bug Fixes

Features

  • 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)

Features

0.0.4 (2022-06-24)

Bug Fixes

0.0.3 (2022-06-24)

Bug Fixes

0.0.1 (2022-06-24)

Features