Wednesday, September 18, 2024
HomeJavaScriptEmber 4.2 Launched

Ember 4.2 Launched


Right this moment the Ember challenge is releasing model 4.2 of Ember.js, Ember Information, and Ember CLI.

This launch kicks off the 4.3 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 a good way to repeatedly take a look at your initiatives in opposition to the newest 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 formidable internet functions.

Modifications in Ember.js 4.2

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

Bug Fixes

Ember.js 4.2 launched 1 bug repair.

Class-based helpers are actually allowed to work in strict-mode. (#19878)

Options

Ember.js 4.2 launched 0 options.

Deprecations

Ember.js 4.2 launched 0 deprecations.

For extra particulars on modifications in Ember.js 4.2, please evaluate the Ember.js 4.2.0 launch web page.


Ember Information

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

Modifications in Ember Information 4.2

Bug Fixes

Ember Information 4.2 launched 3 bug fixes and a few checks and documentation enhancements.

  • Replace @ember/string to the newest model. The prior model used deprecated import paths that error beneath ember-source v4.0.
  • Bugfix for Embroider compatibility. Guarantee shouldCompileModules is revered.
  • Resolve deprecated utilization of assign.

Options

Ember Information 4.2 launched 0 options.

Deprecations

Ember Information 4.2 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, comply with the deprecation information.

For extra particulars on modifications in Ember Information 4.2, please evaluate the
Ember Information 4.2.0 commits.


Ember CLI

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

Upgrading Ember CLI

You might improve Ember CLI utilizing the ember-cli-update challenge:

npx ember-cli-update

This utility will allow you to 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 data on the ember-cli-update challenge, 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’ll be able to maintain your present model(s) of Ember or Ember Information by modifying bundle.json to revert the modifications to the strains containing ember-source and ember-data.

Modifications in Ember CLI 4.2

Bug Fixes

Ember CLI 4.2 launched 3 bug fixes:

  1. Up to date mentions of the Ember CLI web site to the brand new URL. (#9681)
  2. Stale GitHub Actions workflows are cancelled when beginning a brand new one. (#9726)
  3. ember-template-lint dependency in default blueprints has been upgraded to v4. (#9753)

Options

Ember CLI 4.2 launched 1 function.

  1. Add an assert and a deprecate utility. (#9731)

Deprecations

Ember CLI 4.2 launched 0 deprecations.

For extra particulars on the modifications in Ember CLI 4.2 and detailed improve
directions, please evaluate the Ember CLI 4.2.0 launch web page.

Thank You!

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