Releases

v6.28.0 7/22/2021

Features

Bug Fixes

  • custom routes with optional params adjusted incorrectly (#1243) (203f3db)
  • don't skip the cookie if no locale is detected in the route (#1235) (6c9b48f)

v6.27.3 7/9/2021

Bug Fixes

v6.27.2 6/23/2021

Bug Fixes

  • ensure localeProperties is reactive (on locale change) (#1208) (d2dd400)
  • types: fix compatibility issue with typescript 4.3.x+ (#1205) (acc1145)

v6.27.1 6/15/2021

Bug Fixes

  • types: fix lazy type in deprecated types (#1190) (482317b)
  • handle protocol in the domain key for different domains (#1169) (45b2b82)

v6.27.0 5/7/2021

Features

v6.26.0 4/20/2021

Features

  • lazy: option for not injecting messages to Nuxt state (#1153) (2231f3b), closes #1149

v6.25.0 4/13/2021

Features

  • types: add NuxtI18nInstance type for use with custom accessors (#1147) (aa4f4d8), closes #1146

v6.24.0 4/9/2021

Features

Bug Fixes

v6.23.0 4/7/2021

Features

  • support loading messages from file without lazy-loading (#1130) (03618fb), closes #412

Bug Fixes

  • IE11 compatibility issue due to is-https package (#1138) (dcf43de), closes #1137
  • types: misplaced jsdoc deprecated wrong API (9736bf1)

v6.22.3 3/30/2021

Bug Fixes

  • lazy: message function not working when using lazy loading (#1125) (68b580e), closes #1124

Refactoring

  • include fallback locale messages in the main bundle (#1129)

v6.22.2 3/26/2021

Bug Fixes

  • crash registering the vue-i18n-loader in old Node versions (43022c4)

v6.22.1 3/25/2021

Bug Fixes

  • move lodash.merge to dependencies (b3f3f43)

v6.22.0 3/24/2021

Features

Bug Fixes

  • router base not considered on redirecting in static mode (#1119) (75b7c6e), closes #1060

v6.21.1 3/15/2021

Bug Fixes

  • 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

v6.21.0 3/10/2021

Features

Bug Fixes

  • localePath/localeRoute missing query params (#1103) (0a95790)

v6.20.6 3/8/2021

Bug Fixes

v6.20.5 3/8/2021

Bug Fixes

  • 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)

v6.20.4 3/1/2021

Bug Fixes

  • avoid using commonjs for runtime (vite support) (3fc14ba)
  • use mjs version of klona (#1079) (bb0445d)

v6.20.3 2/24/2021

Bug Fixes

  • lazy: allow extensions yml/yaml when loading lazy locales (01f92ae)

v6.20.2 2/19/2021

Bug Fixes

  • lazy: only process lang files with js, ts and json extensions (#1070) (1cf1ac2), closes #1068

v6.20.1 2/15/2021

Bug Fixes

  • compatibility issue with Nuxt 2.15.0 (9d276d7), closes #1063
  • docs: missing semicolon in Locales option example (#1056) (e9f2a6a)

v6.20.0 2/3/2021

Features

  • API for handling locale change during page transitions (#963) (23b9cc4)

v6.19.0 2/1/2021

Features

  • add dir property and defaultDirection option (#1023) (3b3dcc6)

Bug Fixes

  • invalid canonical SEO link with differentDomains (#1049) (d05317b)
  • deps: update all non-major dependencies (#1048) (8f4cef5)
  • localeProperties undefined when component used (#1043) (ff56a35)

v6.18.0 1/13/2021

Features

v6.17.0 1/5/2021

Features

  • fallbackLocale: support vue-i18n decision map fallback (#992) (b4c6cfd)

Bug Fixes

v6.16.0 12/9/2020

Features

  • onlyOnNoPrefix - detect browser locale when no prefix (#896) (15f0a44)

Refactor

  • replace clonedeep with klona (#981)

Bug Fixes

  • 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)

v6.15.4 10/19/2020

Bug Fixes

v6.15.3 10/14/2020

Bug Fixes

  • don't use optional chaining for compatibility reasons (#930) (2d96629), closes #929

v6.15.2 10/13/2020

Bug Fixes

  • docs: add warnings regarding no_prefix strategy (#891) (bbcbad9)
  • seo: don't include queries in canonical link (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)

v6.15.1 9/11/2020

Bug Fixes

  • (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)