Sunday, April 28, 2024
HomeJavaScriptEmber 4.9 Launched

Ember 4.9 Launched


At this time the Ember mission is releasing model 4.9 of Ember.js, Ember Knowledge, and Ember CLI.

This launch kicks off the 4.10 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 in opposition to the newest Ember releases.

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


Ember.js

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

Adjustments in Ember.js 4.9

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

Bug Fixes

Ember.js 4.9 launched 8 bug fixes.

  • #20274 – Provides some lacking kind exams and APIs to preview sorts.
  • #20256 – Enhance sorts for Ember Arrays unifying inside array sorts with exterior preview sorts and do not override strategies from native JS arrays.
  • #20257 – Repair sorts for getOwner and GlimmerComponent.
  • #20233 – Embody bundle title in deprecation error message quite than hardcoding Ember.
  • #20235 – Replace @sorts/node and TypeScript to handle a TypeScript 4.9 situation.
  • #20238 – Replace Node.js variations to match assist coverage as assist for Node 12 was dropped in Ember 4.6.
  • #20227 – Repair unsafe inside forged for NativeArray making casting from EmberArray to NativeArray much more explicitly unsafe and for dealing with a proxy getter flagging the kind of this might not be precisely CoreObject.
  • #20228 – Take away kind export for ControllerMixin as the kind doesn’t exist to be imported from the placement it existed at within the definitions.

Options

Ember.js 4.9 launched 1 characteristic.

  • #20203 – upgrades TypeScript dependency to make use of model 4.8.
  • #20204 – introduces assist for testing all supported variations of TypeScript in opposition to our sorts and removes kind checking from lint scripts.

Deprecations

Ember.js 4.9 launched 0 deprecations.

For extra particulars on modifications in Ember.js 4.9, please assessment the Ember.js 4.9.0 launch web page.


Ember Knowledge

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

Adjustments in Ember Knowledge

Bug Fixes

  • #8314 – Repair construct module decision points the place the monitoring bundle declared exports whereas v1.
  • #8308 – Repair monitoring bundle situation through the use of prepack addon tree for embroider.
  • #8307 – Repair retailer situation the place calling deleteRecord and destroyRecord on newly created unsaved data would throw a secure Identifier to subscribe to error attributable to the usage of run.
  • #8306 – Repair retailer situation the place utilizing peekAll after destroyRecord return invalid size and data with out secure Identifier through guaranteeing to not skip LiveArray elimination if the pending queue just isn’t empty.

Options

Ember Knowledge 4.9 launched 0 options.

Deprecations

Ember Knowledge 4.9 launched 0 deprecations.

For extra particulars on modifications in Ember.js 4.9, please assessment the Ember Knowledge 4.9.1 launch web page.


Ember CLI

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

Upgrading Ember CLI

You could improve Ember CLI utilizing the ember-cli-update mission:

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, wherein the default habits 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 strongly recommended to maintain Ember CLI variations in sync with Ember and Ember Knowledge, this isn’t required. After updating ember-cli, you may hold your present model(s) of Ember or Ember Knowledge by enhancing bundle.json to revert the modifications to the strains containing ember-source and ember-data.

Adjustments in Ember CLI 4.9

Bug Fixes

Ember CLI 4.9 launched 2 bug fixes.

  • #10018 – Deal with failures quite than leading to a profitable course of exit code in Node variations beneath 16.
  • #10020 – Repair typos in serve command check.

Options

Ember CLI 4.9 launched 6 options.

  • #10024 – Add ember-source to peerDependencies in addon blueprint.
  • #10025 – Replace NPM model constraints to incorporate newer variations.
  • #10026 – Show information message when operating the lint:repair script publish blueprint technology.
  • #10053 – Add assist for node ES Module syntax addons.
  • #9824 – Add interactive solution to create new Ember apps and addons.
  • #9972 – Add assist for --typescript flag to app and addon blueprints.

Deprecations

Ember CLI 4.9 launched 2 deprecations.

  • #10017 – Disable prototype extensions by default in app blueprint.
  • #10021 – Drop assist for utilizing usePods: true and the --pod flag concurrently.

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