Skip to content

Releases: robisim74/angular-l10n

v4.2.0

28 Aug 15:12
Compare
Choose a tag to compare

Features

  • Angular version: ^5.0.0
  • Enable translation reload for the current language (#200)

v5.0.0

04 May 12:00
Compare
Choose a tag to compare

Features

  • Angular version: ^6.0.0
  • rxjs version: ^6.0.0

v4.1.5

16 Feb 10:59
Compare
Choose a tag to compare

Features

  • Angular version: ^5.0.0
  • Add the option to assign a function to missingValue instead of a plain string: #171 by @Etchelon
  • Refactoring of LocaleValidation class

v4.1.4

04 Jan 14:11
Compare
Choose a tag to compare

Features

  • Angular version: ^5.0.0

Bug fixes

  • L10nNumberValidatorDirective:
    • Fix functions types for using with setValidators
    • Fix inconsistencies of thousand separator

v4.1.3

15 Dec 09:32
Compare
Choose a tag to compare

Features

  • Angular version: ^5.0.0
  • Improve internal documentation

Bug fixes

  • Add input params to avoid loops in nested translation (#155)

There aren't breaking changes, but the new suggested way to use params with directives is:

Before

<p [l10nTranslate]="{ user: username, NoMessages: messages.length }">User notifications</p>

After

<p [params]="{ user: username, NoMessages: messages.length }" l10nTranslate>User notifications</p>

That to avoid that situations of this kind generate a loop:

<div l10nTranslate>
    <div [params]="{number:'Two'}" l10nTranslate>2</div>
    <div>1</div>
</div>

v4.1.2

05 Dec 08:49
Compare
Choose a tag to compare

Features

  • Angular version: ^5.0.0

Bug fixes

  • Fix directives for SSR (#154)

v4.1.0

04 Dec 22:21
Compare
Choose a tag to compare

Features

v4.0.0

02 Nov 17:28
Compare
Choose a tag to compare

Features

Bug fixes

BREAKING CHANGES

v3.5.2

02 Nov 15:41
Compare
Choose a tag to compare

Features

  • Angular version: ^4.1.0

Bug fixes

  • Rename index.ts to package & update peer dependencies

v4.0.0-rc.0

09 Oct 08:42
Compare
Choose a tag to compare
v4.0.0-rc.0 Pre-release
Pre-release

Features

  • Angular version: ^5.0.0-rc.1
  • Upgrade to Angular v5 building process
  • Add Mit licence banner to bundles
  • Add support to objects as values (#129)