Version 5.0 changes the way we augment Vue types for the global $t
and $i18next
variables. This is a breaking change for some setups.
There are no new features, just this change and updated dependencies.
Migration from v4.x
(Re-phrasing the Vue Router changelog for an analogous change):
This release replaces
declare module '@vue/runtime-core'
withdeclare module 'vue'
like it's supposed to be. If you (or packages you use) are also augmenting@vue/runtime-core
, you will likely have to change it tovue
. It is also recommended to use an up-to-date TypeScript version (>=5.4) and"moduleResolution": "Bundler"
in yourtsconfig.json
.
No other changes/migration necessary.
Migration from v3.x
See the updated documentation for the exact breaking changes and upgrade information.
What's Changed
- Fix typescript module augmentation by @FlorianBruckner in #22
New Contributors
- @FlorianBruckner made their first contribution in #22
Full Changelog: v4.0.0...v5.0.0