The new year starts off with loads of new RFCs! Read more about suggested deprecations of Route render methods and selected ApplicationController properties ๐ธ! We also have a new RFC for a brand new look of emberjs.com, performance improvements ๐ for the API Docs search, a new beta release of ember-cli-babel and an advanced testing exam for you!
The official Ember website is due for a new look and feel. That is why a new RFC proposes a completely new look ๐ for emberjs.com. A side effect of not having updated the look and feel of the website for some years is that for people who arenโt involved in the day-to-day of Ember development, itโs easy to miss just how well the framework has kept up over the years.
The redesign aims to modernize, update and improve all the things on the website so that the impression given to the general public matches reality.
Thereโs already a good discussion going on in the RFC comment section, and we would love to hear your thoughts as well.
Do you remember Route.render() and Route.renderTemplate()? You might not. In fact, these route methods have been less and less emphasised in the Ember learning story and are not even mentioned in the Ember Guides anymore. Although these APIs were useful in the past, nowadays a component-focussed approach allows Ember developers to omit them entirely.
Therefore, a new RFC suggests the deprecation of Route#render and Route#renderTemplate. You can read more about the motivation behind it and how to replace these methods in your application in the original proposal.
With the introduction of the Router Service it's been easier than ever to check on current app state, e.g. the name of the active route, anywhere in your application. This also means that the current ApplicationController#currentPath and ApplicationController#currentRouteName API has become obsolete.
The integration with our search provider, Algolia that powers both Ember Guides and Ember API Docs has now become even more performant!
The work from our friends at Algolia unlocked a performance boost of the API docs search by as high as 285% for some countries in Europe! The map shows data centers where the API docs are currently stored and (on the right) the performance improvement for the top searching countries.
With the 7.3.0 beta release, the includeExternalHelpers option is now available. This option controls deduplicating the default Babel helper functions by putting them in a shared module and lowering the payload size.
To read more on the includeExternalHelpers check out the docs!
Ember's testing story already makes testing incredibly approachable to developers, but what if it could bring even more to the table right from the start? Imagine being able to speed up your test suite with parallel testing or running tests in randomized order with a simple ember test command in your app.
Wondering about something related to Ember, Ember Data, Glimmer, or addons in the Ember ecosystem, but don't know where to ask? Readersโ Questions are just for you!
Submit your own short and sweet question under bit.ly/ask-ember-core. And donโt worry, there are no silly questions, we appreciate them all - promise! ๐ค