2 min read

The Ember project released a new version of the three core sub-projects, Ember.js, Ember Data, and Ember CLI. Version 3.2.0 kicks off the 3.3 beta cycle for all sub-projects and consists of a variety of add-ons and deprecations.

Ember.js

Ember.js is the core framework for building web applications. The version 3.2.0 has a new feature and three deprecations, along with bug fixes, performance improvements, and minor deprecations.

Ember.js has a new Block let template helper to create new bindings in templates. It is like with but without the conditional rendering of the block depending on values passed to the block.

The deprecations are:

  1. Use of Ember.Logger is deprecated. You should replace calls to Ember.Logger with calls to console.
  2. In order to avoid collision with user-defined properties or methods, the Router#router private API has been renamed to Router#_router.
  3. Assigning computed properties directly is deprecated to support ES5 getter computed properties. Developers should replace these assignments with calls to defineProperty.

Ember Data

Ember Data is the official data persistence library for Ember.js applications. Ember-data v3.2.0 has three new features:

  1. Lazy Relationship Payloads are fixed in Ember Data 3.2.0; It is now compatible with polymorphic relationships.
  2. Ember Data Feature Flag are all removed in Ember Data 3.2.
  3. There is a new addon to support the ds-improved-ajax API.

Ember CLI

Ember CLI is the command line interface for managing and packaging Ember.js applications. There are two new features and one deprecation in the Ember CLI 3.2 release:

  1. The qunit-dom dependency will be added by default to all apps and addons to make DOM assertions more readable.
  2. The ember-cli-qunit dependency has been updated to ensure that the find() helper available in the Ember 3.0 style of testing.
  3. Ember CLI v3.2 deprecates ember-cli-babel 5.x. Babel 6 support has been out for a long time now and works quite well.

Detailed list of updates with bug fixes and other performance improvements are available on the Ember project blog page.

Read Next

Getting started with Ember.js – Part 1
Getting started with Ember.js – Part 2


Subscribe to the weekly Packt Hub newsletter. We'll send you the results of our AI Now Survey, featuring data and insights from across the tech landscape.

* indicates required

LEAVE A REPLY

Please enter your comment!
Please enter your name here