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.2.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.2.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.
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
- Users of
ember-cli-styles-reloader
should uninstall (as this functionality is now included in ember-cli by default). - Update the following entries in your
package.json
:- Remove
ember-cli-ic-ajax
(it is replaced byember-ajax
) - Add
ember-ajax
at0.7.1
*ember-cli-dependency-checker
to^1.2.0
ember-cli-sri
to^1.2.0
ember-cli-qunit
to^1.1.0
ember-data
to^2.2.1
- Remove
- Update the following entries in your
bower.json
:ember
to2.2.0
ember-data
to^2.2.1
loader.js
to^3.5.0
qunit
to~1.20.0
- Remove
ember-qunit
(it is now bundled byember-cli-qunit
since1.1.0
)
- Addon Developers
ember addon
diff- No changes required
- Core Contributors
- No changes required
Community Contributions
- #5025 [ENHANCEMENT] update loader.js, qunit and ember-ajax for app/addon blueprints @jcope2013
- #5061 Testem 0.9.11 @johanneswuerbach
- #4994 add jshint helper command for tests @gabrielgrant
- #5033 Added Node v5 to Appveyor @patocallaghan
- #4218 Add instance-initializer's blueprints family @cibernox
- #4476 Add additional documentation on treeFor* methods @trentmwillis
- #5172 Bump ember-cli-dependency-checker to v1.2.0 @quaertym
- #5108 Fix instance-intitalizer-test test-info import to use
ember-cli-test-info
@trabus - #5087 Upgraded ember-ajax to 0.7.1 @ember-cli
- #5098 [ENHANCEMENT] Install htmlbars precompiler when generating component integration tests @drspaniel
- #5077 loosen test @ember-cli
- #5065 Programmatic access to the CLI @eibrahim
- #5089 [BUGFIX] Forward
--config-file
test option to testem @cspanring - #5075 disable bundling, npm client seems to have issues but npm service app… @ember-cli
- #5066 bumps
broccoli-sourcemap-concat
version @ember-cli - #5107 [FEATURE] Implement addon black- and whitelist @dschmidt
- #5094 [fixes #5092] remove long since deprecated this.Funnel usage from int… @ember-cli
- #5104 Workaround for babel includePolyfill exception @ef4
- #5189 updated markdown-it-terminal @akatov
- #5139 Use ES6 shorthand property for layout in component blueprint @martndemus
- #5109 Fix body-parser suggested use due to deprecations @knownasilya
- #5113 Remove trailing whitespace on component integration test @ahmadsoe
- #5130 Update bower.json @ember-cli
- #5132 [ENHANCEMENT] Make
EMBER_CLI_INJECT_LIVE_RELOAD_BASEURL
configurable @jbescoyez - #5117 Update Ember to latest stable (2.2.0). @rwjblue
- #5124 Update ember-cli-sri minimum version to 1.2.0. @rwjblue
- #5125 Clarify
ember test --path
docs. @ember-cli - #5128 Adds Node 5 to allow_failures list @ember-cli
- #5201 ember-cli-rails-addon now uses outputReady @luma-institute
- #5168 fix swallowed failures @ember-cli
- #5158 Change location of website @leo
- #5142 Fix merge issues introduced by #4476 @trabus
- #5155 bump broccoli-merge-trees @ember-cli
- #5149 cherry-picking changelog from stable @ember-cli
- #5150 [INTERNAL] Set correct version of ember-cli @jayeff
- #5165 [ENHANCEMENT] Initial implementation of css hot realod @gcollazo
- #5154 reduce number of funnels created to support other asset app.imports @ember-cli
- #5159 Update appveyor.yml @ember-cli
- #5144 [ENHANCEMENT] Cleans up generated application directory if
ember new
errors @trek - #5179 Updating deprecations that use the deprecate utility @gmurphey
- #5190 Only use
temp
dependency, nottmp-sync
@akatov - #5180 add node (latest) and set to allowed failures @ember-cli
- #5186 Fixing path issue in test for AppVeyor. @gmurphey
- #5169 [BUGFIX] Bump quick-temp to 0.1.5, fix jshint error @trabus
- #5185 Ensure rimraf is available to consumers. @ember-cli
- #5171 Avoid Reexporter when loader supports index fallback. @rwjblue
- #5184 more explicit jshint test run @ember-cli
- #5197 update leek @akatov
- #5204 [ENHANCEMENT] Add npm badge to README. @adjohnson916
- #5192 Use consistent double quotes in index.html blueprints @Dhaulagiri
- #5198 minor whitespace fix @ember-cli
- #5205 Add addon-test-support tree. @rwjblue
- #5206 Update ember-qunit to 0.4.17. @rwjblue
- #5207 Make ember test helper clearer. @rwjblue
- #5208 update some out of date deps @ember-cli
- #5209 Ensure loader.js warning is easier to spot. @rwjblue
- #5211 Update ember-cli-qunit to 1.1.0. @rwjblue
- #5212 Update ember-data to 2.2.1. @rwjblue
Thank you to all who took the time to contribute!