Skip to content

ember-i18next 5.0.0

Latest
Compare
Choose a tag to compare
@heathharrelson heathharrelson released this 20 Apr 17:44
· 192 commits to master since this release

Updates dependencies and adds the ability to catch errors thrown during initialization.

Breaking changes

ember-i18next 5.0.0 updates the i18next dependency to version 19, which contains breaking changes. Review the i18next migration guide carefully prior to upgrading.

New Features

This release adds the ability to customize the behavior when a promise rejects in initLibraryAsync. Previously ember-i18next would only log the error to the console. For compatibility with previous versions, this is still the default behavior. However, you can now handle errors in a catch block if the rejectError configuration property is truthy. See the README for details.

Thanks to @mpirio for implementing this new feature.

Changes Included

  • PR #100: Documentation updates.
  • PR #79, #98: Upgrade to latest i18next and i18next-xhr-backend.
  • PR #95: Add configuration property to allow handling errors raised by initLibraryAsync. Thanks to @mpirio for this PR.
  • PR #88: Continuous integration changes.
  • Many dependency updates.