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.2.4
-- 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.2.4
-- 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
- Apps now have ember-disable-proxy-controllers
included by default, this ensures that autogenerated controllers
always are regularEmber.Controller
instead of the deprecated
proxy ones. This does not affect explicitly created controllers. - Generated routes always use
this.route
(this.resource
is no longer used). - The command
ember install:bower
has been removed. - Pod components can now be generated outside the
app/pods/components
(orapp/components
sans podModulePrefix)
folder with the--path
option.ember g component foo-bar -p -path foo
generates intoapp/foo/foo-bar/component.js
- The
ember new
command now has a--directory
option, allowing
you to generate into a directory that differs from your app
name.ember new foo -dir bar
generates an app namedfoo
into a
directory namedbar
. - Generated apps no longer have
podModulePrefix
in the config. - All blueprints have been updated to use shorthand ES6 syntax for importing and exporting.
- package.json
- Upgrade
ember-cli-qunit
to0.3.12
- Upgrade
ember-dependency-checker
to1.0.0
- Upgrade
- bower.json
- Bundled ember
v1.12
- Upgrade bower.json
ember-qunit
to0.3.2
for glimmer support.
- Bundled ember
- Addon Developers
ember addon
diff- No changes required
- Core Contributors
- No changes required
Community Contributions
- #3965 fixup doc generator test @ember-cli
- #3822 adding 0.2.3 diffs @kellyselden
- #3384 Test powershell for appveyor builds @ember-cli
- #3771 [ENHANCEMENT] Support custom node_module paths @jakehow
- #3820 [ENHANCEMENT] Change blueprint command options to type String to avoid nopt transformations @rodyhaddad
- #3698 adding docker for linux testing/debugging @kellyselden
- #3973 Config cache unc share @ember-cli
- #3836 Suggestion: Adding test coverage to pull requests @kellyselden
- #3827 [BUGFIX] Fixes availableOptions in custom blueprints @trabus
- #3825 Exclude dist/ from addon npm publishes by default @jayphelps
- #3826 [fixes #3712] rethrow errors in build task @marcioj
- #3978 Update broccoli-es6modules @marcioj
- #3882 Removes bower install command. @willrax
- #3869 [BUGFIX] Use posix path for in-repo-addons in package.json @trabus
- #3846 [BUGFIX] Prevent addon-import blueprint from generating if entity name is undefined @trabus
- #3851 Use shorthand ES6 syntax for addon -> app re-exports @jayphelps
- #3848 writeError now looks for filename as well as file @wagenet
- #3858 move github to normal dependencies to hack around: https://github.com/np... @ember-cli
- #3856 Use shorthand ES6 re-export for addon-imports as well, which landed in #3690 @jayphelps
- #3842 Add remove packages @jonathanKingston
- #3845 [BUGFIX] Fix ability to generate blueprints (blueprint, http-mock, http-proxy, and tests) inside addons @trabus
- #3853 Cache
node_modules
andbower_components
in CI @seanpdoyle - #3994 update sane + broccoli-sane-watcher @ember-cli
- #3949 adding a shared folder with host, and fixing git PATH @kellyselden
- #3937 [BUGFIX] Merge app/styles from addons with overwrite: true. Fixes #3930. @yapplabs
- #3895 [Enhancement] PhantomJS 2.0 running on travis-ci @truenorth
- #3921 [Enhancement] Ember-try & parallel travis-ci scenario tests for addons @truenorth
- #3936 Replace 'this.resource' with 'this.route' in generators @HeroicEric
- #3946 [ENHANCEMENT] Add host option to
ember test
. @wangjohn - #3909 test blueprints now use consistent, less-opinionated import style @jayphelps
- #3891 Fixes problem in initializer tests generated in addons @marcioj
- #3889 Updating dev folder to help with debugging @kellyselden
- #3916 Disable directory listings on development server @joliss
- #3887 Bump ember router generator and allow index routes @abuiles
- #3915 Always create addon trees when developing an addon @marcioj
- #3901 bump blueprints to latest released ember @ember-cli
- #3913 Remove podModulePrefix from app.js @knownasilya
- #3945 [ENHANCEMENT] Friendly test names and descriptions @eccegordo/feature
- #3922 Export test output dir via ENV @ef4
- #3919 Remove connect-restreamer. @abuiles
- #4021 Allow custom history location types. @ember-cli
- #3950 allow override of os.EOL in tests @ember-cli
- #3962 Disable any file watching done by testem @johanneswuerbach
- #3968 node-glob doesn’t work with windows shares… @ember-cli
- #3951 [ENHANCEMENT] Add --directory flag to
ember new
@HeroicEric - #3956 Bump ember-route-generator to match #3936. @abuiles
- #3954 [ENHANCEMENT] Generate component pods outside components folder @trabus
- #3958 Fix indentation in
crossdomain.xml
@arthurvr - #3967 allow override of os.EOL in tests @ember-cli
- #3959 Add
Disallow:
to robots.txt @arthurvr - #3966 increase timeouts, and use mocha’s inheriting config @ember-cli
- #4039 Update ember-qunit to support glimmer @knownasilya
- #4000 use
escape-string-regexp
module @sindresorhus - #3975 included modules is no longer needed @ember-cli
- #3982 Changed markdown-color blue to bright-blue to be the same on all platforms @trabus
- #3984 Allow io.js-next in development in 'valid-platform-version' @laiso
- #3974 Resolve sync @ember-cli
- #3976 Relative require @ember-cli
- #3996 Warns when npm or bower dependencies aren't installed @marcioj
- #4024 Appveyor: Use
run
instead ofrun-script
@knownasilya - #4033 Bump ember-cli-dependency-checker to v0.1.0 @quaertym
- #4027 Re-order postBuild hook @chadhietala
- #4008 Disable leek for
ember -v
@twokul - #4020 Allowed failures @ember-cli
- #4007 Hide Python on appveyor so npm won't build native extentions @raytiley
- #4022 Run all tests again @marcioj
- #4032 Update ember-cli-qunit to v0.3.2 @HeroicEric
- #4037 Add ember-disable-proxy-controllers to app blueprint @cibernox
- #4046 Upgrade ember-cli-htmlbars to 0.7.6 @teddyzeenny
- #4057 [INTERNAL] Fix tests to expect single line qunit import @trabus
- #4058 Bump ember-cli-dependency-checker to v1.0.0 @quaertym
- #4059 Update Ember-data to beta 17 @cibernox
- #4065 Update to Ember 1.12.0. @rwjblue
Thank you to all who took the time to contribute!