Releases: Greentube/localize-router
Releases · Greentube/localize-router
Common sense
FIXES
- Wildcard and
alwaysSetPrefix
conflict - Export type changed to
commonjs
(#82)
Token of gratitude
Retained restiction
BUG FIXES
- Preserve query parameters after route localisation (#62)
Detached responsiveness
FEATURES/BREAKING CHANGES
- Extract StaticParserLoader and remove any reference of HttpModule making LocalizeRouter loader agnostic.
Conditional proposition
BUG FIXES
- Apply
alwaysSetPrefix
to multi language scenarios by not prefixing default locale (#63)
Passport dilemma
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