Releases: nuxt-modules/i18n
Releases · nuxt-modules/i18n
v10.0.0-beta.9
🚨 Breaking Changes
- Deprecate function support for
baseUrl
option - by @BobbieGoede in #3656 (a226a)
🐞 Bug Fixes
- Assign correct context property in hook argument - by @BobbieGoede (b0d6f)
- Prevent esbuild warning due to compile time constant - by @BobbieGoede (e1ba6)
- Incorrect
locales
type narrowing - by @BobbieGoede (727d7)
View changes on GitHub
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:localeSwitched
when 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
routeBaseName
withtypedPages
enabled - 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 settingtarget
prop - by @BobbieGoede in #3633 (90c04)switchLocalePath
missingapp.baseURL
when 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
defaultLocale
is unset with a_default
strategy - by @BobbieGoede (cbb6f)
View changes on GitHub
v10.0.0-beta.5
🚨 Breaking Changes
- Correct
finalizePendingLocaleChange
signature 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
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) - 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
key
property in seo functions to match Unhead v2 - by @rx-837 and @BobbieGoede in #3561 (1d3e8)
🚀 Features
- Add
useI18nPreloadKeys
composable - by @BobbieGoede (4bf0f)
🐞 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) - Use
bundle.optimizeTranslationDirective
option 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-parser
manual 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
key
property 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-parser
manual 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
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)