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 inember-testing
click helper. - π [BUGFIX] Remove HTMLBars from builds
ember.debug.js
andember.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
andmorph
to remove anundefined
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
andoptions.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 (useregisterHelper('blah', makeViewHelper(SomeView))
orregisterHelper('blah', makeBoundHelper(func))
).
- Remove
- π [BUGFIX] Fix Handlebars compat mode
registerHelper
interop withmakeViewHelper
. - π [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
andEmber.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
toEmber.HTMLBars.registerPlugin
. - Export
ember-template-compiler.js
. - Escape
href
,src
, andbackground
attributes fora
,link
,img
, andiframe
elements. - π Move debugging file output from
ember.js
toember.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.