npm ember-cli 0.2.4
Promised Gift

latest releases: 5.7.0-beta.0, 5.6.0, 5.6.0-beta.0...
9 years ago

Setup

  1. npm uninstall -g ember-cli -- Remove old global ember-cli
  2. npm cache clean -- Clear NPM cache
  3. bower cache clean -- Clear Bower cache
  4. npm install -g ember-cli@0.2.4 -- Install new global ember-cli

Project Update

  1. rm -rf node_modules bower_components dist tmp -- Delete temporary development folders.
  2. npm install --save-dev ember-cli@0.2.4 -- Update project's package.json to use latest version.
  3. npm install -- Reinstall NPM dependencies.
  4. bower install -- Reinstall bower dependencies.
  5. 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 regular Ember.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 (or app/components sans podModulePrefix)
      folder with the --path option. ember g component foo-bar -p -path foo generates into app/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 named foo into a
      directory named bar.
    • 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 to 0.3.12
      • Upgrade ember-dependency-checker to 1.0.0
    • bower.json
      • Bundled ember v1.12
      • Upgrade bower.json ember-qunit to 0.3.2 for glimmer support.
  • Addon Developers
  • Core Contributors
    • No changes required

Community Contributions

Thank you to all who took the time to contribute!

Don't miss a new ember-cli release

NewReleases is sending notifications on new releases.