Deprecations Added in Ember CLI 5.x

What follows is a list of deprecations introduced to Ember CLI during the 5.x cycle.

For more information on deprecations in Ember CLI, see the main deprecations page.

Deprecations Added in 5.3.0

outputPaths build option

until: 6.0.0
id: ember-cli.outputPaths-build-option

Using the outputPaths build option is deprecated, as output paths will no longer be predetermined under Embroider.

To resolve the deprecation, please remove the outputPaths build option from your ember-cli-build.js file:

module.exports = function (defaults) {
  const app = new EmberApp(defaults, {
    outputPaths: {
      app: {
        js: `/assets/foo.js`,
      },
    },
  };
};

And update your app/index.html file accordingly:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>MyAppName</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    {{content-for "head"}}

    <link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor-ef0a57d48b8a337686be4ab4c5ac2b2a.css">
    <link integrity="" rel="stylesheet" href="{{rootURL}}assets/my-app-name.css">

    {{content-for "head-footer"}}
  </head>
  <body>
    {{content-for "body"}}

    <script src="{{rootURL}}assets/vendor-04808dd7b775cb58cc809b498f4f1700.js"></script>
    <script src="{{rootURL}}assets/foo.js"></script>
    <script src="{{rootURL}}assets/my-app-name.js"></script>

    {{content-for "body-footer"}}
  </body>
</html>

Deprecations Added in 5.5.0

Travis CI Support

until: 6.0.0
id: travis-ci-support

Travis CI is no longer recommended. Since Travis CI announced the end of its unlimited support for open-source projects, most of the Ember community has switched over to using GitHub Actions or other alternatives instead.

The Ember CLI option for Travis CI when generating projects has been deprecated, including the --ci-provider=travis command-line flag.

Travis CI may continue to be used, but the config will no longer be maintained or updated by the Ember CLI blueprint.

This deprecation is the result of RFC #918.