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:
- Use of Ember.Logger is deprecated. You should replace calls to Ember.Logger with calls to console.
- In order to avoid collision with user-defined properties or methods, the Router#router private API has been renamed to Router#_router.
- 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:
- Lazy Relationship Payloads are fixed in Ember Data 3.2.0; It is now compatible with polymorphic relationships.
- Ember Data Feature Flag are all removed in Ember Data 3.2.
Unlock access to the largest independent learning library in Tech for FREE!
Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
Renews at $19.99/month. Cancel anytime
- 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:
- The qunit-dom dependency will be added by default to all apps and addons to make DOM assertions more readable.
- The ember-cli-qunit dependency has been updated to ensure that the find() helper available in the Ember 3.0 style of testing.
- 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.
Getting started with Ember.js – Part 1
Getting started with Ember.js – Part 2