Releases: nuxt-modules/i18n
Releases · nuxt-modules/i18n
v9.5.5
🐞 Bug Fixes
- Validate user options and warn for undesired default values - by @BobbieGoede in #3654 (2f90d)
View changes on GitHub
v10.0.0-beta.8
🚨 Breaking Changes
- Remove deprecated functions and warn incorrect hook usage - by @BobbieGoede in #3648 (061b1)
- Trigger
i18n:localeSwitchedwhen pending locale switches - by @BobbieGoede in #3649 (02e5f)
🐞 Bug Fixes
- Do not fetch from server route if ssr is disabled - by @BobbieGoede in #3646 (92595)
- types: Narrow return type of
routeBaseNamewithtypedPagesenabled - by @BobbieGoede (56fd4)
View changes on GitHub
v10.0.0-beta.7
🚨 Breaking Changes
- Experimental strict internal i18n head management - by @BobbieGoede in #3638 (4cd36)
🚀 Features
- Support custom routes via
definePageMeta- by @BobbieGoede in #3578 (56813)
View changes on GitHub
v10.0.0-beta.6
🚨 Breaking Changes
- Deprecate options
types,routesNameSeparator,defaultLocaleRouteNameSuffix- by @BobbieGoede in #3637 (34b52)
🐞 Bug Fixes
- Type import path - by @BobbieGoede (c6fc5)
<NuxtLinkLocale>not localizing paths when settingtargetprop - by @BobbieGoede in #3633 (90c04)switchLocalePathmissingapp.baseURLwhen usingdifferentDomains- by @BobbieGoede in #3634 (e2c29)- Enable server route caching outside development - by @BobbieGoede (ee17c)
<NuxtLinkLocale>losing routestate- by @BobbieGoede in #3636 (bd2b3)- Warn when
defaultLocaleis unset with a_defaultstrategy - by @BobbieGoede (cbb6f)
View changes on GitHub
v10.0.0-beta.5
🚨 Breaking Changes
- Correct
finalizePendingLocaleChangesignature to be synchronous - by @BobbieGoede in #3626 (f902e)
🐞 Bug Fixes
- Exclude virtuals from resource plugin - by @BobbieGoede in #3603 (c1124)
- Remove side-effects from
getLocaleCookie- by @BobbieGoede in #3614 (ecfc0) - Prevent mutating runtime config in runtime code - by @BobbieGoede in #3630 (b1a6d)
🏎 Performance
- Always lazy load locale files - by @BobbieGoede in #3592 (2d648)
View changes on GitHub
v10.0.0-beta.4
🚨 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
restructureDirmigration path - by @BobbieGoede in #3518 (d89eb) - Promote
experimental.hmroptions tohmr- by @BobbieGoede in #3456 (c46bd) - Enable
switchLocalePathLinkSSR- by @BobbieGoede in #3521 (4a3e0) - Esm only - by @BobbieGoede in #3517 (05ed3)
- Upgrade to
vue-i18nv11 - by @BobbieGoede in #3522 (edd83) - Promote
autoImportTranslationFunctions- by @BobbieGoede in #3523 (10dd7) - Promote
experimental.alternateLinkCanonicalQueries- by @BobbieGoede in #3524 (c531a) - Deprecate
$localeHeadand rename$getRouteBaseName- by @BobbieGoede and Bobbie Goede in #3528 (1fc17) - Remove
nuxtI18nOptionsfrom generated options files - by @BobbieGoede in #3554 (114e1) - Move generated options to compile time constants - by @BobbieGoede in #3568 (24449)
- Move options to compile-time constants - by @BobbieGoede in #3569 (e3a87)
- Change default value for
keyproperty in seo functions to match Unhead v2 - by @rx-837 and @BobbieGoede in #3561 (1d3e8)
🚀 Features
- Add
useI18nPreloadKeyscomposable - by @BobbieGoede (4bf0f)
🐞 Bug Fixes
- Prevent locale
stringtoLocaleObjectnormalization in generated options - by @BobbieGoede (09cc1) - Prevent locale
stringtoLocaleObjectnormalization in generated options - by @BobbieGoede (a729b) - Setup auto-imports outside
modules:donehook - by @BobbieGoede (a7875) - Setup auto-imports outside
modules:donehook - by @BobbieGoede in #3520 (f706a) legacyandcompositiontype 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
autoImportwarning ifautoDeclareuses default value - by @BobbieGoede (553fd) - Disable
autoDeclareif auto imports are disabled - by @BobbieGoede (081c1) - Use
bundle.optimizeTranslationDirectiveoption from merged config - by @rx-837 in #3556 (2f778) - Improve types for internal virtual files - by @BobbieGoede in #3565 (78f26)
- Rework and extract cache utils - by @BobbieGoede in #3590 (2698e)
🏎 Performance
- Remove
oxc-parsermanual wasm fallback logic - by @BobbieGoede in #3413 (1b786) - Cache static locale messages server-side - by @BobbieGoede in #3579 (089e8)
- Cache dynamic locales server-side - by @BobbieGoede in #3584 (fab7b)
- Strip unused messages from rendered HTML - by @BobbieGoede in #3586 (6b3e9)
- Disable preload and tweak cache and remove redundant calls - by @BobbieGoede in #3588 (3d640)
View changes on GitHub
v9.5.4
🐞 Bug Fixes
View changes on GitHub
v10.0.0-beta.3
🚨 Breaking Changes
- Move generated options to compile time constants - by @BobbieGoede in #3568 (24449)
- Move options to compile-time constants - by @BobbieGoede in #3569 (e3a87)
- Change default value for
keyproperty in seo functions to match Unhead v2 - by @rx-837 and @BobbieGoede in #3561 (1d3e8)
🐞 Bug Fixes
- Improve types for internal virtual files - by @BobbieGoede in #3565 (78f26)
🏎 Performance
- Remove
oxc-parsermanual wasm fallback logic - by @BobbieGoede in #3413 (1b786)
View changes on GitHub
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
restructureDirmigration path - by @BobbieGoede in #3518 (d89eb) - Promote
experimental.hmroptions tohmr- by @BobbieGoede in #3456 (c46bd) - Enable
switchLocalePathLinkSSR- by @BobbieGoede in #3521 (4a3e0) - Esm only - by @BobbieGoede in #3517 (05ed3)
- Upgrade to
vue-i18nv11 - by @BobbieGoede in #3522 (edd83) - Promote
autoImportTranslationFunctions- by @BobbieGoede in #3523 (10dd7) - Promote
experimental.alternateLinkCanonicalQueries- by @BobbieGoede in #3524 (c531a) - Deprecate
$localeHeadand rename$getRouteBaseName- by @BobbieGoede and Bobbie Goede in #3528 (1fc17) - Remove
nuxtI18nOptionsfrom generated options files - by @BobbieGoede in #3554 (114e1)
🐞 Bug Fixes
- Prevent locale
stringtoLocaleObjectnormalization in generated options - by @BobbieGoede (09cc1) - Prevent locale
stringtoLocaleObjectnormalization in generated options - by @BobbieGoede (a729b) - Setup auto-imports outside
modules:donehook - by @BobbieGoede (a7875) - Setup auto-imports outside
modules:donehook - by @BobbieGoede in #3520 (f706a) legacyandcompositiontype 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
autoImportwarning ifautoDeclareuses default value - by @BobbieGoede (553fd) - Disable
autoDeclareif 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)