Releases
v8.0.0-beta.7 12/8/2022
🚀 Features
- docs: Upgrade to latest Docus - by @Tahul in https://github.com/nuxt-modules/i18n/issues/1702 (dfceb)
🐞 Bug Fixes
- Missing dependency modules such as
vue-i18n-routing
and@intlify/vue-*
- by @kazupon in https://github.com/nuxt-modules/i18n/issues/1692 (563d6) - Lazy loading for fallback locale - by @kazupon in https://github.com/nuxt-modules/i18n/issues/1694 (d43ee)
- Optimize tree-shaking for vue-i18n related modules - by @kazupon in https://github.com/nuxt-modules/i18n/issues/1699 (8d278)
View changes on GitHub
v8.0.0-beta.6 11/29/2022
🐞 Bug Fixes
- Cannot work locale changing, when we move with
<NuxtLink>
onno_prefix
- by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1686 (159c4)
View changes on GitHub
v8.0.0-beta.5 11/28/2022
🚨 Breaking Changes
- Custom routes optimized for Nuxt 3 file based routing - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1673 (a7fc4)
🐞 Bug Fixes
- Use nuxt3 rc12 on nuxtjs/i18n package with resolution field - by @kazupon (52b36)
- Enable includeUprefixedFallback on nitro:init hook - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1642 (f7f71)
- Upgrade vue-i18n-routing for peer deps issue - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1646 (4ba61)
- Resolve deps modules - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1653 (b832f)
- V8 docs with docus official release version - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1657 (3a466)
- Cannot export some perperties and functions via useI18n as local scope - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1663 (378e2)
- AlwaysRedirect in detectBrowserLanguage - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1668 (b0659)
- API type completion - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1682 (bdf0d)
- gen: Consider named functions - by @ineshbose in https://github.com/nuxt-community/i18n-module/issues/1616 and https://github.com/nuxt-community/i18n-module/issues/1617 (e928b)
View changes on GitHub
v8.0.0-beta.4 11/12/2022
🚀 Features
- Merge messages if any - by @yassilah in https://github.com/nuxt-community/i18n-module/issues/1615
🐞 Bug Fixes
- Diffrent domain loop redirection - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1606
- Locale resources not loaded on windows - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1607
- Non i18n custom block transforming - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1608
- Suppress warning on 'prefix' strategy - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1612
- Support i18n composable functions callable on definePageMeta functions - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1629
- Extract defineI18nRoute options fully - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1636
- Locale resources esm loading with import assertions - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1637
- Install failing with @vue/composition-api peer deps - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1639
View changes on GitHub
v8.0.0-beta.3 10/31/2022
🚀 Features
- Vue-i18n option loading with function - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1600
🐞 Bug Fixes
- Avoid route reactivity value missing - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1586
- Prefix strategy routing - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1592
- Cannot work i18n custom block on 'lazy: false' - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1595
- Cannot work browser locale on no_prefix strategy - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1597
- Default composition mode - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1599
View changes on GitHub
v8.0.0-beta.2 10/26/2022
🐞 Bug Fixes
- Wrong locales file extension - by @luthfi-hh in https://github.com/nuxt-community/i18n-module/issues/1578
- Resolve type definition missing - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1583
- Peer dependencies conflict on pnpm - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1584
View changes on GitHub
v8.0.0-beta.1 10/20/2022
🚀 Features
- Support nuxt v3 rc.11 - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1551
- Support
rootRedirect
option - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1560 - Support dynamic route params localization - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1562
- Support page transition locale switching fully - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1566
- Support per-component translations - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1567
- Support nuxt3 rc.12 - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1570
🐞 Bug Fixes
- Add
defineNuxtRouteMiddleware
wrapper - by @danielroe in https://github.com/nuxt-community/i18n-module/issues/1558 - Cannot generate on differentDomains - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1559
- Type errors - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1571
- Disable node v19 - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1573
- Wrong packaging - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1574
- Wrong resolving and exports - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1575
View changes on GitHub
v8.0.0-alpha.3 10/10/2022
🚀 Features
- Support differentDomains - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1540
- Support
defaultDirection
option - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1541 - Custome route path for component with
defineI18nRoute
- by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1544 - Support ignoring localized routes - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1546
- Support extending messages hook - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1550
View changes on GitHub
v8.0.0-alpha.2 9/28/2022
🚀 Features
- Support
identifierAttribute
option foruseLocaleHead
- by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1526 - Support
strategy
property API - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1533 - Support detect browser language fully - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1534
🐞 Bug Fixes
- Remove wrong release section - by @kazupon (6ae1c)
- Upgrade vue-i18n-routing v0.1 - by @kazupon (d1ee9)
- Improve error handling for vue-i18n v9 invalid message syntax - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1522
- Avoid deprecated use of
params
on vue-router - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1523 - Duplicate onLanguageSwitched calls - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1528
- Custom nested route path for configuration - by @kazupon in https://github.com/nuxt-community/i18n-module/issues/1531
- module: Transpile edge aswell - by @dargmuesli in https://github.com/nuxt-community/i18n-module/issues/1516
View changes on GitHub
v8.0.0-alpha.1 9/6/2022
8.0.0-alpha.1 (2022-09-03)
This release is for Nuxt3.
This version is sitll alpha, the API might subject to breaking changes. We will make every effort to have the same I/F as v7.x, but Nuxt 3 is a major release, it might not be the same I/F.
About details, please check the v8 docs.
v8 alpha or later does not support Nuxt Bridge.
We will support Nuxt Bridge for v7.4 or v7.x later version. please see the Github Discussions for a detailed discussion of Nuxt Bridge supporting.
Thank you for your understanding 💚
v7.3.0 8/24/2022
v7.2.1 4/1/2022
Bug Fixes
- don't detect locale from route when using no_prefix (#1421) (609782f)
- docs: add info on using dynamic translations with _.vue (b6039d2), closes #1400
- docs: correct links to [Custom paths] and [Ignore routes] (#1392) (091944c)
- parse-pages: add jsx plugin for .vue files using jsx syntax (#1356) (8cdb999)
v7.2.0 11/4/2021
v7.1.0 10/19/2021
v7.0.2 8/12/2021
v7.0.1 8/5/2021
v7.0.0 8/3/2021
This is a major version release that changes some defaults, deprecates some options and changes the name of the published package. Refer to the Migration Guide from v6 to v7 for detailed migration steps.
⚠ BREAKING CHANGES
- rename package to
@nuxtjs/i18n
- set
redirectOn
toroot
by default (#1244) - remove vuex
syncLocale
& vuexsyncMessages
(#1240) - disable
addDirAttribute
by default (#1239) - replace
onlyOnNoPrefix
andonlyOnRoot
withredirectOn
(#1210) - remove deprecated
seo
option (#1232) - remove deprecated
$nuxtI18nSeo
(#1207) - types: remove deprecated
NuxtVueI18n
(#1206) - remove deprecated
beforeLanguageSwitch
(#1200)
Code Refactoring
- disable
addDirAttribute
by default (#1239) (eac6130) - remove deprecated
$nuxtI18nSeo
(#1207) (d8134a3) - remove deprecated
beforeLanguageSwitch
(#1200) (d591662) - remove deprecated
seo
option (#1232) (bedf2b8) - remove vuex
syncLocale
& vuexsyncMessages
(#1240) (399f1a3) - rename package to
@nuxtjs/i18n
(b3ef21c) - replace
onlyOnNoPrefix
andonlyOnRoot
withredirectOn
(#1210) (2eb955a) - set
redirectOn
to root by default (#1244) (956df98) - types: remove deprecated
NuxtVueI18n
(#1206) (e96688c)