Sunday, May 5, 2024
HomeJavaScriptEmber 3.26 Launched

Ember 3.26 Launched


Immediately the Ember mission is releasing model 3.26 of Ember.js, Ember Knowledge, and Ember CLI.

This launch kicks off the three.27 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 printed as a last launch in six weeks’ time. The ember-try addon is a good way to repeatedly check your tasks in opposition to 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 bold internet purposes.

Adjustments in Ember.js 3.26

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

Bug Fixes

Ember.js 3.26 launched 5 bug fixes. Listed below are a number of notable ones:

  1. The Ember router and the router service have been up to date in order that an infinite recursion doesn’t happen when the router service is injected into app/router.js. (#19405)
  2. You’ll be able to go to an observer a dependent key whose identify features a colon. (#19343)
  3. The Glimmer VM has been up to date to forestall eagerly consuming arguments throughout modifier destruction. (#19469)

Options

Ember.js 3.26 launched 0 options.

Deprecations

Ember.js 3.26 launched a number of deprecations in preparation for v4.0 launch. To study extra find out how to replace your code, please test the supplied hyperlink to the Deprecations Information.

  1. Transition strategies of controllers and routes have been deprecated. Inject the router service and use the service’s strategies as an alternative. (Deprecations Information, #19255)

  2. Invoking the <LinkTo> part with positional arguments has been deprecated. Please present named arguments equivalent to @route, @mannequin, @fashions, and @question. (Deprecations Information, #19345)

  3. The {{with}} helper has been deprecated, in favor of utilizing {{let}}. (Deprecations Information, #19346)

  4. Implicit injection has been deprecated. Particularly, the retailer service from Ember Knowledge should be explicitly injected into controllers and routes in the event that they seek advice from this.retailer. (Deprecations Information, #19358)

  5. Browser help of Web Explorer 11 has been deprecated. (Deprecations Information, #19359)

  6. Property fallback for implicit this has been deprecated. Please overview the templates in your app and write this. when it’s acceptable, e.g. change {{localProperty}} to {{this.localProperty}}. (Deprecations Information, #19371)

  7. Ember Basic has been deprecated. (Deprecations Information, #19372)

    In preparation for v4.0 launch, builders are inspired to replace their app to Ember Octane by following these steps:

  8. Part managers that use the v3.4 capabilities ought to replace to the latest part capabilities out there, which is at the moment v3.13. (Deprecations Information, #19373)

  9. Modifier managers that use the v3.13 capabilities ought to replace to the latest modifier capabilities out there, which is at the moment v3.22. (Deprecations Information, #19373)

  10. The {{hasBlock}} and {{hasBlockParams}} properties have been deprecated. Use {{has-block}} and {{has-block-params}} helpers as an alternative. (Deprecations Information, #19374)

  11. Passing classBinding and classNameBindings as arguments has been deprecated. (Deprecations Information, #19375)

  12. Accessing named arguments by way of {{attrs}} has been deprecated. (Deprecations Information, #19375)

  13. Array observers have been deprecated. (Deprecations Information, #19381)

Deprecations are added to Ember.js when an API can be eliminated at a later date. Every deprecation has an entry within the deprecation information describing the migration path to a extra steady API. Deprecated public APIs are usually not eliminated till a serious launch of the framework.

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

For extra particulars on modifications in Ember.js 3.26, please overview the Ember.js 3.26.0 launch web page.


Ember Knowledge

Ember Knowledge is the official knowledge persistence library for Ember.js purposes.

Adjustments in Ember Knowledge 3.26

Bug Fixes

Ember Knowledge 3.26 launched 0 bug fixes.

Options

Ember Knowledge 3.26 launched 0 options.

Deprecations

Ember Knowledge 3.26 launched 0 deprecations.

For extra particulars on modifications in Ember Knowledge 3.26, please overview the
Ember Knowledge 3.26.0 launch web page.


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

npx ember-cli-update

This utility will make it easier 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 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’s endorsed to maintain Ember CLI variations in sync with Ember and Ember Knowledge, this isn’t required. After updating ember-cli, you may maintain your present model(s) of Ember or Ember Knowledge by modifying bundle.json to revert the modifications to the strains containing ember-source and ember-data.

Adjustments in Ember CLI 3.26

Bug Fixes

Ember CLI 3.26 launched 2 bug fixes.

  1. Situation a greater error message for add-on’s lacking an entry level. (#9473); and
  2. Add Prettier recordsdata to .npmignore file in addon blueprint (#9437).

Options

Ember CLI 3.26 launched 1 characteristic.

  1. ember-try check situations for embroider-safe and embroider-optimized for addons at the moment are enabled utilizing @embroider/test-setup permitting Embroider compatibility testing for addons check matrix (#9436).

Deprecations

Ember CLI 3.26 launched 0 deprecations.

For extra particulars on the modifications in Ember CLI 3.26 and detailed improve
directions, please overview the Ember CLI 3.26.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 attainable 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