npm ember-cli 0.0.45
King of the Pippins

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

Upgrading

In order to ensure a safe and easy upgrade please follow the following steps (from within your project directory):

  1. npm install -g ember-cli -- This ensures that your global version is up to date.
  2. npm install --save-dev ember-cli -- This ensures that your project's version is up to date.
  3. 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.

Applications

  • ember new diff
  • [BREAKING ENHANCEMENT] Moved modulePrefix to config/environment.js. #1933
  • [BREAKING ENHANCEMENT] Remove window.MyAppNameENV. You will now need to import the configuration instead of relying on using the global. #1903.
import ENV from '<appName>/config/environment';
ENV.API_HOST; // example.com
  • [ENHANCEMENT] Allowing config of asset output paths. #1904
  • [ENHANCEMENT] Add a default .ember-cli file and document disableAnalytics. #1801
  • [BUGFIX] Add location type for test environment. This generally makes using ember test with a custom baseURL work properly. #1915
  • [ENHANCEMENT] Allow multiple pre-processors per type (for example, using broccoli-sass AND broccoli-less is now possible). #1918
  • [ENHANCEMENT] Update startApp to provide app configuration. #1329
  • [BUGFIX] Remove manual env === 'production' checks. #1929
  • [BUGFIX] Fixed an issue where project.config() could be called with undefined environment when starting express server. #1959
  • [ENHANCEMENT] Improve blueprint self-documentation by adding additional details to ember help generate. #1279
  • [ENHANCEMENT] Update broccoli-asset-revto 0.1.1. #1945
  • [ENHANCEMENT] Update app blueprint's package.json/bower.json to depend on ember-data. #1873
  • [BUGFIX] Ensure that things loaded by server/index.js override addons. This changes the middleware ordering so that the app's middlewares are loaded before
    the internal middlewares. #2008
  • [BUGFIX] Removed broccoli-sweetjs from the internal preprocessor registry. #2014
  • [ENHANCEMENT] Pull podModulePrefix from config/environment.js. #2024
  • [BUGFIX] Exit with a non-zero exit code (to indicate failure), and provide a nice error message if ember test runs nothing. #2025

Addons

  • ember addon diff
  • [ENHANCEMENT] Allow addons to return a public tree. By default anything in an addon's public/ folder will be copied into a folder for that addon's name
    in the output path. #1930
  • [BUGFIX] Remove extra nesting of addon/styles tree. Previously, the addon styles tree was looking for addon/styles/styles/. #1964
  • [ENHANCEMENT] Add config hook for addons. #1972
  • [BUGFIX] Ensure we do not add ember-addon twice when running ember init (to upgrade an addon). #1982
  • [BUGFIX] Allow addon/templates to be properly available inside the my-addon-name.js file with the correct module name. #1983

Blueprints

  • [ENHANCEMENT] Add empty function to resource blueprint when resource is singular. #1946
  • [BUGFIX] Do not inject application route into app/router.js. #1953
  • [ENHANCEMENT] Add Blueprint.prototype.lookupBlueprint which allows a blueprint to lookup other Blueprints. This makes it much easier to provide Blueprints that
    augment existing internal blueprints without having to copy and override them completely. #2016

Don't miss a new ember-cli release

NewReleases is sending notifications on new releases.