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:
- The Ember router and the
router
service have been up to date in order that an infinite recursion doesn’t happen when therouter
service is injected intoapp/router.js
. (#19405) - You’ll be able to go to an observer a dependent key whose identify features a colon. (#19343)
- 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.
-
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) -
Invoking the
<LinkTo>
part with positional arguments has been deprecated. Please present named arguments equivalent to@route
,@mannequin
,@fashions
, and@question
. (Deprecations Information, #19345) -
The
{{with}}
helper has been deprecated, in favor of utilizing{{let}}
. (Deprecations Information, #19346) -
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 fromthis.retailer
. (Deprecations Information, #19358) -
Browser help of Web Explorer 11 has been deprecated. (Deprecations Information, #19359)
-
Property fallback for implicit
this
has been deprecated. Please overview the templates in your app and writethis.
when it’s acceptable, e.g. change{{localProperty}}
to{{this.localProperty}}
. (Deprecations Information, #19371) -
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:
-
In
config/optional-features.json
, replace the characteristic flags for Octane.{ "application-template-wrapper": false, "jquery-integration": false, "template-only-glimmer-components": true }
-
Specify the Octane version in
bundle.json
.{ "ember": { "version": "octane" } }
-
Test the official improve information and search assist in the
#assist
channel on Ember Discord.
-
-
Part managers that use the
v3.4
capabilities ought to replace to the latest part capabilities out there, which is at the momentv3.13
. (Deprecations Information, #19373) -
Modifier managers that use the
v3.13
capabilities ought to replace to the latest modifier capabilities out there, which is at the momentv3.22
. (Deprecations Information, #19373) -
The
{{hasBlock}}
and{{hasBlockParams}}
properties have been deprecated. Use{{has-block}}
and{{has-block-params}}
helpers as an alternative. (Deprecations Information, #19374) -
Passing
classBinding
andclassNameBindings
as arguments has been deprecated. (Deprecations Information, #19375) -
Accessing named arguments by way of
{{attrs}}
has been deprecated. (Deprecations Information, #19375) -
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.
- Situation a greater error message for add-on’s lacking an entry level. (#9473); and
- Add Prettier recordsdata to
.npmignore
file in addon blueprint (#9437).
Options
Ember CLI 3.26 launched 1 characteristic.
ember-try
check situations forembroider-safe
andembroider-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.