The most notable breaking changes introduced in v8 are:
- The
includePolyfilloption is no longer supported (458) @babel/coreis now a required peer dependency (452)
Apps that are relying on the includePolyfill option should install core-js,
and import core-js/stable directly in app.js. The reason for this is that,
@babel/polyfill has been deprecated. More info on this deprecation can be
found in the documentation for @babel/polyfill.
Apps are now also required to install @babel/core directly in order to use
ember-cli-babel. Making @babel/core a peer dependency ensures that the
same version is used by all tooling that require it.
Since (v1) addons bring in their own version of ember-cli-babel, they should
now also bring in their own version of @babel/core. This means that, addons
should add @babel/core under dependencies in their package.json file.
This makes the dependency on @babel/core more explicit while also avoiding
addons having to cut a breaking release to update ember-cli-babel to v8.