Giter Site home page Giter Site logo

ember-2-legacy's Introduction

Ember 2 Legacy

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.

Installation

ember install ember-2-legacy

What Deprecations are Covered

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 are true by default):

new EmberApp(defaults, {
  'ember-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
  }
});

ember-2-legacy's People

Contributors

abhilashlr avatar cibernox avatar ember-tomster avatar gowthamrm avatar locks avatar lorcan avatar rwjblue avatar thoov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.