👋 Emberistas! 🐹
Find out about the Ember 3.26 release, updated release of Unstable Ember Language Server, and addon roundup.
Ember 3.26 release was announced on April 12, 2021. The release patched a few bug fixes in
ember-cli. It also introduced several deprecations in
ember-source in preparation of the upcoming Ember 4.0 release.
We encourage you to make time to address deprecated patterns in your apps and addons. The Deprecations Guide provides examples of how you might update your code.
Here are 3 quick tips for what you can do for Ember 3.26:
To make a route transition in a controller or route, inject the
routerservice and use its
replaceWithmethod. You can check the API Guides to learn more about the
For new code, using the
routerservice shouldn't cause an issue. When you update existing code, however, your app may behave differently when the route transition occurs. Before any update, write tests that cover the intended behavior.
When you invoke the
<LinkTo>component with angle brackets, use named arguments to improve code readability. The arguments include
If you use Ember Data in a controller or route, inject the
The Unstable Ember Language Server is a VSCode extension that provides VSCode users features like auto complete, goto definition and diagnostics for Ember projects. While the name contains the word “unstable,” it is very stable and is actually a fork of the original Ember Language Server project.
Addon roundup 🙌
We wanted to highlight some recent happenings around the web! Check them out and give them a try! 😎
- Do you want to use OAuth in your Ember app? Sinan Keskin (@sinankeskin) wrote a new addon, ember-oauther, which allows you to sign in and register a user with OAuth easily! OAuth is an open standard for access delegation, commonly used to help a user register or log in to a web app via their login for Facebook, Google, Microsoft, etc.
- ember-resize-monitor provides a did-resize modifier for detecting resize events on the element or component it's attached to. These events could include window resizing CSS changes, content updates, and more. Jordan Hawker (@elwayman02) published a v0.2.0 and gave a shoutout to Tamas Sule (@xjmdoo) for improving the addon's performance by 10x!
- ember-a11y-testing v4.0.4 is here! ember-a11y-testing is a wrapper around Deque Labs' axe-core accessibility testing engine. The addon can be integrated in your testing environment either as a one-time setup, or in individual tests using an
a11yAudit()test helper. Raise your Lighthouse score and improve the web at the same time! Thank you to the team that made this happen, including these recent contributors: Andrew A Lee (@drewlee), Dan Wenzel (@danwenzel), Melanie Sumner (@MelSumner), Steve Calvert (@scalvert), Robert Jackson (@rwjblue), Travis Hoover (@thoov), and Steve Zelaznik (@zelaznik).
- Suchita Doshi (@suchitadoshi1987) published a new experimental language server addon, els-addon-import-specifiers, that jumps to the line of an import directly, instead of the parent file. Nice!
This week we'd like to thank Hanna (@hannakim91), Bj Tecu (@btecu), Chris Garrett (@pzuraq), Isaac Lee (@ijlee2), Rinold Simon (@rinoldsimon), Brenden Palmer (@brendenpalmer), Jen Weber (@jenweber), Igor Terzic (@igorT), Esquith Allen (@esquith), Rajasegar Chandran (@rajasegar), Pat O'Callaghan (@patocallaghan), Ricardo Mendes (@locks), Stephen Weiss (@stephencweiss), Chris Manson (@mansona), Nick Schot (@nickschot), Peter Wagenet (@wagenet), Katie Gengler (@kategengler), Lucy Lin (@lin-ll), Giles Thompson (@gilest), Jesse Jordan (@jayjayjpg), Bryan Mishkin (@bmish), Amy Lam (@amyrlam), Afzal Syed (@afzal273), Dave Combs (@davecombs), Godfrey Chan (@chancancode), Chris Thoburn (@runspired), Josemar Luedke (@josemarluedke), Tyler Becks (@tylerbecks), Raido Kuli (@raido), Jared Galanis (@jaredgalanis), Steven Pham (@spham92), and Lee Broxson (@broxsonl) 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! 🤞
That's another wrap! ✨
Amy Lam, Isaac Lee, Chris Ng, and the Learning Team