Releases: victorgarciaesgi/nuxt-typed-router
Releases 路 victorgarciaesgi/nuxt-typed-router
v2.3.0
馃帀 New features
i18n support (#48)
- Autocomplete routes and locales on
useLocalePath
anduseLocaleRoute
. - Zero config!
- Generate correct routes names for prefixed routes
Strict mode support (#64)
- Added
strict
option to prevent passing string paths - Customizable behaviours for
<NuxtLink/>
androuter
Misc
- Small options refacto
- Updated docs
v2.2.1
- Fixed a type issue where types returned by
useRoute(name)
where wrong
v2.2.0
v2.2.0
update.
Features
- Updated to Nuxt
3.1.1
- Plugin generation is now using
addPlugin
and no longer added in your plugins folder
Fixs
- Fixed some types issues
鈿狅笍 Breaking changes
Renamed some exported types to match vue-router
ones
- TypedRouteList -> RoutesNamesList
- TypedNamedRoute -> TypedRouteFromName
- TypedRouteParams -> RoutesParamsRecord
- ResolvedTypedRouteNamedMapper -> RoutesNamedLocationsResolved
Misc
- generators code refactor
- Updated docs for "How to use"
- Added more edge cases tests
v2.1.4
- Fixed a bug where key were missing from
navigateTo
args
v2.1.3
New features
- Support for
navigateTo
- Support for module-extended routes
Fixs
- Fixed a bug with routes added by router config in
nuxt.config.ts
- Fixed a plugin registration bug
Misc
- Added more e2e tests and unit tests
v2.1.2
- Fixed utility types export
- Added new section for utility types in doc
v2.1.1
- Fixed an issue with pnpm install and
prepare
script
Thanks @tobychidi !
v2.1.0
Fast releases I know! But I managed to override useRouter
and useRoute
global typings.
useRoute
anduseRouter
are now typed without importing anything- Fixed a bug where
<nuxt-link/>
types were not working if not importing from@typed-router
- Support for "catchAll" routes like
[...slug].vue
- Support for optional params like
[[bar]].vue
- Updated docs
- Added more robust e2e and unit tests
v2.0.3
v2.0.2
- fixed url resolver and crash on node version > 19 #57
Thanks to @thunfisch987 !