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.3.0-beta.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.3.0-beta.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.
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
- Remove
loader.js
frombower.json
, and add topackage.json
as^4.0.0
. - Remove
ember-load-initializers
frombower.json
, and add topackage.json
at^0.5.0
.
- Addon Developers
ember addon
diff- No changes required
- Core Contributors
- No changes required
Community Contributions
- #5329 [ENHANCEMENT] Support custom blueprint options in new and init commands @bendemboski
- #5377 Update Bower resolution to match Ember version @kpfefferle
- #5203 [ENHANCEMENT] Use absolute import paths for util-test blueprint @kamalaknn
- #5349 [BUGFIX] Fix live-reloading post build error @stefanpenner
- #5309 [2.X] Deprecate vendor-prefix and vendor-suffix. @nathanhammond
- #5370 Make final update of
dist/
faster, by only updating changed files. @stefanpenner - #5321 Ensure
EmberAddon.env()
works the same asEmberApp.env()
@jasonmit - #5367 Update to lodash 4 @jcope2013
- #5394 Upgrade testem to v1.1.1 @quaertym
- #5379 Move loader.js to be included as an addon. @rwjblue
- #5388 Mixin generation in addon @MiguelMadero
- #5396 Wrap evaluation of
ember-cli-build.js
in atry
/catch
to provide helpful message for syntax errors. @mozeryansky - #5410 Ensure that Testem can use
testem.js
if present (without passing--config-file
option). @rwjblue - #5416 Use ember-load-initializers as addon @josemarluedke
- #5421 Make options available in all Blueprint hooks as this.options @trentmwillis