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.9.0
-- 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.9.0
-- 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
Notes:
- This update includes a version bump of QUnit to 2.0.0. Please pay close attention to your test suites.
- This will be the last version of Ember CLI which supports Node.js 0.10. Please prepare for removal of support per Ember's Node.js LTS Support policy.
Community Contributions
- #6232 suggest testing addons against LTS @kellyselden
- #6235 remove
default
ember try scenario @kellyselden - #6249 Update to ember-cli-qunit@3.0.1. @rwjblue
- #6276 Revert #6193 (Ember.assign) @nathanhammond
- #6176 fixed typo in the example code in the comments in the blueprint.js @foxnewsnetwork
- #5395 Skip bower/npm install on blueprint install if manifests are missing @stefanpenner
- #5976 Anonymous AMD Support @ef4
- #6086 Use heimdalljs for structured instrumentation & structured logging @hjdivad
- #6103 store add-on initialization/lookup times @stefanpenner
- #6127 Remove invalid backticks in docs @san650
- #6132 [Bugfix] Destroy in-repo-addon @andyklimczak
- #6193 Changed the start-app test helper to use
Ember.assign
. @workmanw - #6145 Update .gitignore for npm-debug.log @hckhanh
- #6139 Updating app/addon blueprints to latest dependency versions @elwayman02
- #6148 Update to _findHost to use do/while. @nathanhammond
- #6206 Remove debug from package.json @marpo60
- #6171 Adding a test to cover historySupportMiddleware with unknown location type @jasonmit
- #6162 Upgraded ember-cli-app-version to 2.0.0 @taras
- #6198 display cleanup progress. @stefanpenner
- #6189
testem.js
must be loaded from/
. @rwjblue - #6188 [BUGFIX] - fix reference for
ui.prompt
@tgandee79 - #6182 [BUGFIX beta] Allow empty string as rootURL @kanongil
- #6186 [ENHANCEMENT] Warn when empty rootURL is used with history addon @kanongil
- #6180 bump portfinder to v1.0.7 @eriktrom
- #6194 [BUGFIX beta] Prevent Ember Data from overriding Date.parse. @bmac
- #6208 Replace "ember-cli-broccoli" with "broccoli-{brocfile-loader, builder, middleware}" @Turbo87
- #6211 Document
--port 0
in ember serve's command line usage @sivakumar-kailasam - #6227 add tests for alphabetize-object-keys @kellyselden
- #6228 in-repo-addon: sort additions to ember-addon/paths @kellyselden
Thank you to all who took the time to contribute!