Right this moment the Ember venture is releasing model 4.8 of Ember.js, Ember Knowledge, and Ember CLI.
This launch kicks off the 4.9 beta cycle for all sub-projects. We encourage our neighborhood (particularly addon authors) to assist check these beta builds and report any bugs earlier than they’re printed as a closing launch in six weeks’ time. The ember-try addon is an effective way to repeatedly check your initiatives towards the newest Ember releases.
You possibly can learn extra about our normal launch course of right here:
Ember.js
Ember.js is the core framework for constructing bold internet purposes.
Adjustments in Ember.js 4.8
Ember.js 4.8 is an incremental, backwards suitable launch of Ember with bug fixes, efficiency enhancements, and minor deprecations.
Bug Fixes
Ember.js 4.8 launched 1 bug repair.
- #20166 – mounted a bug the place calling RouteInfo.discover() technique executes callback with undefined object since 4.3.0.
Options
Ember.js 4.8 launched 1 characteristic.
- #20180 – an opt-in preview of Ember’s official TypeScript sorts. That is the newest step in implementing RFC 0800: TypeScript Adoption Plan. These sorts function a technique to get early suggestions, in step with Ember’s regular path to stabilizing options. You possibly can choose into the categories now, however will not be opted in routinely till they’re secure. Try the announcement weblog submit for particulars on how one can check out the preview, and see the pull request for extra element on the implementation and mechanics concerned.
Deprecations
Ember.js 4.8 launched 0 deprecations.
For extra particulars on modifications in Ember.js 4.8, please evaluation the Ember.js 4.8.0 launch web page.
Ember Knowledge
Ember Knowledge is the official knowledge persistence library for Ember.js purposes.
Adjustments in Ember Knowledge
On account of low availability for the Ember Knowledge crew this cycle, Ember Knowledge doesn’t have a brand new launch, so it stays at 4.7.
Please see the Ember 4.7 launch weblog submit for particulars about v4.7 of Ember Knowledge.
Ember CLI
Ember CLI is the command line interface for managing and packaging Ember.js purposes.
Upgrading Ember CLI
It’s possible you’ll improve Ember CLI utilizing the ember-cli-update
venture:
npx ember-cli-update
This utility will provide help to to replace your app or addon to the newest Ember CLI model. You’ll most likely encounter merge conflicts, wherein the default habits is to allow you to resolve conflicts by yourself. For extra data on the ember-cli-update
venture, 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 possibly can maintain your present model(s) of Ember or Ember Knowledge by modifying package deal.json
to revert the modifications to the strains containing ember-source
and ember-data
.
Adjustments in Ember CLI 4.8
Bug Fixes
Ember CLI 4.8 launched 4 bug fixes.
- #10014 – a repair that makes certain newly put in addons are found when operating ember set up.
- #9920 – a repair that makes certain a blueprint’s choices object and venture occasion are at all times out there for all public hooks.
- #9987 – a repair that makes certain we deal with rebuild failures with out exiting.
- #9988 – a repair for a glob matching problem when npm-run-all and Yarn 2+ are used collectively.
Options
Ember CLI 4.8 launched 2 options.
- #9945 – Added Node v18 to engines within the app and addon blueprints (removes help for Node v17, which is a breaking change).
- #9975 – Up to date the app and addon blueprints to make use of const to keep away from pointless linting errors.
Deprecations
Ember CLI 4.8 launched 0 deprecations.
Thank You!
As a community-driven open-source venture with an bold scope, every of those releases serves as a reminder that the Ember venture wouldn’t have been doable with out your continued help. We’re extraordinarily grateful to our contributors for his or her efforts.