Tuesday, January 21, 2025
HomeJavaScriptEmber 6.1 Launched

Ember 6.1 Launched


At present the Ember mission is releasing model 6.1 of Ember.js and Ember CLI.

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

You possibly can learn extra about our basic launch course of right here:


Ember.js

Ember.js is the core framework for constructing bold internet purposes.

Modifications in Ember.js 6.1

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

Bug fixes

Ember.js 6.1 launched 1 bug repair.

  • #20782 – Fixes Ember key phrase shadowing: key phrases ought to all the time be outdated by in-scope lexical variables.

Options

Ember.js 6.1 launched 1 new function.

  • #20787 – Publish ember-source as v2 addon. The revealed contents of the bundle have already been compliant with the v2 addon spec for a while, however this truly flips the setting. Embroider builds will now be capable to devour ember-source instantly with out ember-source going via any addon rewriting. Basic builds will proceed to get all pre-existing ember modules through the seller.js bundle, as a result of in any other case it might introduce observable variations in when the ember modules turn into out there within the AMD loader.

Deprecations

Ember.js 6.1 launched no new deprecations.


EmberData

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

EmberData broke from Lockstep versioning in November 2023. Underneath the brand new coverage, EmberData 5.3 is an LTS that helps ember-source 5.12 and ember-source 6.0. Extra compatibility data is on the market within the README.

EmberData can also be within the technique of rebranding to WarpDrive. Keep tuned for more information!

This help extends past bug-fixes. If minor enhancements will be made to higher help new presentation class implementations that help the 5.x collection we are going to willingly settle for them. Our objective is that we wish nobody left behind.

To be taught in regards to the motivation and targets for upcoming modifications to EmberData in 5.x,
learn the weblog publish, EmberData 5.X Replace.

This may assist you type the psychological mannequin of what to anticipate throughout the 5.x collection,
and perceive deprecation removals within the context of the upcoming targets.


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 mission:

npx ember-cli-update

This utility will assist you to replace your app or addon to the most recent Ember CLI model. You’ll most likely encounter merge conflicts, during which the default habits is to allow you to resolve conflicts by yourself. For extra data on the ember-cli-update mission, see the GitHub README.

It’s not required to maintain Ember CLI variations in sync with Ember and EmberData. After updating ember-cli, you possibly can maintain your present model(s) of Ember or EmberData by modifying bundle.json to revert the modifications to the traces containing ember-source and ember-data.

Modifications in Ember CLI 6.1

Bug fixes

Ember CLI 6.1 launched 2 bug fixes and backported one of many fixes to six.0.

  • #10564 – Add lacking bundle for TS eslint config.
  • #10527 – Replace @ember/test-helpers, which was inflicting issues for the cli@6.0.0 blueprints, since test-helpers 3.3.1 has a peer-dep on ember-source 4 || 5, whereas the blueprint has ember-source@~6.0.0.
  • #10563 – Backport of the above repair to six.0.

Options

Ember CLI 6.1 launched 2 new options in a single pull request.

There have been additionally a number of inside dependency updates you’ll find right here.

Deprecations

Ember CLI 6.1 launched no new deprecations.

For extra particulars on the modifications in Ember CLI 6.1 and detailed improve
directions, please overview the Ember CLI 6.1.0 launch web page.

Thank You!

As a community-driven open-source mission with an bold scope, every of those releases serves as a reminder that the Ember mission wouldn’t have been potential 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