Releases: nuxt-modules/i18n
Releases · nuxt-modules/i18n
v10.0.0-beta.2
🚨 Breaking Changes
- Raise node engines to
>=20.11.1
- by @BobbieGoede (debbe) - Drop
bundle.optimizeTranslationDirective
- by @BobbieGoede in #3515 (35c36) - Drop deprecated functions and composables - by @BobbieGoede in #3514 (08975)
- Drop
experimental.generatedLocaleFilePathFormat
- by @BobbieGoede in #3516 (63927) - Remove
restructureDir
migration path - by @BobbieGoede in #3518 (d89eb) - Promote
experimental.hmr
options tohmr
- by @BobbieGoede in #3456 (c46bd) - Enable
switchLocalePathLinkSSR
- by @BobbieGoede in #3521 (4a3e0) - Esm only - by @BobbieGoede in #3517 (05ed3)
- Upgrade to
vue-i18n
v11 - by @BobbieGoede in #3522 (edd83) - Promote
autoImportTranslationFunctions
- by @BobbieGoede in #3523 (10dd7) - Promote
experimental.alternateLinkCanonicalQueries
- by @BobbieGoede in #3524 (c531a) - Deprecate
$localeHead
and rename$getRouteBaseName
- by @BobbieGoede and Bobbie Goede in #3528 (1fc17) - Remove
nuxtI18nOptions
from generated options files - by @BobbieGoede in #3554 (114e1)
🐞 Bug Fixes
- Prevent locale
string
toLocaleObject
normalization in generated options - by @BobbieGoede (09cc1) - Prevent locale
string
toLocaleObject
normalization in generated options - by @BobbieGoede (a729b) - Setup auto-imports outside
modules:done
hook - by @BobbieGoede (a7875) - Setup auto-imports outside
modules:done
hook - by @BobbieGoede in #3520 (f706a) legacy
andcomposition
type narrowing forvue-i18n
- by @BobbieGoede in #3526 (ddd07)- Handle default key in loaded messages - by @BobbieGoede (57189)
- Handle default key in locale messages - by @BobbieGoede in #3534 (10fe7)
- Surpress
autoImport
warning ifautoDeclare
uses default value - by @BobbieGoede (553fd) - Disable
autoDeclare
if auto imports are disabled - by @BobbieGoede (081c1)
View changes on GitHub
v9.5.3
🐞 Bug Fixes
- Handle default key in locale messages - by @BobbieGoede in #3534 (10fe7)
View changes on GitHub
v10.0.0-beta.1
🚨 Breaking Changes
- Raise node engines to
>=20.11.1
- by @BobbieGoede (debbe) - Drop
bundle.optimizeTranslationDirective
- by @BobbieGoede in #3515 (35c36) - Drop deprecated functions and composables - by @BobbieGoede in #3514 (08975)
- Drop
experimental.generatedLocaleFilePathFormat
- by @BobbieGoede in #3516 (63927) - Remove
restructureDir
migration path - by @BobbieGoede in #3518 (d89eb) - Promote
experimental.hmr
options tohmr
- by @BobbieGoede in #3456 (c46bd) - Enable
switchLocalePathLinkSSR
- by @BobbieGoede in #3521 (4a3e0) - Esm only - by @BobbieGoede in #3517 (05ed3)
- Upgrade to
vue-i18n
v11 - by @BobbieGoede in #3522 (edd83) - Promote
autoImportTranslationFunctions
- by @BobbieGoede in #3523 (10dd7) - Promote
experimental.alternateLinkCanonicalQueries
- by @BobbieGoede in #3524 (c531a)
🐞 Bug Fixes
- Prevent locale
string
toLocaleObject
normalization in generated options - by @BobbieGoede (09cc1) - Prevent locale
string
toLocaleObject
normalization in generated options - by @BobbieGoede (a729b) - Setup auto-imports outside
modules:done
hook - by @BobbieGoede (a7875) - Setup auto-imports outside
modules:done
hook - by @BobbieGoede in #3520 (f706a) legacy
andcomposition
type narrowing forvue-i18n
- by @BobbieGoede in #3526 (ddd07)
View changes on GitHub
v9.5.2
🐞 Bug Fixes
- Setup auto-imports outside
modules:done
hook - by @BobbieGoede in #3520 (f706a)
View changes on GitHub
v9.5.1
🐞 Bug Fixes
- Prevent locale
string
toLocaleObject
normalization in generated options - by @BobbieGoede (09cc1)
View changes on GitHub
v9.5.0
🧹 Strip i18n file paths from build
We have added the 'off'
option to experimental.generatedLocaleFilePathFormat
, which removes i18n file paths (e.g. locale files, vue-i18n configs) from the build. Note that enabling this will also mean these paths are no longer accessible in properties such as locales
and localeProperties
. See the options documentation for more details on this feature.
Since we no longer need these paths at runtime this will be the default behavior in v10 (and the option to configure this will be removed entirely).
🚀 Features
- Support
'off'
option forexperimental.generatedLocaleFilePathFormat
- by @BobbieGoede in #3508 (e8e8d) - Add llms.txt routes - by @HugoRCD in #3510 (62627)
🐞 Bug Fixes
- Handle access to undefined esbuild property - by @hansemannn in #3472 (a2b5e)
useCookieLocale
not being set server-side - by @BobbieGoede in #3491 (86a90)- Replace deprecated
tryResolveModule
withresolveModule
- by @BobbieGoede in #3494 (f6f2a) differentDomains
withno_prefix
missing alternate links - by @ap-arto in #3493 (7e16a)- Delay module setup until
modules:done
- by @BobbieGoede in #3501 (60dec)
View changes on GitHub
v9.4.0
🚀 Features
- Accept route name as argument
getRouteBaseName
- by @BobbieGoede in #3446 (3ca5e)
🐞 Bug Fixes
- Resolve
yarn
issues by movingtypescript
todependencies
- by @BobbieGoede in #3447 (2cd02)
View changes on GitHub
v9.3.4
🐞 Bug Fixes
- Transform ts locale files with
esbuild
- by @BobbieGoede in #3428 (b9e00) - Only optimize configured locale files - by @BobbieGoede in #3433 (03554)
- Warning to recommend disabling
bundle.optimizeTranslationDirective
- by @BobbieGoede in #3436 (3f55a)
View changes on GitHub
v9.3.3
🐞 Bug Fixes
- Ensure unique imports in generated options - by @BobbieGoede in #3423 (91ead)
- Respect
detectBrowserLanguage: false
in SSG plugin - by @ap-arto in #3410 (5f56b)
View changes on GitHub
v9.3.2
🐞 Bug Fixes
- Update
@intlify/unplugin-vue-i18n
to^6.0.5
- by @BobbieGoede in #3420 (10443)