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@1.13.0
-- 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@1.13.0
-- 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
Brocfile.js
has been deprecated in favor ofember-cli-build.js
. See TRANSITION.md for details on how to transition yourBrocfile.js
code toember-cli-build.js
.- Components are now generated with integration tests by default instead of unit tests. Component unit tests can still be generated separately with:
ember g component-test foo-bar -unit
. - Services can now be generated into pod structure.
- Addon Developers
ember addon
diffBrocfile.js
has been deprecated in favor ofember-cli-build.js
. See TRANSITION.md for details on how to transition yourBrocfile.js
code toember-cli-build.js
.- Blueprints can now be generated into the
tests/dummy/app
folder with the--dummy
flag. - Scoped npm dependencies are now supported.
- Core Contributors
- fs.existsSync is deprecated, use exists-sync instead.
Community Contributions
- #4378 Update Ember to 1.13.3 @rwjblue
- #4395 Update ember-data to 1.13.5 @trabus
- #4217 [BUGFIX] generating tests inside addons no longer generates addon export file @trabus
- #4212 fix friendly test description for transforms @csantero
- #4214 [BUGFIX] correct relative import path for nested adapters @trabus
- #4215 extract clean-base-url to its own module @ember-cli
- #4197 [BUGFIX] add default for path option in component blueprint locals @trabus
- #4316 fs.existsSync deprecated, replace with exists-sync @jasonmit
- #4224 extract silent-error to its own addon @ember-cli
- #4319 Update tmp.js @jjmiv
- #4228 add 0.2.7 diffs @kellyselden
- #4227 Extract process relative require @ember-cli
- #4226 extract node-modules-path as its own module @ember-cli
- #4326 Drop unused line from app blueprint @ef4
- #4254 [BUGFIX] Closes #4253. Add
skipHelp
as an available option to commands. @DanielOchoa - #4249 Passing options to tiny-lr (live reload) for HTTPS support @dosco
- #4239 Fix JSDoc issues @Turbo87
- #4242 Add devDependencies "up to date" badge to README @truenorth
- #4251 [BUGFIX] Fix generated addon acceptance test @trabus
- #4240 Added ember-cli-release to app/addon devDeps blueprint for simple release cutting @jayphelps
- #4286 [Deprecation] Introduce new build file @chadhietala
- #4280 [ENHANCEMENT] Add pod support for services blueprint @trabus
- #4272 [ENHANCEMENT] Generate component-tests into
tests/integration
by default @trabus - #4261 bump ember-cli-htmlbars @ember-cli
- #4266 [fixes #4264] @ember-cli
- #4270 [BUGFIX] don't allow ember init to create an application without project name @dukex/bugfix
- #4278 Fix 2 typos in livereload-server-test @jrobeson
- #4271 Adding support for private npm modules in blueprints. Closes #4256. @gmurphey
- #4263 [fixes #4260] postprocessTree hook for templates @ember-cli
- #4347 ES3+ and for ES5+ deprecation free keys + forEach @ember-cli
- #4292 Cleanup pr4283 @ember-cli
- #4284 Update ember-resolver to 0.1.17. @rwjblue
- #4287 [ENHANCEMENT] Add ability to generate blueprints into addon
tests/dummy/app
@trabus - #4290 Pass the correct port property to LiveReload server @jrobeson
- #4282 Display the LiveReload server address as url @jrobeson
- #4288 Update ember-cli-htmlbars to 0.7.9. @rwjblue
- #4376 Update initializer-test blueprint @quaertym
- #4306 [ENHANCEMENT] Print notification when modifying router.js @trabus
- #4377 Add a test-page option to the test command @jrjohnson
- #4341 Update ember-load-initializers to 0.1.5 @jmurphyau
- #4322 Update ADDON_HOOKS.md @jjmiv
- #4334 Cache processed styles tree to prevent double style builds. @rwjblue
- #4309 [ENHANCEMENT] Name blueprint in generate and destroy output message @trabus
- #4327 Bring tests jshintrc closer to app jshintrc @ef4
- #4344 [ENHANCEMENT] Fix typo in test command description. @fabianrbz
- #4362 extract preprocessor-registry -> ember-cli-preprocessor-registry @ember-cli
- #4348 Do not pack ember-cli-build.js @chadhietala
- #4343 bump to ember-resolve 0.1.18 – which fixes deprecations while continu… @ember-cli
- #4349 enable both relative and absolute treePaths (npm v3 fix) @ember-cli
- #4359 Update helper blueprint to use
Ember.Helper.helper
@balinterdi - #4354 Upgrade to ember-cli-app-version 0.4.0 @taras
- #4370 Remove unexpected final newline @treyhunner
- #4374 Update appveyor.yml @ember-cli
- #4382 Update ember-cli-qunit to 0.3.15. @rwjblue
- #4384 [ENHANCEMENT] Add block-template assertion to generated component integration test @trabus
- #4385 Dependency updates @truenorth
Thank you to all who took the time to contribute!