This week: how to conditionally wrap components 💝, check out the Ember Sinon 4.0.0 release 💯, Ember CLI Mirage 1.0.0 release 🎉, Ember File Upload 2.7.0 release 🆙, ES6 Class Syntax Codemod 🤖, and last, but not least, mythical null and error handling with True Myth 3.0 🔮!
After over four years and 1,442 commits from 174 contributors, Ember CLI Mirage has met its milestone 1.0.0 release! Big congratulations to @samselikoff and everyone who helped create one of our favorite addons. 🙌
With 1.0.0 (or should we say 💯?), you will find updated documentation and instructions on how to upgrade. If you haven't tried out Mirage to mock your backend APIs, we encourage you to today!
Ember File Upload, which allows file uploads that continue over a route transition, announced its 2.7.0 release! You will see updated README (examples using angle bracket) and stability from updated dependencies and bug fixes. 🧡
Excited about the chance to try out the ✨native decorator support✨ announced as part of the release of Ember.js 3.10? The good news is there's a codemod to help you out with that!
Note that this part of the codemod is a configurable option in the transforms. If set to true, it will transform an object's properties to decorators wherever required. Also note that, unless turned off, this codemod will by default handle transforming object properties to class fields.
If you're interested in learning more about the motivation for this adoption of native decorator support in Ember.js3.10check out the RFC.