Ember.js 2.7 和 2.8 beta 发布 - 开源中国社区
Ember.js 2.7 和 2.8 beta 发布
oschina 2016年07月27日

Ember.js 2.7 和 2.8 beta 发布

oschina oschina 发布于2016年07月27日 收藏 4

有免费的MySQL,为什么还要买? >>>  

Ember.js 2.7 和 2.8 beta 发布了。Ember.js 2.7是Ember的次要版本,更新了向后兼容;Ember.js 2.8测试版也在今日发布,这个分支将在大约6个星期后发布稳定版,之后将成为下一个LTS版本。

Ember是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。

Ember.js 2.7 引入了一种新的向后兼容的 API:

  • Ember.computed.uniqBy

更新日志:

  • #13764 [BUGFIX] Keep rest positional parameters when nesting contextual components if needed.

  • #13781 [BUGFIX] Fix NoneLocation#getURL

  • #13797 [BUGFIX] Ensure didInitAttrs deprecation is stripped in prod.

  • #13768 [BUGFIX] Update route-recognizer to v0.2.0. This addresses a large number of per-existing bugs related to URL encoding. However, in doing so, it might inevitably break existing workarounds in this area. Please refer to the linked pull request for more details.

  • #13634 [BUGFIX] Fix issues with rerendering blockless and tagless components.

  • #13605 [BUGFIX] Ensure pauseTest runs after other async helpers.

  • #13655 [BUGFIX] Make debugging this._super much easier (remove manual .call / .apply optimizations).

  • #13672 [BUGFIX] Fix issue with this.render and this.disconnectOutlet in routes.

  • #13716 [BUGFIX] Ensure that Ember.Test.waiters allows access to configured test waiters.

  • #13273 [BUGFIX] Fix a number of query param related issues reported.

  • #13424 [DEPRECATE] Deprecate Ember.Binding. See the deprecation guide for more details.

  • #13599 [FEATURE] Enable ember-runtime-computed-uniq-by feature.

Ember.js 2.8 测试版引入了以下新的后向兼容的 API:

ENGINES

  • Ember.Engine class - The base class for Ember.Application. Its only public interface is related to initializers and instance initializers, which is then inherited by applications.

  • Ember.EngineInstance class - The base class for Ember.ApplicationInstance.

  • mount keyword - Allows for the mounting of routeless engines in templates. This keyword currently only takes one argument, the name of the engine.

  • mount router DSL - Allows routable engines to be mounted at a location in a route map.

Enumerable#includes AND Array#includes

Ember.String.isHTMLSafe

Ember.Test.checkWaiters

更新日志:

  • #13757 / #13773 [CLEANUP] Remove legacy view layer features.

  • #13819 [DOC] Add documentation for container (getOwner, etc.)

  • #13855 [FEATURE ember-string-ishtmlsafe] Enable by defaut.

  • #13855 [FEATURE ember-application-engines] Enable by default.

  • #13855 [FEATURE ember-runtime-enumerable-includes] Enable by default.

  • #13855 [FEATURE ember-testing-check-waiters] Enable by default.

详情:http://emberjs.com/blog/2016/07/25/ember-2-7-and-2-8-beta-released.html

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Ember.js 2.7 和 2.8 beta 发布
分享
评论(0)
最新评论
顶部