Releases

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)

v6.15.0 9/10/2020

Features

Bug Fixes

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

IMPORTANT

For improved SEO, it's highly recommended to set detectBrowserLanguage.onlyOnRoot to true if you are using strategy other than no_prefix with detectBrowserLanguage enabled. This will ensure that crawlers won't get redirected when crawling pages other than the root page, which would then be considered duplicate content.

This will likely become a default behavior in the future.

v6.14.2 9/8/2020

Bug Fixes

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

v6.14.1 9/8/2020

Bug Fixes

  • remove postinstall script that breaks production (56f8084)

v6.14.0 9/8/2020

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)

v6.13.12 8/22/2020

Bug Fixes

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

v6.13.11 8/21/2020

Bug Fixes

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

v6.13.10 8/18/2020

Bug Fixes

  • routes: fix routes being generated after other modules (#851) (b453191), closes #850
  • types: add types for app.localePath and co. (#849) (dfd6d76)

v6.13.9 8/15/2020

Bug Fixes

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

6.13.8 8/11/2020

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 8/5/2020

Bug Fixes

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

6.13.6 8/4/2020

Bug Fixes

6.13.5 8/4/2020

Bug Fixes

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

6.13.4 8/4/2020

Bug Fixes

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

6.13.3 8/4/2020

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 7/31/2020

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 7/3/2020

Bug Fixes

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

6.13.0 7/2/2020

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 6/3/2020

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 6/2/2020

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 5/29/2020

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.1-beta.0 5/26/2020

Bug Fixes

  • don't add trailing slashes to generated routes (4825d61), 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 5/25/2020

Features

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 5/10/2020

Bug Fixes

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

6.11.0 4/30/2020

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.2-beta.0 4/24/2020

Bug Fixes

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

6.10.1 4/23/2020

6.10.1 (2020-04-23)

Bug Fixes

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