This week we have an Ember standard for i18n 🌍, more convenient transitions through your Ember apps with the new Router Helpers & Element Modifiers RFC, artisan ☕️ deprecations for setting your component managers, a new version of Ember, an exciting new Readers' Question 🤔 on the future of controllers, using GraphQL in Ember 💥, and more!
Several new template helpers and element modifiers for routing are proposed: This includes a transition-to element modifier for easy route-to-route transitions surpassing some of the drawbacks of the functionally similar link-to helper. But also the design of and the motivation behind new, useful helpers like root-url, is-active and is-loading among others are explained in great detail in the RFC itself.
The 🔥 brand-new Custom Component Manager API 🚒 has been shipped with Ember 3.4 and is now available as a low-level API granting addon authors more freedom to create components from customized base classes.
This week a freshly brewed RFC with its first, important deprecation rolled in: The proposal suggests to replace the string-based lookup method for the setComponentManager function for a factory-based approach. This small change in the API provides quick wins 🏅 for future undertakings regarding tree shaking of Ember apps, module unification and more.
Following his EmberFest talk with @chadian, @jneurock blogged about their experience with GraphQL in Ember. If you are struggling with JSON API, or thinking about GraphQL, this article should give you an understanding of how to get started. They even created an example repo that includes an Ember app demonstrating GraphQL integration with four different clients. Check out the article and the GraphQL website to learn more!
Version 3.5 of Ember and it contains some pretty cool things. With this release, Ember Data has now released their first LTS release ever with Ember Data 3.4 and will now follow the same LTS cycle as Ember.
Ember Data 3.4 also released the new RecordData interfaces that give addon developers the much-needed API access with more confidence and stability.
With Ember CLI 3.5 you get Broccoli v2.0.0 that no longer uses your local ./tmp in your project folder but the system temp directory instead. This can result in build time improvements up to 32%! 🏎
You can read all about all these new cool things and much more in the release post.
Ah, the age old question: "What is the future of controllers? When is it a good time to use them in a modern Ember app?" @jenweber tackles this topic with some help from Framework Core Team member @ef4. TLDR: do use them, don't lose any sleep over them, and help us decide their future. See this Ember Discuss post for the article and conversation!