Skip to content

Releases: robisim74/angular-l10n

v9.0.0-rc.0

07 Nov 21:09
Compare
Choose a tag to compare
v9.0.0-rc.0 Pre-release
Pre-release

Features

  • Angular version: ^9.0.0-rc.1
    After 4 years, and because of the new Angular Ivy engine, this is a completely rewritten version of Angular l10n: finally designed, lighter, more performing and developed on top of Ivy.

BREAKING CHANGES

All the APIs have changed, and the effort for an upgrade is high. Please follow the README and documentation.

v8.1.2

19 Aug 17:00
Compare
Choose a tag to compare

Features

  • Angular version: ^8.0.0

Bug fixes

  • Fix space as thousand separator with format (#261)
  • Fix path for SSR in localized routing

v8.1.1

08 Aug 19:58
Compare
Choose a tag to compare

Features

  • Angular version: ^8.0.0

Bug fixes

  • Fix space as thousand separator (#261)

v8.1.0

23 Jul 16:22
Compare
Choose a tag to compare

Features

  • Angular version: ^8.0.0
  • Add has method to TranslationService (#258)

Bug fixes

  • Fix Ivy compilation error (#255)

v8.0.0

17 Jun 20:30
Compare
Choose a tag to compare

Features

  • Angular version: ^8.0.0
  • LocalizationExtra module
    • TimeAgo pipe & directive to translate relative time

BREAKING CHANGES

  • CollatorModule is no longer available, replaced by LocalizationExtraModule

v7.2.0

19 Apr 09:16
Compare
Choose a tag to compare

Features

  • Angular version: ^7.0.0
  • Custom storage names (#238)

Bug fixes

  • Fix for path's hash erased by localizedRouting (#241) Thanks to @kneefer

v7.1.0

10 Feb 15:35
Compare
Choose a tag to compare

Features

  • Angular version: ^7.0.0
  • Make public the loadTranslation method: #230
  • Mark as optional HttpClient: #232

v7.0.2

06 Jan 16:50
Compare
Choose a tag to compare

Features

  • Angular version: ^7.0.0

Bug fixes

  • Fix(LocaleValidation): default values: #228

v7.0.1

03 Jan 13:45
Compare
Choose a tag to compare

Features

  • Angular version: ^7.0.0

Bug fixes

  • Logger & error handling minor fixes

v7.0.0

17 Dec 11:44
Compare
Choose a tag to compare

Features

  • Angular version: ^7.0.0
  • SEO by locales
    • localized routing
    • translation of title and meta tags
    • translation of JSON-LD structured data
  • Logger
  • New methods to format dates & numbers in component class: Dates & numbers (#221)
  • Custom format for numbers: Decimals
  • Translation and Localization classes auto-unsubscribe (#219)
  • Ability to pass a custom TranslationProvider and a custom TranslationHandler in lazy loaded modules

Bug fixes

  • Validation in parseNumber method of LocaleValidation (#215)
  • Fix regression: empty strings associated with key values and missing values

BREAKING CHANGES

  • Configuration:
  • Instead of use the transform method of the date and decimal pipes in component class, you should use the new methods to format dates & numbers. To continue to use the transform method, you have to pass it the instance of LocaleService
  • Translation and Localization classes:
    • the cancelParamSubscriptions method has been removed, because they auto-unsubscribe
    • the instances of LocaleService and TranslationService are no longer available, to avoid side effects in lazy loaded modules
  • New signature for parseNumber method of LocaleValidation
  • If you are using a lazy loaded module with forChild method:
    • make sure you are configuring the translation property in L10nConfig
    • if you are using a custom TranslationProvider or a custom TranslationHandler, pass them also in the lazy loaded module
  • TranslationProvider refactored