|
| 1 | +--- |
| 2 | +title: Ember 5.1 Released |
| 3 | +authors: |
| 4 | + - jen-weber |
| 5 | + - chris-krycho |
| 6 | + - jared-galanis |
| 7 | +date: 2023-07-08T00:00:00.000Z |
| 8 | +tags: |
| 9 | + - releases |
| 10 | + - '2023' |
| 11 | + - version-5-x |
| 12 | +--- |
| 13 | + |
| 14 | +Today the Ember project is releasing version 5.1 of Ember.js, EmberData, and Ember CLI. |
| 15 | + |
| 16 | +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](https://github.com/ember-cli/ember-try) addon is a great way to continuously test your projects against the latest Ember releases. |
| 17 | + |
| 18 | +You can read more about our general release process here: |
| 19 | + |
| 20 | +- [Release Dashboard](http://emberjs.com/releases/) |
| 21 | +- [The Ember Release Cycle](https://blog.emberjs.com/new-ember-release-process/) |
| 22 | +- [The Ember Project](https://blog.emberjs.com/ember-project-at-2-0/) |
| 23 | +- [Ember LTS Releases](https://blog.emberjs.com/announcing-embers-first-lts/) |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +## Ember.js |
| 28 | + |
| 29 | +Ember.js is the core framework for building ambitious web applications. |
| 30 | + |
| 31 | +The headlining feature of this release is stable [TypeScript](https://www.typescriptlang.org) support! 🎉 The framework now publishes TypeScript types built from Ember's own source code, with Ember's [strong Semantic Versioning commitment](https://emberjs.com/releases/) 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][stable-ember-types]. |
| 32 | + |
| 33 | +[stable-ember-types]: https://blog.emberjs.com/stable-typescript-types-in-ember-5-1 |
| 34 | + |
| 35 | +### Changes in Ember.js 5.1 |
| 36 | + |
| 37 | +Ember.js 5.1 is an incremental, backwards compatible release of Ember with bug fixes, performance improvements, and minor deprecations. |
| 38 | + |
| 39 | +#### Bug Fixes |
| 40 | + |
| 41 | +Ember.js 5.1 introduced 1 bug fix: |
| 42 | + |
| 43 | +- [#20461](https://github.com/emberjs/ember.js/pull/20461) - Fix a cyclic module crash when using Ember Engines and Ember FastBoot. |
| 44 | + |
| 45 | +#### Features |
| 46 | + |
| 47 | +Ember.js 5.1 introduced 1 feature: |
| 48 | + |
| 49 | +- [#20449](https://github.com/emberjs/ember.js/pull/20449) - Publish stable TypeScript types built from Ember's source. |
| 50 | + |
| 51 | +#### Deprecations |
| 52 | + |
| 53 | +Ember.js 5.1 introduced 0 deprecations. |
| 54 | + |
| 55 | +For more details on changes in Ember.js 5.1, please review the [Ember.js 5.1.0 release page](https://github.com/emberjs/ember.js/releases/tag/v5.1.0). |
| 56 | + |
| 57 | +--- |
| 58 | + |
| 59 | +## EmberData |
| 60 | + |
| 61 | +EmberData is the official data persistence library for Ember.js applications. |
| 62 | + |
| 63 | +### Changes in EmberData 5.1 |
| 64 | + |
| 65 | +#### Bug Fixes |
| 66 | + |
| 67 | +EmberData 5.1 introduced 2 bug fixes: |
| 68 | + |
| 69 | +- [#8657](https://github.com/emberjs/data/pull/8657) - Ensure deprecation configs are threaded to each package. |
| 70 | +- [#8649](https://github.com/emberjs/data/pull/8649) - `NotificationManager` should only invoke resource/document callbacks owned by the originating store. |
| 71 | + |
| 72 | +#### Features |
| 73 | + |
| 74 | +EmberData 5.1 introduced 0 features. |
| 75 | + |
| 76 | +#### Deprecations |
| 77 | + |
| 78 | +EmberData 5.1 introduced 0 deprecations. |
| 79 | + |
| 80 | +For more details on changes in EmberData 5.1, please review the |
| 81 | +[EmberData 5.1.0 release page](https://github.com/emberjs/data/releases/tag/v5.1.0) and for future planning please refer to the new 🔥 [EmberData Roadmap](https://github.com/emberjs/data/blob/main/ROADMAP.md). |
| 82 | + |
| 83 | +--- |
| 84 | + |
| 85 | +## Ember CLI |
| 86 | + |
| 87 | +Ember CLI is the command line interface for managing and packaging Ember.js applications. |
| 88 | + |
| 89 | +### Upgrading Ember CLI |
| 90 | + |
| 91 | +You may upgrade Ember CLI using the `ember-cli-update` project: |
| 92 | + |
| 93 | +```bash |
| 94 | +npx ember-cli-update |
| 95 | +``` |
| 96 | + |
| 97 | +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](https://github.com/ember-cli/ember-cli-update). |
| 98 | + |
| 99 | +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`. |
| 100 | + |
| 101 | +### Changes in Ember CLI 5.1 |
| 102 | + |
| 103 | +#### Bug Fixes |
| 104 | + |
| 105 | +Ember CLI 5.1 introduced 2 bug fixes: |
| 106 | + |
| 107 | +- [#10300](https://github.com/ember-cli/ember-cli/pull/10300) - Do not try to wire up Testem unless a test framework is detected. |
| 108 | +- [#10276](https://github.com/ember-cli/ember-cli/pull/10256) - Widen peer dependency range for ember-source. |
| 109 | + |
| 110 | +#### Features |
| 111 | + |
| 112 | +Ember CLI 5.1 introduced 2 features: |
| 113 | + |
| 114 | +- [#10256](https://github.com/ember-cli/ember-cli/pull/10256) - Align hbs templates generated by app blueprint with Prettier defaults. |
| 115 | +- [#10287](https://github.com/ember-cli/ember-cli/pull/10287) - Implementation of RFC 907 - pnpm support. |
| 116 | + |
| 117 | +#### Deprecations |
| 118 | + |
| 119 | +Ember CLI 5.1 introduced 0 deprecations. |
| 120 | + |
| 121 | +For more details on the changes in Ember CLI 5.1 and detailed upgrade |
| 122 | +instructions, please review the [Ember CLI 5.1.0 release page](https://github.com/ember-cli/ember-cli/releases/tag/v5.1.0). |
| 123 | + |
| 124 | +## Thank You! |
| 125 | + |
| 126 | +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. |
0 commit comments