Ember 3.9 released


Today, the Ember project released version 3.9 of Ember.js, Ember Data, and Ember CLI. This version started the 3.10 test cycle of all sub-projects. We encourage our community (especially plugin authors) to help test these beta versions and report any bugs before they are released as the final version in six weeks.This Embers try Plugins are a great way to continuously test your project against the latest Ember version.

You can read more about our general publishing process here:

In addition, the 3.8 version of Ember and Ember Data has now been upgraded to LTS, which is long-term support. The LTS version of Ember continues to receive 9 release cycles (54 weeks) of security updates and 6 cycles (36 weeks) of bug fixes. The LTS version is usually released every four minor versions. The LTS version before Ember was 3.4.


Ember.js

Ember.js is the core framework for building ambitious web applications.

Changes in Ember.js 3.9

Ember.js 3.9 is an incremental, backward compatible version of Ember with bug fixes, performance improvements, and a small number of deprecations. There are zero (0) new features, six (6) deprecations, and eight (8) bugfixes in this version.

New features (0)

No new features were introduced in Ember.js 3.9.

Deprecated (6)

When the API will be removed in the future, a deprecation will be added to Ember.js. Each deprecation guide has an entry in the deprecation guide that describes the migration path to a more stable API. Before the major version of the framework is released, the deprecated public API will not be removed.

Consider using ember-cli-deprecated-workflow addon If you want to upgrade your application without immediately solving the deprecation issue.

For more details about the changes in Ember.js 3.9, please check Ember.js 3.9.0 release page.

Calculating attribute coverage (1 of 6)

If no setter is defined, Ember’s calculated properties are overridable by default. This behavior is error-prone and has been deprecated. readOnly(), The modifier to prevent this behavior, once deleted, will be deprecated.Please take a look Deprecated apps More information about this deprecation.

Calculated attributes .property() Modifiers (2 of 6)

.property() Is a modifier used to add additional attribute dependencies to existing calculated attributes. To update, move the dependency to the main calculated attribute definition, and you should no longer see the deprecation warning.For more information, please refer to Deprecated apps.

Calculated asset volatility (3 of 6 in total)

.volatile() Is a calculated attribute modifier, it makes the calculated attribute recalculated every time it is accessed, instead of caching. It can also prevent property notifications from occurring on properties, which is usually not a behavior pursued by developers. Volatile properties are often used to simulate the behavior of native getters, which means they behave like ordinary properties.

To update, consider upgrading to native class syntax and using native getters directly.There is a guide on how to do this Deprecated apps.

Deprecated @ember/object#aliasMethod (No. 4 of 6)

@ember/object#aliasMethod It is a little known and rarely used method that allows users to add aliases to objects defined using EmberObject. You can remove the deprecation warning by refactoring it to let one function directly call another function.To see how to do this, see Deprecated apps

Deprecated this.$() In components (5 out of 6)

As part of making Ember streamlined by default, use this.$() It is now deprecated in the component.Regarding this deprecation, it is important to note that This does not mean that we discourage the use of jQuery In the Ember application. In fact, jQuery is still very useful in many situations.

If you still want to use jQuery in your application, you need to use @ember/jquery Pack forward.

Read more about this deprecation RFC.

Deprecated Ember.$() (No. 6 of 6)

use Ember.$() A deprecation warning will now be thrown.

Regarding this deprecation, it is important to note that This does not mean that we discourage the use of jQuery In the Ember application. In fact, jQuery is still very useful in many situations.

If you still want to use jQuery in your application, you need to use @ember/jquery Pack forward.

Read more about this deprecation RFC.


Embers data

Ember Data is the official data persistence library for Ember.js applications.

Changes in Ember Data 3.9

New features (1)

Replace with jQuery fetch (1 of 1)

As part of Remove jQuery RFC by default, Ember Data has now replaced all internal uses of jQuery and replaced it with fetch instead.

You can follow RFC progress On the RFC tracking page.

Deprecated (0)

No new deprecations were introduced in Ember Data 3.9.

For more details about the changes in Ember Data 3.9, please check
Ember Data 3.9.0 release page.


Ember command line interface

Ember CLI is a command line interface for managing and packaging Ember.js applications.

Upgrade Ember CLI

You can use the ember-cli-update project to upgrade Ember CLI:

npm install -g ember-cli-update
ember-cli-update

This utility will help you update your application or add-on to the latest Ember CLI version. You may encounter merge conflicts, where the default behavior is to let you resolve the conflict yourself.For more information ember-cli-update Item, see github readme.

Although it is recommended to keep the Ember CLI version in sync with Ember and Ember Data, it is not required. After updating ember-cli, you can keep the current version of Ember or Ember Data by editing package.json Revert changes to contained lines ember-source with ember-data.

Changes in Ember CLI 3.9

There are two (2) new features and one (1) bug fix.

New features (2)

ember-welcome-page Updated to use angle bracket call syntax (1 of 2)

The welcome page generated in the new Ember application is now converted to use the angle bracket call syntax.This means that instead of adding {{welcome-page}} to application.hbs We add now <WelcomePage />.

Support Node 11 (2 of 2)

Ember CLI is now tested against Node 11. If developers use it for their applications and plugins, the CLI will no longer display warnings.

Error correction (1)

Module unified blueprint update (1 of 1)

The “Module Unity” blueprint has received several bug fixes and enhancements.For more details, please check Release notes.

Deprecated (0)

No new deprecations were introduced in Ember CLI 3.9.


For more details about the changes in Ember CLI 3.9 and detailed upgrade instructions, please check Ember CLI 3.9.0 release page.

thank you!

As an ambitious community-driven open source project, each of these releases reminds us that without your continued support, the Ember project is impossible to achieve. We are very grateful for the efforts of our contributors.

Leave a Reply

Your email address will not be published. Required fields are marked *