设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Ember.js 2.0正式发布,移除1.13废弃的特性

2015-8-13 23:49| 发布者: joejoe0332| 查看: 923| 评论: 0|原作者: oschina|来自: oschina

摘要: Ember 2.0 并不是一个传统的重要版本,Ember 2.0 移除了 Ember 1.13 废弃的特性,如果在 Ember 1.13 中运行的应用是没有任何废弃警告的,那么在 Ember 2.0 运行是完全没问题的。新应用建议使用 Ember 2.0,要求 Embe ...

Ember 2.0 并不是一个传统的重要版本,Ember 2.0 移除了 Ember 1.13 废弃的特性,如果在 Ember 1.13 中运行的应用是没有任何废弃警告的,那么在 Ember 2.0 运行是完全没问题的。

新应用建议使用 Ember 2.0,要求 Ember-Data 2.0.0-beta.1 (2.0 release coming shortly!)。

更新列表:

  • #12036 Cleanup CP Set and  Volatile

  • #11993 [CLEANUP] Remove Ember.TrackedArray and Ember.SubArray.

  • #11550 [BUGFIX] Ensure that specifying an observer in a child class only observes changes to the childs dependent keys.

  • #10259 [BUGFIX] Make Ember.computed.or return the last falsey value (similar to ||).

  • #11957 [BUGFIX] Enable Ember.DefaultResolver to properly normalize hyphens (-).

  • #11969 / #11959 [DEPRECATE] Deprecate usage of Ember.String.fmt.

  • #11990 [PERF] @each should remain a stable node for chains.

  • #11964 [BUGFIX] Update htmlbars to v0.14.2.

  • #11965 [CLEANUP] Remove Ember.HTMLBars.makeViewHelper.

  • #11965 [CLEANUP] Remove Ember.HTMLBars._registerHelper.

  • #11965 [CLEANUP] Remove Ember.Handlebars.registerHelper.

  • #11965 [CLEANUP] Remove Ember.Handlebars.makeBoundHelper.

  • #11965 [CLEANUP] Remove Ember.Handlebars.makeViewHelper.

  • #11965 [CLEANUP] Remove Ember.Handlebars.helper.

  • #11965 [CLEANUP] Remove Ember.Handlebars.registerBoundHelper.

  • #12024 [CLEANUP] Remove ComponentTemplateDeprecation mixin.

  • #12001 [CLEANUP] Remove {{with}} keyword's controller option.

  • #12027 [CLEANUP] Remove deprecated template access in Ember.Component.

  • #12019 [DOC] Add helpful assertion when using @each as a leaf in DK.

  • #12020 [CLEANUP] Remove specifying .render method to views and components.

  • #12027 [CLEANUP] Remove positionalParams specified to Ember.Component at extend time.

  • #12027 [CLEANUP] Remove support for specifying template in a component.

  • #12027 [CLEANUP] Remove deprecated template access in Ember.Component.

  • #12028 [CLEANUP] Store actions in actions not _actions.

  • #11854 [CLEANUP] Remove length from OrderedSet and Map.

  • #11854 [CLEANUP] Remove OrderedSet.prototype.length.

  • #11854 [CLEANUP] Remove Ember.libraries.each.

  • #11854 [CLEANUP] Remove deprecated special {{each}} keys.

  • #11854 [CLEANUP] Remove Ember.Location.registerImplementation.

  • #11854 [CLEANUP] Remove {{template}} support.

  • #11854 [CLEANUP] Remove Ember.Route#setupControllers deprecation.

  • #11854 [CLEANUP] Remove Ember.Route#renderTemplates deprecation.

  • #11845 [CLEANUP] Remove Ember.Application#initialize.

  • #11845 [CLEANUP] Remove support for Ember.Application.resolver.

  • #11845 [CLEANUP] Remove support for resolver without normalize.

  • #11845 [CLEANUP] Remove IE6 & IE7 deprecation.

  • #11845 [CLEANUP] Remove returning string of attrs from helper support.

  • #11845 [CLEANUP] Remove support for returning string of attrs from helper.

  • #11845 [CLEANUP] Remove support for view and viewClass with {{outlet}}.

  • #11771 [CLEANUP] Remove deprecated Controller#controllerFor.

  • #11750 [CLEANUP] Remove metaPath, getMeta and setMeta.

  • #11854 [CLEANUP] Lots of deprecation removals.

  • #11820 [CLEANUP] Remove sendEvent hook.

  • #11815 [CLEANUP] Remove {chainWatchers: null} from Meta.prototype.

  • #11819 [CLEANUP] Abstract chainWatchers into an object.

  • #11824 Revert "[CLEANUP] Remove support for reversed args in Ember.observer.

  • #11822 [BUGFIX] Deprecate currentWhen with {{link-to}}.

  • #11838 [CLEANUP] Only register Ember.ContainerView when legacy view support enabled.

  • #11852 [CLEANUP] Remove Ember.RenderBuffer.

  • #11853 [CLEANUP] Remove deprecated Registry and Container behavior.

  • #11850 [CLEANUP] Remove context switching {{each}} helper variant.

  • #11878 [BUGFIX] Fix issue with QP routes named after Object.prototype properties.

  • #11903 [BUGFIX] Upgrade RSVP + Backburner. Fixes a number of scenarios around testing rejected promise scenarios.

  • #11914 [CLEANUP] Remove Ember.oneWay.

  • #11895 [BUGFIX] Properly detect if the environment is Node.

  • #11897 [CLEANUP] Remove globals lookup from templates.

  • #11777 [CLEANUP] Remove context switching form of {{#each model}}{{/each}}, use {{#each model as |item|}}{{/each}} instead.

  • #11484 [CLEANUP] Remove Ember.ArrayController support, use ember-legacy-controllers addon for support until 2.4.

  • #11782 [CLEANUP] Remove support for reversed args in Ember.observer.

  • #11722 [BUGFIX] Provide a better error when InjectedProperty is misused.

  • #11691 [BUGFIX] {{get}} helper subscribes to values and can be updated.

  • #11792 [CLEANUP] Remove Application#then support.

  • #11737 [BUGFIX] Ensure this context inside former reduced computed macros is correct.

  • #11790 [CLEANUP] Remove context switching {{with foo}} support.

  • #11754 [CLEANUP] Remove emptyView="Global.foo" for Ember.View instances.

  • #11746 [CLEANUP] Cleanup Ember.get:

    • Remove support for globals: Ember.get('App.foo') and Ember.get(null, 'App.foo').

    • Remove support for this: Ember.get(object, 'this.foo').

    • Enforce strict usage with two arguments: Ember.get(object, path).

    • Assert object is a non-null object & path is a string.

  • #11761 [CLEANUP] Cleanup Ember.set:

    • Removes support for set with global paths.

    • Removes support for set with 'this' paths.

    • Removes support for set with null as first parameter.

    • Path must be a string.

    • Requires set to be passed in three or four arguments.

  • #11797 [CLEANUP] Move support of itemController, itemViewClass, itemView, etc into ember-legacy-views addon.

  • #11776 [CLEANUP] Remove deprecated support for {{each foo as bar}}.

  • #11770 [CLEANUP] Remove deprecated Controller#needs, use Ember.inject.controller() instead.

  • #11800 [CLEANUP] Move support of {{view}} helper into ember-legacy-views addon.

  • #11804 [CLEANUP] Remove EmberObject.createWithMixins.

  • #11786 [CLEANUP] Remove {{with foo as bar}} support.

  • #11805 [CLEANUP] Remove deprecated anyBy, everyProperty, and some.

  • #11788 [CLEANUP] Remove slash for a namespace in the {{render}} helper

  • #11791 [CLEANUP] Remove support for actions in events key.

  • #11794 [CLEANUP] Move Ember.View and Ember.CoreView into ember-legacy-views addon.

  • #11796 [CLEANUP] Remove  Ember.beforeObserver, Ember.addBeforeObserver, Ember.removeBeforeObserver, Ember.beforeObserversFor, Ember._suspendBeforeObserver, Ember._suspendBeforeObservers, and Function.prototype.observesBefore.

  • #11806 [CLEANUP] Remove deprecated Controller#transitionTo and Controller#replaceWith.

  • #11807 [CLEANUP] Remove deprecated Ember.Handlebars.get.

  • #11808 [CLEANUP] Remove deprecated Binding#oneWay.

  • #11809 [CLEANUP] Remove deprecated Map#remove.

  • #11213 [CLEANUP] Remove chaining in Observable.set

  • #11438 [CLEANUP] Remove CP semantics

  • #11447 [CLEANUP] Remove Ember.Set (not Ember.set).

  • #11443 [CLEANUP] Remove Ember.LinkView.

  • #11439 [CLEANUP] Remove computed macros.

  • #11648 [CLEANUP] Remove Ember.computed.mapProperty.

  • #11460 [CLEANUP] Remove Object.create polyfill.

  • #11448 [CLEANUP] Remove Ember.DeferredMixin.

  • #11458 [CLEANUP] Remove Ember.ArrayPolyfils.

  • #11449 [CLEANUP] Remove Ember.RSVP.prototype.fail.

  • #11459 [CLEANUP] Remove Ember.keys.

  • #11456 [CLEANUP] Remove Ember.View.prototype.state &Ember.View.prototype._states`.

  • #11455 [CLEANUP] Remove Ember.EnumerableUtils.

  • #11462 [CLEANUP] Remove Object.defineProperty polyfill.

  • #11517 [DEPRECATION] Deprecate this.resource in Router.map.

  • #11479 [CLEANUP] Remove Ember.ObjectController.

  • #11513 [BUGFIX] Replace array computed macros with plain array versions.

  • #11513 [CLEANUP] Remove Ember.arrayComputed, Ember.reduceComputed, Ember.ArrayComputed, and Ember.ReduceComputed.

  • #11547 [CLEANUP] Remove work around for Safari's double finally on error bug.

  • #11528 [BUGFIX] Add helpful assertion when using Ember.computed.map without a function callback.

  • #11528 [BUGFIX] Add helpful assertion when using Ember.computed.mapBy without a string property name.

  • #11587 [CLEANUP] Remove {{bind-attr}}.

  • #11611 [CLEANUP] Remove Ember.computed.filterProperty.

  • #11608 [CLEANUP] Remove {{linkTo}} helper (not {{link-to}}).

  • #11706 [CLEANUP] Remove Enumerable.rejectProperty.

  • #11708 [BUGFIX] Update fillIn test helper to trigger the input event.

  • #11710 Add repository field to package.json

  • #11700 [CLEANUP] Removes Enumerable.findProperty.

  • #11707 [CLEANUP] Remove Enumerable.everyBy.

  • #10701 Refactor lazyGet.

  • #11262 Fix basic Fastboot usage.

  • #11375 Transition feature flag infrastructure to modules.

  • #11383 Update {{each-in}} to use ember-metal/should-display.

  • #11396 Make Ember.Checkbox extend from Ember.Component.

详细改进内容请看发行说明,下载:https://github.com/emberjs/ember.js/archive/v2.0.0.zip

同时发布了 Ember 1.13.8 版本,详情请看发行说明

酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部