Skip to content

Releases: Greentube/localize-router

Common sense

27 Nov 08:22
dc5f71b

Choose a tag to compare

Common sense Pre-release
Pre-release

FIXES

  • Wildcard and alwaysSetPrefix conflict
  • Export type changed to commonjs (#82)

Token of gratitude

27 Nov 09:10

Choose a tag to compare

Token of gratitude Pre-release
Pre-release

FEATURES

  • Ability to chose navigation method in changeLanguage (navigate and navigateByUrl)

BREAKING CHANGES

  • Replace OpaqueToken with InjectionToken (#86, #87)

Retained restiction

30 Aug 08:09

Choose a tag to compare

Retained restiction Pre-release
Pre-release

BUG FIXES

  • Preserve query parameters after route localisation (#62)

Detached responsiveness

24 Aug 09:01

Choose a tag to compare

Pre-release

FEATURES/BREAKING CHANGES

  • Extract StaticParserLoader and remove any reference of HttpModule making LocalizeRouter loader agnostic.

Conditional proposition

23 Aug 08:04

Choose a tag to compare

Pre-release

BUG FIXES

  • Apply alwaysSetPrefix to multi language scenarios by not prefixing default locale (#63)

Passport dilemma

14 Aug 18:17

Choose a tag to compare

Passport dilemma Pre-release
Pre-release

FEATURES

  • Add possibility to ignore certain routes (#48)
  • Add possibility to not prefix url if there is only one locale (#34)
  • Add possibility to overriding default language logic (#35)
  • Add possibility to chose between cookie and localstorage for default language caching (#32)
  • Missing option to set LOCALIZE_LOCAL_STORAGE value (#27)
  • Add possibility to disable save/fetch defaults language from cache (#65)

BUG FIXES

  • Fix language parsing when route has query params

BREAKING CHANGES:

  • Add configuration to LocalizeRouter init:
    • Parser loader
    • Cache name
    • Cache mechanism (LocalStorage or Cookies)
    • Use cache flag
    • Enforce prefix even for single language websites
    • Default language logic override function

v0.7.1

14 Aug 08:20

Choose a tag to compare

  • Added missing typings
  • Added NavigationExtras to change language
  • Fix: Make prefix optional (#38)
  • Fix: Safari private mode (#37)

v0.7.0

24 Apr 10:10

Choose a tag to compare

  • Support for Angular 4x
  • Localization parser refactored
  • Wild card parsing error fixed
  • Localization of simple one level lazy loaded routes

v0.6.4

22 Feb 10:25

Choose a tag to compare

  • BREAKING CHANGE! Update ng2-translate to new ngx-translate

Fixes:

  • Add support for arrays in translateRoute service method (#29)
  • Change initialization of parser (#31)

v0.6.2

13 Feb 00:41

Choose a tag to compare

Fixes:

  • SystemJS load problem (UMD build)
  • Wildcard sync problem from v0.6.1