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.