Tuesday, September 27, 2022
HomeJavaScriptEmber 4.3 Launched

Ember 4.3 Launched


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

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.

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 now 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 adjustments in Ember.js 4.3, please evaluation the Ember.js 4.3.0 launch web page.


Ember Information

Ember Information is the official information persistence library for Ember.js purposes.

Modifications in Ember Information 4.3

Bug Fixes

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 v3.28 and
v4.2.

Most of the bugfixes listed beneath have been backported to
v3.28. Which means in case you get the most recent patch launch of v3.28-v4.2,
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
    #7801.
  • Repair a bug with encoding house characters when serializing question params
    #7834.
  • Repair a regression the place createRecord crashed when a setter which units an
    attribute is concerned within the createRecord.
  • 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 methodology on Ember Information information has been eliminated. It was deprecated in 3.x and slated for elimination in 4.x.
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 4.x
collection, and have now been eliminated:

  • Evented.
  • Lifecycle occasions like didCreate.
  • Default adapter. Adapter kind should be specified now.
  • Check registrations.
  • belongs-to-push of file.
  • mismatched-inverse.

For extra particulars on adjustments in Ember Information 4.3, please evaluation 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 might improve Ember CLI utilizing the ember-cli-update undertaking:

npx ember-cli-update

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 ember-source and ember-data.

Modifications 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 place setupApplicationTest, setupRenderingTest, and setupTest capabilities shall be wrapped and exported, making a single place to edit for every kind of take a look at setup. Checks generated utilizing ember generate will import the setup capabilities from that file.
  • Add assist for specifying a path for the ember generate command (#9387). This lets you run ember g ../../../node_modules/ember-source/blueprints/part to generate a part.

Deprecations

Ember CLI 4.3 launched 1 deprecation.

  • Deprecate Bower assist (#9707). This implements the deprecation messages from RFC 772.

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.

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 assist. We’re extraordinarily grateful to our contributors for his or her efforts.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments