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.4.2
-- 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.4.2
-- 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.
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
- #5550 Use ES6 shorthand for object literals in blueprints (initializer and in-repo-addon) @Ky6uk
- #5524 Enable
X-Forwarded-*
headers in http-proxy @jbacklund - #5557 Update portfinder to fix various issues with live reload port selection. @stefan
- #5556 Update amd-name-resolver to version 0.0.5 (ensures correct path types are used for module transpilation output). @stefanpenner
- #5561 Add ability to lint templates (
lintTree
is now called fortemplates
type, see ember-cli-template-lint for more details). @rwjblue - #5575 blueprints/route-addon: Fix
__path__
token @Turbo87
Thank you to all who took the time to contribute!