Ember.js 2.7 和 2.8 beta 发布
欢迎加入运维网交流群:263444886Ember.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 Keep rest positional parameters when nesting contextual components if needed.
[*] #13781 Fix NoneLocation#getURL
[*] #13797 Ensure didInitAttrs deprecation is stripped in prod.
[*] #13768 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 Fix issues with rerendering blockless and tagless components.
[*] #13605 Ensure pauseTest runs after other async helpers.
[*] #13655 Make debugging this._super much easier (remove manual .call / .apply optimizations).
[*] #13672 Fix issue with this.render and this.disconnectOutlet in routes.
[*] #13716 Ensure that Ember.Test.waiters allows access to configured test waiters.
[*] #13273 Fix a number of query param related issues reported.
[*] #13424 Deprecate Ember.Binding. See the deprecation guide for more details.
[*] #13599 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 Remove legacy view layer features.
[*] #13819 Add documentation for container (getOwner, etc.)
[*] #13855 Enable by defaut.
[*] #13855 Enable by default.
[*] #13855 Enable by default.
[*] #13855 Enable by default.
详情:http://emberjs.com/blog/2016/07/25/ember-2-7-and-2-8-beta-released.html
页:
[1]