Releases: emberjs/ember.js
Releases · emberjs/ember.js
Ember 1.11.0
Changelog
- #10736 [BUGFIX] Fix issue with Query Params when using
Ember.ObjectController
(regression fromObjectController
deprecation). - #10726 / router.js#ed45bc [BUGFIX] Fix issue with nested
{{link-to}}
active and transition classes getting out of sync. - #10709 [BUGFIX] Clear
src
attributes that are set tonull
orundefined
. - #10695 [SECURITY] Add
<base>
and<embed>
to list of tags wheresrc
andhref
are sanitized. - #10683 / #10703 / #10712 [BUGFIX] Fix regressions added during the
{{outlet}}
refactor. - #10663 / #10711 [SECURITY] Warn when using dynamic style attributes without a
SafeString
value. See here for more details. - #10463 [BUGFIX] Make async test helpers more robust. Fixes hanging test when elements are not found.
- #10631 Deprecate using
fooBinding
syntax ({{some-thing nameBinding="model.name"}}
) in templates. - #10627 [BUGFIX] Ensure specifying
class
as a sub-expression ({{input value=foo class=(some-sub-expr)}}
) works properly. - #10613 [BUGFIX] Ensure
{{view id=bar}}
setsid
on the view. - #10612 [BUGFIX] Ensure
Ember.inject.controller()
works for all Controller types. - #10604 [BUGFIX] Fix regression on iOS 8 crashing on certain platforms.
- #10556 [BUGFIX] Deprecate
{{link-to}}
unwrapping a controllers model. - #10528 [BUGFIX] Ensure custom Router can be passed to Ember.Application.
- #10530 [BUGFIX] Add assertion when calling
this.$()
in a tagless view/component. - #10533 [BUGFIX] Do not allow manually specifying
application
resource in theRouter.map
. - #10544 / #10550 [BUGFIX] Ensure that
{{input}}
can be updated multiple times, and does not loose cursor position. - #10553 [BUGFIX] Fix major regression in the non-block form of
{{link-to}}
that caused an application crash after a period of time. - #10554 [BUGFIX] Remove access to
this
in HTMLBars helpers. To fix any usages ofthis
in a helper, you can access the view fromenv.data.view
instead. - #10475 [BUGFIX] Ensure wrapped errors are logged properly.
- #10489 [BUGFIX] Fix an issue with bindings inside of a yielded template when the yield helper is nested inside of another view
- #10493 [BUGFIX] Fix nested simple bindings inside of nested yields within views.
- #10527 [BUGFIX] Ensure that Component context is not forced to parent context.
- #10525 [BUGFIX] Fix issue causing cursor position to be lost while entering into an
{{input}}
/Ember.TextField
. - #10372 / #10431 / #10439 / #10442 Decouple route transition from view creation.
- #10436 [BUGFIX] Ensure
instrument.{subscribe,unsubscribe,reset}
aren’t accidentally clobbered. - #10462 [BUGFIX] Fix incorrect export of
Ember.OutletView
. - #10398 [BUGFIX]
undefined
andnull
values in bind-attr shoud remove attributes. - #10413 Update to use inclusive
morph-range
(via HTMLBars v0.11.1). - #10464 Add helpful assertion if templates are compiled with a different template compiler revision.
- #10160 [FEATURE] Add index as an optional parameter to #each blocks @tim-evans
- #10186 Port attributeBindings to AttrNode views @mixonic
- #10184 Initial support basic Node.js rendering.
- #10179 [FEATURE] Execute initializers in their respective context @gf3
- #10213 Ensure overriding attribute bindings is possible @miguelcobain
- #10320 Start breaking up Ember.View code into mixins based on purpose @ebryn
- #10221 Embed enabled features in debug builds. @rwjblue
- #10215 [Bugfix beta] Prevent Ember from erroring when the errorThrown property is
undefined
@bmac - #10326 Let
View#appendChild
instantiateSimpleBoundView
s rather than doing it manually ourselves @ebryn - #10280 Moves route-recognizer to a NPM dep, bumps emberjs-build @danmcclain
- #10256 Simplify and modularize app/router initialization @emberjs
- #10254 Make computed.or and computed.and return truthy values @soulcutter
- #10271 Clean up boot process @emberjs
- #10268 Bumped sha to get tildeio/route-recognizer#40, which fixes #10190 @jayphelps
- #10316 Make LinkView FastBoot™-compatible @emberjs
- #10321
View#element
isn’t observable, we don’t need to useset
@ebryn - #10323 Remove
meta.descs
@ebryn - #10324 Don’t run this mandatory setter test in prod @ebryn
- #10329 Update transpiler to Esperanto. @rwjblue
- #10352 Add internal
_willDestroyElement
hook to prevent using instance-based events @ebryn - #10336 Remove unnecessary check for
NativeArray
@tricknotes - #10334 Update to HTMLBars v0.10.0. @rwjblue
- #10338 Ensure computed.oneWay is exported properly. @linstula
- #10345 Update to QUnit 1.17.1. @rwjblue
- #10350 Make meta.cache & meta.cacheMeta lazy @ebryn
- #10353 Avoid creating context bindings for collection views @mmun
- #10093 [FEATURE] Implement {{component}} helper @lukemelia
v1.11.0-beta.5
CHANGELOG
- #10556 [BUGFIX] Deprecate
{{link-to}}
unwrapping a controllers model.
v1.11.0-beta.4
Changelog
- #10528 [BUGFIX] Ensure custom Router can be passed to Ember.Application.
- #10530 [BUGFIX] Add assertion when calling
this.$()
in a tagless view/component. - #10533 [BUGFIX] Do not allow manually specifying
application
resource in theRouter.map
. - #10544 / #10550 [BUGFIX] Ensure that
{{input}}
can be updated multiple times, and does not loose cursor position. - #10553 [BUGFIX] Fix major regression in the non-block form of
{{link-to}}
that caused an application crash after a period of time. - #10554 [BUGFIX] Remove access to
this
in HTMLBars helpers. To fix any usages ofthis
in a helper, you can access the view fromenv.data.view
instead.
Ember 1.11.0-beta.3
Changelog
- #10475 [BUGFIX] Ensure wrapped errors are logged properly.
- #10489 [BUGFIX] Fix an issue with bindings inside of a yielded template when the yield helper is nested inside of another view
- #10493 [BUGFIX] Fix nested simple bindings inside of nested yields within views.
- #10527 [BUGFIX] Ensure that Component context is not forced to parent context.
- #10525 [BUGFIX] Fix issue causing cursor position to be lost while entering into an
{{input}}
/Ember.TextField
.
Ember v1.11.0-beta.2
Changelog
- #10372 / #10431 / #10439 / #10442 Decouple route transition from view creation.
- #10436 [BUGFIX] Ensure
instrument.{subscribe,unsubscribe,reset}
aren’t accidentally clobbered. - #10462 [BUGFIX] Fix incorrect export of
Ember.OutletView
. - #10398 [BUGFIX]
undefined
andnull
values in bind-attr shoud remove attributes. - #10413 Update to use inclusive
morph-range
(via HTMLBars v0.11.1). - #10464 Add helpful assertion if templates are compiled with a different template compiler revision.
v1.11.0-beta.1
Changelog
- #10160 [FEATURE] Add index as an optional parameter to #each blocks @tim-evans
- #10186 Port attributeBindings to AttrNode views @mixonic
- #10184 Initial support basic Node.js rendering.
- #10179 [FEATURE] Execute initializers in their respective context @gf3
- #10213 Ensure overriding attribute bindings is possible @miguelcobain
- #10320 Start breaking up Ember.View code into mixins based on purpose @ebryn
- #10221 Embed enabled features in debug builds. @rwjblue
- #10215 [Bugfix beta] Prevent Ember from erroring when the errorThrown property is
undefined
@bmac - #10326 Let
View#appendChild
instantiateSimpleBoundView
s rather than doing it manually ourselves @ebryn - #10280 Moves route-recognizer to a NPM dep, bumps emberjs-build @danmcclain
- #10256 Simplify and modularize app/router initialization @emberjs
- #10254 Make computed.or and computed.and return truthy values @soulcutter
- #10271 Clean up boot process @emberjs
- #10268 Bumped sha to get tildeio/route-recognizer#40, which fixes #10190 @jayphelps
- #10316 Make LinkView FastBoot™-compatible @emberjs
- #10321
View#element
isn’t observable, we don’t need to useset
@ebryn - #10323 Remove
meta.descs
@ebryn - #10324 Don’t run this mandatory setter test in prod @ebryn
- #10329 Update transpiler to Esperanto. @rwjblue
- #10352 Add internal
_willDestroyElement
hook to prevent using instance-based events @ebryn - #10336 Remove unnecessary check for
NativeArray
@tricknotes - #10334 Update to HTMLBars v0.10.0. @rwjblue
- #10338 Ensure computed.oneWay is exported properly. @linstula
- #10345 Update to QUnit 1.17.1. @rwjblue
- #10350 Make meta.cache & meta.cacheMeta lazy @ebryn
- #10353 Avoid creating context bindings for collection views @mmun
Ember v1.10.0
Changelog
- [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 http://emberjs.com/blog/2015/02/05/compiling-templates-in-1-10-0.html for more details. - [BUGFIX] Ensure that calling the
wait
testing helpe 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 compliation 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 (use
registerHelper('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.
Ember 1.10.0-beta.4
Changelog:
- [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.
- Update to HTMLBars v0.8.1
- Improve HTML validation and error messages thrown.
- Fix a number of template compliation 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.
- Cleanup HTMLBars public API
- Remove
Ember.HTMLBars.helper
. - Remove internal
registerBoundHelper
function (use
registerHelper('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
.
Ember v1.10.0-beta.3
Changelog
- Deprecate
{{bind}}
helper. - Pass array to
Ember.computed.filter
callback - [BUGFIX] Prevent mandatory-setter when setter is already present.
- Remove Handlebars from dependencies.
- Update HTMLBars to 0.7.1.
- Fix error when parsing templates with invalid end tags.
Ember v1.10.0-beta.2
Changelog
- [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.