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@2.4.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@2.4.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
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
- Addon Developers
ember addon
diff- No changes required
- Core Contributors
- No changes required
Community Contributions
- #5645 bump some common test timeouts, reduce intermittent failures @stefanpenner
- #5588 Remove obsolete JSHint comments @Turbo87
- #5391 Fix host interface + port binding issues @eriktrom
- #5584 Help command cleanup @Turbo87
- #5531 load ember from ember-core if available @stefanpenner
- #4678 [BUGFIX] rethrow exceptions after logging @lazybensch
- #4025 Allow promise for locals function in blueprints @knownasilya
- #5646 ensure at-least npm v3 @stefanpenner
- #5591 Ensure application templates overwrite addon templates. @rwjblue
- #5590 Site updates itself now @leo
- #5644 [ENHANCEMENT] Output build sizes command @martypenner
- #5607 Removing view blueprint @jasonmit
- #5597 Use internal test helpers @Turbo87
- #5605 Update diff to version 2.2.2 🚀
- #5592 Fix issue with addon directory not being linted @alexlafroscia
- #5603 Remove all "www"s @leo
- #5651 remove inherited defaults from deprecated command @kellyselden
- #5619 Update fs-extra to version 0.26.7 🚀
- #5612 Replace "pleasant-progress" with "ora" @Turbo87
- #5618 Cleanup unused utilities @Turbo87
- #5614 Resolve directories relative to EmberApp project root @trentmwillis
- #5616 Update yuidocjs to version 0.10.0 @Turbo87
- #5611 Update fs-extra to version 0.26.6 🚀
- #5617 Move "coveralls" and "codeclimate" dependencies into TravisCI manifest @Turbo87
- #5615 Extract JSON help generator from HelpCommand code @Turbo87
- #5662 Update "configstore" to v2.0.0 @Turbo87
- #5627 Update locals inline docs @knownasilya
- #5624 fix help for unknown command @lazybensch
- #5621 [BUGFIX] Adds in fix for #5620 to see if the actualOutputStream isTTY by default. @iheanyi
- #5622 [CLEANUP] command types @lazybensch
- #5666 Clean up "inquirer" code @Turbo87
- #5641 Update Ember Data to v2.4.2 @bmac
- #5632 Clean up TravisCI file @Turbo87
- #5640 ember-try scenarios accepts dots, should probably be one. @kellyselden
- #5668 Cleanup tests properly @chadhietala
- #5642 update ember-try @kellyselden
- #5672 re-point ember-cli-portfinder -> portfinder @eriktrom
- #5653 Upgrade packages for app/addon blueprints @elwayman02
- #5647 disable node 0.12.x tests on appveyor @stefanpenner
- #5649 commands: Use plain strings instead of "option-type" utility @Turbo87
- #5650 reset aliases for deprecated install commands @kellyselden
- #5654 bump destroy test timeout @stefanpenner
- #5655 Move "ember-cli" version printing into "ember --version" command @Turbo87
- #5656 commands: Rename "show-asset-sizes" to "asset-sizes" @Turbo87
- #5659 Simplify print-command utility @Turbo87
- #5670 Extract "open-editor" utility @Turbo87
- #5673 Fixes leading slash being added to component-test module name @lpaluszk
- #5674 testem@1.6.0 breaks build ⚠️
- #5678 Remove ember-disable-proxy-controllers from package.json blueprint @Dhaulagiri
- #5679 "app" blueprint: Update TravisCI config @Turbo87
- #5686 broccoli-config-replace@1.1.2 breaks build ⚠️
Thank you to all who took the time to contribute!