Name: ember-2-legacy
Owner: Ember.js
Description: null
Created: 2017-11-29 19:41:36.0
Updated: 2018-04-02 14:11:12.0
Pushed: 2018-04-02 14:11:10.0
Homepage: null
Size: 196
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
During the 2.x series in Ember.JS serveral deprecations were added with a target removal version of 3.0. This addon adds back those deprecations and the deprecated code that was removed. The goal of this addon is to allow Ember users who have deprecations that are preventing them from upgrading to 3.0 a path forward. After Ember 3.4 is released this addon will no longer be compatible with Ember. It should be used to provide extra time for migrating away from deprecations, not as a permanent solution.
For more background about what and why APIs are being remove for Ember.JS 3.0 please check out the Road to Ember 3.0 blog post which goes into more details.
r install ember-2-legacy
All deprecations found here which have a until: 3.0.0
are currently supported by this addon.
In ember-cli-build.js
you can specify a config for ember-2-legacy
. This object has individual flags as key names and they can be turned off simply by setting a flag to false
. Below is a sample config which shows all of the flag names (note all all true
by default):
EmberApp(defaults, {
mber-2-legacy': {
'ember-k': false,
'safe-string': false,
'enumerable-contains': false,
'underscore-actions': false,
'reversed-observer-args': false,
'initializer-arity': false,
'router-resouce': false,
'current-when': false,
'controller-wrapped': false,
'application-registry': false,
'immediate-observer': false,
'string-fmt': false,
'ember-freezable': false,
'component-defaultLayout': false,
'ember-binding': false,
'input-transform': false,
'deprecation-options': false,
'orphaned-outlets': false,
'warn-options': false,
'resolver-function': false,
'init-attrs': false,
'render-support': false,
'property-required': false