Ember 4.11 Released

– By Jen Weber, Chris Krycho, Jared Galanis

Today the Ember project is releasing version 4.11 of Ember.js, Ember Data, and Ember CLI.

This release kicks off the 4.12 beta cycle for all sub-projects. We encourage our community (especially addon authors) to help test these beta builds and report any bugs before they are published as a final release in six weeks' time. The ember-try addon is a great way to continuously test your projects against the latest Ember releases.

You can read more about our general release process here:


Ember.js

Ember.js is the core framework for building ambitious web applications.

Changes in Ember.js 4.11

Ember.js 4.11 is an incremental, backwards compatible release of Ember with bug fixes, performance improvements, and minor deprecations.

Bug Fixes

Ember.js 4.11 introduced 0 bug fixes.

Features

Ember.js 4.11 introduced 2 features.

  1. Stable TypeScript types for the @ember/owner package (first released in 4.10).
  2. Stable TypeScript types for the @ember/error package.

Both of these packages already had types available as part of the public preview types, so you might wonder: What is new here? The answer is: these are the first type definitions generated from Ember's own TypeScript source code, instead of written by hand. This means that these types are guaranteed to match Ember's own behavior: they literally cannot get out of sync.

If you are already using the public preview types, as documented in the announcement post, you don't have to do anything. If you would like to opt into using the new stable and preview types, you can add this to your project (e.g. in app.ts):

import 'ember-source/types';
import 'ember-source/types/preview';

Reminder: while these two packages are now stable, much of Ember's types are still in preview, and subject to change between minor releases. We expect to finish getting the rest of Ember's types stable, and therefore following Ember's normal stability rules, early in the upcoming 5.x releases!

Deprecations

Ember.js 4.11 introduced 0 deprecations.

Deprecations are added to Ember.js when an API will be removed at a later date. Each deprecation has an entry in the deprecation guide describing the migration path to a more stable API. Deprecated public APIs are not removed until a major release of the framework. No new deprecations are allowed after the .10 release, to minimize churn before the next major release.

Consider using the ember-cli-deprecation-workflow addon if you would like to upgrade your application without immediately addressing deprecations.

For more details on changes in Ember.js 4.11, please review the Ember.js 4.11.0 release page.


Ember Data

Ember Data is the official data persistence library for Ember.js applications.

Ember Data 4.10, which was not released at the time of the broader Ember 4.10 release, has now been released and is essentially a re-release of Ember Data 4.9 with some fixes around @ember/error and @ember/string deprecations. Ember Data 4.11.0 is also a re-release of Ember Data 4.10. However, there were several very important fixes shipped in Ember Data 4.11.1, 4.11.2 and 4.11.3 that users should be aware of.

Changes in Ember Data 4.11

Bug Fixes

Ember Data 4.11 introduced 0 bug fixes.

Ember Data 4.11.1 introduced 1 important bug fix for a bug around embroider compatibility that prevented users from using Ember Data in embroider Ember applications starting in Ember Data 4.8. The fix means that Ember apps using Ember Data can also use embroider again!

Ember Data 4.11.2 introduced 1 bug fix that addresses computed chains not updating in EmberData 4.8 and up.

Ember Data 4.11.3 introduced 1 bug fix that addresses an issue around infinite recursion in ember-concurrency and another involving SSR/test memory leaks.

Features

Ember Data 4.11 introduced 0 features.

Deprecations

Ember Data 4.11 introduced 0 deprecations.

For more details on changes in Ember Data 4.11 (and 4.11.1, 4.11.2 and 4.11.3) please review the Ember Data 4.11.0 release page and the Ember Data changelog.


Ember CLI

Ember CLI is the command line interface for managing and packaging Ember.js applications.

Upgrading Ember CLI

You may upgrade Ember CLI using the ember-cli-update project:

npx ember-cli-update

This utility will help you to update your app or addon to the latest Ember CLI version. You will probably encounter merge conflicts, in which the default behavior is to let you resolve conflicts on your own. For more information on the ember-cli-update project, see the GitHub README.

While it is recommended to keep Ember CLI versions in sync with Ember and Ember Data, this is not required. After updating ember-cli, you can keep your current version(s) of Ember or Ember Data by editing package.json to revert the changes to the lines containing ember-source and ember-data.

Changes in Ember CLI 4.11

Ember CLI

Ember CLI did not introduce new bug fixes, features or deprecations, but there were a few updates that added ember-modifier and tracked-built-ins to the app blueprint and there was one update addressing a dependency vulnerability.

Bug Fixes

Ember CLI 4.11 introduced 0 bug fixes.

Features

Ember CLI 4.11 introduced 0 features.

Deprecations

Ember CLI 4.11 introduced 0 deprecations.

For more details on the changes in Ember CLI 4.11 and detailed upgrade instructions, please review the Ember CLI 4.11.0 release page.

Thank You!

As a community-driven open-source project with an ambitious scope, each of these releases serves as a reminder that the Ember project would not have been possible without your continued support. We are extremely grateful to our contributors for their efforts.