Upgrading From 0.0.40
During the development cycle from 0.0.40 to 0.0.41 many things have been migrated to external addons. In order to ensure a safe and easy upgrade please follow the following steps (from within your project directory):
npm install -g ember-cli
-- This ensures that your global version is up to date.npm install --save-dev ember-cli
-- This ensures that your project's version is up to date.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 pressingd
). The most common source of upgrade pain is missing changes in this step.rm -rf vendor/ bower_components/ .bowerrc
-- During the 0.0.41 cycle the default installation directory for Bower has been changed tobower_components/
(or whatever you have specified in your.bowerrc
). To ensure you do not slow down your build delete all files invendor/
andbower_components/
(if you have files that you have check into source control invendor/
please ensure they are not deleted) and make sure to verify thatdirectory
property in your.bowerrc
points tobower_components
. Optionally, you can delete.bowerrc
because defaultdirectory
property isbower_components
.bower install
Changelog:
- [ENHANCEMENT] Allow calling
this._super.someMethodName()
in subclasses of CoreObject. #1721 - [ENHANCEMENT]
.jshintrc
: disable esnext Promise global (prevents issues when RSVP Promise was intended but
(non-universally-implemented) global Promise was used instead. #1723 - [BUGFIX] Prevent deletion of files when invalid output-path is provided. #1649
- [BUGFIX] Fix the /tests URL in IE8. #1707
- [ENHANCEMENT] Remove
.bowerrc
file from application blueprint (will still use directory specified in.bowerrc
, but uses the default
ofbower_components/
if no.bowerrc
exists). #1679 - [BUGFIX] Fixes support for
.ember-cli
settings file. #1676 - [BUGFIX] Blueprint: replace multiple occurences of
__name__
with module name. #1658 - [ENHANCEMENT] Replace internal live-reload middleware with addon. #1643
- [ENHANCEMENT] Add .travis.yml to app blueprint. #1636
- [ENHANCEMENT] Allow individual Blueprints to determine if an entity name is required. #1631
- [ENHANCEMENT] Move
qunit
support into an addon. #1295 - [BUGFIX] Running
ember new foo-bar --dry-run
does not create new directory. #1602 - [ENHANCEMENT] Allow addons to return an
addon
tree that will be namespaced with the addons name. #1544 - [BUGFIX] Ensure non
assets/
files can be served frompublic/
or when added viaapp.import
(using thedestDir
). #1549 - [ENHANCEMENT] Update
ember-resolver
version (allows for components and their templates to be grouped together). #1540 - [ENHANCEMENT] Update
testem
version. #1539 - [ENHANCEMENT] Remove
originate
from application blueprint. - [ENHANCEMENT] Add EditorConfig file to blueprints. #1507
- [ENHANCEMENT] Add `Blueprint#beforeInstall". #1498
- [ENHANCEMENT] Add
--type
option (and check) tocontroller
androute
generators. #1498 - [BUGFIX] Call
normalizeEntityName
hook beforelocals
hook #1717 - [ENHANCEMENT] replace multiple instances of name in blueprints.
- [ENHANCEMENT] adds http-proxy for explicit, multi proxy use#1474
- [BREAKING ENHANCEMENT] renames apiStub to http-mock to match other http-related generators #1474
- [ENHANCEMENT] Log proxy server traffic when using
ember serve --proxy
#1583 - [ENHANCEMENT] Remove chain from express server #1474
- [ENHANCEMENT] Remove Blueprint lookup failure stacktrace #1476
- [ENHANCEMENT] --verbose errors option to have SilentError output stacktrace #1480
- [BUGFIX] Modify service blueprint to create explicit injection #1493
- [ENHANCEMENT] Generating a helper now also generates a test #1503
- [BUGFIX] Do not run JSHint against trees returned from an addon.
- [BREAKING ENHANCEMENT] Addons can pull in test assets into test tree #1453
- [BREAKING ENHANCEMENT] Addon model's _root renamed to root #1537
- [ENHANCEMENT] Addons can recursively add other addons #1509
- [ENHANCEMENT] Upgrade
loader.js
to1.0.1
. #1543 - [BUGFIX] Allow
public/
to contain files in the root of the project. #1549 - [ENHANCEMENT] Add
robots.txt
andcrossdomain.xml
files in the root of the project. #1550 - [BUGFIX] Generating mixins and utils with several levels of nesting no longer produces a failing test. #1551
- [BREAKING ENHANCEMENT] bower assets moved to bower_components instead of vendor #1436
- [ENHANCEMENT] Move history support into a separate internal addon. #1552
- [ENHANCEMENT] don't assume value of bowerrc.directory #1553
- [ENHANCEMENT] es6 namespaced addons #1544
- [ENHANCEMENT] Removed use of
memoize
from EmberApp. Allows multiple EmberApps to be instantiated #1361 - [ENHANCEMENT] Add
ember destroy
command (removes files added bygenerate
command). #1547 - [BUGFIX] Ensure router.js is not modified when ember g route foo --dry-run #1570
- [ENHANCEMENT] Add possibility to hide #ember-testing-container while testing #1579
- [BUGFIX] Fix EmberAddon vendor tree #1606
- [ENHANCEMENT] Addon blueprint #1374
- [BUGFIX] Fix addons with empty directories #
- [BUGFIX] Fix tests/helpers/start-app.js location from addon generator #1626
- [BUGFIX] Allow addons to use history support middleware #1632
- [ENHANCEMENT] Upgrade
broccoli-ember-hbs-template-compiler
to1.6.1
. - [ENHANCEMENT] Allow file patterns to be ignored by LiveReload #1706
- [BUGFIX] Switch to OS-friendly line endings #1718
- [BUGFIX] Prevent file deletions when the build
--output-path
is a parent directory #1730