Friday, April 19, 2024
HomeJavaScriptEmber 4.11 Launched

Ember 4.11 Launched


Immediately the Ember mission is releasing model 4.11 of Ember.js, Ember Information, and Ember CLI.

This launch kicks off the 4.12 beta cycle for all sub-projects. We encourage our group (particularly addon authors) to assist check these beta builds and report any bugs earlier than they’re revealed as a ultimate launch in six weeks’ time. The ember-try addon is an effective way to repeatedly check your initiatives towards the newest Ember releases.

You’ll be able to learn extra about our normal launch course of right here:


Ember.js

Ember.js is the core framework for constructing formidable net functions.

Modifications in Ember.js 4.11

Ember.js 4.11 is an incremental, backwards suitable launch of Ember with bug fixes, efficiency enhancements, and minor deprecations.

Bug Fixes

Ember.js 4.11 launched 0 bug fixes.

Options

Ember.js 4.11 launched 2 options.

  1. Steady TypeScript varieties for the @ember/proprietor package deal (first launched in 4.10).
  2. Steady TypeScript varieties for the @ember/error package deal.

Each of those packages already had varieties accessible as a part of the general public preview varieties, so that you may marvel: What’s new right here? The reply is: these are the primary kind definitions generated from Ember’s personal TypeScript supply code, as an alternative of written by hand. Which means that these varieties are assured to match Ember’s personal conduct: they actually can not get out of sync.

In case you are already utilizing the general public preview varieties, as documented in the announcement put up, you do not have to do something. If you want to decide into utilizing the brand new secure and preview varieties, you possibly can add this to your mission (e.g. in app.ts):

import 'ember-source/varieties';
import 'ember-source/varieties/preview';

Reminder: whereas these two packages are actually secure, a lot of Ember’s varieties are nonetheless in preview, and topic to vary between minor releases. We count on to complete getting the remainder of Ember’s varieties secure, and due to this fact following Ember’s regular stability guidelines, early within the upcoming 5.x releases!

Deprecations

Ember.js 4.11 launched 0 deprecations.

Deprecations are added to Ember.js when an API might be eliminated at a later date. Every deprecation has an entry within the deprecation information describing the migration path to a extra secure API. Deprecated public APIs are usually not eliminated till a significant launch of the framework. No new deprecations are allowed after the .10 launch, to reduce churn earlier than the subsequent main launch.

Think about using the ember-cli-deprecation-workflow addon if you need to improve your utility with out instantly addressing deprecations.

For extra particulars on adjustments in Ember.js 4.11, please evaluate the Ember.js 4.11.0 launch web page.


Ember Information

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

Ember Information 4.10, which was not launched on the time of the broader Ember 4.10 launch, has now been launched and is basically a re-release of Ember Information 4.9 with some fixes round @ember/error and @ember/string deprecations. Ember Information 4.11.0 can also be a re-release of Ember Information 4.10. Nonetheless, there have been a number of essential fixes shipped in Ember Information 4.11.1, 4.11.2 and 4.11.3 that customers ought to pay attention to.

Modifications in Ember Information 4.11

Bug Fixes

Ember Information 4.11 launched 0 bug fixes.

Ember Information 4.11.1 launched 1 necessary bug repair for a bug round embroider compatibility that prevented customers from utilizing Ember Information in embroider Ember functions beginning in Ember Information 4.8. The repair implies that Ember apps utilizing Ember Information also can use embroider once more!

Ember Information 4.11.2 launched 1 bug repair that addresses computed chains not updating in EmberData 4.8 and up.

Ember Information 4.11.3 launched 1 bug repair that addresses a problem round infinite recursion in ember-concurrency and one other involving SSR/check reminiscence leaks.

Options

Ember Information 4.11 launched 0 options.

Deprecations

Ember Information 4.11 launched 0 deprecations.

For extra particulars on adjustments in Ember Information 4.11 (and 4.11.1, 4.11.2 and 4.11.3) please evaluate the
Ember Information 4.11.0 launch web page and the Ember Information changelog.


Ember CLI

Ember CLI is the command line interface for managing and packaging Ember.js functions.

Upgrading Ember CLI

It’s possible you’ll improve Ember CLI utilizing the ember-cli-update mission:

npx ember-cli-update

This utility will enable you to replace your app or addon to the newest Ember CLI model. You’ll in all probability encounter merge conflicts, by 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’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 hold your present model(s) of Ember or Ember Information by modifying package deal.json to revert the adjustments to the traces containing ember-source and ember-data.

Modifications in Ember CLI 4.11

Ember CLI

Ember CLI didn’t introduce new bug fixes, options or deprecations, however there have been just a few updates that added ember-modifier and tracked-built-ins to the app blueprint and there was one replace addressing a dependency vulnerability.

Bug Fixes

Ember CLI 4.11 launched 0 bug fixes.

Options

Ember CLI 4.11 launched 0 options.

Deprecations

Ember CLI 4.11 launched 0 deprecations.

For extra particulars on the adjustments in Ember CLI 4.11 and detailed improve
directions, please evaluate the Ember CLI 4.11.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 doable with out your continued help. 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