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>
    <meta charset="utf-8">
    <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-d708868dee9785fe41b036437dc2109a.css">
    <link integrity="" rel="stylesheet" href="{{rootURL}}assets/my-app-name.css">

    {{content-for "head-footer"}}
    {{content-for "body"}}

    <script src="{{rootURL}}assets/vendor-72f087da529c7bf64ae42ca662930a80.js"></script>
-   <script src="{{rootURL}}assets/foo.js"></script>
+   <script src="{{rootURL}}assets/my-app-name.js"></script>

    {{content-for "body-footer"}}

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.