Skip to content

Releases: victorgarciaesgi/nuxt-typed-router

v3.0.2

28 Feb 17:05
Compare
Choose a tag to compare

聽聽聽馃悶 Bug Fixes

聽聽聽聽View changes on GitHub

v3.0.1

23 Feb 09:35
Compare
Choose a tag to compare
  • fix: GlobalComponents declaration #71

v3.0.0

22 Feb 17:49
85bd99f
Compare
Choose a tag to compare

馃帀 New features

Path autocomplete and validity type-check (鈿狅笍 Experimental)

Can be disabled with the experimentalPathCheck option.

  • Autocomplete for path programmatic navigation
  • Support NuxtLink, useRouter, navigateTo and useLocalePath
  • Support query params and hashs
  • Throw an error if the path doesn't match any defined routes pattern

This feature is still experimental and has to be well tested on more apps.

Nuxt devtools support 鈿欙笍

  • Display nuxt-typed-router docs from devtools

definePageMeta support

Get autocompletion et type check for redirect, validate and key

Bug fixs 馃悶

  • Fixed tsconfig augmentation when used with other modules

@nuxtjs/i18n

  • Removed routes generated by @nuxtjs/i18n from autocomplete
  • Support prefix_and_default strategy
  • localePath will only validate and autocomplete default routes

Breaking changes 鈿狅笍

  • Reworked routeNames object params to better match pages folder structure

v2.3.5

20 Feb 09:34
8628b90
Compare
Choose a tag to compare
  • fix: nuxt components not being typed #70

v3.0.0-beta.0

11 Feb 11:12
Compare
Choose a tag to compare
v3.0.0-beta.0 Pre-release
Pre-release

馃帀 New features

Path autocomplete and validity type-check (鈿狅笍 Experimental)

Can be disabled with the experimentalPathCheck option.

  • Autocomplete for path programmatic navigation
  • Support NuxtLink, useRouter, navigateTo and useLocalePath
  • Support query params and hashs
  • Throw an error if the path doesn't match any defined routes pattern

This feature is still experimental and has to be well tested on more apps.

Nuxt devtools support 鈿欙笍

  • Display nuxt-typed-router docs from devtools

definePageMeta support

Get autocompletion et type check for redirect, validate and key

Breaking changes 鈿狅笍

  • Removed routes generated by @nuxtjs/i18n from autocomplete
  • Reworked routeNames object params to better match pages folder structure

v2.3.4

10 Feb 18:09
Compare
Choose a tag to compare

v2.3.3

04 Feb 20:25
Compare
Choose a tag to compare
  • Fixed localePath string navigation type bug

v2.3.2

03 Feb 15:41
Compare
Choose a tag to compare
  • fixed localePath return type to match <NuxtLink/> typed props

v2.3.1

03 Feb 10:19
Compare
Choose a tag to compare
  • fix: support all i18n module declarations (#48)

v2.3.0

02 Feb 08:47
cf74035
Compare
Choose a tag to compare

馃帀 New features

i18n support (#48)

  • Autocomplete routes and locales on useLocalePath and useLocaleRoute.
  • 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/> and router

Misc

  • Small options refacto
  • Updated docs