This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
v4.0.0-beta.1
Pre-release
Pre-release
jamesarosen
released this
28 May 20:34
·
201 commits
to master
since this release
Caveats
Ember-I18n v4.0.0-beta.1 is not compatible with Glimmer and Ember 1.13. See the stateful helpers RFC and the helper registration RFC for more information.
Ember-I18n 4.0 is a significant departure from previous versions. It has incorporated many of the ideas from ember-cli-i18n. (See ember-cli-i18n#56 for more information.)
Changes
- Restart project as a native Ember-CLI addon
- Translations now recompute when locale changes
- Move central API to
service:i18n
, which exposeslocale
,t
, andaddTranslations
- Add
translationMacro
for defining translated computed properties - Remove
eachTranslatedAttribute
,TranslateableProperties
, andTranslateableAttributes
, which are better expressed as computed property macros. (TranslateableAttributes
may come back if there's a strong enough use-case.) - Built-in compiler now applies RTL Unicode markers before marking the result HTML-safe. (Previously,
rtl = true
broke HTML safety.)