Skip to content

Latest commit

 

History

History
343 lines (145 loc) · 9.78 KB

CHANGELOG.md

File metadata and controls

343 lines (145 loc) · 9.78 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.9.5 (2018-04-18)

Bug Fixes

  • Fix problem for route names containing -de (#74) (df55c8f)

2.9.4 (2018-04-16)

Bug Fixes

  • Fix redirect cookie handling (209b60d), closes #70

2.9.3 (2018-04-16)

Bug Fixes

  • support for deprecated vendor in nuxt-edge build (#71) (f841e60)

2.9.2 (2018-04-06)

Bug Fixes

  • Fix redirection based on browser language (64ff3ce), closes #65

2.9.1 (2018-03-26)

Bug Fixes

  • Fallback to using route's name if chunkName empty (0969229), closes #52

2.9.0 (2018-03-22)

Features

2.8.1 (2018-03-22)

Bug Fixes

  • Make detectBrowserLanguage redirection work with noPrefixDefaultLocale disabled (90d9e45), closes #45

2.8.0 (2018-03-21)

Features

  • Allow usage of redirectRootToLocale option even with noPrefixDefaultLocale disabled (6994072), closes #45

2.7.2 (2018-03-21)

Bug Fixes

  • Prevent language from switching back to default when navigating to ignored route (fb4889b), closes #47

2.7.1 (2018-03-19)

Bug Fixes

  • Avoid server error without accept-language header (#46) (a194d8c)

2.7.0 (2018-03-14)

Features

  • Add beforeLanguageSwitch & onLanguageSwitched callbacks (21b5f13)

2.6.1 (2018-03-11)

2.6.0 (2018-03-10)

Features

  • Add useRedirectCookie option (6d6aad0)

2.5.1 (2018-03-10)

Bug Fixes

  • Check req.headers.cookie before parsing (0e3dad8)

2.5.0 (2018-03-10)

Features

  • Browser language detection (755fa59), closes #37

2.4.1 (2018-03-10)

2.4.0 (2018-03-10)

Features

  • Add support for Regexp for ignorePaths option (65f8b45), closes #38

2.3.4 (2018-02-25)

Bug Fixes

  • Fix issue where locale messages would not be preserved after lazy-loading (c39b33d)

2.3.3 (2018-02-21)

Bug Fixes

  • Remove base from resolved URL (f863f50), closes #29

2.3.2 (2018-02-21)

Bug Fixes

  • Require loadLanguageAsync only when needed (2b8cd9e)

2.3.1 (2018-02-21)

Bug Fixes

  • Set langDir default value to 'lang/' to prevent webpack dynamic import issue (7ce1f11), closes #28

2.3.0 (2018-02-20)

Bug Fixes

  • Prevent adding hreflang data to non-localized pages (7ba097d)

2.3.0-0 (2018-02-17)

Features

2.2.4 (2018-02-11)

Bug Fixes

  • Use same Regex for matching URL locale in plugin and middleware (a590e93), closes #17

2.2.3 (2018-02-11)

2.2.2 (2018-02-10)

2.2.1 (2018-02-10)

Bug Fixes

2.2.0 (2018-02-10)

Features

  • Generate pages SEO metadata (dfb8432)

2.1.1 (2018-02-08)

Bug Fixes

2.1.0 (2018-01-27)

Features

  • Add noPrefixDefaultLocale option (dac14ae)
  • Add redirectRootToLocale option (65cacfd)

2.0.1 (2018-01-27)

2.0.0 (2018-01-26)

Features

  • Improved dynamic nested routes support (e08935e)

BREAKING CHANGES

  • Custom routes translations now use routes chunkName instead of name, you should update your config accordlingly.

1.1.0 (2018-01-22)

Features

1.0.2 (2017-12-07)

Fixed

  • 2nd fix for children routes generation (b53059e) @MengWeiChen

1.0.1 (2017-12-05)

Fixed

  • Fix children routes generator (696b7c7) @MengWeiChen

1.0.0 (2017-12-05)

Features

  • refactor: refactor module's code (e4186dc)

BREAKING CHANGES

  • refactor: Route generation utils have been renamed & the module doesn't register a vuex module anymore
  • Replace all calls to getLocalizedRoute() with localePath()
  • Replace all calls to getSwitchLocaleRoute() with switchLocalePath()
  • Configured locales are now accessible in any component via $i18n.locales
  • Similarly, default app locale can be accessed via i18n.defaultLocale