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 Ember.js 2.7 和 2.8 beta 发布下载地址