Happy Holidays, Emberistas! 🐹🌲⛄️
Ember Octane is here 🐹🎉, new ember-autofocus-modifier 💡, 3 new RFCs for template helpers 3️⃣, ember-apollo-client v2 released 🎉 and join us for the last 11 days of DecEmber 1️⃣1️⃣!
Ember 3.15 was released this week. In addition to the usual new features, improvements and bug fixes, this release also marks the official release of Ember’s first edition – Ember Octane!!
But what is Ember Octane? Ember Octane is the new, recommended way for developers to build Ember applications and addons.
Octane features a new reactivity model, a renewed practice of building components and a stronger focus on HTML driven web development than ever before. It aims to make the development of performant Ember apps not only more easy and productive, but also more fun right from the start. And on top of that, Ember Octane is fully opt-in and interoperable for existing Ember apps – which means you can try out the new way of building modern Ember Octane apps gradually, without having to rewrite your entire app today.
Want to know all about Ember Octane? Learn more about what’s new in Octane and how to get started in the official Ember Octane release announcement by Yehuda Katz (@wycats)! Need help? Check out the # topic-octane-migration channel on the Ember Discord!
While building an autofocus feature for their components, Qonto engineers were also able to improve their APIs. Cyrille David (@dcyriller) and team wanted to add autofocus to several components across two apps. For example, both their one-time-password input and their email input component needed autofocus. Since mixins are no longer recommended in the Ember ecosystem, Cyrille went with modifiers. And they blogged about their experience here!
Modifiers are a new feature in the recently released Ember Octane edition. They allow for sharing code between components, similar to directives in Vue or Angular. We revisited Chris Garrett (@pzuraq) ‘s blog Coming Soon in Ember Octane – Part 4: Modifiers and the new Octane Guides: Out-of-Component-Modifications to learn more!
Qonto wrapped up the code in a small addon,
ember-autofocus-modifier. You can use the code as-is, or copy the snippet code and experiment with creating your own modifier.
Miguel Camba @cibernox opened a slew of RFCs around adding new built-in operators to Ember templates. The idea comes from the functionality provided in ember-truth-helpers and is a subset of his other RFC to add basic helpers to Ember templates.
The three template helper RFCs Miguel proposed are the following:
Help get this off the ground by adding your input to these changes today!
We extend our thanks to all contributors: @FabHof, @brunoocasali, @buschtoens, @dmzza, @ vsergiu93, @lstrzebinczyk, @jasonmit, @coladarci, @jgwhite, @christophermlne, @bgentry, and @josemarluedke.
If you would like to build an Ember + GraphQL app, we encourage you to try out ember-apollo-client today!
With the series DecEmber series “Countdown to the New Year: 31 Days of Ember addons” the community is featuring their favorite Ember addons on a daily basis until the end of 2019 – which means, there are only 11 more days to go! Follow the DecEmber series on the Ember blog!
This week, community members wrote about their love powerful for powerful select UIs, the beauty of well-formatted templates, the joy of sharing your app beyond language barriers and how amazing Ember addons help them with writing amazing web applications!
Do you want to share your joy for a particular addon yourself? Sign up for any of the open issues with the DecEmber label and take a look at our contribution guide to get started. For questions or feedback, reach out to us on the # dev-ember-learning channel on the Ember Discord or ping Melanie Sumner (@MelSumner), Jen Weber (@jenweber) or Jessica Jordan (@ jessica-jordan).
This week we’d like to thank @hjdivad, @rwjblue, @chancancode, @kellyselden, @ Turbo87, @pichfl, @ jessica-jordan, @jenweber, @acorncom, @bartocc, @pzuraq, @igorT, @patricklx and @ craigteegarden for their contributions to Ember and related repositories! 💖
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.
The Ember Times team wishes you a pleasant, joyful holiday season (and if you don’t celebrate any big holidays this month, we wish you a pleasant and joyful time!) With your loved ones, family, friends and animal companions! 🌲⛄️ 🎆
Since most writers at The Ember Times are looking forward to the holiday season as well, we will be away for a short winter break; he January 10, 2020 we are back with the next Ember Times and an exclusive special edition!!
Enjoy the rest of the year and see you over in the new one! ✨
Chris Ng, Amy Lam, Isaac Lee, Godfrey Chan, Jessica Jordan and the Learning Team