This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
Releases: jamesarosen/ember-i18n
Releases · jamesarosen/ember-i18n
v2.2.3
SECURITY PATCH
- Handlebars-less template compiler escapes interpolations by default. Use triple-stache syntax or
Ember.Handlebars.SafeString
for HTML-safe interpolations.
v2.1.1
SECURITY PATCH
- Handlebars-less template compiler escapes interpolations by default. Use triple-stache syntax or
Ember.Handlebars.SafeString
for HTML-safe interpolations.
v2.9.0
- Ember-I18n 2.9+ is not compatible with Ember 1.9+
- Use
Ember.$.isFunction
instead ofjQuery.isFunction
- Deprecate use of
tagName
in the{{t}}
helper - Implement pluralization logic in this project and remove dependency on CLDR.js
- Expose
I18n.missingMessage
for customising the "missing translation" message Makefile
ensures the environment hasnode
,npm
, andphantomjs
v2.2.2
- Use internal UUID generation, since implementations differ across Ember versions
- Select template compiler on first use so
Ember.ENV.I18N_COMPILE_WITHOUT_HANDLEBARS
is sure to have been set properly. - Fix TranslateableAttributes tests on Ember Canary
- Better messaging during the build process
v2.2.1
- Fixed overeager warnings related to I18N_COMPILE_WITHOUT_HANDLEBARS and unquoted key arguments to the
{{t}}
helper.
v2.2.0
- The
{{t}}
helper now warns if passed an unquoted key argument. It still uses unquoted arguments as string literals, but this behavior will change in the next major release. - Removed deprecation warning for those who've opted in to
I18N_COMPILE_WITHOUT_HANDLEBARS
- Fixed a typo in the warning message for
I18N_COMPILE_WITHOUT_HANDLEBARS
- Remove check for
Ember.I18n.fire
as that was only necessary on Ember 0.9, which this library no longer supports. - Don't warn on missing translations. Clients that want to be notified can subscribe to the
missing
event onEmber.I18n
. compileWithHandlebars
uses saved-offwarn
helper (which usesEmber.Logger.warn
rather thanEmber.warn
).- Run separate Travis builds for each dependency set.
- Add Sinon as a test dependency and use its spies in specs.
v2.1.0
- Use
Ember.uuid
to generate unique IDs - Add a Handlebars-less compiler; enable with
Ember.ENV.I18N_COMPILE_WITHOUT_HANDLEBARS = true;
{{t}}
helper uses Metamorph tags.{{t}}
helper: allow turning off the default<span>
tag; enable withEmber.FEATURES.I18N_TRANSLATE_HELPER_SPAN = false;
v2.0.0
- Drop support for Ember 0.x.
v1.6.4
- Use
Ember.Handlebars
, notHandlebars
for helper management - The default
compileTemplate
throws anEmber.Error
if the full
Ember.Handlebars
is not available - Check
view.$()
instead ofview.state
as Ember is deprecating the
latter in favor in favor ofview._state
, but doesn't consider either
to be part of the public API. - Convert
Em
toEmber
for consistency
v1.6.3
- relax CLDR and Handlebars dependencies via the
^
operator