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.3
-- 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.3
-- 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
-
#2586 Set locationType to none in tests.
-
#2573 Added --silent option for quieter UI
-
#2458 Added additional file watching mechanism: Watchman
This helps resolve the recent Node + Yosemite file watching issues, but also improves file watching (when available) for all*nix
systemsWhat is Watchman?
Watchman runs as a standalone service, this allows it to manage file-watching for multiple consumers (in our case ember-cli apps)
How do I used it?
homebrew:brew install watchman
other: https://facebook.github.io/watchman/docs/install.html
windows: not supported yet, but it may happenWhat happens if its not installed?
We fall back to the existing watcher NodeWatcher
How do I force it to fallback to NodeWatch
ember <command> --watcher=node
Common problem:
invalid watchman found, version: [2.9.8] did not satisfy [^3.0.0]
this basically means you have an older version of watchman installed. Be sure to install3.0.0
and runwatchman shutdown-server
before restarting re-starting your ember server. -
#2265 Added auto-restarting of server and triggering of LR on
server/*
file changes -
#2535 Updated broccoli-asset-rev to 1.0.0
-
#2518 improved HTTP logging when using http-mocks and proxy by using morgan
-
#2532 Added support to run specific tests via
ember test --module
andember test --filter
-
#2514 Added config.usePodsByDefault for users who wish to have blueprints run in
pod
mode all the time -
Warn on invalid command options
-
Allow array of paths to the preprocessCss phase
-
Adding --pods support for adapters, serializers, and transforms
-
As part of the Ember 2.0 push remove controller types.
-
http-mock now follows ember-data conventions
-
many of ember-cli internals now are instrumented with [debug]
usage:DEBUG=ember-cli:* ember <command>
to see ember-cli specific verbose logging. -
Added ember-cli-dependency-checker to app's package.json
-
Added option to disable auto-start of ember app.
-
Added optional globbing to init with
ember init <glob-pattern>
, this allows you to re-blueprint a single file like:ember init app/index.html
-
Added support to test the app when built with
--env production
. -
Update to Ember 1.8.1
-
Update to Ember Data v1.0.0-beta.12 (TODO)
-
#2351 Fix automatic generated model belongs-to and has-many relations to resolve test lookup.
-
#1888 Allow multiple SASS/LESS files to be built by populating
outputPaths.app.css
option -
#2523 Added
outputPaths.app.html
option -
#2472 Added Pod support for test blueprints.
Add much more: view entire diff
Addons
ember addon
diff- #2505 Added ability to dynamic add/remove module whitelist entries so that the ember-browserify addon can work
- #2505 Added an addon postprocess hook for all javascript
- #2271 Added Addon.prototype.isEnabled for an addon to exclude itself from the project at runtime.
- #2451 Ensure that in-repo addons are watched.
- #2411 Add preBuild hook for addons.