ember.js v1.10.0 Release Notes

Release Date: 2015-02-07 // about 9 years ago
    • πŸ›  [BUGFIX] Ensure that property case is normalized.
    • πŸ›  [BUGFIX] Prevent an error from being thrown if the errorThrown property is a string when catching unhandled promise rejections.
    • πŸ›  [BUGFIX] contenteditable elements should fire focus events in ember-testing click helper.
    • πŸ›  [BUGFIX] Remove HTMLBars from builds ember.debug.js and ember.prod.js builds. Please see https://emberjs.com/blog/2015/02/05/compiling-templates-in-1-10-0.html for more details.
    • πŸ›  [BUGFIX] Ensure that calling the wait testing helper without routing works properly.
    • πŸ›  [BUGFIX] Ensure that a plus sign in query params are treated as spaces.
    • πŸ›  [BUGFIX] Fix broken Ember.Test.unregisterWaiter semantics.
    • πŸ›  [BUGFIX] Allow unbound helpers to add attributes.
    • πŸ›  [BUGFIX] Ensure compat helpers calling options.fn work.
    • πŸ›  [BUGFIX] Fix memory leak in view streams.
    • πŸ›  [BUGFIX] Don't render default layout for Ember.TextField.
    • ⚑️ Update HTMLBars version to v0.8.5:
      • Allow numbers to be parsed as HTML in IE.
      • Add namespace detection.
      • Include line number in error thrown for unclosed HTML element.
      • removeAttribute fix for IE <11 and SVG.
      • Disable cloneNodes in IE8.
      • Improve HTML validation and error messages thrown.
      • Fix a number of template compilation issues in IE8.
      • Use the correct namespace in parseHTML (fixes various issues that occur when changing to and from alternate namespaces).
      • Ensure values are converted to String's when setting attributes (fixes issues in IE10 & IE11).
      • Change setProperty and morph to remove an undefined attr value.
    • βœ‚ Remove dots from default resolver descriptions.
    • βž• Add helpful assertion if a block helper is not found.
    • πŸ‘‰ Make Ember.HTMLBars version of registerHelper private.
    • πŸ›  [BUGFIX] Add options.types and options.hashTypes for Handlebars compatible helpers.
    • πŸ›  [BUGFIX] Fix usage of emptyView with {{#each}} helper.
    • Assert if an attribute set statically and via bind-attr. For example: <div class="foo" {{bind-attr class="bar"}}></div> will now trigger an assertion (instead of silently failing).
    • πŸ›  [BUGFIX] Fix deprecated bindAttr helper.
    • πŸ›  [BUGFIX] Do not allow both keyword and block params.
    • Cleanup HTMLBars public API
      • Remove Ember.HTMLBars.helper.
      • Remove internal registerBoundHelper function (use registerHelper('blah', makeViewHelper(SomeView)) or registerHelper('blah', makeBoundHelper(func))).
    • πŸ›  [BUGFIX] Fix Handlebars compat mode registerHelper interop with makeViewHelper.
    • πŸ›  [BUGFIX] Ensure that mergedProperties are properly merged when all properties are not present.
    • βž• Add options argument to pass url to Ember.deprecate.
    • πŸ—„ Deprecate {{bind}} helper.
    • Pass array to Ember.computed.filter callback
    • πŸ›  [BUGFIX] Prevent mandatory-setter when setter is already present.
    • βœ‚ Remove Handlebars from dependencies.
    • πŸ›  Fix error when parsing templates with invalid end tags.
    • πŸ›  [BUGFIX] Allow makeBoundHelper to be a sub-expression.
    • πŸ›  [BUGFIX] Allow compat makeBoundHelpers to be sub-expressions.
    • πŸ›  [BUGFIX] Export Ember.Handlebars compat shim for Ember.Handlebars.SafeString and Ember.Handlebars.Utils.escapeExpression.
    • πŸ›  [BUGFIX] Allow Ember.inject injected properties to be overridden (makes testing significantly easier).
    • πŸ›  [BUGFIX] Don’t assert uncaught RSVP rejections. We are already logging the error, but asserting breaks everything else on the run loop queue.
    • πŸ›  [BUGFIX] Allow tagName to be a CP (with deprecation).
    • πŸ›  [BUGFIX] Allow view instances in {{view}}.
    • πŸ›  [BUGFIX] Ensure bound attrs flush immediately.
    • 🐎 [PERFORMANCE] Initialize views in preRender state.
    • 🐎 [PERFORMANCE] View#element should not be observable.
    • βž• Add ember-template-compiler package.
    • πŸ”Œ Rename Ember.HTMLBars.registerASTPlugin to Ember.HTMLBars.registerPlugin.
    • Export ember-template-compiler.js.
    • Escape href, src, and background attributes for a, link, img, and iframe elements.
    • 🚚 Move debugging file output from ember.js to ember.debug.js.
    • βœ‚ Remove templateData property from views.
    • Restructure Ember.libraries to be more idiomatic.
    • Prevent creating an extra view for each select option.
    • πŸ—„ Deprecate the block form of the bind helper.
    • Cleanup Ember.CoreObject init argument passing.
    • πŸ‘ Allow all rejection types to be handled by default RSVP error handler.
    • πŸ—„ Deprecate setting ContainerView#childViews.
    • [FEATURE] ember-htmlbars - Enable the HTMLBars rendering engine.
    • [FEATURE] ember-htmlbars-block-params - Enable block params feature for HTMLBars.