Have a look into the next year of Ember with the official 2018 Roadmap RFC 🌆 and read up on plans for Module Unification with Ember Addons 🐹. We also prompt ❗️you to check out Ember CLI Update for fresh ✨ updates and last, but not least, we have a brand-new 🔥 Readers' Question 🌿 in for you this week:
1. Productivity apps Ember’s historical strength: sophisticated, highly interactive apps that users spend a lot of time in, getting things done. 2. Content apps Text-heavy pages where the first load is critical. In performance-constrained environments, Ember’s strong conventions can help developers build faster apps by default.
The idea here is to make DS.Model.save() return an RSVP.Promise instead of a PromiseObject. This is to remove the dependency on promise proxies, improve async consistency and enable new functionality in Ember Data.
The only drawback of this is if you are already relying on this behaviour you’ll probably have to refactor your code to either use patterns like async/await or ember-concurrency. Read the whole proposal and share your thoughts.
Something else that is proposed in this RFC is the use of a template prelude.hbs that, at compile time, will be injected into every template in the app. This can be used to inject global components such as the widely used t helper used for internationalization via ember-intl.
Services also get some appreciation in this RFC. The suggestion is that all service injections from an addon to an app will need to be explicit about their source package. This results in more verbosity, but also greater clarity and opportunity for optimizations.
There are also some proposals regarding owner APIs such as owner.lookup() and owner.factoryFor() which have also become more explicit.
All in all this very well written RFC is a great chance to learn about possible changes to Ember and the Module Unification structure. If you have any concerns or questions feel free to ask in the RFC issue and join in on the conversation by visiting the #st-module-unification channel on the Ember.js Community Slack.
This RFC is not complete and is a bit rough around the edges but it is a step in the right direction and will hopefully be finalized soon so that we can start using it in an Ember version in the near future.