👋 Emberistas! 🐹
Discover out concerning the Ember 3.26 launch, up to date launch of Unstable Ember Language Server, and addon roundup.
Ember 3.26 launch was introduced on April 12, 2021. The discharge patched just a few bug fixes in ember-source
and ember-cli
. It additionally launched a number of deprecations in ember-source
in preparation of the upcoming Ember 4.0 launch.
We encourage you to make time to handle deprecated patterns in your apps and addons. The Deprecations Information gives examples of the way you may replace your code.
Listed here are 3 fast suggestions for what you are able to do for Ember 3.26:
-
To make a route transition in a controller or route, inject the
router
service and use itstransitionTo
orreplaceWith
methodology. You’ll be able to verify the API Guides to study extra concerning therouter
service.For brand spanking new code, utilizing the
router
service should not trigger a difficulty. Whenever you replace present code, nonetheless, your app could behave in a different way when the route transition happens. Earlier than any replace, write assessments that cowl the meant conduct. -
Whenever you invoke the
<LinkTo>
element with angle brackets, use named arguments to enhance code readability. The arguments embrace@route
,@mannequin
,@fashions
, and@question
. -
Should you use Ember Knowledge in a controller or route, inject the
retailer
service.
Need assistance with upgrading your app? You’ll be able to ask questions within the Ember Dialogue Discussion board or the #assist
channel on Ember Discord.
A brand new model of Unstable Ember Language Server has been revealed due to Suchita Doshi (@suchitadoshi1987) and Alex Kanunnikov (@lifeart).
The Unstable Ember Language Server is a VSCode extension that gives VSCode customers options like auto full, goto definition and diagnostics for Ember tasks. Whereas the title accommodates the phrase “unstable,” it is vitally secure and is definitely a fork of the authentic Ember Language Server challenge.
This current launch provides batman syntax help (namespaces) to Unstable Ember Language Server so strive it out as we speak in your VSCode!
Addon roundup 🙌
We needed to focus on some current happenings across the net! Test them out and provides them a strive! 😎
- Do you need to use OAuth in your Ember app? Sinan Keskin (@sinankeskin) wrote a brand new addon, ember-oauther, which lets you check in and register a consumer with OAuth simply! OAuth is an open normal for entry delegation, generally used to assist a consumer register or log in to an internet app through their login for Fb, Google, Microsoft, and so on.
- ember-resize-monitor gives a did-resize modifier for detecting resize occasions on the ingredient or element it is connected to. These occasions might embrace window resizing CSS adjustments, content material updates, and extra. Jordan Hawker (@elwayman02) revealed a v0.2.0 and gave a shoutout to Tamas Sule (@xjmdoo) for enhancing the addon’s efficiency by 10x!
- ember-a11y-testing v4.0.4 is right here! ember-a11y-testing is a wrapper round Deque Labs’ axe-core accessibility testing engine. The addon may be built-in in your testing atmosphere both as a one-time setup, or in particular person assessments utilizing an
a11yAudit()
take a look at helper. Increase your Lighthouse rating and enhance the online on the similar time! Thanks to the group that made this occur, together with these current 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) revealed a brand new experimental language server addon, els-addon-import-specifiers, that jumps to the road of an import immediately, as an alternative of the mum or dad file. Good!
This week we would prefer 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 his or her contributions to Ember and associated repositories! 💖
Questioning about one thing associated to Ember, Ember Knowledge, Glimmer, or addons within the Ember ecosystem, however do not know the place to ask? Readers’ Questions are only for you!
Submit your personal brief and candy query below bit.ly/ask-ember-core. And don’t fear, there aren’t any foolish questions, we admire all of them – promise! 🤞
Need to write for the Ember Occasions? Have a suggestion for subsequent week’s concern? Be a part of us at #support-ember-times on the Ember Group Discord or ping us @embertimes on Twitter.
Carry on prime of what is been happening in Emberland this week by subscribing to our e-mail publication! You may as well discover our posts on the Ember weblog. See you in two weeks!
That is one other wrap! ✨
Be sort,
Amy Lam, Isaac Lee, Chris Ng, and the Studying Group