Releases: nuxt-modules/i18n
v8.5.4
This release removes version checks that prevent usage with Nuxt versions higher than 3.x
.
The path resolution for langDir
(relative to srcDir
) and localeDetector
(relative to rootDir
) remain unchanged, to ease migration to v9 we recommend configuring experimental.restructureDir
which will be enabled and set to i18n
by default in the upcoming major release.
🚀 Features
- Support Nuxt 4 - by @BobbieGoede in #3105 (5ba98)
View changes on GitHub
v9.0.0-alpha.2
🚨 Breaking Changes
- Rename public runtime config properties - by @BobbieGoede in #3096 (34b7b)
- Configurable
lang
attribute foruseLocaleHead
- by @BobbieGoede in #3097 (a3fb8) - Nuxt context injected function types - by @BobbieGoede in #3098 (97528)
- Remove deprecated legacy dynamic route params - by @BobbieGoede in #2801 (a00c2)
- Change
useLocaleHead
options shape and defaults - by @BobbieGoede in #3100 (85550) restructureDir
defaults - by @BobbieGoede in #3106 (3e336)
🚀 Features
- V-t directive SSR fully - by @kazupon in #3014 (0ef6d)
- Generate
Locale
type based on configuration - by @BobbieGoede in #3025 (9aa71) - Configurable directory restructure - by @BobbieGoede in #3054 (08638)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (88916)
- Runtime logger formatting and debug verbose option - by @BobbieGoede in #3067 (80d9e)
- Support Nuxt 4 - by @BobbieGoede in #3105 (73f6b)
🐞 Bug Fixes
- Unable to configure server integration using inline options - by @BobbieGoede in #3020 (6c51e)
- Generated module augmentation should use
@intlify/core-base
- by @BobbieGoede in #3034 (e2c58) - Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (be59c) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (6a29a) strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (8536b)- Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (ec74f)
- Set default values for
locales
andrestructureDir
- by @BobbieGoede in #3088 (88a7b) - Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (c720b)
View changes on GitHub
v8.5.3
🐞 Bug Fixes
- Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (a8463)
View changes on GitHub
v8.5.2
🐞 Bug Fixes
- Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (7ccaf)
View changes on GitHub
v8.5.1
🐞 Bug Fixes
- Resolve plugin type import conflicts by updating module builder - by @danielroe in #3071
View changes on GitHub
v8.5.0
🚀 Features
- Add support for multi domain locales - by @DotwoodMedia, @Vincentdevreede and @DarthGigi in #3065 (93d62)
View changes on GitHub
v8.4.0
Configurable directory restructure
You can now enable and configure the directory restructure which will be the default in v9, check out the documentation for more details on the new directory restructure.
Locale iso
property rename
In v9 we are changing the locale iso
property to language
, the old usage will keep on working in v8 but we have added deprecation warnings about this upcoming change, more details on why we're renaming the property can be found here.
🚀 Features
- Configurable directory restructure - by @BobbieGoede in #3054 (c906a)
🐞 Bug Fixes
- Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (df938) strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (53f16)
View changes on GitHub
v8.3.3
🐞 Bug Fixes
- Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (28d22)
View changes on GitHub
v8.3.2
🐞 Bug Fixes
- Update
@nuxt/module-builder
- by @BobbieGoede in #2960 (fe300) - Locale prefixes are not added to route aliases - by @BobbieGoede in #2962 (62236)
- Unable to configure server integration using inline options - by @BobbieGoede in #3020 (856ba)
View changes on GitHub
v9.0.0-alpha.1
🚨 Breaking Changes
🐞 Bug Fixes
- Update
@nuxt/module-builder
- by @BobbieGoede in #2960 (fe300) - Locale prefixes are not added to route aliases - by @BobbieGoede in #2962 (62236)