Skip to content

Instantly share code, notes, and snippets.

@rounders
Last active September 10, 2015 16:40
Show Gist options
  • Save rounders/e946c713756440ee5e7f to your computer and use it in GitHub Desktop.
Save rounders/e946c713756440ee5e7f to your computer and use it in GitHub Desktop.
How I upgraded from ember 1.13.10 to Ember 2.0.1
I recently upgraded my ember-cli app running on Ember 1.13.x to Ember 2.0.1. Here's how I did it:
1. I updated to Ember 1.13.10 by editing the bower.json file and then running bower update.
2. I fixed all Ember deprecation warnings. Some of the deprecation warnings were from my code while others were from external libraries that I was using.
3. To update to Ember 2.0.1 I did the following:
made the following changes to bower.json
- changed "ember": "1.13.10" to "ember": "2.0.1"
- changed "ember-data": "1.13.11" to "ember-data": "2.0.0"
- changed "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3" to "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.5"
- changed "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5" to "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.7"
- added "active-model-adapter": "~2.0.1" (necessary only if you are using the active model adapter)
made the following changes to package.json
- changed "ember-data": "1.13.11" to "ember-data": "2.0.0"
- added "active-model-adapter": "2.0.1"
npm install
bower install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment