The Ember Blog announced the v3.22 releases
of Ember.js, Ember Data, and Ember CLI. There were a host of bug fixes across the board, one deprecation for Ember Data and several new features for Ember.js.
The release of version 3.22 introduced some new features you may want to be aware of in Ember.js:
- Enabled @ember/destroyable API, which allows you to create and manage your own destroyables. For more information, please see the Destroyables RFC.
- Enabled Cache API, a low-level primitive for memoizing the result of a function based on autotracking. (You can install a polyfill for apps between versions 3.13 and 3.21.) For more information, please check the Ember Guides and Autotracking Memoization RFC.
- Allowed passing the transition object to 2 route hooks, activate and deactivate.
Additionally, Ember Data 3.22 introduced a deprecation for use of najax in favor of ember-fetch when fastboot is installed. And for new apps, Ember CLI 3.22 will install v9 or higher of eslint-plugin-ember, which may limit the version of Node that you use.
The release also kicked off the 3.23 beta cycle. If you can, please help with testing beta builds and reporting bugs before version 3.23.0 is published!