Releases: react-cosmos/react-cosmos
v2.1.0
v2.0.0
v2.0.0-rc.1
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 next level.
- 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!
Big thanks to @adelinaenache @amrdraz @catalinmiron @flaviusone @ganderzz @jlc467 @jnishiyama @JohnRowleySEL @maxsalven @NiGhTTraX @nik-kor @ovidiubute @RadValentin @raulanatol @tkjone @xavcz @Yustynn ❤️ (Sorry if I missed anyone!)
v1.1.0
v1.0.0
This release incorporates experience and feedback received from almost 3 years of using React Cosmos. It aims to make it easier to install, flexible enough to work alongside nonstandard React libs (e.g. Redux) and a friendly and fun project to contribute to. Feedback appreciated!
Usability
- #214 New CLI for webpack users (see Usage for instructions)
- React 0.13 to 15 support via react-dom-polyfill
- Browserify example
Features
- Redux integration via react-cosmos-redux-proxy with example available
- #209 New Proxy API, enabling plugins like the Redux one
- UI improvements like the fixture fuzzy search and the all-new fixture editor with resizable panes
Development & community
- Lerna monorepo structure, making it possible to build examples from source and test holistically
- Switched to Jest for unit testing (already 45% Jest tests out of all 411)
- Updated docs, revamped CONTRIBUTING guide and cleaned up Issues (some "free for all")
Big thanks to @bogdanjsx, @flaviusone, @RadValentin and @catalinmiron for helping out with this release.
v1.0.0-beta.9
Only publish necessary files to npm 0e88d64
v1.0.0-beta.8
v1.0.0-beta.6
- [bug, hotfix] Always create Redux store #219