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.13
-- 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.13
-- 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.
Changes
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
- Update the following packages in your
package.json
:- Updated
ember-cli-qunit
to 0.3.7. Install withnpm install --save-dev ember-cli-qunit@0.3.7
. - Updated
ember-data
to 1.0.0-beta.14.1. Install withnpm install --save-dev ember-data@1.0.0-beta.14.1
. - Updated
ember-export-application-global
to 1.0.2. Install withnpm install --save-dev ember-export-application-global@^1.0.2
.
- Updated
- Update the following packages in your
bower.json
:- Updated
ember-data
to 1.0.0-beta.14.1. Install withbower install --save ember-data#1.0.0-beta.14.1
. - Updated
ember-cli-test-loader
to 0.1.1. Install withbower install --save ember-cli-test-loader#0.1.1
. - Updated
ember-qunit
to 0.2.8. Install withbower install --save ember-qunit#0.2.8
. Please review Ember QUnit 0.2.x for background and impact. - Updated
ember-qunit-notifications
to 0.0.7. Install withbower install --save ember-qunit-notifications#0.0.7
.
- Updated
- Addon Developers
ember addon
diff- No changes required
- Core Contributors
- No changes required
Community Contributions
- #3218 [ENHANCEMENT] Add JS context {{content-for}} hooks. This allows addons to inject things into
vendor.js
/my-app-name.js
without violating CSP or having to do crazy hacks. @rwjblue - #3156 [BUGFIX] Serve static files from
/test
if they exist. @trek - #3155 [BUGFIX] Guard against rawArgs being
undefined
@chadhietala - #3183 [BUGFIX] Use recent Esperanto update to allow ES3 safe output. @rwjblue
- #3170 / #3184 #3255 [ENHANCEMENT] Update ember-qunit to 0.2.8. @rwjblue / @jbrown
- #3165 [BUGFIX] Fix
npm install --save-dev
ordering of defaultpackage.json
. @kellyselden - #3164 [ENHANCEMENT] Enable asynchronous
Addon.prototype.serverMiddleware
hooks by returning a promise from the hook. @taras - #3182 [INTERNAL ENHANCEMENT] Update
ember-router-generator
to ensure routes are injected intorouter.js
with single quotes. @abuiles - #3232 / #3212 / #3243 [INTERNAL ENHANCEMENT] Update testem to 0.6.39. @joostdevries / @johanneswuerbach
- #3203 / #3252 [INTERNAL ENHANCEMENT] Bump broccoli-es6modules to v0.5.0. @rwjblue
- #3197 [ENHANCEMENT] Update test blueprints to use QUnit 2.0 compatible output. @rwjblue
- #3199 [ENHANCEMENT] Provide locals to
Blueprint.prototype.beforeInstall
/Blueprint.prototype.beforeUninstall
hooks. @mattmarcum - #3188 [ENHANCEMENT] Update Ember Data version to 1.0.0-beta.14.1. @abuiles
- #3245 [ENHANCEMENT] Update ember-cli-qunit to v0.3.7. @rwjblue
- #3231 [INTERNAL ENHANCEMENT] Remove extra Addon build steps. @rwjblue
- #3236 [INTERNAL ENHANCEMENT] Remove module transpilation from Addon model. @rwjblue
- #3242 [DOCS] Add
isDevelopingAddon
toADDON_HOOKS.md
. @matthiasleitner - #3244 [BUGFIX] Ensure that Blueprints are returned in a consistent order when looking them up. @nathanpalmer
- #3251 Update ember-export-application-global to v1.0.2. @rwjblue
- #3167 [ENHANCEMENT]
usePodsByDefault
in app config deprecated in favor ofusePods
in .ember-cli @trabus - #3260 [BUGFIX] Ensure newly generated project has an
app/styles/app.css
file (prevents a 404 on a newly generated project). @rwjblue
Thank you to all who took the time to contribute!