The Ember Times - Issue No. 159

– By Chris Ng, Amy Lam

👋 Emberistas! 🐹

Community addon updates: stable version of ember-bootstrap v4 released 💥, and check out ember-dayjs-helpers 🕰️!


Just released: stable version of ember-bootstrap v4 💥

Simon Ihmig (@simonihmig) announced the stable release of ember-bootstrap v4, tweeting that it's another step toward a full Octane refactoring! Glimmer components are coming next.

Bootstrap users can check out the full list of changes in the changelog. For breaking changes, give ember-bootstrap-codemods a try. We are appreciative of all the codemods in the Ember community!

Not familiar with ember-bootstrap? It's an Ember CLI addon that provides a collection of Ember components that mimic the original Bootstrap plugins and components in an Ember-friendly way, replacing the need for bootstrap.js. For more info, check out the website and the corresponding repo.


Check out ember-dayjs-helpers 🕰️

Rajasegar Chandran (@rajasegar) created the ember-dayjs-helpers library which contains over 30+ template helpers based on day.js, a fast 2kB alternative to Moment.js with the same modern API.

In your templates, you can easily use day.js APIs using the provided helpers. For example, you can use the {{day-js}} helper to display the current date or format a date provided.

{{day-js}} => Display today's date
{{day-js date='2019-01-25' format='DD-MM-YYYY'}} => 25-01-2019
{{day-js date='2019-01-25' format='DD MMMM YYYY'}} => 25 January 2019

Check out the full project with the list of helpers provided on GitHub!


Contributors' corner 👏

This week we'd like to thank @amyrlam, @bmish, @chriskrycho, @chrisrng, @dcyriller, @ghedamat, @ijlee2, @krisselden, @locks, @mehulkar, @miguelverissimo, @nickschot, @pzuraq, @rwjblue, @snewcomer, @tashvaqa for their contributions to Ember and related repositories! 💖


Connect with us 🤓

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 e-mail newsletter! You can also find our posts on the Ember blog.


That's another wrap! ✨

Be kind,

Chris Ng, Amy Lam, and the Learning Team