As we speak the Ember mission 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 closing launch in six weeks’ time. The ember-try addon is a good way to repeatedly take a look at your tasks in opposition to the newest Ember releases.
You possibly can learn extra about our normal launch course of right here:
Ember.js
Ember.js is the core framework for constructing formidable internet purposes.
Adjustments in Ember.js 4.3
Ember.js 4.3 is an incremental, backwards suitable launch of Ember with bug fixes, efficiency enhancements, and minor deprecations.
Bug Fixes
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.
- Utilizing
RouterService#transitionTo
not provides unspecified default question parameters to the URL (#19971). FactoryManager
appropriately affiliate props with manufacturing facility and proprietor (#20024).
Options
Ember.js 4.3 launched 0 options.
Deprecations
Ember.js 4.3 launched 0 deprecations.
For extra particulars on modifications in Ember.js 4.3, please overview the Ember.js 4.3.0 launch web page.
Ember Information
Ember Information is the official knowledge persistence library for Ember.js purposes.
Adjustments in Ember Information 4.3
Bug Fixes
Ember Information 4.3 launched many bug fixes! Contributors to the mission
have been laborious at work to handle issues that have been reported between v3.28
and
v4.2
.
Most of the bugfixes listed under have been backported to
v3.28
. Which means if you happen to get the newest patch launch of v3.28-v4.2
,
you’re going to get these advantages too.
The record under covers highlights solely. See the commit historical past for a complete record.
- Pushing data with duplicate identifiers doesn’t trigger duplicate data
#7801. - Repair a bug with encoding area characters when serializing question params
#7834. - Repair a regression the place
createRecord
crashed when a setter which units an
attribute is concerned within thecreateRecord
. - Repair a regression to assist
await
for loading relationships
#7684. - …and extra!
Options
Ember Information 4.3 launched 4 options.
Deprecations
Ember Information 4.3 launched 0 deprecations.
Help 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.
Some extra previously-deprecated APIs have been slated for elimination within the 4.x
sequence, and have now been eliminated:
- Evented.
- Lifecycle occasions like
didCreate
. - Default adapter. Adapter sort should be specified now.
- Take a look at registrations.
belongs-to-push
of report.mismatched-inverse
.
For extra particulars on modifications in Ember Information 4.3, please overview the
Ember Information 4.3.0 commits.
Ember CLI
Ember CLI is the command line interface for managing and packaging Ember.js purposes.
Upgrading Ember CLI
You could improve Ember CLI utilizing the ember-cli-update
mission:
npx ember-cli-update
This utility will aid you to replace your app or addon to the newest Ember CLI model. You’ll in all probability encounter merge conflicts, during which the default conduct is to allow you to resolve conflicts by yourself. For extra info on the ember-cli-update
mission, see the GitHub README.
Whereas it is suggested to maintain Ember CLI variations in sync with Ember and Ember Information, this isn’t required. After updating ember-cli, you may hold your present model(s) of Ember or Ember Information by modifying package deal.json
to revert the modifications to the traces containing ember-source
and ember-data
.
Adjustments in Ember CLI 4.3
Bug Fixes
Ember CLI 4.3 launched 1 bug repair.
- The broccoli debug folder is added to the
gitignore
file (#9680).
Options
Ember CLI 4.3 launched 2 options.
- Customisation of setupTest* capabilities (#9803). This provides a
checks/helpers/index.js
file the placesetupApplicationTest
,setupRenderingTest
, andsetupTest
capabilities might be wrapped and exported, making a single place to edit for every sort of take a look at setup. Checks generated utilizingember generate
will import the setup capabilities from that file. - Add assist for specifying a path for the
ember generate
command (#9387). This lets you runember g ../../../node_modules/ember-source/blueprints/element
to generate a element.
Deprecations
Ember CLI 4.3 launched 1 deprecation.
For extra particulars on the modifications in Ember CLI 4.3 and detailed improve
directions, please overview the Ember CLI 4.3.0 launch web page.
Thank You!
As a community-driven open-source mission with an formidable scope, every of those releases serves as a reminder that the Ember mission wouldn’t have been potential with out your continued assist. We’re extraordinarily grateful to our contributors for his or her efforts.