Downloads

A lot has happened since Cosmos 1.0 was released, almost one year ago. We're finally going back on the semver wagon and abandoning the beta limbo!

I want us to start using Conventional Commits going forward, but for this release a manual changelog will do. I omitted a couple of things, and probably missed a few other, but here are the highlights:

Up to date docs with plenty working examples and instructions for integrating with frameworks like Create React App, Next.js and popular boilerplates.

The Loader frame is now part of a separate build. This enables us to work with different versions of React than the one used by the Playground UI. It also opens the door to going beyond React.

The Proxy API has been refactored and refined, and is now joined by an array of built in proxies. We have proxies for mocking libs like Redux, React Router and Apollo, but also for mocking browser APIs like Fetch, XHR and LocalStorage.

The Playground UI has received a number of facelifts and onboarding screens, and it's just getting started. Already @maciej-ka and @amrdraz are working on taking it to the nextlevel.

Static exporting is now one command away thanks to @jlc467. No web server needed!

Finally, the part that I've been mostly excited about lately: New APIs for writing component tests. We can reuse fixtures to power our test setup and Jest snapshots to quickly add some confidence to small projects. This is just the beginning, an exciting new way of writing tests using Cosmos will be revealed in the near future!