Ember 5.1 Released

– By Jen Weber, Chris Krycho, Jared Galanis

Today the Ember project is releasing version 5.1 of Ember.js, EmberData, and Ember CLI.

This release kicks off the 5.2 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.

The headlining feature of this release is stable TypeScript support! 🎉 The framework now publishes TypeScript types built from Ember's own source code, with Ember's strong Semantic Versioning commitment baked in—bringing benefits for both TypeScript and JavaScript users. For details, a couple important caveats, and a migration guide, check out the accompanying blog post.

Changes in Ember.js 5.1

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

Bug Fixes

Ember.js 5.1 introduced 1 bug fix:

  • #20461 - Fix a cyclic module crash when using Ember Engines and Ember FastBoot.

Features

Ember.js 5.1 introduced 1 feature:

  • #20449 - Publish stable TypeScript types built from Ember's source.

Deprecations

Ember.js 5.1 introduced 0 deprecations.

For more details on changes in Ember.js 5.1, please review the Ember.js 5.1.0 release page.


EmberData

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

Changes in EmberData 5.1

Bug Fixes

EmberData 5.1 introduced 2 bug fixes:

  • #8657 - Ensure deprecation configs are threaded to each package.
  • #8649 - NotificationManager should only invoke resource/document callbacks owned by the originating store.

Features

EmberData 5.1 introduced 0 features.

Deprecations

EmberData 5.1 introduced 0 deprecations.

For more details on changes in EmberData 5.1, please review the EmberData 5.1.0 release page and for future planning please refer to the new 🔥 EmberData Roadmap.


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 EmberData, this is not required. After updating ember-cli, you can keep your current version(s) of Ember or EmberData by editing package.json to revert the changes to the lines containing ember-source and ember-data.

Changes in Ember CLI 5.1

Bug Fixes

Ember CLI 5.1 introduced 2 bug fixes:

  • #10300 - Do not try to wire up Testem unless a test framework is detected.
  • #10276 - Widen peer dependency range for ember-source.

Features

Ember CLI 5.1 introduced 2 features:

  • #10256 - Align hbs templates generated by app blueprint with Prettier defaults.
  • #10287 - Implementation of RFC 907 - pnpm support.

Deprecations

Ember CLI 5.1 introduced 0 deprecations.

For more details on the changes in Ember CLI 5.1 and detailed upgrade instructions, please review the Ember CLI 5.1.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.