New Aurelia Features and Release Notes - 1/12/2017

Posted by AureliaEffect on January 12, 2017

This week's releases contain the usual bug fixes as well as a few performance enhancements. Additionally, a couple of new features have landed.

Option Attribute Primary Properties

Thanks to the hard work of community member
Doug Kent
, a single bindable property can now be made the primary among all the options in an Options Attribute. Thus, when you use a custom attribute that would otherwise require using the options HTML syntax, and you want to provide a value or binding only for the primary property, you can use the simpler HTML syntax of a single value binding.

With Options Attributes, each bindable property must be decorated with the bindable decorator. To specify that you want a bindable property to be the primary among all the other bindable properties, use the primaryProperty configuration parameter of the bindable decorator, as shown below:

aurelia-i18n-loader

Aurelia's i18n plugin is built on i18next which works with various backends to load translation files. As of our latest release, we now ship with a backend built on top of Aurelia's Loader abstraction. This enables our translation loading backend to leverage whichever module loader you've configured with aurelia. Thanks to
Kees van Ginkel
for working on this!

Below you can find releases notes for the rest of the fixes and performance improvements.

Minor Releases

Minor updates include new features, updates to bugs and performance improvements.