Skip to content

Latest commit

 

History

History
150 lines (109 loc) · 4.61 KB

Changelog.md

File metadata and controls

150 lines (109 loc) · 4.61 KB

3.0.0 (In Beta)

  • Drop support for CLDR.js in favor of the included i18n-plurals.js
  • Always use custom compiler; drop support for I18N_COMPILE_WITHOUT_HANDLEBARS; drop support for using the Handlebars compiler if full Handlebars is available.
  • {{t}} helper obeys Ember-1-style argument quoting; unquoted arguments, including the key itself, are bound references
  • {{t}} helper no longer supports passing a tagName
  • Drop support for I18N_TRANSLATE_HELPER_SPAN flag

2.9.0 2014-10-20

  • 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

2.2.2 2014-09-16

  • 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

2.2.1 2014-08-17

  • Fixed overeager warnings related to I18N_COMPILE_WITHOUT_HANDLEBARS and unquoted key arguments to the {{t}} helper.

2.2.0 2014-08-16

  • 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 opt-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.

2.1.0 2014-08-08

  • 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;

2.0.0 2014-05-28

  • Drop support for Ember 0.x.

v1.6.4 2014-05-27

  • 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 2014-02-19

  • relax CLDR and Handlebars dependencies via the ^ operator

v1.6.2 2014-02-19

  • relax Ember dependency to ">0.9.7 <2"

v1.6.1 2014-02-09

  • relax jQuery dependency to ">=1.7 <3"

v1.6.0 2014-02-06

  • Add Ember.I18n.on
  • Emit missing events when translation missin
  • Add {{ta}} helper as shorthand for {{translateAttr}}
  • TranslateableProperties observes when the translation key changes
  • Use the afterRender queue if available (Ember 1+)
  • Expose Ember.I18n.eachTranslatedAttribute

v1.5.0 2013-07-30

  • Add Ember warning if missing translation
  • Add I18n.exists(key)
  • Avoid calling compile for missing translations

v1.4.1 2013-06-25

  • Don't rely on Ember.uuid, but use it if Ember defines it

v1.4.0 2013-06-04

  • No more CoffeeScript
  • Use Ember.uuid instead of jQuery.uuid
  • Change license to APLv2
  • Dotted-style keys win over nested-style keys
  • Add TranslateableProperties mixin

v1.3.2 2013-01-09

  • Support use with jQuery.noconflict

v1.3.1 2013-01-03

  • Support defining translations in nested objects
  • Prefer Ember.assert to ember_assert
  • Add Bower support
  • Use Ember.Handlebars.get instead of getPath if on Ember 1

v1.3.0 2012-04-20

  • Remove all references to Sproutcore and SC
  • Use correct context for getPath when getting the value of a bound attribute

v1.2.0 2012-02-14

  • Add inflection support via CLDR.js

v1.1.0 2012-01-24

  • Use MIT license
  • Make I18n available in the Ember namespace
  • Use Ember, not Sproutcore

v1.0.0 2011-09-29

Initial version