|
| 1 | +--- |
| 2 | +title: Ember 5.2 Released |
| 3 | +authors: |
| 4 | + - jared-galanis |
| 5 | +date: 2023-08-19T00:00:00.000Z |
| 6 | +tags: |
| 7 | + - releases |
| 8 | + - '2023' |
| 9 | + - version-5-x |
| 10 | +--- |
| 11 | + |
| 12 | +Today the Ember project is releasing version 5.2 of Ember.js, EmberData, and Ember CLI. |
| 13 | + |
| 14 | +This release kicks off the 5.3 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. |
| 15 | + |
| 16 | +You can read more about our general release process here: |
| 17 | + |
| 18 | +- [Release Dashboard](http://emberjs.com/releases/) |
| 19 | +- [The Ember Release Cycle](https://blog.emberjs.com/new-ember-release-process/) |
| 20 | +- [The Ember Project](https://blog.emberjs.com/ember-project-at-2-0/) |
| 21 | +- [Ember LTS Releases](https://blog.emberjs.com/announcing-embers-first-lts/) |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | +## Ember.js |
| 26 | + |
| 27 | +Ember.js is the core framework for building ambitious web applications. |
| 28 | + |
| 29 | +### Changes in Ember.js 5.2 |
| 30 | + |
| 31 | +Ember.js 5.2 is an incremental, backwards compatible release of Ember with bug fixes, performance improvements, and minor deprecations. |
| 32 | + |
| 33 | +#### Bug Fixes |
| 34 | + |
| 35 | +Ember.js 5.2 introduced 2 bug fixes: |
| 36 | + |
| 37 | +- [#20505](https://github.com/emberjs/ember.js/pull/20505) Remove use of this.element in component-test and helper-test blueprints. |
| 38 | +- [#20501](https://github.com/emberjs/ember.js/pull/20501) Fix the types for the mutation-methods of NativeArray. |
| 39 | + |
| 40 | +#### Features |
| 41 | + |
| 42 | +Ember.js 5.2 introduced 1 feature: |
| 43 | + |
| 44 | +- [#20464](https://github.com/emberjs/ember.js/pull/20464) Create public import for uniqueId helper per [RFC #659](https://rfcs.emberjs.com/id/0659-unique-id-helper). |
| 45 | + |
| 46 | +#### Deprecations |
| 47 | + |
| 48 | +Ember.js 5.2 introduced 0 deprecations. |
| 49 | + |
| 50 | +For more details on changes in Ember.js 5.2, please review the [Ember.js 5.2.0 release page](https://github.com/emberjs/ember.js/releases/tag/v5.2.0). |
| 51 | + |
| 52 | +--- |
| 53 | + |
| 54 | +## EmberData |
| 55 | + |
| 56 | +EmberData is the official data persistence library for Ember.js applications. |
| 57 | + |
| 58 | +### Changes in EmberData 5.2 |
| 59 | + |
| 60 | +EmberData 5.2 was a re-release of EmberData 5.1.2 and contains no new work. |
| 61 | + |
| 62 | +EmberData 5.1.2 included [#8750](https://github.com/emberjs/data/pull/8750) which ported several bug fixes: |
| 63 | + |
| 64 | +- fix: @ember-data/debug should declare its peer-dependency on @ember-data/store [#8703](https://github.com/emberjs/data/pull/8703) |
| 65 | +- fix: de-dupe coalescing when includes or adapterOptions is present but still use findRecord [#8704](https://github.com/emberjs/data/pull/8704) |
| 66 | +- fix: make implicit relationship teardown following delete of related record safe [#8705](https://github.com/emberjs/data/pull/8705) |
| 67 | +- fix: catch errors during didCommit in DEBUG [#8708](https://github.com/emberjs/data/pull/8708) |
| 68 | + |
| 69 | +For more details on changes in EmberData 5.2, please review the |
| 70 | +[EmberData 5.2.0 release page](https://github.com/emberjs/data/releases/tag/v5.2.0) and for future planning please refer to the new 🔥 [EmberData Roadmap](https://github.com/emberjs/data/blob/main/ROADMAP.md), which did change as a result of 5.2 being a re-release. |
| 71 | + |
| 72 | +--- |
| 73 | + |
| 74 | +## Ember CLI |
| 75 | + |
| 76 | +Ember CLI is the command line interface for managing and packaging Ember.js applications. |
| 77 | + |
| 78 | +### Upgrading Ember CLI |
| 79 | + |
| 80 | +You may upgrade Ember CLI using the `ember-cli-update` project: |
| 81 | + |
| 82 | +```bash |
| 83 | +npx ember-cli-update |
| 84 | +``` |
| 85 | + |
| 86 | +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). |
| 87 | + |
| 88 | +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`. |
| 89 | + |
| 90 | +### Changes in Ember CLI 5.2 |
| 91 | + |
| 92 | +#### Bug Fixes |
| 93 | + |
| 94 | +Ember CLI 5.2 introduced no bug fixes. |
| 95 | + |
| 96 | +#### Features |
| 97 | + |
| 98 | +Ember CLI 5.2 introduced 1 new feature: |
| 99 | + |
| 100 | +- [#10283](https://github.com/ember-cli/ember-cli/pull/10283) - refactor `--typescript` support in blueprints to not use `ember-cli-typescript`. |
| 101 | + |
| 102 | +#### Deprecations |
| 103 | + |
| 104 | +Ember CLI 5.2 introduced no deprecations. |
| 105 | + |
| 106 | +For more details on the changes in Ember CLI 5.2 and detailed upgrade |
| 107 | +instructions, please review the [Ember CLI 5.2.0 release page](https://github.com/ember-cli/ember-cli/releases/tag/v5.2.0). |
| 108 | + |
| 109 | +## Thank You! |
| 110 | + |
| 111 | +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