Skip to content

Releases: Romanchuk/angular-i18next

v4.0.0

25 Jun 13:23
Compare
Choose a tag to compare

In v4 passed through most of i18next api methods

  1. Update angular to v6+
  2. Update rxjs to v6.2.0+

v3.4.2

05 May 12:37
Compare
Choose a tag to compare
v3.4.2

v3.4.1

29 Apr 07:21
Compare
Choose a tag to compare
  • i18next v11 support
  • fix: format pipe
  • default formater fixes

v3.4.0

29 Apr 06:59
Compare
Choose a tag to compare
v3.4.0 Pre-release
Pre-release

v3.3.0

12 Mar 14:50
Compare
Choose a tag to compare
  • added umd bundle
  • comments cleanup
  • updated dev dependencies

v3.2.0

17 Jan 13:30
778fadf
Compare
Choose a tag to compare

Bug Fixes

Breaking changes

Removed parameter 'localizeTitle' from forRoot method.
You need to manually resolve Title as I18NextTitle for same behavior.

v3.1.0

22 Dec 15:25
Compare
Choose a tag to compare

It is possible to pass array of namespaces (or scopes). Key would fallback to next namespace in array if the previous failed to resolve.

[feature.validators:key, validators:key]

{
  provide: I18NEXT_NAMESPACE,
  useValue: ['feature.validators', 'validators']
}

v3.0.0

15 Dec 13:42
Compare
Choose a tag to compare

Breaking changes list

  • Added i18NextFormat pipe to support i18next

  • BREAKING: Reserved option 'case' in I18NextPipe changed to 'format'

  • BREAKING: I18NextCapPipe has no own formaters

  • I18NextModule has static method static interpolationFormat(customFormat: Function = null): Function that can be used as default interpolation format (it provides 'upper', 'cap' and 'lower' formatters) . You also can pass your custom function to be called after I18NextModule formatters .

  • i18next version support >= 8.4.0

  • Title provider does not resolving as I18NextTitle by default anymore

  • Fix #9

Migration to v3

To keep same behavior you should:

  1. update i18next version to >= 8.4.0
  2. set options.interpolation.format: I18NextModule.interpolationFormat()
  3. set I18NextModule.forRoot params to:

I18NextModule.forRoot({ localizeTitle: true, errorHandlingStrategy: StrictErrorHandlingStrategy })

v2 docs available here

v2.0.0

27 Nov 15:52
Compare
Choose a tag to compare
v2.0.0

v1.1.0

04 Nov 15:31
Compare
Choose a tag to compare

added i18next v10 support