Setup
npm uninstall -g ember-cli
-- Remove old global ember-clinpm cache clean
-- Clear NPM cachebower cache clean
-- Clear Bower cachenpm install -g ember-cli@2.13.3
-- Install new global ember-cli
Project Update
rm -rf node_modules bower_components dist tmp
-- Delete temporary development folders.npm install --save-dev ember-cli@2.13.3
-- Update project'spackage.json
to use latest version.npm install
-- Reinstall NPM dependencies.bower install
-- Reinstall bower dependencies.ember init
-- This runs the new project blueprint on your projects directory. Please follow the prompts, and review all changes (tip: you can see a diff by pressing d). The most common source of upgrade pain is missing changes in this step.
Misc
After updating to 2.13.3
you might this warning in the terminal while running ember serve
'instrument' is imported from external module 'ember-data/-debug' but never used`
Fear not. It's not related to your application and has been fixed in ember-data@2.14.2. Upcoming release of Ember CLI will include the fix.
Note on node@8.1.0
Some of developers reported issues with node@8.1.0
specifically when ember init
or ember generate
would hang indefinitely. Further research showed that this is likely node
related issue. To fix it, make sure you're on node@8.1.2
+.
Changelog
The following changes are required if you are upgrading from the previous
version:
- Users
ember new
diff- Upgrade your project's ember-cli version - docs
- Addon Developers
ember addon
diff- No changes required
- Core Contributors
- No changes required
Community Contributions
- #7076 node 8 @stefanpenner
- #7077 Add reasonable
uglify-js
options. @rwjblue
Thank you to all who took the time to contribute!