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.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@0.1.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.
Changelog
Applications
ember new
diff- [BREAKING ENHANCEMENT] Remove hard-coded support for
broccoli-less-single
, useember-cli-less
for.less
support now. #2210 - [ENHANCEMENT] Provide a helpful error if the configuration info cannot be read from the proper
<meta>
tag. #2219 - [ENHANCEMENT] Allow test filtering from the command line. Running
ember test --filter "foo bar"
orember test --server --filter "foo bar"
will limit test runs
to tests that contain "foo bar" in their module name or test name. #2223 - [ENHANCEMENT] Add a few more
content-for
hooks toindex.html
andtests/index.html
. #2236 - [ENHANCEMENT] Properly display the file causing build errors in
ember build --watch
andember serve
commands. #2237, #2246, and #2297 - [ENHANCEMENT] Update
broccoli-asset-rev
to 0.3.1. #2250 - [ENHANCEMENT] Add
ember-export-application-global
to allow easier debugging. #2270 - [BUGFIX] Fix default
.gitignore
to properly matchbower_components
. #2285 - [ENHANCEMENT] Display
baseURL
inember serve
startup messages. #2291 - [BUGFIX] Fix issues resulting in files outside of
tmp/
being removed due to following of symlinks. #2290 and #2301 - [ENHANCEMENT] Add --watcher=polling option to
ember test --server
. This provides a work around for folks havingEMFILE
errors in some scenarios. #2296 - [ENHANCEMENT] Allow opting out of storing the applications configuration in the generated
index.html
viastoreConfigInMeta
option in theBrocfile.js
. #2298 - [BUGFIX] Update ember-cli-content-security-policy and ember-cli-inject-live-reload packages to latest version. Allows livereload to function properly regardless
of host (0.1.0 always assumedlocalhost
for the livereload server). #2306 - [ENHANCEMENT] Update internal dependencies to latest versions. #2307
- [BUGFIX] Allow overriding of vendor files to not loose required ordering. #2312
- [ENHANCEMENT] Add
bowerDirectory
toProject
model (discovered on initialization). #2287
Addons
ember addon
diff- [ENHANCEMENT] Allow addons to inject middleware into testem. #2128
- [ENHANCEMENT] Add {{content-for 'body'}} to
app/index.html
andtests/index.html
. #2236 - [ENHANCEMENT] Add {{content-for 'test-head'}} to
tests/index.html
. #2236 - [ENHANCEMENT] Add {{content-for 'test-body'}} to
tests/index.html
. #2236 - [ENHANCEMENT] Allow adding multiple bower packages at once via
Blueprint.prototype.addBowerPackagesToProject
. #2222 - [ENHANCEMENT] Allow adding multiple NPM packages at once via
Blueprint.prototype.addPackagesToProject
. #2245 - [ENHANCEMENT] Ensure generated addons are in strict mode. #2295
- [BUGFIX] Ensure that addon's with
addon/styles/app.css
are able to compile properly (copying contents ofaddon/styles/app.css
intovendor.css
). #2301 - [ENHANCEMENT] Provide the
httpServer
instance toserverMiddleware
(and./server/index.js
). #2302