As we speak the Ember undertaking is releasing model 4.3 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 last launch in six weeks’ time. The ember-try addon is an effective way to repeatedly take a look at your tasks in opposition to the most recent Ember releases.
You’ll be able to learn extra about our common launch course of right here:
Ember.js is the core framework for constructing formidable internet purposes.
Modifications in Ember.js 4.3
Ember.js 4.3 is an incremental, backwards appropriate launch of Ember with bug fixes, efficiency enhancements, and minor deprecations.
Ember.js 4.3 launched 3 bug fixes.
- A reminiscence leak within the Router Service class is fastened (#20025). It was affecting checks and FastBoot apps.
RouterService#transitionTonow not provides unspecified default question parameters to the URL (#19971).
FactoryManagerappropriately affiliate props with manufacturing facility and proprietor (#20024).
Ember.js 4.3 launched 0 options.
Ember.js 4.3 launched 0 deprecations.
For extra particulars on adjustments in Ember.js 4.3, please evaluation the Ember.js 4.3.0 launch web page.
Ember Information is the official information persistence library for Ember.js purposes.
Modifications in Ember Information 4.3
Ember Information 4.3 launched many bug fixes! Contributors to the undertaking
have been laborious at work to handle issues that have been reported between
Most of the bugfixes listed beneath have been backported to
v3.28. Which means in case you get the most recent patch launch of
you’re going to get these advantages too.
The record beneath covers highlights solely. See the commit historical past for a complete record.
- Pushing information with duplicate identifiers doesn’t trigger duplicate information
- Repair a bug with encoding house characters when serializing question params
- Repair a regression the place
createRecordcrashed when a setter which units an
attribute is concerned within the
- Repair a regression to assist
awaitfor loading relationships
- …and extra!
Ember Information 4.3 launched 4 options.
Ember Information 4.3 launched 0 deprecations.
Help for the
toJSON methodology on Ember Information information has been eliminated. It was deprecated in
3.x and slated for elimination in
In case your app makes use of this methodology, observe the deprecation information.
Some extra previously-deprecated APIs have been slated for elimination within the
collection, and have now been eliminated:
- Lifecycle occasions like
- Default adapter. Adapter kind should be specified now.
- Check registrations.
For extra particulars on adjustments in Ember Information 4.3, please evaluation the
Ember Information 4.3.0 commits.
Ember CLI is the command line interface for managing and packaging Ember.js purposes.
Upgrading Ember CLI
You might improve Ember CLI utilizing the
This utility will aid you to replace your app or addon to the most recent Ember CLI model. You’ll in all probability encounter merge conflicts, wherein the default conduct is to allow you to resolve conflicts by yourself. For extra data on the
ember-cli-update undertaking, see the GitHub README.
Whereas it’s endorsed to maintain Ember CLI variations in sync with Ember and Ember Information, this isn’t required. After updating ember-cli, you possibly can preserve your present model(s) of Ember or Ember Information by modifying
package deal.json to revert the adjustments to the strains containing
Modifications in Ember CLI 4.3
Ember CLI 4.3 launched 1 bug repair.
- The broccoli debug folder is added to the
Ember CLI 4.3 launched 2 options.
- Customisation of setupTest* capabilities (#9803). This provides a
checks/helpers/index.jsfile the place
setupTestcapabilities shall be wrapped and exported, making a single place to edit for every kind of take a look at setup. Checks generated utilizing
ember generatewill import the setup capabilities from that file.
- Add assist for specifying a path for the
ember generatecommand (#9387). This lets you run
ember g ../../../node_modules/ember-source/blueprints/partto generate a part.
Ember CLI 4.3 launched 1 deprecation.
For extra particulars on the adjustments in Ember CLI 4.3 and detailed improve
directions, please evaluation the Ember CLI 4.3.0 launch web page.
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 assist. We’re extraordinarily grateful to our contributors for his or her efforts.