Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Releases: jamesarosen/ember-i18n

v2.2.3

24 Dec 20:51
Compare
Choose a tag to compare

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

24 Dec 20:50
Compare
Choose a tag to compare

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

20 Oct 18:47
Compare
Choose a tag to compare
  • Ember-I18n 2.9+ is not compatible with Ember 1.9+
  • Use Ember.$.isFunction instead of jQuery.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 has node, npm, and phantomjs

v2.2.2

16 Sep 21:40
Compare
Choose a tag to compare
  • 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

18 Aug 02:51
Compare
Choose a tag to compare
  • Fixed overeager warnings related to I18N_COMPILE_WITHOUT_HANDLEBARS and unquoted key arguments to the {{t}} helper.

v2.2.0

17 Aug 00:50
Compare
Choose a tag to compare
  • 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 on Ember.I18n.
  • compileWithHandlebars uses saved-off warn helper (which uses Ember.Logger.warn rather than Ember.warn).
  • Run separate Travis builds for each dependency set.
  • Add Sinon as a test dependency and use its spies in specs.

v2.1.0

08 Aug 22:29
Compare
Choose a tag to compare
  • 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 with Ember.FEATURES.I18N_TRANSLATE_HELPER_SPAN = false;

v2.0.0

02 Jun 11:49
Compare
Choose a tag to compare
  • Drop support for Ember 0.x.

v1.6.4

28 May 12:45
Compare
Choose a tag to compare
  • Use Ember.Handlebars, not Handlebars for helper management
  • The default compileTemplate throws an Ember.Error if the full
    Ember.Handlebars is not available
  • Check view.$() instead of view.state as Ember is deprecating the
    latter in favor in favor of view._state, but doesn't consider either
    to be part of the public API.
  • Convert Em to Ember for consistency

v1.6.3

19 Feb 18:46
Compare
Choose a tag to compare
  • relax CLDR and Handlebars dependencies via the ^ operator