The Ember Times - Issue No. 122
Issue #122
ΰ€Ήΰ₯…ΰ€²ΰ₯‹ Emberistas! 🐹

An important announcement about the Octane release πŸ“,
Release of qunit-assertions-extra πŸŽ‰,
Fine-tune validations with Ember Model Validator 3.10 πŸ”,
Better builds for the Guides πŸ—
and the Ember Simple Auth 2.0.0 release πŸ›³!


While several developers are successfully using Octane in production already, a few key ingredients are missing in order to make Octane a success story for everyone. The remaining tasks are:

  • Make removal of jQuery optional to help with your migration (completed in 3.14 βœ…)
  • Finish updating Ember Inspector to support Glimmer components
  • Document the Octane programming model in the Ember Guides
What will this announcement mean for you?

  1. If you tried out Octane in Ember 3.13, please keep on using it. The features that make up Octane are stable and backed by semantic versioning.
  2. If you were waiting for Ember 3.14 to try out Octane, please only do so if you're willing to accept a version of Octane that the Ember team doesn't feel is polished enough to recommend to all users quite yet. Ember 3.14 is a great time for adventurous users to try updating their production apps to Octane, and report back any problems that they find.
Lastly, please lend encouragement and support to all contributors (that includes you!) as we make the shipping version of Octane as amazing as we all know it can be. To learn more about the announcement, visit the Ember Blog today.
@NullVoxPopuli made a library to help out with qunit assertions. Inspired by the qunit-dom project, the library aims to eliminate assert.ok for non-boolean comparisons and the need for the custom message argument for assertions.

As of now, it provides the assert.contains and assert.matches APIs for simplifying routine tests around strings. Contribute and check out qunit-assertions-extra on GitHub today!
Ember Model Validator, which lets you define validations for Ember Data models, recently celebrated its 3.10 release! πŸŽ‰

Thanks to AndrΓ© Medeiros (@andsmedeiros), you can now pass the exceptΒ or onlyΒ option to Ember Model Validator to run a subset of validations.

// Run all validations EXCEPT name's presence and length validations
// and any email validations
myModel.validate({
Β  except: ['name:presence,length', 'email']
});

// Run ONLY email's presence validation
myModel.validate({
Β  only: ['email:presence']
});


To learn more about how to use Ember Model Validator in your app, we encourage you to visit its website today!
The official Ember Guides are a fundamental learning resource for those who are new to Ember and those who are more familiar with the framework alike. Anytime a new version release of Ember lands, a new version of the Guides' source will be cut and made ready for release. This ensures that Ember developers can work with the most up-to-date version of documentation that matches the latest APIs that are available in their upgraded app.

But recently, issues in regards to the build process for the Guides bubbled up. Frequent timeouts for the build pipeline prevented contributors from working smoothly on the Guides project. A recent adjustment to the build configuration moved the deployment step away from Netlify and to Travis, solving the timeout issues. This code contribution also optimized the build pipeline in the process. Many thanks to Ember Learning Core team member and Devops specialist Sivakumar Kailasam (@sivakumar-kailasam) for providing this fix!

Curious to learn more or even contribute to build processes for Ember learning materials? Join the community chat and join the discussion on the #dev-ember-learning channel!ß
This week, the good people over at @simplabs released version 2.0.0 of the excellent authentication/authorization library Ember Simple Auth. Many thanks to Simplabs and to the people who contributed to this release, including @ExpDev07, @josemarluedke, @marcoow, @muziejus, @mcfiredrill and @trek.

Version 2.0.0 drops support for Node 6 and introduces 2 new deprecations around the rejectWithResponse property and the DataAdapterMixin's authorizer property and headersForRequest method.

Version 3.0.0 of Ember Simple Auth should be released soon, so watch out for that as well!
This week we'd like to thank @dnalagatla, @rwjblue, @dmuneras, @ghislaineguerin, @pichfl, @esbanarango, @Mikek2252 and @runspired 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! 🀞
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.

That's another wrap! ✨

Be kind,

Chris Ng, Isaac Lee, Jessica Jordan, Jared Galanis and the Learning Team