This changelog is generated by GitHub Releases
- Upgrade vue-i18n v10 - by @kazupon in #3001 (c3b1f)
- 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)- Move to ESM only - by @userquin in #3118 (eb31e)
- Remove deprecated locale
iso
property - by @BobbieGoede in #3146 (039f2)
- 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)
- Configurable directory restructure - by @BobbieGoede in #3054 (c906a)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (88916)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (93d62)
- Runtime logger formatting and debug verbose option - by @BobbieGoede in #3067 (80d9e)
- Support Nuxt 4 - by @BobbieGoede in #3105 (73f6b)
- Support Nuxt 4 - by @BobbieGoede in #3105 (5ba98)
- Experimental typed routes - by @BobbieGoede in #3142 (c103d)
- Experimental
vue-i18n
and messages type generation - by @BobbieGoede in #3151 (4f734)
- Unpin and update dependencies - by @BobbieGoede in #3015 (3c327)
- 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) - Unable to configure server integration using inline options - by @BobbieGoede in #3020 (856ba)
- Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (be59c) - Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (28d22) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (6a29a) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (df938) strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (8536b)strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (53f16)- Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (ec74f)
- Set default values for
locales
andrestructureDir
- by @BobbieGoede in #3088 (88a7b) - Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (7ccaf)
- Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (c720b) - Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (a8463) - Fallback generated locale type to
string
- by @BobbieGoede in #3107 (b2d49) - Use generated tsconfig and virtual file augmentations - by @BobbieGoede in #3112 (62963)
- Remove
jiti
version override - by @BobbieGoede in #3115 (2678e) - Don't use nuxt aliases - by @userquin in #3120 (98897)
- Move shared types to runtime - by @userquin in #3121 (00638)
- Custom routes not analyzed in layer with custom
srcDir
- by @BobbieGoede in #3133 (b9e52) - Custom routes not analyzed in layer with custom
srcDir
- by @BobbieGoede in #3133 (10c02) - Update intlify dependencies - by @BobbieGoede in #3137 (3bcda)
- Use
next
tag for v9 edge release - by @BobbieGoede in #3138 (f61b5) - Warn when using SEO features without
baseUrl
- by @BobbieGoede in #3145 (35b45) vueI18n
resolution not usingrestructureDir
defaults - by @BobbieGoede in #3159 (a0164)- Update
@intlify/h3
dependency - by @BobbieGoede in #3165 (893f9) - Use experimental
pages:resolved
hook if enabled - by @BobbieGoede in #3196 (11b3e) - Use NuxtLink config in components - by @yeganemehr in #3183 (507a0)
- Set publish tag to latest - by @BobbieGoede in #3198 (a9fb9)
This changelog is generated by GitHub Releases
vueI18n
resolution not usingrestructureDir
defaults - by @BobbieGoede in #3159 (a0164)- Update
@intlify/h3
dependency - by @BobbieGoede in #3165 (893f9)
This changelog is generated by GitHub Releases
- Upgrade vue-i18n v10 - by @kazupon in #3001 (c3b1f)
- 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)- Move to ESM only - by @userquin in #3118 (eb31e)
- Remove deprecated locale
iso
property - by @BobbieGoede in #3146 (039f2)
- 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)
- Configurable directory restructure - by @BobbieGoede in #3054 (c906a)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (88916)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (93d62)
- Runtime logger formatting and debug verbose option - by @BobbieGoede in #3067 (80d9e)
- Support Nuxt 4 - by @BobbieGoede in #3105 (73f6b)
- Support Nuxt 4 - by @BobbieGoede in #3105 (5ba98)
- Experimental typed routes - by @BobbieGoede in #3142 (c103d)
- Unpin and update dependencies - by @BobbieGoede in #3015 (3c327)
- 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) - Unable to configure server integration using inline options - by @BobbieGoede in #3020 (856ba)
- Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (be59c) - Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (28d22) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (6a29a) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (df938) strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (8536b)strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (53f16)- Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (ec74f)
- Set default values for
locales
andrestructureDir
- by @BobbieGoede in #3088 (88a7b) - Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (7ccaf)
- Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (c720b) - Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (a8463) - Fallback generated locale type to
string
- by @BobbieGoede in #3107 (b2d49) - Use generated tsconfig and virtual file augmentations - by @BobbieGoede in #3112 (62963)
- Remove
jiti
version override - by @BobbieGoede in #3115 (2678e) - Don't use nuxt aliases - by @userquin in #3120 (98897)
- Move shared types to runtime - by @userquin in #3121 (00638)
- Custom routes not analyzed in layer with custom
srcDir
- by @BobbieGoede in #3133 (b9e52) - Use
next
tag for v9 edge release - by @BobbieGoede in #3138 (f61b5) - Warn when using SEO features without
baseUrl
- by @BobbieGoede in #3145 (35b45)
This changelog is generated by GitHub Releases
- Upgrade vue-i18n v10 - by @kazupon in #3001 (c3b1f)
- 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)
- 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)
- Configurable directory restructure - by @BobbieGoede in #3054 (c906a)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (88916)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (93d62)
- Runtime logger formatting and debug verbose option - by @BobbieGoede in #3067 (80d9e)
- Support Nuxt 4 - by @BobbieGoede in #3105 (73f6b)
- Support Nuxt 4 - by @BobbieGoede in #3105 (5ba98)
- Unpin and update dependencies - by @BobbieGoede in #3015 (3c327)
- 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) - Unable to configure server integration using inline options - by @BobbieGoede in #3020 (856ba)
- Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (be59c) - Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (28d22) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (6a29a) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (df938) strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (8536b)strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (53f16)- Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (ec74f)
- Set default values for
locales
andrestructureDir
- by @BobbieGoede in #3088 (88a7b) - Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (7ccaf)
- Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (c720b) - Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (a8463) - Fallback generated locale type to
string
- by @BobbieGoede in #3107 (b2d49) - Use generated tsconfig and virtual file augmentations - by @BobbieGoede in #3112 (62963)
- Remove
jiti
version override - by @BobbieGoede in #3115 (2678e)
This changelog is generated by GitHub Releases
- Upgrade vue-i18n v10 - by @kazupon in #3001 (c3b1f)
- 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)
- 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)
- Configurable directory restructure - by @BobbieGoede in #3054 (c906a)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (88916)
- Add support for multi domain locales - by @DotwoodMedia, Vincent de Vreede and DarthGigi in #3065 (93d62)
- Runtime logger formatting and debug verbose option - by @BobbieGoede in #3067 (80d9e)
- Support Nuxt 4 - by @BobbieGoede in #3105 (73f6b)
- Unpin and update dependencies - by @BobbieGoede in #3015 (3c327)
- 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) - Unable to configure server integration using inline options - by @BobbieGoede in #3020 (856ba)
- Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (be59c) - Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (28d22) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (6a29a) - Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (df938) strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (8536b)strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (53f16)- Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (ec74f)
- Set default values for
locales
andrestructureDir
- by @BobbieGoede in #3088 (88a7b) - Cookie being reset on reload in ssg build - by @BobbieGoede in #3087 (7ccaf)
- Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (c720b) - Empty
i18n
options not loadingvue-i18n
config file - by @BobbieGoede in #3093 (a8463)
This changelog is generated by GitHub Releases
- Update
@nuxt/module-builder
- by @BobbieGoede in #2960 (fe300) - Locale prefixes are not added to route aliases - by @BobbieGoede in #2962 (62236)
This changelog is generated by GitHub Releases
- Ignore root when prerendering using
strategy: 'prefix'
- by @BobbieGoede in #2894 (62dff) - Locale head reactivity on locale change for
strategy: 'no_prefix'
- by @BobbieGoede in #2897 (89615) - docs: Add missing comma - by @lsvs in #2919 (4693e)
- head: Apply baseURL to head composable - by @warflash and @BobbieGoede in #2912 (6dcbf)
- types:
$getRouteBaseName
parameter type - by @BobbieGoede in #2933 (05ed0)
This changelog is generated by GitHub Releases
- Experimental auto declare/import translation functions - by @BobbieGoede and kazuya kawaguchi in #2858 (a5869)
- Support multiple languages on one or more domains while having different domains - by @bjerggaard in #2705 (b7a6c)
- Overwrite or unset unknown cookie locale - by @BobbieGoede in #2841 (9c82d)
- Common composable options not being passed to
getRouteBaseName
- by @BobbieGoede in #2865 (946ca) - Sync cookie when setting locale - by @BobbieGoede in #2877 (1ce4a)
- Options passed with
installModule
are overwritten - by @BobbieGoede in #2882 (860dc) - Opt in to
import.meta.*
properties - by @danielroe in #2884 (aff7f) defineI18nRoute
macro transformed inside<template>
- by @BobbieGoede in #2887 (33746)
This changelog is generated by GitHub Releases
- New docs - by @MuhammadM1998 and Sébastien Chopin in #2740 (71e51)
- Add
loadLocaleMessages
to manually load locale messages - by @BobbieGoede in #2799 (bd8a2) - Runtime config support for
detectBrowserLanguage
- by @BobbieGoede in #2824 (b6eda) - Experimental feature
switchLocalePathLinkSSR
with<SwitchLocalePathLink>
component - by @BobbieGoede in #2838 (df92c)
statusCode
inrootRedirect
not working with strategy 'prefix' - by @BobbieGoede in #2785 (933a0)- Support variable default export for defineI18nConfig - by @BobbieGoede in #2792 (cf8cd)
- Use relative paths when generating types - by @aisteneciunaitevalantic in #2811 (c4384)
- Change deprecation warning version to v9 - by @BobbieGoede in #2832 (5ce79)
This changelog is generated by GitHub Releases
setLocale
throwing error when used in plugin - by @BobbieGoede in #2777 (9596b)setLocale
throws error updating locale cookie from plugin - by @BobbieGoede in #2783 (61d54)
This changelog is generated by GitHub Releases
This changelog is generated by GitHub Releases
NuxtLinkLocale
ignoringhref
prop - by @BobbieGoede in #2751 (5db73)onUnmounted
warnings triggered by composable assignment - by @BobbieGoede in #2750 (2145c)
This changelog is generated by GitHub Releases
- Update
vue-i18n
and@intlify/shared
- by @BobbieGoede in #2658 (ebfba) - Typo in link of "Edit this page on GitHub" - by @PabloLION in #2699 (89e3d)
- Typo in dynamic params usage - by @scherii in #2648 (43658)
- Route param parsing - by @BobbieGoede in #2711 (ba90b)
- Common composable option passing - by @BobbieGoede in #2737 (a94d6)
- Rollup comment annotation warning - by @BobbieGoede in #2723 (545ad)
- Custom child route localization - by @BobbieGoede in #2743 (1cb9e)
We are thrilled to announce the release of Nuxt I18n v8.0! 🎉
We had commited with 60 over contributors between Nov 28 2021 and Dec 25 2023. Thanks for your contributing ❤️
See more view changes on GitHub
This changelog is generated by GitHub Releases
This changelog is generated by GitHub Releases
- Cannot translation yaml / json5 resources on server-side - by @kazupon and @BobbieGoede in #2613 (4bf4f)
- Memory leak - by @BobbieGoede in #2616 (64fa2)
- Layer inline module options not used in generation - by @BobbieGoede in #2618 (2a7ee)
This changelog is generated by GitHub Releases
This changelog is generated by GitHub Releases
This changelog is generated by GitHub Releases
- Could not resolve module - by @alexfriesen in #2587 (bcd61)
- Exclude unprefixed routes for strategy
prefix
- by @BobbieGoede in #2538 (6ad76) - Incompatible
@intlify/vue-router-bridge
andvue-i18n-routing
- by @BobbieGoede in #2593 (0d1c1) - wording: Fix translation "je" to "moi" - by @antharuu in #2584 (0bc7e)
This changelog is generated by GitHub Releases
- Add property
bundle.onlyLocales
- by @imslepov in #2478 (1fc1f) - Support
experimental.typedPages
- by @BobbieGoede in #2522 (c5b00) - Remove
jsTsFormatResource
experimental - by @GaborTorma in #2531 (727db)
- Not work detectBrowserLanguage on client-side correctly - by @kazupon in #2475 (f3515)
- Prevent strategy
no_prefix
redirect detection locale change attempt - by @BobbieGoede in #2505 (b4a56) - Locale option generation breaking seo - by @BobbieGoede in #2509 (7a79a)
- Do not pass locale props to NuxtLink - by @dadajam4 in #2499 (d485f)
- Change route on
setLocale
- by @BobbieGoede in #2511 (7454a) - Resolve
is-https
using@nuxt/kit
- by @BobbieGoede in #2512 (d5d55) - Cannot resolve
localePath
correctly - by @kazupon and @BobbieGoede in #2534 (4a511) - Enable
verbatimModuleSyntax
and use explicit type imports - by @BobbieGoede (b889e) - Import nuxt composables from #imports - by @danielroe in #2542 (69481)
- Module type generation - by @BobbieGoede (7f8c2)
- Nuxt instance outside of plugin - by @BobbieGoede (0476a)
- VueI18n configs webpack magic comments - by @BobbieGoede (d36bb)
- Inline vue i18n option resolve - by @BobbieGoede (3c75c)
- Parametrized message merge not working - by @BobbieGoede (dd86b)
- Custom routes not working for nested pages from layers - by @BobbieGoede in #2555 (ee5fc)
- Unpin and update
vue-i18n
- by @BobbieGoede in #2573 (ca4d7) - alias: Resolve module using nuxt kit - by @dargmuesli in #2504 (2ea8c)
This changelog is generated by GitHub Releases
- Layer vue i18n config merging - by @BobbieGoede in #2358 (c4115)
- Locale message file cache configuration - by @BobbieGoede in #2357 (2eda7)
- Set locale domains via runtimeConfig - by @cjpearson in #2443 and #2446 (2fdcb)
- Inline options edge channel - by @BobbieGoede in #2361 (bdc29)
- Tweak timing for layer spec - by @kazupon (250dc)
- Layer VueI18n configuration should not deep copy primitives - by @BobbieGoede in #2376 (11d3c)
- Cannot resolve message for jit compilation - by @kazupon in #2387 (9a24c)
- Switch locale path query parameters - by @BobbieGoede in #2397 (595f9)
- Erratic redirection on different domains on server mode - by @luis11011 in #2404 (72328)
- Disable typescript check for generated
i18n.options.mjs
- by @BobbieGoede in #2402 (fbea0) - Transform resources failing when
autoImport
is disabled - by @BobbieGoede in #2426 (568c2) - Not loading
vueI18n
config from a nested path - by @BobbieGoede in #2460 (461ef) - Warn only when vueI18n property is set but not found - by @BobbieGoede in #2468 (31f06)
This changelog is generated by GitHub Releases
- Pickup from unplugin-vue-i18n plugin options to nuxt i18n options - by @kazupon in #2323 (fdf54)
- Support bundle size tunning with
dropMessageCompiler
option - by @kazupon in #2352 (417af) - Disable caching for dynamic locale messages - by @BobbieGoede in #2355 (3a621)
- Drop
vueI18n
option warning - by @kazupon in #2324 (d2223) - Redirect status code " - by @wxh06 in #1861 and #2337 (c276e)
- Regression for API extending - by @kazupon in #2340 (6c2a4)
- Loop redirection on 'ssr: false' and 'no_prefix' strategy - by @kazupon in #2341 (f8692)
- Normalise
sourcemap
option to boolean - by @danielroe in #2344 (cd9c3) - Lazy load locales - by @BobbieGoede in #2294 (3a522)
- I18n layer vue i18n resolution - by @BobbieGoede in #2347 (0ce01)
This changelog is generated by GitHub Releases
- Project relative layer locale resolution - by @BobbieGoede in #2290 (e33f1)
- Allow to set the plugin as parallel - by @huang-julien and @kazupon in #2297 (93e89)
- Inline options i18n module locale resolution - by @BobbieGoede in #2296 (d0e11)
- Cannot redirect when call
setLocale
- by @kazupon in #2307 (5fc06) - Query parameters passing when localePath - by @kazupon in #2310 (67ff1)
- Loop redirection on differentDomains - by @kazupon in #2318 (81f5d)
- Local scope on legacy API mode - by @kazupon in #2319 (10ec6)
- Add 'i18n.bundle.compositionOnly' and 'i18n.types' checking - by @kazupon in #2320 (28aef)
This changelog is generated by GitHub Releases
- Not work to wait for page transition - by @kazupon in #2285 (03b02)
- Messages provided by layer vuei18n config files not merging - by @BobbieGoede in #2286 (f5443)
- module: Correct runtime nuxt hook module path - by @dargmuesli in #2282 (c1b00)
This changelog is generated by GitHub Releases
- Add NuxtLinkLocale component - by @BobbieGoede in #2229 (9dfb0)
- Support JIT compilation opt-outing - by @kazupon in #2250 (0411b)
- Integrate vue-i18n jit compilation - by @kazupon in #2199 (d20c6)
- Upgrade bundle-utils and unplugin-vue-i18n for fully esm using - by @kazupon in #2214 (8b873)
- Missing hash query param in load virtual conf - by @userquin in #2212 (6a110)
- Lazy load i18n files " - by @kazupon in #2193 and #2219 (8d65a)
- Make the message compiler work on the server side - by @kazupon in #2223 (d05ca)
- Routing on prefix_and_default strategy - by @kazupon in #2235 (2e108)
- Deps resolving for alias - by @kazupon in #2239 (eb55b)
- Cannot navigate on toppage - by @kazupon in #2240 (53161)
prefix_and_default
strategy routing - by @kazupon in #2249 (c6fff)- Query parameters removed when using useLocalePath - by @kazupon in #2251 (f5e7a)
detectBrowserLanguage.redirectOn
option - by @kazupon in #2252 (a503e)- Does not redirect when the site is reload again - by @kazupon in #2263 (55f2d)
- Resolve i18n.config paths in nuxt layers with unplugin simplefication - by @kazupon in #2265 (cfc0c)
detectBrowserLanguage
option - by @kazupon in #2276 (26f78)
This changelog is generated by GitHub Releases
- Put deprecation warning if hook in use - by @ineshbose in #2093 (a3146)
- Not work SPA (
ssr: false
) mode - by @kazupon in #2099 (3c5ed) - Avoid transform to
globalThis
with bundler - by @kazupon in #2120 (c8406) - Resolve the message in components which was rendered with slots - by @kazupon in #2130 (9f9fd)
- Tweak a bit docs - by @kazupon (18bba)
- Add defaultLocale property - by @kazupon in #2144 (5ed73)
- Corecctly transform the resources that including array messages, as array - by @kazupon in #2147 (88c96)
- Resolve i18n configuration for array module options - by @kazupon in #2148 (1b74b)
- Check if route is defined by i18n before redirect " - by @kazupon in #1902 and #2153 (9b541)
- Fix detect browser languages - by @kazupon in #2164 (7bc33)
- Order of locale merging when using lazy:false - by @mothership-nik-wolf (0beda)
- Revert playground configuration - by @BobbieGoede (b51cc)
- RegisterModule hook not working for js/ts format resources - by @BobbieGoede in #2188 (f80c3)
- Lazy load i18n files - by @userquin in #2193 (41c91)
- Lint warning - by @kazupon (20403)
- Integrate vue-i18n jit compilation - by @kazupon (493ea)
- Basic implementation - by @kazupon (ed975)
- Sourcemap warnings - by @kazupon (06e6d)
- Wrong tests - by @kazupon (96be8)
- alias: Do not use runtime version during nuxt prepare - by @yassilah in #2180 (7c206)
This changelog is generated by GitHub Releases
- Typo - by @kazupon (e0d61)
- Type error - by @kazupon (e3e44)
- Generated options property typo - by @BobbieGoede in #1997 (a8d3e)
- Not enable precompile options - by @kazupon in #2002 (b896e)
- Format is not defined - by @BobbieGoede in #2003 (c4e32)
- Resolve incomplete vue-i18n configuration and js/ts extensions resources - by @kazupon in #2025 (a069f)
- 403 load error and sync loading - by @kazupon in #2048 (d1499)
This changelog is generated by GitHub Releases
- Functions in the config to be used through hooks - by @ineshbose in #1919 (bd116)
- Prepare for deprecation of
i18n:extend-messages
hook - by @kazupon in #1969 (2c394) vueI18n
options from config path - by @kazupon and Inesh Bose in #1973 (f7925)
- Set
baseUrl
viaruntimeConfig
- by @BobbieGoede in #1920 (caa69) - Support js and ts extension resource formats - by @kazupon, @pierresaid and @ineshbose in #1938 (c0b70)
- Support layer locales and pages - by @BobbieGoede in #1925 (f3667)
- Add basic module locale merging - by @BobbieGoede in #1955 (d898a)
- Genearte og:url - by @kazupon in #1986 (3783c)
- Typo in JSDocs - by @hoersamu in #1887 (8ff1a)
- AlwaysRedirect does not work with redirectOn 'all' and 'no prefix' - by @borghol and khaled.borghol in #1884 (afd9a)
- Check if route is defined by i18n before redirect - by @borghol and khaled.borghol in #1902 (18209)
- Detect langDir absolute path and refer to docs - by @BobbieGoede in #1921 (2960b)
- DefineI18nRoute not working outside setup sugar syntax pages - by @BobbieGoede in #1929 (da553)
- UseCookieLocale parameter defaults - by @BobbieGoede in #1932 (c59a9)
- Make the useCookieLocale
ref
import explicit - by @issenn in #1951 (47aea) - Locales not being included when srcDir has been changed - by @BobbieGoede in #1964 (7a0a5)
- Fix toggle locale warning - by @zenonux in #1980 (00810)
- docs: 4.API typo - by @yunyuyuan (8cb33)
This changelog is generated by GitHub Releases
- NavigateTo handling - by @kazupon in #1842 (c439a)
- E2e errors on nuxt v3.1 - by @kazupon in #1841 (2e41d)
- Update docs - by @kazupon in #1835 (69505)
- Revert pnpm workspace - by @kazupon (891e6)
- Cannot resolve langDir path for locales file path - by @kazupon in #1846 (1266c)
- Loop redirection - by @kazupon in #1854 (225e0)
- Redirection loop on trailling slash - by @kazupon in #1858 (9b0eb)
- Redirect status code - by @kazupon in #1861 (23fe2)
- Cannot use some APIs on local scope - by @kazupon in #1871 (c12f6)
- Navigation breaks - by @kazupon in #1873 (50866)
This changelog is generated by GitHub Releases
- Changelog - by @kazupon (e93cc)
- Merge resources correctly on multiple lazy loading - by @kazupon in #1809 (5bd81)
- Regression lazy loading for file option - by @kazupon in #1813 (041c1)
- Compare also decoded Url with a route - by @szwenni and Sven Kröger in #1816 (920a4)
- Correctly static site generation - by @kazupon in #1824 (f8657)
This changelog is generated by GitHub Releases
- Injection fields completion for nuxt app instance and page meta - by kazuya kawaguchi in #1711 (8e682)
- Cannot work completion for Composer interface - by kazuya kawaguchi in #1707 (1876c)
- Not resolve deps on monorepo - by kazuya kawaguchi in #1712 (ef240)
- Ensure same symbol on vue-i18n - by kazuya kawaguchi in #1714 (395e4)
- Format - by kazuya kawaguchi (02ec6)
- Merge lazy loading resources to initial loading resources - by kazuya kawaguchi in #1723 (26f66)
- Not reoslve vue-i18n module - by kazuya kawaguchi in #1726 (226e2)
- Hydration miss match for prerender - by kazuya kawaguchi in #1733 (caaea)
- Resolve extending messages correctly - by kazuya kawaguchi in #1765 (46bd9)
- Resolve vue-i18n related modules on nuxt layers - by kazuya kawaguchi in #1768 (e93ce)
- Not work differentDomains - by kazuya kawaguchi in #1770 (cc6cc)
- Resolve ComponentCustomProperties type errors - by kazuya kawaguchi in #1791 (81e29)
This changelog is generated by GitHub Releases
- Missing dependency modules such as
vue-i18n-routing
and@intlify/vue-*
- by @kazupon in #1692 (563d6) - Lazy loading for fallback locale - by @kazupon in #1694 (d43ee)
- Optimize tree-shaking for vue-i18n related modules - by @kazupon in #1699 (8d278)
This changelog is generated by GitHub Releases
- Cannot work locale changing, when we move with
<NuxtLink>
onno_prefix
- by @kazupon in #1686 (159c4)
This changelog is generated by GitHub Releases
- Use nuxt3 rc12 on nuxtjs/i18n package with resolution field - by @kazupon (52b36)
- Enable includeUprefixedFallback on nitro:init hook - by @kazupon in #1642 (f7f71)
- Upgrade vue-i18n-routing for peer deps issue - by @kazupon in #1646 (4ba61)
- Resolve deps modules - by @kazupon in #1653 (b832f)
- V8 docs with docus official release version - by @kazupon in #1657 (3a466)
- Cannot export some perperties and functions via useI18n as local scope - by @kazupon in #1663 (378e2)
- AlwaysRedirect in detectBrowserLanguage - by @kazupon in #1668 (b0659)
- API type completion - by @kazupon in #1682 (bdf0d)
- gen: Consider named functions - by @ineshbose in #1616 and #1617 (e928b)
This changelog is generated by GitHub Releases
- Merge messages if any - by @yassilah in #1615
- Diffrent domain loop redirection - by @kazupon in #1606
- Locale resources not loaded on windows - by @kazupon in #1607
- Non i18n custom block transforming - by @kazupon in #1608
- Suppress warning on 'prefix' strategy - by @kazupon in #1612
- Support i18n composable functions callable on definePageMeta functions - by @kazupon in #1629
- Extract defineI18nRoute options fully - by @kazupon in #1636
- Locale resources esm loading with import assertions - by @kazupon in #1637
- Install failing with @vue/composition-api peer deps - by @kazupon in #1639
This changelog is generated by GitHub Releases
- Vue-i18n option loading with function - by @kazupon in #1600
- Avoid route reactivity value missing - by @kazupon in #1586
- Prefix strategy routing - by @kazupon in #1592
- Cannot work i18n custom block on 'lazy: false' - by @kazupon in #1595
- Cannot work browser locale on no_prefix strategy - by @kazupon in #1597
- Default composition mode - by @kazupon in #1599
This changelog is generated by GitHub Releases
- Wrong locales file extension - by @luthfi-hh in #1578
- Resolve type definition missing - by @kazupon in #1583
- Peer dependencies conflict on pnpm - by @kazupon in #1584
This changelog is generated by GitHub Releases
- Support nuxt v3 rc.11 - by @kazupon in #1551
- Support
rootRedirect
option - by @kazupon in #1560 - Support dynamic route params localization - by @kazupon in #1562
- Support page transition locale switching fully - by @kazupon in #1566
- Support per-component translations - by @kazupon in #1567
- Support nuxt3 rc.12 - by @kazupon in #1570
- Add
defineNuxtRouteMiddleware
wrapper - by @danielroe in #1558 - Cannot generate on differentDomains - by @kazupon in #1559
- Type errors - by @kazupon in #1571
- Disable node v19 - by @kazupon in #1573
- Wrong packaging - by @kazupon in #1574
- Wrong resolving and exports - by @kazupon in #1575
This changelog is generated by GitHub Releases
- Support differentDomains - by @kazupon in #1540
- Support
defaultDirection
option - by @kazupon in #1541 - Custome route path for component with
defineI18nRoute
- by @kazupon in #1544 - Support ignoring localized routes - by @kazupon in #1546
- Support extending messages hook - by @kazupon in #1550
This changelog is generated by GitHub Releases
- Support
indetifierAttribue
option foruseLocaleHead
- by @kazupon in #1526 - Support
strategy
property API - by @kazupon in #1533 - Support detect browser language fully - by @kazupon in #1534
- 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 #1522
- Avoid deprecated use of
params
on vue-router - by @kazupon in #1523 - Duplicate onLanguageSwitched calls - by @kazupon in #1528
- Custom nested route path for configration - by @kazupon in #1531
- module: Transpile edge aswell - by @dargmuesli in #1516
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 💚
7.3.0 (2022-08-24)
7.2.3 (2022-08-01)
7.2.2 (2022-04-25)
7.2.1 (2022-04-01)
- 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)## 7.2.0 (2021-11-04)
- docs: refactor and separate some pages related to routing (89eb12f)
- load vue-template-compiler with nuxt.resolver.requireModule (#1327) (c5a3ca8)
7.1.0 (2021-10-19)
7.0.3 (2021-08-31)
7.0.2 (2021-08-12)
7.0.1 (2021-08-05)
7.0.0 (2021-08-03)
- rename package to @nuxtjs/i18n
- set redirectOn to root by default (#1244)
- remove vuex syncLocale & vuex syncMessages (#1240)
- disable addDirAttribute by default (#1239)
- replace onlyOnNoPrefix and onlyOnRoot with redirectOn (#1210)
- remove deprecated seo option (#1232)
- remove deprecated $nuxtI18nSeo (#1207)
- types: remove deprecated NuxtVueI18n (#1206)
- remove deprecated beforeLanguageSwitch (#1200)
- 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 & vuex syncMessages (#1240) (399f1a3)
- rename package to @nuxtjs/i18n (b3ef21c)
- replace onlyOnNoPrefix and onlyOnRoot with redirectOn (#1210) (2eb955a)
- set redirectOn to root by default (#1244) (956df98)
- types: remove deprecated NuxtVueI18n (#1206) (e96688c)
6.28.1 (2021-08-03)
6.28.0 (2021-07-22)
- custom routes with optional params adjusted incorrectly (#1243) (203f3db)
- don't skip the cookie if no locale is detected in the route (#1235) (6c9b48f)
6.27.3 (2021-07-09)
6.27.2 (2021-06-23)
- ensure localeProperties is reactive (on locale change) (#1208) (d2dd400)
- types: fix compatibility issue with typescript 4.3.x+ (#1205) (acc1145)
6.27.1 (2021-06-15)
- types: fix "lazy" type in deprecated types (#1190) (482317b)
- handle protocol in the domain key for different domains (#1169) (45b2b82)
6.27.0 (2021-05-07)
6.26.0 (2021-04-20)
6.25.0 (2021-04-13)
6.24.0 (2021-04-09)
6.23.0 (2021-04-07)
- IE11 compatibility issue due to is-https package (#1138) (dcf43de), closes #1137
- types: misplaced jsdoc deprecated wrong API (9736bf1)
6.22.3 (2021-03-30)
6.22.2 (2021-03-26)
- crash registering the vue-i18n-loader in old Node versions (43022c4)
6.22.1 (2021-03-25)
- move lodash.merge to dependencies (b3f3f43)
6.22.0 (2021-03-24)
6.21.1 (2021-03-15)
- only replace ".js" at the end of the resolved klona path (#1110) (204d77d), closes #1109
- page not updated on changing lazy locale files (dev mode) (#1104) (e1ff096), closes #905
6.21.0 (2021-03-10)
6.20.6 (2021-03-08)
6.20.5 (2021-03-08)
- don't apply any locale-logic to non-existent routes (#1093) (7180412), closes #1092
- recursive clone triggered when "locales" object made reactive (#1090) (83c4398), closes #1075
- support localePath with path input and customized routes (#1088) (4043968)
- docs: adjusted example code in documentation to call the right context (#1087) (7b8f77d)
6.20.4 (2021-03-01)
- avoid using commonjs for runtime (vite support) (3fc14ba)
- use mjs version of klona (#1079) (bb0445d)
6.20.3 (2021-02-24)
- lazy: allow extensions yml/yaml when loading lazy locales (01f92ae)
6.20.2 (2021-02-19)
6.20.1 (2021-02-15)
- compatibility issue with Nuxt 2.15.0 (9d276d7), closes #1063
- docs: missing semicolon in Locales option example (#1056) (e9f2a6a)
6.20.0 (2021-02-03)
6.19.0 (2021-02-01)
- invalid canonical SEO link with differentDomains (#1049) (d05317b)
- deps: update all non-major dependencies (#1048) (8f4cef5)
- localeProperties undefined when component used (#1043) (ff56a35)
6.18.0 (2021-01-13)
- expose API for detecting browser locale (#1022) (ac75635), closes #1018
- expose localeProperties property (#1016) (a9457a0), closes #916
6.17.0 (2021-01-05)
- use local klona dependency from the plugin (#1008) (42c3cd5), closes #1004
- deps: update dependency is-https to v3 (#997) (cd377b4)
6.16.0 (2020-12-09)
- detectBrowserLanguage: use ISO code if available (#965) (1e39a3b), closes #979 #499
- docs: add defaultLocale to examples (#955) (4b69c6c)
- docs: add missing parenthesis (#941) (4ecdee1)
- docs: clarify the type of the "vueI18n" option (c9be559)
- docs: fix some links in the documentation (1249226)
- docs: fix some more links in the documentation (abbf212)
- docs: include "defaultLocale" in the example configuration (#951) (6bacb3b)
- docs: remove unwanted characters (bc9f76e), closes #960
- generate: don't try to redirect route when static generating (#989) (d5957d0), closes #911
- test: fix test expectation for trailingSlash=true (c9f2ef5)
6.15.4 (2020-10-19)
6.15.3 (2020-10-14)
6.15.2 (2020-10-13)
- docs: add warnings regarding no_prefix strategy (#891) (bbcbad9)
- seo: don't include queries in canonical tag (d09ad9e), closes #912
- seo: enable canonical tag for all strategies (4ae4199)
- seo: enable self-referential canonical tags (b62fd39)
- add x-default hreflang tag for improved SEO (#922) (b35bc57)
6.15.1 (2020-09-11)
- ("prefix" strategy) redirect from root doesn't respect cookie locale (#890) (d3b09f5), closes #887
- add plugins from the main context to have consistent loading order (#889) (1ec8814), closes #874
- docs: refactor options documentation (#888) (5f295be)
6.15.0 (2020-09-10)
6.14.2 (2020-09-08)
6.14.1 (2020-09-08)
- remove postinstall script that breaks production (56f8084)
6.14.0 (2020-09-08)
- add "cookieSecure" setting to set the Secure flag on the cookie (#869) (0f2d762)
- docs: migrate docs to Nuxt Content (#864) (affb845)
- add setting to use cross-origin cookie for "detectBrowserLocale" (#853) (e446676)
- only import build-time dependency at build time (#875) (095cc78)
- deps: pin dependencies (#865) (d66545f)
- docs: fix various documentation links after migration (19c516c)
- docs: typo in Spanish accent mark (#867) (4fadb8b)
6.13.12 (2020-08-22)
6.13.11 (2020-08-21)
6.13.10 (2020-08-18)
- routes: fix routes being generated after other modules (#851) (b453191), closes #850
- types: add types for app.localePath and co. (#849) (dfd6d76)
6.13.9 (2020-08-15)
6.13.8 (2020-08-11)
- don't crash on missing route when parsing page component options (#841) (46bbdc5), closes #838
- null-check route to avoid rare crashes (fc02a65)
6.13.7 (2020-08-05)
6.13.6 (2020-08-04)
6.13.5 (2020-08-04)
6.13.4 (2020-08-04)
6.13.3 (2020-08-04)
- lazy: include default locale in the main bundle (#819) (6ed4ae6), closes #818
- lazy: make client use translations loaded on the server (#823) (06bc5f1), closes #486 #663
6.13.2 (2020-07-31)
- generate fallback routes for static build (#808) (c2106f7), closes #805
- redirect loop on initial load (static mode & route with no locale) (4c9bc13), closes #798
- types: fix type of detectBrowserLanguage to allow false (#793) (c62f19b)
6.13.1 (2020-07-03)
6.13.0 (2020-07-02)
- handling of trailing slash in localePath (#756) (1a69387), closes #717
- initial redirect breaks reactivity in static mode (54b8186), closes #737
- preserve query when handling rootRedirect (#771) (b201609)
- types: extend NuxtOptions with "i18n" (when using i18n in the root of Nuxt config) (7c5241b)
6.13.0-beta.0 (2020-06-03)
6.12.2 (2020-06-02)
- revert back to generating routes from extendRoutes() (#751) (439781f), closes #750
- deps: update dependency is-https to v2 (#744) (baf3082)
6.12.1 (2020-05-29)
- crash on using nuxt-i18n properties in a component with i18n options (#736) (fd8b684), closes #557
- don't add trailing slashes to generated routes (#733) (b062044), closes #717
- favor non-prefixed route with prefix_and_default strategy (#732) (09d2c0f), closes #721
- remove "encodePaths" option and don't encode paths by default (#731) (aba92b3), closes #712
6.12.0 (2020-05-25)
- add localeRoute API for getting the localized route (#729) (0c4bd52), closes #728
- add support for using localePath with no route name and path (#727) (7a011a0), closes #691
- don't do browser language detection during Nuxt generate (#718) (f1c5aca)
- don't leave out non-prefixed routes for generate + prefix strategy (#726) (97fabbf), closes #700
- trigger language detection on initial load in generated mode (#724) (a853de9)
6.11.1 (2020-05-10)
6.11.0 (2020-04-30)
6.10.1 (2020-04-23)
- types: fix type of baseUrl to allow string (a495cb3)
6.10.0 (2020-04-23)
6.9.3 (2020-04-23)
- crash with latest vue-i18n related to using null locale (#678) (642fddf)
- lock vue-i18n version to 8.16.0 until crashing issue is fixed (#673) (9e99f19)
6.9.2 (2020-04-22)
- lock vue-i18n version to 8.16.0 until crashing issue is fixed (ad82009)
6.9.1 (2020-04-14)
6.9.0 (2020-04-14)
6.8.1 (2020-04-03)
6.8.0 (2020-04-02)
6.7.2 (2020-03-31)
6.7.1 (2020-03-30)
6.7.0 (2020-03-24)
6.6.1 (2020-03-16)
- types: add vueI18nLoader to AllOptionsInterface (#634) (f1dd816)
- add tests for forwardedHost change, deprecate setting instead of removing (3f4d135)
- Incomplete initialization with 'en-US' locale code and no default (#629) (eeb63bb), closes #628
- remove forwardedHost option - make domain matching consistent on server/client (#630) (2a17c99)
6.6.0 (2020-02-27)
- Added cookieDomain option to override locale cookie's domain (#599) (7525cd7)
- seo: additional catchall hreflang tags (#597) (ebd2213), closes #522
- support external configuration file for vue-i18n options (#605) (c55bc6a), closes #585 #237
6.5.0 (2020-01-20)
6.4.1 (2019-12-02)
6.4.0 (2019-11-18)
- parser: parse typescript 3.7 shipped proposals (a69a8fb)
6.3.1 (2019-11-11)
- default locale catch-all route overrides locale-specific one (196bf9c), closes #152
- Direct navigation to URL in SPA with vue-router in hash mode (0a9c4c8), closes #490
- make switchLocalePath work from Nuxt plugin or middleware (8a1c052), closes #480
- set sameSite=Lax option for detected-language cookie (8d84986), closes #516
6.3.0 (2019-09-26)
- types: add missing seo: false type for component options (0fae937)
- all routes removed when locales are absent (1c5e42c), closes #444
- types: specify arguments for onLanguageSwitched and beforeLanguageSwitch (da6a523)
- Don't inject to store if store is not defined (e547639)
- Locale prefixes missing for child routes with custom paths (10c1d9d), closes #359
- NO_PREFIX - localePath with
path
returns route with prefix (4d4186c), closes #457 - Route name missing for routes that have children (bd23683), closes #356
- Inject $i18n into Vuex Store as
this.$i18n
(bb31cb0)
6.2.1 (2019-09-13)
- types: use correct module name for nuxt augmentation (46f67ea)
6.2.0 (2019-09-13)
- crash on no_prefix + invalid/tempered locale cookie (4b56d84)
- Don't try to process routes with no component (a53e32a)
- failure to change locale on initial try with nuxt generate (9b4b6f6), closes #378
6.1.3 (2019-09-04)
6.1.2 (2019-09-04)
- issue with locale not being updated when cookie not stored (999ac4b)
- multiple redirects on switching to another locale (14ceeb3)
- types: add type for Nuxt's
context.app.i18n
(d5afd8b) - types: add types for in-component options (e2e3bca)
- types: export
NuxtVueI18n
namespace to allow to annotate configuration (906a776) - types: fixed various types for NuxtI18n configuration (6f6c235)
- types: move getLocaleCookie/setLocaleCookie/SetLocale to proper interface (7d3eceb)
- types: remove
null
result fromgetLocaleCookie
to simplify types (df5ac8a) - types: update NuxtI18nSeo interface to use VueMeta types (3a4ada6)
app.$t
API was removed (ca198e5) - This is not a breaking change since this API has never worked according to my understanding.getLocaleCookie
will no longer returnnull
value in case cookie is missing. Instead it will consistently returnundefined
. This is unlikely to affect anyone unless one was checking fornull
specifically which would not be a correct thing to do even before.
6.1.1 (2019-08-28)
- fix loading fallback locale with lazy loading (d8db5b1)
- locale not set with differentDomains enabled (634690a)
- redirects to wrong route after SPA navigation (8bf61d9)
6.1.0 (2019-08-27)
6.0.2 (2019-08-20)
- warning in nuxt 2.9.x / vue-meta 2.x (3605632)
6.0.1 (2019-08-13)
- deps: update all non-major dependencies (#375) (9efbbf0)
- deps: update dependency acorn to v7 (#392) (9fc564f)
- deps: update dependency acorn-walk to v7 (#393) (06ddf3e)
6.0.0 (2019-07-20)
- routing: resolve localePath with fullPath instead of href (b827681)
- Disable seo by default (741ae12), closes #346
- update link to SEO metadata generation logic (#352) (10a5ff2)
- Disable setLocale & setMessages mutations by default (76c9978)
- Rename and flatten vuex options (8897ac6)
- Dynamic route parameters translation (#345) (2d1d729), closes #79
- Use default locale's custom path if not defined for a locale (#354) (d30e5f0)
- Register global mixins from plugins (2ceb8e4)
- Store module's options have been flattened and renamed
- The mutations responsible for syncing nuxt-i18n's store module with vue-i18n's locale and messages are now disabled by default, you'll need to manually re-enable them in the module's configuration
preserveState
is now set automatically when registering the store module and cannot be set via the configuration anymore- Global seo option is now disabled by default. To
preserve the previous behaviour, set
seo: true
in the module's options. Doc: https://nuxt-community.github.io/nuxt-i18n/seo.html
6.0.0-0 (2019-07-01)
preserveState
is now set automatically when registering the store module and cannot be set via the configuration anymore
5.12.8 (2019-07-01)
NOTE: Version bump only, all fixes were released in
v5.12.7
already
- Move SEO types out of Vue module declaration (be085d5)
- Move SEO types out of Vue module declaration (#335) (0cc0ba0)
- Only require is-https dependency on the server (fixes #329) (8a728ef)
- revert using cookies package to fix cookie headers handling (#332) (9cd034d), closes #330
5.12.7 (2019-06-22)
- Move SEO types out of Vue module declaration (#335) (0cc0ba0)
- Only require is-https dependency on the server (fixes #329) (8a728ef)
- Revert using cookies package to fix cookie headers handling (#332) (9cd034d), closes #330
5.12.6 (2019-06-21)
5.12.5 (2019-06-20)
5.12.4 (2019-06-02)
- deps: update dependency cookie to ^0.4.0 (4223f6a)
- add types for nuxtI18nSeo (5811bbe)
- Unexpected token when using dynamic imports (#320) (7dd1dbc), closes #134 #301
5.12.3 (2019-05-13)
- remove explicit dependency on vue-template-compiler (fixes #297) (576382e)
- remove explicit dependency on vue-template-compiler (fixes #297) (#305) (2eff158)
5.12.2 (2019-05-09)
5.12.1 (2019-05-09)
- Fix duplicate child routes with PREFIX_AND_DEFAULT strategy (fixes #292) (#294) (76d5948)
- Fix exception when using multiple domains option (fixes #293) (#295) (17f1e07)
5.12.0 (2019-05-06)
5.11.0 (2019-05-05)
5.10.0 (2019-04-27)
- Prevent redirect failure when accessing a dynamic route with detectBrowserLanguage enabled (#266) (b7adba0)
- Upgrade vue-i18n to v8.11.1 (29f7f54), closes /github.com/kazupon/vue-i18n/blob/dev/CHANGELOG.md#8111-2019-04-26
5.9.0 (2019-04-25)
- pass nuxt context to loadLanguageAsync (3834899)
5.8.5 (2019-03-01)
5.8.4 (2019-02-22)
5.8.3 (2019-02-17)
5.8.2 (2019-02-15)
5.8.1 (2019-02-10)
5.8.0 (2019-01-27)
- Rename option encodeURI to encodePaths (776c2dd)
5.7.0 (2019-01-23)
- Upgrade vue-i18n (v8.2.1 -> v8.7.0) (feac945)
5.6.0 (2019-01-20)
- Create correct baseroute for switchlocalepath (#193) (909062f)
- Preserve route params in base route (13b2e73)
5.5.0 (2019-01-14)
- preserve queryString when redirecting to rootRedirect (#169) (1ddcac2)
- Set i18n_redirect cookie path to '/' (#143) (9ad540e)
- State not defined (#178) (142dcb0), closes #173
- Update types (#167) (225e700)
- Wait for lazy loading promises (#163) (8b42631)
- Allow i18n component to load json (#174) (21d4305)
- expose head SEO function to use in layout (#154) (ce373c4)
- make t() method available server-side through app.$t() (#168) (90bcd80)
- rework browser detection and save lang to cookie (#148) (d1bbc84)
5.4.4 (2018-10-23)
5.4.3 (2018-10-12)
5.4.2 (2018-10-12)
- Revert "feat: i18n.locale property changes when route changed" (9e04b00)
5.4.1 (2018-10-11)
- Include Types in NPM bundle (when published) (fc67f4e)
5.4.0 (2018-10-07)
5.3.0 (2018-09-11)
5.2.1 (2018-08-26)
5.2.0 (2018-08-24)
- Ability to define locale domains at runtime via Vuex store (0226b07)
5.1.1 (2018-08-14)
5.1.0 (2018-08-11)
5.0.3 (2018-08-10)
5.0.2 (2018-08-09)
5.0.1 (2018-08-09)
5.0.0 (2018-08-08)
- making hreflang href full-qualified (5dd4231)
- Upgrade vue-i18n to v8.0.0 (6b1a982)
- strategy: add PREFIX_AND_DEFAULT strategy (a7ea4df)
4.1.0 (2018-06-27)
4.0.2 (2018-06-27)
- support locales with names that match other locales (
en
anden-us
) (eeda1c5)
4.0.1 (2018-06-22)
4.0.0 (2018-06-07)
- Pages using i18n key need to be updated to use nuxtI18n key instead
3.3.1 (2018-06-06)
3.3.0 (2018-05-30)
- loadLanguageAsync: Support promises return in lang files. (9b220c3)
- Add support for X-Forwarded-Host (#92) (514ad63)
3.2.4 (2018-05-27)
3.2.3 (2018-05-10)
- Fix 'logger is not defined' error (b79b570)
3.2.2 (2018-05-10)
- Fix an issue where the module would attempt to generate og:locale tags without required ISO code (5dd97d5), closes #80
3.2.1 (2018-05-10)
3.2.0 (2018-05-09)
- Add parsePages & pages options (b2980cf)
3.1.0 (2018-05-01)
- Add og:locale support & fix i18n.seo component option (8c1588e)