Test Test Test Your App
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.jsonto 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 newdiff- Upgrade your project's ember-cli version - docs
- Update the following packages in your
package.json:- Updated
ember-cli-qunitto 0.3.7. Install withnpm install --save-dev ember-cli-qunit@0.3.7. - Updated
ember-datato 1.0.0-beta.14.1. Install withnpm install --save-dev ember-data@1.0.0-beta.14.1. - Updated
ember-export-application-globalto 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-datato 1.0.0-beta.14.1. Install withbower install --save ember-data#1.0.0-beta.14.1. - Updated
ember-cli-test-loaderto 0.1.1. Install withbower install --save ember-cli-test-loader#0.1.1. - Updated
ember-qunitto 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-notificationsto 0.0.7. Install withbower install --save ember-qunit-notifications#0.0.7.
- Updated
- Addon Developers
ember addondiff- 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.jswithout violating CSP or having to do crazy hacks. @rwjblue - #3156 [BUGFIX] Serve static files from
/testif 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-devordering of defaultpackage.json. @kellyselden - #3164 [ENHANCEMENT] Enable asynchronous
Addon.prototype.serverMiddlewarehooks by returning a promise from the hook. @taras - #3182 [INTERNAL ENHANCEMENT] Update
ember-router-generatorto ensure routes are injected intorouter.jswith 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.beforeUninstallhooks. @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
isDevelopingAddontoADDON_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]
usePodsByDefaultin app config deprecated in favor ofusePodsin .ember-cli @trabus - #3260 [BUGFIX] Ensure newly generated project has an
app/styles/app.cssfile (prevents a 404 on a newly generated project). @rwjblue
Thank you to all who took the time to contribute!