Thursday, April 25, 2024
HomeJavaScriptThe Ember Instances - Difficulty No. 122

The Ember Instances – Difficulty No. 122


हॅलो Emberistas! 🐹

An essential announcement concerning the Octane launch 📝,
launch of qunit-assertions-extra 🎉,
fine-tune validations with Ember Mannequin Validator 3.10 🔍,
higher builds for the Guides 🏗,
and the Ember Easy Auth 2.0.0 launch 🛳!



Yesterday, the Ember workforce introduced that the upcoming 3.14 launch is not going to embody Octane because the default mode.

Whereas a number of builders are efficiently utilizing Octane in manufacturing already, a couple of key elements are lacking in an effort to make Octane a hit story for everybody. The remaining duties are:

  • Make elimination of jQuery elective to assist together with your migration (accomplished in 3.14 ✅)
  • End updating Ember Inspector to help Glimmer elements
  • Doc the Octane programming mannequin within the Ember Guides

What is going to this announcement imply for you?

  1. If you happen to tried out Octane in Ember 3.13, please carry on utilizing it. The options that make up Octane are secure and backed by semantic versioning.
  2. If you happen to had been ready for Ember 3.14 to check out Octane, please solely achieve this for those who’re prepared to simply accept a model of Octane that the Ember workforce does not really feel is polished sufficient to advocate to all customers fairly but. Ember 3.14 is a superb time for adventurous customers to attempt updating their manufacturing apps to Octane, and report again any issues that they discover.

Lastly, please lend encouragement and help to all contributors (that features you!) as we make the delivery model of Octane as wonderful as everyone knows it may be. To study extra concerning the announcement, go to the Ember Weblog at the moment.


@NullVoxPopuli made a library to assist out with qunit assertions. Impressed by the qunit-dom undertaking, the library goals to get rid of assert.okay for non-boolean comparisons and the necessity for the customized message argument for assertions.

As of now, it gives the assert.accommodates and assert.matches APIs for simplifying routine assessments round strings. Contribute and take a look at qunit-assertions-extra on GitHub at the moment!


Ember Mannequin Validator, which helps you to outline validations for Ember Information fashions, just lately celebrated its 3.10 launch! 🎉

Due to André Medeiros (@andsmedeiros), now you can cross the besides or solely choice to Ember Mannequin Validator to run a subset of validations.

// Run all validations EXCEPT title's presence and size validations
// and any e-mail validations
myModel.validate({
  besides: ['name:presence,length', 'email']
});

// Run ONLY e-mail's presence validation
myModel.validate({
  solely: ['email:presence']
});

To study extra about how one can use Ember Mannequin Validator in your app, we encourage you to go to its web site at the moment!


The official Ember Guides are a elementary studying useful resource for individuals who are new to Ember and people who are extra acquainted with the framework alike. Anytime a brand new model launch of Ember lands, a brand new model of the Guides’ supply might be reduce and made prepared for launch. This ensures that Ember builders can work with essentially the most up-to-date model of documentation that matches the most recent APIs which can be accessible of their upgraded app.

However just lately, points regarding the construct course of for the Guides bubbled up. Frequent timeouts for the construct pipeline prevented contributors from working easily on the Guides undertaking. A current adjustment to the construct configuration moved the deployment step away from Netlify and to Travis, fixing the timeout points. This code contribution additionally optimized the construct pipeline within the course of. Many due to Ember Studying Core workforce member and Devops specialist Sivakumar Kailasam (@sivakumar-kailasam) for offering this repair!

Curious to study extra and even contribute to construct processes for Ember studying supplies? Be part of the group chat and be a part of the dialogue on the #dev-ember-learning channel


This week, the nice folks over at @simplabs launched model 2.0.0 of the wonderful authentication/authorization library Ember Easy Auth. Many due to Simplabs and to the individuals who contributed to this launch, together with @ExpDev07, @josemarluedke, @marcoow, @muziejus, @mcfiredrill and @trek.

Model 2.0.0 drops help for Node 6 and introduces 2 new deprecations across the rejectWithResponse property and the DataAdapterMixin’s authorizer property and headersForRequest methodology.

Model 3.0.0 of Ember Easy Auth must be launched quickly, so be careful for that as effectively!


This week we might prefer to thank @dnalagatla, @rwjblue, @dmuneras, @ghislaineguerin, @pichfl, @esbanarango, @Mikek2252 and @runspired 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 personal quick and candy query beneath bit.ly/ask-ember-core. And don’t fear, there are not any foolish questions, we recognize all of them – promise! 🤞


Need to write for the Ember Instances? Have a suggestion for subsequent week’s problem? Be part of us at #support-ember-times on the Ember Neighborhood 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.


That is one other wrap! ✨

Be type,

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



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments