The Ember Times - Issue No. 178
š Emberistas! š¹ Find out about the Ember 3.26 release, updated release of Unstable Ember Language Server, and addon roundup.
Ember 3.26 releasedĀ š„³
Ember 3.26 release was announcedĀ on April 12, 2021. The release patched a few bug fixes inĀ ember-source
Ā andĀ 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Ā
router
Ā service and use itsĀtransitionTo
Ā orĀreplaceWith
Ā method. You can check theĀ API GuidesĀ to learn more about theĀrouter
Ā service.For new code, using theĀ
router
Ā service 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Ā@route
,Ā@model
,Ā@models
, andĀ@query
.If you use Ember Data in a controller or route, inject theĀ
store
Ā service.
Need help with upgrading your app? You can ask questions in theĀ Ember Discussion ForumĀ or theĀ #help
Ā channel onĀ Ember Discord.
Updated release of Unstable Ember Language ServerĀ āØ
A new version ofĀ Unstable Ember Language ServerĀ has been published thanks toĀ Suchita Doshi (@suchitadoshi1987)Ā andĀ Alex Kanunnikov (@lifeart).
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.
This recent release addsĀ batman syntaxĀ support (namespaces) toĀ Unstable Ember Language ServerĀ so try it out today on your VSCode!
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!
Contributors' cornerĀ š
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!Ā š
Connect with usĀ š¤
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. See you in two weeks!
That's another wrap!Ā āØ
Be kind,
Amy Lam, Isaac Lee, Chris Ng, and the Learning Team