Skip to content

Latest commit

 

History

History
1574 lines (923 loc) · 115 KB

CHANGELOG.md

File metadata and controls

1574 lines (923 loc) · 115 KB

v8.0.0-rc.4 (2023-08-31T15:58:24Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-rc.3 (2023-08-16T10:16:01Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-rc.2 (2023-08-02T02:00:23Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-rc.1 (2023-07-31T02:05:09Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-beta.13 (2023-07-07T07:46:04Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-beta.12 (2023-05-11T14:39:12Z)

This changelog is generated by GitHub Releases

   🐞 Bug Fixes

v8.0.0-beta.11 (2023-04-13T11:10:28Z)

This changelog is generated by GitHub Releases

   🚨 Breaking Changes

   🚀 Features

   🐞 Bug Fixes

v8.0.0-beta.10 (2023-02-22T15:09:36Z)

This changelog is generated by GitHub Releases

   🐞 Bug Fixes

v8.0.0-beta.9 (2023-01-27T03:32:07Z)

This changelog is generated by GitHub Releases

   🐞 Bug Fixes

v8.0.0-beta.8 (2023-01-21T13:46:45Z)

This changelog is generated by GitHub Releases

🚨 Breaking Changes

🚀 Features

🐞 Bug Fixes

v8.0.0-beta.7 (2022-12-08T01:11:15Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-beta.6 (2022-11-29T05:24:25Z)

This changelog is generated by GitHub Releases

   🐞 Bug Fixes

v8.0.0-beta.5 (2022-11-28T08:40:36Z)

This changelog is generated by GitHub Releases

   🚨 Breaking Changes

   🐞 Bug Fixes

v8.0.0-beta.4 (2022-11-12T09:00:57Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-beta.3 (2022-10-31T17:00:44Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-beta.2 (2022-10-26T14:50:23Z)

This changelog is generated by GitHub Releases

   🐞 Bug Fixes

v8.0.0-beta.1 (2022-10-20T11:05:51Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

v8.0.0-alpha.3 (2022-10-10T01:47:49Z)

This changelog is generated by GitHub Releases

   🚀 Features

v8.0.0-alpha.2 (2022-09-28T08:47:05Z)

This changelog is generated by GitHub Releases

   🚀 Features

   🐞 Bug Fixes

  • 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 nuxt-modules#1522
  • Avoid deprecated use of params on vue-router  -  by @kazupon in nuxt-modules#1523
  • Duplicate onLanguageSwitched calls  -  by @kazupon in nuxt-modules#1528
  • Custom nested route path for configration  -  by @kazupon in nuxt-modules#1531
  • module: Transpile edge aswell  -  by @dargmuesli in nuxt-modules#1516

8.0.0-alpha.1 (2022-09-03)

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)

Features

  • add setting for setting expiration of the cookie that stores locale (#1492) (dd764d7)

7.2.3 (2022-08-01)

Bug Fixes

  • infinite redirect on URL with special characters (#1472) (426af76)

7.2.2 (2022-04-25)

Bug Fixes

  • fixed locale changing issue in server side middleware (#1429) (c10231d)

7.2.1 (2022-04-01)

Bug Fixes

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

Features

Bug Fixes

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

Features

  • add support for query params in canonical url (#1274) (d5dea9c)

Bug Fixes

  • adjust strange redirection logic for prefix_and_default (#1304) (578acd8)

7.0.3 (2021-08-31)

Bug Fixes

  • crash on using $nuxtI18nHead from nuxt.config's head (#1273) (b4aae9d), closes #1266

7.0.2 (2021-08-12)

Bug Fixes

  • differentDomains: handling of runtime domains from store (#1183) (4d77019)

7.0.1 (2021-08-05)

Bug Fixes

  • return the redirect path when resolving redirects with localePath (#1253) (3538f77), closes #1248

7.0.0 (2021-08-03)

⚠ BREAKING CHANGES

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

Code Refactoring

6.28.1 (2021-08-03)

Bug Fixes

6.28.0 (2021-07-22)

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)

6.27.3 (2021-07-09)

Bug Fixes

6.27.2 (2021-06-23)

Bug Fixes

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

Bug Fixes

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

Features

6.26.0 (2021-04-20)

Features

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

6.25.0 (2021-04-13)

Features

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

6.24.0 (2021-04-09)

Features

Bug Fixes

  • types: more specific types for $nuxtI18nHead/$nuxtI18nSeo (02cc072), closes #1133

6.23.0 (2021-04-07)

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)

6.22.3 (2021-03-30)

Bug Fixes

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

6.22.2 (2021-03-26)

Bug Fixes

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

6.22.1 (2021-03-25)

Bug Fixes

  • move lodash.merge to dependencies (b3f3f43)

6.22.0 (2021-03-24)

Features

Bug Fixes

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

6.21.1 (2021-03-15)

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

6.21.0 (2021-03-10)

Features

Bug Fixes

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

6.20.6 (2021-03-08)

Bug Fixes

6.20.5 (2021-03-08)

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)

6.20.4 (2021-03-01)

Bug Fixes

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

6.20.3 (2021-02-24)

Bug Fixes

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

6.20.2 (2021-02-19)

Bug Fixes

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

6.20.1 (2021-02-15)

Bug Fixes

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

Features

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

6.19.0 (2021-02-01)

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)

6.18.0 (2021-01-13)

Features

6.17.0 (2021-01-05)

Features

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

Bug Fixes

6.16.0 (2020-12-09)

Features

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

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)

6.15.4 (2020-10-19)

Bug Fixes

6.15.3 (2020-10-14)

Bug Fixes

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

6.15.2 (2020-10-13)

Bug Fixes

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

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)

6.15.0 (2020-09-10)

Features

Bug Fixes

  • differentDomains: Match domain properly on client if port provided (#832) (3a0bc88)

6.14.2 (2020-09-08)

Bug Fixes

  • fails at extending routes when followed by another module (#884) (c0d136b), closes #157

6.14.1 (2020-09-08)

Bug Fixes

  • remove postinstall script that breaks production (56f8084)

6.14.0 (2020-09-08)

Features

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

Bug Fixes

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

Bug Fixes

  • force-transpile deepcopy dependency to fix IE11 (#861) (9b9fec5), closes #860

6.13.11 (2020-08-21)

Bug Fixes

  • lazy: null-check nuxtState as it might not exist in SPA (#859) (6763390), closes #858

6.13.10 (2020-08-18)

Bug Fixes

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

Bug Fixes

  • lazy: failure to load locales on SPA navigation to default locale (#846) (c2aafd6), closes #843

6.13.8 (2020-08-11)

Bug Fixes

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

Bug Fixes

  • lazy: error importing file when having imports within "locale.file" (3cb1d2a), closes #835

6.13.6 (2020-08-04)

Bug Fixes

6.13.5 (2020-08-04)

Bug Fixes

  • lazy: don't try to copy locales to build dir at run-time (#827) (55dac74), closes #826

6.13.4 (2020-08-04)

Bug Fixes

  • lazy: webpack error when only default locale exists (#825) (97f1dd8), closes #824

6.13.3 (2020-08-04)

Bug Fixes

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

Bug Fixes

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

Bug Fixes

  • incorrect SEO links when vue-loader forces local i18n instance (#786) (8cf173d), closes #785

6.13.0 (2020-07-02)

Features

  • pass to-be-loaded locale when lazy-loading from exported function (#752) (145f3b2), closes #742

Bug Fixes

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

Features

  • pass to-be-loaded locale when lazy-loading from exported function (#752) (145f3b2), closes #742

Bug Fixes

  • initial redirect breaks reactivity in static mode (ef80b0d), closes #737

6.12.2 (2020-06-02)

Bug Fixes

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

Bug Fixes

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

Features

  • 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

Bug Fixes

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

Bug Fixes

  • NavigationDuplicated error on loading 404 page in SPA (#705) (6bd80da), closes #702

6.11.0 (2020-04-30)

Features

  • docs: enable indexed search results in documentation (#687) (bea56a9)

Bug Fixes

  • redirect from 404 to defaultLocale if there is matching route (e99978d), closes #677 #491

6.10.1 (2020-04-23)

Bug Fixes

  • types: fix type of baseUrl to allow string (a495cb3)

6.10.0 (2020-04-23)

Features

  • allow providing function for baseUrl option (#679) (056a8f7)

6.9.3 (2020-04-23)

Bug Fixes

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

Bug Fixes

  • lock vue-i18n version to 8.16.0 until crashing issue is fixed (ad82009)

6.9.1 (2020-04-14)

Bug Fixes

  • crash with invalid locale cookie + no_prefix strategy + SEO (#666) (2ec72bc)

6.9.0 (2020-04-14)

Features

  • re-use the store locale on the client if set on server (#593) (c8b05b1)

Bug Fixes

  • deps: update dependency @intlify/vue-i18n-loader to v1 (#659) (9886e1f)

6.8.1 (2020-04-03)

Bug Fixes

  • match full browser locale case-insensitively (same as short) (#655) (e614e8e), closes #651

6.8.0 (2020-04-02)

Features

  • match against all language codes provided by the browser (#651) (93e1918))

6.7.2 (2020-03-31)

Bug Fixes

  • locale not updated on navigation (no fallbackLocale) (#647) (1ad3ed1), closes #643

6.7.1 (2020-03-30)

Bug Fixes

  • don't try to use route params when vuex.syncRouteParams (1bdf320), closes #644

6.7.0 (2020-03-24)

Features

  • allow customization of rootRedirect status code (#639) (38d8935)

6.6.1 (2020-03-16)

Bug Fixes

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

Features

  • 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

Bug Fixes

  • sync store locale before triggering onLanguageSwitched listener (#609) (9b699cf), closes #556

6.5.0 (2020-01-20)

Features

6.4.1 (2019-12-02)

Bug Fixes

  • routing: Restore handling of route argument in getRouteBaseName (3685abb), closes #539

6.4.0 (2019-11-18)

Features

  • parser: parse typescript 3.7 shipped proposals (a69a8fb)

6.3.1 (2019-11-11)

Bug Fixes

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

Bug Fixes

  • 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

Features

  • Inject $i18n into Vuex Store as this.$i18n (bb31cb0)

6.2.1 (2019-09-13)

Bug Fixes

  • types: use correct module name for nuxt augmentation (46f67ea)

6.2.0 (2019-09-13)

Bug Fixes

  • 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

Features

  • support 'path' parameter in localePath(...) (bbaa266), closes #215

6.1.3 (2019-09-04)

Bug Fixes

  • make parsePages compatible with typescript decorators (5a3db3b), closes #408 #76

6.1.2 (2019-09-04)

Bug Fixes

  • 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 from getLocaleCookie to simplify types (df5ac8a)
  • types: update NuxtI18nSeo interface to use VueMeta types (3a4ada6)

Notes

  • 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 return null value in case cookie is missing. Instead it will consistently return undefined. This is unlikely to affect anyone unless one was checking for null specifically which would not be a correct thing to do even before.

6.1.1 (2019-08-28)

Bug Fixes

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

Features

  • Add no_prefix strategy + setLocale API function (#409) (998011e)

6.0.2 (2019-08-20)

Bug Fixes

  • warning in nuxt 2.9.x / vue-meta 2.x (3605632)

6.0.1 (2019-08-13)

Bug Fixes

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

Bug Fixes

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

Code Refactoring

  • Disable setLocale & setMessages mutations by default (76c9978)
  • Rename and flatten vuex options (8897ac6)

Features

  • Dynamic route parameters translation (#345) (2d1d729), closes #79
  • Use default locale's custom path if not defined for a locale (#354) (d30e5f0)

Performance Improvements

  • Register global mixins from plugins (2ceb8e4)

BREAKING CHANGES

5.x to 6.x migration path

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

Features

  • Dynamic route parameters translation (04373ef), closes #79

BREAKING CHANGES

  • 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

Bug Fixes

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

Bug Fixes

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

Bug Fixes

  • do not discard already present set-cookie header (#327) (ec08be8)

5.12.5 (2019-06-20)

Bug Fixes

  • better server side protocol detection (fixes #123) (8cb3eb6)

5.12.4 (2019-06-02)

Bug Fixes

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

Bug Fixes

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

Bug Fixes

  • add missing vue-template-compiler dependency (fixes #297) (#298) (196b4e0)

5.12.1 (2019-05-09)

Bug Fixes

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

Features

  • Load fallback locale when needed if lazy-loading is enabled (#291) (0148546), closes #34

5.11.0 (2019-05-05)

Features

  • add global options (fe6d114)
  • Always redirect to language that was saved in cookie (#283) (dc66895)

5.10.0 (2019-04-27)

Bug Fixes

  • Prevent redirect failure when accessing a dynamic route with detectBrowserLanguage enabled (#266) (b7adba0)

Features

5.9.0 (2019-04-25)

Features

  • pass nuxt context to loadLanguageAsync (3834899)

5.8.5 (2019-03-01)

Bug Fixes

  • Prevent error "Cannot read property 'iso' of undefined" on 404 pages (#233) (6cb2fa1)

5.8.4 (2019-02-22)

Bug Fixes

  • Prevent duplicated route names issue with prefix_and_default strategy (318850c), closes #140

5.8.3 (2019-02-17)

Bug Fixes

5.8.2 (2019-02-15)

Bug Fixes

  • Set new locale into vuex store module when switching languages (#222) (77cc393), closes #221

5.8.1 (2019-02-10)

Bug Fixes

5.8.0 (2019-01-27)

Bug Fixes

  • Rename option encodeURI to encodePaths (776c2dd)

Features

  • Add encodeURI option to allow skipping encodeURI for custom paths (#199) (00c89f1), closes #191

5.7.0 (2019-01-23)

Bug Fixes

  • Fix broken condition in middleware & prevent cookie from being set twice (#164) (7c83922)

Features

  • Upgrade vue-i18n (v8.2.1 -> v8.7.0) (feac945)

5.6.0 (2019-01-20)

Bug Fixes

  • Create correct baseroute for switchlocalepath (#193) (909062f)
  • Preserve route params in base route (13b2e73)

Features

  • Add canonical link to PREFIX_AND_DEFAULT duplicated pages (#194) (dcd1f79)

5.5.0 (2019-01-14)

Bug Fixes

Features

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

Bug Fixes

5.4.3 (2018-10-12)

Bug Fixes

5.4.2 (2018-10-12)

Bug Fixes

  • Revert "feat: i18n.locale property changes when route changed" (9e04b00)

5.4.1 (2018-10-11)

Bug Fixes

  • Include Types in NPM bundle (when published) (fc67f4e)

5.4.0 (2018-10-07)

Features

  • add TypeScript types (#133) (817c58e)
  • i18n.locale property changes when route changed (2f2f284)

5.3.0 (2018-09-11)

Features

5.2.1 (2018-08-26)

5.2.0 (2018-08-24)

Features

  • Ability to define locale domains at runtime via Vuex store (0226b07)

5.1.1 (2018-08-14)

5.1.0 (2018-08-11)

Features

  • Add option to automatically add vue-i18n-loader to Webpack config (d997b81), closes #58

5.0.3 (2018-08-10)

Bug Fixes

  • middleware: Return after root redirect (c2ce741), closes #104

5.0.2 (2018-08-09)

Bug Fixes

  • Fix TypeError: Cannot read property 'pages' of undefined in extendRoutes (10ba9ed), closes #113

5.0.1 (2018-08-09)

Bug Fixes

  • Prevent error when using extendRoutes (1509a71), closes #52

5.0.0 (2018-08-08)

Bug Fixes

  • making hreflang href full-qualified (5dd4231)

Chores

  • Upgrade vue-i18n to v8.0.0 (6b1a982)

Features

  • strategy: add PREFIX_AND_DEFAULT strategy (a7ea4df)

BREAKING CHANGES

4.x to 5.x migration path

4.1.0 (2018-06-27)

Features

  • browser language detection: Add support for mode SPA (12bbef6), closes #103

4.0.2 (2018-06-27)

Bug Fixes

  • support locales with names that match other locales (en and en-us) (eeda1c5)

4.0.1 (2018-06-22)

Bug Fixes

4.0.0 (2018-06-07)

Bug Fixes

  • Rename in-component options key from i18n to nuxtI18n (5ff618d), closes #94 #67

BREAKING CHANGES

3.x to 4.x migration path

  • Pages using i18n key need to be updated to use nuxtI18n key instead

3.3.1 (2018-06-06)

Bug Fixes

  • Fix routes generation with nuxt generate (#95) (ff127a5), closes #82

3.3.0 (2018-05-30)

Features

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

Bug Fixes

  • Fix 'logger is not defined' error (b79b570)

3.2.2 (2018-05-10)

Bug Fixes

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

Bug Fixes

  • Lock esm to 3.0.28 to prevent error at build time (e909837), closes #85

3.2.0 (2018-05-09)

Features

  • Add parsePages & pages options (b2980cf)

3.1.0 (2018-05-01)

Features

  • Add og:locale support & fix i18n.seo component option (8c1588e)