Upgrading
In order to ensure a safe and easy upgrade please follow the following steps (from within your project directory):
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@0.1.10
-- 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@0.1.10
-- Update project'spackage.json
to use latest version.ember install
-- Reinstall NPM & 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.
- Users
ember new
diff- Upgrade your project's ember-cli version - docs
package.json
changes:- Add
ember-cli-app-version
at 0.3.0. - Add
ember-cli-uglify
at 1.0.1. - Update
ember-cli-qunit
to 0.3.0. - Update
ember-cli-6to5
to 3.0.0.
- Add
bower.json
changes:- Update
ember-cli-test-loader
to 0.1.0.
- Update
- Addon Developers
ember addon
diff- No changes required
- Core Contributors
- No changes required
Community Contributions
- #2970 [ENHANCEMENT] - Added ember-cli-app-version to app blueprint - Close 2524 @taras
- #3086 [BUGFIX] Ensure that addon test-support trees are not JSHinted in the app. @rwjblue
- #3085 [ENHANCEMENT] Better ASCII art @johnnyshields
- #3084 [ENHANCEMENT] Add
ember b
asember build
command alias. @cbrock - #3092 [BUGFIX] Fix issues with running ember-cli in iojs. @stefanpenner
- #3096 [BUGFIX] Ensure that
ember g resource
uses custom blueprints (i.e. ember-cli-coffeescript or ember-cli-mocha) properly. @jluckyiv - #3106 [BUGFIX] Fixes file stat related crashes (i.e. using Sublime Text with atomic save enabled). @raytiley
- #3114 [BUGFIX] Update version of ES2015 module transpiler (Esperanto). Fixes many transpilation issues (including shadowed declarations and re-exports). @rwjblue
- #3116 [Bugfix] Ensure that files starting with
app/styles*
andapp/templates*
are still available in the app tree. @stefanpenner - #3119 [ENHANCEMENT] Update ember-cli-qunit to 0.2.0. @rwjblue
- #3117 [ENHANCEMENT] Replace builtin minification with ember-cli-uglify @jkarsrud
- #3119 & #3121 [ENHANCEMENT] Update ember-cli-qunit to v0.3.0. @rwjblue
- #3122 [ENHANCEMENT] Make linting pluggable. @ef4
- #3123 [ENHANCEMENT] Update ember-cli-6to5 to v3.0.0. @stefanpenner