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.6.0-beta.1
-- 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.6.0-beta.1
-- 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
- Make the following changes to your
package.json
:- Update
ember-ajax
to^2.0.1
- Add
ember-welcome-page
at^1.0.1
- Update
- Addon Developers
ember addon
diff- Change
.travis.yml
to avoid wasted cleanup when running CI. See #5606 for more details. - Make the following changes to your
package.json
:- Update
ember-ajax
to^2.0.1
- Add
ember-welcome-page
at^1.0.1
- Remove
ember-try
(it is now included by default)
- Update
- Core Contributors
- No changes required
Community Contributions
- #5606 Don't bother pointless npm/bower restore in addon CI @mike-north
- #5609 [ENHANCEMENT] Add in v1 of welcome page addon @acorncom
- #5689 [ENHANCEMENT] Added return statement to
beforeEach
inmoduleForAcceptance
@Fed03 - #5693 Fix: ensure livereload works when deleting directories. @hansl
- #5779 Update Ember Data to v2.5.0 @bmac
- #5714 "addon" blueprint: Update TravisCI config @Turbo87
- #5723 Embed/include ember-try in ember-cli @kategengler
- #5757 Add "ember-cli-jshint" dependency to "app" blueprint @Turbo87
- #5752 Ensure
Project.prototype.findAddonByName
does not match substrings. @martndemus - #5741 Resolve config directory relative to EmberApp project root @nickiaconis
- #5769 Update ember-ajax to 2.0. @rwjblue
- #5780 Update Ember to v2.5.0. @rwjblue
- #5786 Deprecate
Project.closest
in favor ofProject.closestSync
@jeffjewiss