October 5, 2022

Robotic Notes

All technology News

The Ember Times – Issue No. 70

4 min read


Come on, Emberist! ๐Ÿน

This week we have an Ember standard for i18n ๐ŸŒ, more convenient transitions through your Ember apps with the new Router Helpers & Element Modifiers RFCartisan โ˜•๏ธ deprecations for setting your component managersa new version of Emberan exciting new Readers’ Question ๐Ÿค” on the future of controllers, using GraphQL in Ember ๐Ÿ’ฅ, and more!


@snewcomer and @cibernox announced a new way to internationalize Ember apps, ember-i18n is now deprecated in favor of ember-intl! This will provide Ember with a standard package for internationalization.

There are many reasons to make the change such as:

  • Using the ICU message format which is a standard in the i18n industry
  • Locale-aware numbers, dates, times, currencies, decimals, and percentages!
  • Uses the Native Intl API
  • Translations are way more powerful and can contain logic (like gender-dependent translations)

There is even a codemod to make the switch from ember-i18n to ember-intl easier! So check it out and make the switch today!


Inspired by the experimental addon ember-router-helpers a new RFC (Request for Comments) illustrates a possible, new way to route through your Ember apps.

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.

Curious? Be sure to give the proposal a read and make your thoughts known in the comments below!


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 future for future undertakings regarding tree shaking of Ember apps, module unification and more.

Read all about the motivation behind this deprecation in the hand-crafted RFC on Github.


Following his EmberFest talk with @chadian, @jneurock blogged about their experience with GraphQL in Ember. If you are struggling with the 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 been 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!


This week we’d like to thank @rwjblue, @chadhietala, @btecu, @amyrlam, @chrisrng, @ jessica-jordan, @ynotdraw, @Alonski, @ sivakumar-kailasam, @thorsteinsson, @YoranBrondsema, @runspired, @ctcpip , @wagenet, @rondale-sc, @toddjordan, @esbanarango, @mansona, @HenryVonfire, and @cspanring for their contributions to Ember and related repositories! ๐Ÿ’–


Office Hours Tomster Mascot

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! ๐Ÿคž


Want to write for the Ember Times? Have a suggestion for next week’s issue? Join us at # support-ember-times on the Ember Community Discord or ping us @embertimes on Twitter.

Keep on top of what’s been going on in Emberland this week by subscribing to our email newsletter! You can also find our posts on the Ember blog.


That’s another wrap! โœจ

Be kind,

Jen Weber, Chris Ng, Ryan Mark, Amy Lam, Jessica Jordan, Kenneth Larsen, Alon Bukai and the Learning Team





Source link