Skip to content

Latest commit

 

History

History
71 lines (40 loc) · 1.69 KB

CHANGELOG.md

File metadata and controls

71 lines (40 loc) · 1.69 KB

Changelog All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[3.0.#] - 2022-02-23

  • Fixed GlobalComponents declaration #70

[3.0.0] - 2022-02-22

🎉 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

[2.3.1] - 2022-02-03

  • fix: support all i18n module declarations (#48)

[2.3.0] - 2022-02-01

🎉 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