Ember.js 1.10.0/1.11 Beta 发布
3月21日 深圳 OSC 源创会开始报名罗,送华为海思开发板Ember是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。
Ember.js 1.10.0/1.11 Beta 发布,Ember.js 1.10 版本包括至少 50 位贡献者,超过 553 个 commits。
Ember.js 1.10.0 最值得关注的是引入了 HTMLBars 模板引擎,其他新特性如下:HTMLBars 0.8.5;性能提升;Chained Else Blocks;Block Params;注入属性(使用两个 API 来管理依赖注入)。同时还有一些值得关注的废弃特性:
[*] The explicit {{bind}} helper has been deprecated. This helper haslong been marked private, and was a legacy Sproutcorefeature. This helper will be removed in Ember 1.11.
[*] Quote-less outlet names are deprecated in 1.10. An example of this is{{outlet modal}}, which should be re-written as {{outlet "modal"}}.This ensures the outlet helper is consistent with others, where unquotedwords are values and not string literals.
[*] The beforeObserver feature is deprecated in Ember 1.10. Before observersare rarely used, but introduce significant overhead to the observer systemin general. For observer use that requires the previous value of a propertybe known, implementing a cache is simple and more efficient. Read more abouthow to do this in the deprecation guide.
[*] Observing the childViews array of a ContainerView is deprecated.
[*] Setting the childViews property on a view definition is deprecated in1.10.
Ember.js 1.11 beta 值得关注的特性有:绑定属性语法;Named Substates;Component Helper;还有一些值得关注的废弃特性:
[*] The ObjectController will be removed in Ember 2.0. In Ember 1.11,both explicitly using an ObjectController and using the proxying behaviorof a generated ObjectController will raise deprecation warnings.
更新日志:
[*] Ember.js 1.10.0 CHANGELOG
[*] Ember.js 1.11.0-beta.1 CHANGELOG
更多内容请看发行说明。
页:
[1]