Friday, May 3, 2024
HomeJavaScriptThe Ember Occasions - Subject No. 100

The Ember Occasions – Subject No. 100


Blissful 🎉 one hundredth 🥳 Ember Occasions, Emberistas! 🐹

This week:
tips on how to conditionally wrap elements 💝,
take a look at the Ember Sinon 4.0.0 launch 💯,
Ember CLI Mirage 1.0.0 launch 🎉,
Ember File Add 2.7.0 launch 🆙,
ES6 Class Syntax Codemod 🤖,
and final, however not least,
legendary null and error dealing with with True Fantasy 3.0 🔮!


Final 12 months, we realized tips on how to yield an Ember part in a number of locations.

This month, @baroquon shares step-by-step directions on tips on how to lengthen this work in order that we are able to conditionally wrap elements.

The most effective information? With angle bracket syntax, we are able to dramatically simplify our template! 💯

Learn the way in the present day!


Ember Sinon, an Ember CLI addon including assist for Sinon.JS, launched a breaking change in model 4.0.0 which incorporates the newest Sinon.JS launch – Sinon 7.3.2, EmberJS 3.10, and drops Node 6 assist to match the newest Ember CLI blueprints.

Sinon.JS supplies standalone take a look at spies, stubs, and mocks for JavaScript. It really works for any unit testing framework, with Ember Sinon offering a simple to integration with Sinon.JS.

Check out Ember Sinon in the present day with ember set up ember-sinon!


After over 4 years and 1,442 commits from 174 contributors, Ember CLI Mirage has met its milestone 1.0.0 launch! Huge congratulations to @samselikoff and everybody who helped create certainly one of our favourite addons. 🙌

With 1.0.0 (or ought to we are saying 💯?), you will see that up to date documentation and directions on tips on how to improve. If you have not tried out Mirage to mock your backend APIs, we encourage you to in the present day!


Ember File Add, which permits file uploads that proceed over a route transition, introduced its 2.7.0 launch! You will notice up to date README (examples utilizing angle bracket) and stability from up to date dependencies and bug fixes. 🧡

Please thank @Alonski, @maxwondercorn, @raido, @bendemboski, @hakilebara, and @andreyfel for his or her work on this model! As well as, an enormous because of @tim-evans for the unique authoring of the addon earlier than it was adopted! 💯


Excited in regards to the probability to check out the ✨native decorator assist✨ introduced as a part of the launch of Ember.js 3.10? The excellent news is there is a codemod that will help you out with that!

Word that this a part of the codemod is a configurable possibility within the transforms. If set to true, it’s going to remodel an object’s properties to decorators wherever required. Additionally be aware that, until turned off, this codemod will by default deal with reworking object properties to class fields.

In case you’re interested by studying extra in regards to the motivation for this adoption of native decorator assist in Ember.js 3.10 take a look at the RFC.


True Fantasy – your go-to library for dealing with null values and errors in your app in a type-safe vogue – is out with the brand-new 3.0.0 launch!

Try which helper features and strategies are new within the newest launch, by reviewing the 3.0 launch web page and perhaps.ify in the present day!


This week we might wish to thank @rwjblue, @kellyselden, @josemarluedke, @pzuraq, @rwwagner90, @jenweber, @MelSumner, @ghislaineguerin, @vasind, @shakirjames, @maxwondercorn, @villander, @tendermario and @konstankinollc for his or her contributions to Ember and associated repositories! 💖


Office Hours Tomster Mascot

Questioning about one thing associated to Ember, Ember Information, Glimmer, or addons within the Ember ecosystem, however do not know the place to ask? Readers’ Questions are only for you!

Submit your individual quick and candy query underneath bit.ly/ask-ember-core. And don’t fear, there aren’t any foolish questions, we recognize all of them – promise! 🤞


Need to write for the Ember Occasions? Have a suggestion for subsequent week’s situation? Be 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 occurring in Emberland this week by subscribing to our e-mail publication! You can too discover our posts on the Ember weblog.


That is one other wrap! ✨

Be type,

Chris Ng, Isaac Lee, Jared Galanis, Jessica Jordan, Amy Lam and the Studying Workforce



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments