In the present day the Ember undertaking is releasing model 4.4 of Ember.js, Ember Information, and Ember CLI.
This launch kicks off the 4.4 beta cycle for all sub-projects. We encourage our group (particularly addon authors) to assist take a look at these beta builds and report any bugs earlier than they’re printed as a closing launch in six weeks’ time. The ember-try addon is a good way to constantly take a look at your tasks in opposition to the most recent Ember releases.
You’ll be able to learn extra about our basic launch course of right here:
Ember.js
Ember.js is the core framework for constructing formidable internet purposes.
Modifications in Ember.js 4.4
Ember.js 4.4 is an incremental, backwards appropriate launch of Ember with bug fixes, efficiency enhancements, and minor deprecations.
Bug Fixes
Ember.js 4.4 launched 1 bug repair.
- Calling isEmpty on cases of ObjectProxy wrapping ArrayProxy was not working, that is mounted in #16879.
Options
Ember.js 4.4 launched 4 options.
- The
{{unique-id}}
helper might be included by default in new Ember apps. Builders can use this helper to generate a novel ID string appropriate to be used as an ID attribute within the DOM. Notably, this removes the necessity for a backing class since it may be straight utilized in template-only parts. (#19882/#20005) - When a deprecation has the
till
subject set, it’ll now be logged with the opposite info. (#20014) - The customization of
setupTest*
capabilities is now obtainable. The app and addon blueprints will create a file atchecks/helpers/index.js
the place these capabilities might be wrapped and exported, creating an area place to edit for every sort of take a look at setup. Checks generated utilizingember generate
will import the setup capabilities from that file. (#19981) - The
hasListeners
perform is now public, so you’ll be able to name this earlier than callingremoveListeners
. (#17978)
Deprecations
Ember.js 4.4 launched 0 deprecations.
For extra particulars on adjustments in Ember.js 4.4, please overview the Ember.js 4.4.0 launch web page .
For extra particulars on adjustments in Ember.js 4.4, please overview the Ember.js 4.4.0 launch web page.
Ember Information
Ember Information is the official information persistence library for Ember.js purposes.
Modifications in Ember Information 4.4
Bug Fixes
Ember Information 4.4 launched 0 bug fixes and a few checks and documentation enhancements.
Options
Ember Information 4.4 launched 0 options.
Deprecations
Ember Information 4.4 launched 1 deprecations.
Assist for the toJSON
technique on Ember Information data has been eliminated. It was deprecated in 3.x
and slated for elimination in 4.x
.
In case your app makes use of this technique, observe the deprecation information.
For extra particulars on adjustments in Ember Information 4.4, please overview the
Ember Information 4.4.0 commits.
Ember CLI
Ember CLI is the command line interface for managing and packaging Ember.js purposes.
Upgrading Ember CLI
It’s possible you’ll improve Ember CLI utilizing the ember-cli-update
undertaking:
npx ember-cli-update
This utility will enable you to replace your app or addon to the most recent Ember CLI model. You’ll in all probability encounter merge conflicts, through which the default conduct is to allow you to resolve conflicts by yourself. For extra info on the ember-cli-update
undertaking, see the GitHub README.
Whereas it is strongly recommended to maintain Ember CLI variations in sync with Ember and Ember Information, this isn’t required. After updating ember-cli, you’ll be able to hold your present model(s) of Ember or Ember Information by enhancing bundle.json
to revert the adjustments to the traces containing ember-source
and ember-data
.
Modifications in Ember CLI 4.4
Bug Fixes
Ember CLI 4.4 launched 3 bug fixes.
- Replace
since.obtainable
andsince.enabled
variations for Bower deprecations. (#9822) - The addon
.gitignore
file blueprinted contained/DEBUG/
when it mustn’t, mounted in #9850. - The add-on README will now use extra commonplace markdown for the headers. (#9611).
Options
Ember CLI 4.4 launched 0 options.
Deprecations
Ember CLI 4.4 launched 0 deprecations.
For extra particulars on the adjustments in Ember CLI 4.4 and detailed improve
directions, please overview the Ember CLI 4.4.0 launch web page.
Thank You!
As a community-driven open-source undertaking with an formidable scope, every of those releases serves as a reminder that the Ember undertaking wouldn’t have been attainable with out your continued help. We’re extraordinarily grateful to our contributors for his or her efforts.