Goodbye, humanitarian! 🐹
This week we have an Ember standard i18n 🌍, which is more convenient transition Through your Ember app New router helper and element modifier RFC, Craftsman ☕️ deprecated surroundings your Component manager, A New version of Ember, An exciting new reader question 🤔, about the future of controllers, using GraphQL in Ember 💥, etc.!
Have many reasons Make changes, for example:
- use ICU message format This is the standard of the i18n industry
- Area awareness Numbers, dates, time, currency, decimals and percentages!
- use Local international API
- Translation is more powerful Can contain logic (E.g. translation related to gender)
some New template helpers and element modifiers Recommended for routing: this includes a
transition-to Element modifiers for easy routing to routing conversion Overcome some shortcomings Functionally similar
link-to helper.There are also the design and motivation behind new and useful assistants, such as
is-loading The other content is explained in detail in the RFC itself.
🔥Brand new Custom component manager API 🚒 Supplied with Ember 3.4 And now it can be used as a low-level API, granting plugin authors more freedom to create Components from a custom base class.
This Monday Freshly brewed RFC The first important deprecation appeared: the proposed replacement String-based lookup The method is
setComponentManager The function is Factory method. This small change in the API provides a quick victory for future work on Ember application tree shaking, module unification, etc.🏅.
Read all about the motivation behind this deprecation Hand-made RFC on Github.
Follow him Embers festival chat @chadian, @jneurock In the blog, they introduced their experience using GraphQL in Ember. If you are struggling with the JSON API or are considering GraphQL, this article should give you an idea of how to get started.They even created a Sample repo This includes an Ember application that demonstrates GraphQL integration with four different clients.View article with GraphQL website understand more!
Ember 3.5 version, it contains some very cool things.In this version, Ember Data is now released Their first LTS version ever With Ember Data 3.4, it will now follow the same LTS cycle as Ember.
Ember Data 3.4 also released a new
RecordData Provide plug-in developers with much-needed API access interfaces More confident and stable.
Using Ember CLI 3.5, you will get Broccoli v2.0.0 that no longer uses local
./tmp In your project folder, but the system
temp Directory instead.This may lead to Up to 32% improvement in build time! 🏎
You can read all these new cool things and more Post a post.
Ah, this old question: “What is the future of controllers? When is a good time to use them in modern Ember applications?” @jenweber Solved this topic with the help of members of the framework core team @ef4. TLDR: We must use them, don’t lose sleep for them, and help us decide their future.See this Ember discussion thread For articles and conversations!
This week we want to thank @rwjblue, @chadhietala, @btecu, @amyrlam, @chrisrng, @jessica-Jordan, @ynotdraw, @阿隆斯基, @sivakumar-kailasam, @thorsteinsson, @YoranBrondsema, @runspired, @ctcpip, @wagenet, @ rondale-sc, @toddjordan, @esbanarango, Mansona, @HenryVonfire, with @cspanring Thanks for their contributions to Ember and related repositories! 💖
Want to know about Ember, Ember Data, Glimmer, or plugins in the Ember ecosystem, but don’t know where to consult? Readers’ questions are only answered for you!
Submit your own Short and sweet problem under bit.ly/ask-ember-coreDon’t worry, there are no stupid questions, we thank them-guaranteed! 🤞
That is another package! ✨
Jen Weber, Chris Ng, Ryan Mark, Amy Lam, Jessica Jordan, Kenneth Larsen, Alon Bukai and the learning team