Skip to content

Releases: react-cosmos/react-cosmos

v6.1.1

11 Mar 10:47
Compare
Choose a tag to compare

cb0bcd0 Inline React state types to improve Preact compat (#1628)

v6.1.0

06 Mar 08:25
Compare
Choose a tag to compare

A few significant contributions in this release:

  • Improved fixture hooks were consolidated under the Fixture Inputs umbrella. All previous APIs remain backwards compatible.
  • Codebase has moved away from the deprecated Yarn 1.x to latest NPM.
  • Cypress tests were migrated to Playwright, which is incredibly snappy and opens the door to more automation.

Full Change Log

899946c Make fixture input hooks less generic (#1626)
84a35da Redesign Inputs API (#1619)
5364b02 Ignore keyboard shortcuts when target is contenteditable (#1625)
2b25174 Remove Yarn (#1622)
b3b5414 Migrate Cypress tests to Playwright (#1621)
8fe9f6f Document how to suppress ESLint fixture warnings (#1618)
2806ea7 Improve useValue type inference (#1617)
2314a55 Expose home overlay UI plug (#1616)
a484ae0 Fix select controls to handle groups in reactions (#1516) @max-scopp

v6.0.3

03 Feb 11:36
Compare
Choose a tag to compare

789aaed Fix stale fixture props when HMR causes a remount (#1614)
42fbd37 Select URL fixture param over initial fixture config (#1613)
ba5bf84 Fix Cosmos logo image path
0e81f3e Fix link in website footer

v6.0.2

28 Jan 15:10
Compare
Choose a tag to compare

5ca1eac Update funding link (#1611)
7d31699 Update FUNDING username
99d0b45 Document number input functionality (#1610)
c7d176d Upgrade GitHub Actions (#1609)

v6.0.1

28 Jan 11:58
Compare
Choose a tag to compare

15ea229 Improve shortcuts and open fixture plugin (#1608)
f771e1d Add release badge on website (#1607)
c474875 Remove next dist tag from install instructions (#1604)

v6.0.0

24 Jan 20:22
Compare
Choose a tag to compare

React Cosmos 6 is a huge release that's been two years in the making!

The first 6.x beta version was released 8 months ago, giving us plenty of time to gather user feedback and refine this release into the most robust version of React Cosmos we've ever made.

What's New?

  • A full-stack plugin system that enables bundler integrations and extending every aspect of React Cosmos.
  • A brand new documentation website that covers everything from setup guides, detailed APIs and advanced configuration.
  • Mature plugins for Vite and Webpack, dedicated APIs for React Native and Next.js, and support for custom setups.
  • First-class support for React Server Components. Yes, you can render server-side code in React Cosmos!
  • Lazy Mode, which delays importing component code until loading a fixture, greatly improving isolation by the flip of a switch.
  • Support for MDX Fixtures.
  • A revamped codebase with reduced dependencies and a CI with great test coverage migrated to GitHub Actions.

This is a foundational release that unlocks many upcoming features, so stay tunned.

We're also retiring our iconic Cosmonaut and inaugurating of our fresh new Cosmos logo designed by Pascal Graf.

Cosmos

Join us on Discord

Breaking Changes

  • Dropped support for IE, Node 14 and React 17.
  • React Cosmos 5.x users need to install the Webpack plugin to continue using React Cosmos with Webpack.
  • Renamed a few less-known exports and package entry points.

More details in the migration guide: https://reactcosmos.org/docs/migration-guide

New Contributors

Full Change Log

a687430 Mark getFixtures API as experimental (#1603)
f61f2b6 Upgrade dependencies and remove pkg-up (#1602)
da8b95e Improve Community Standards (#1601)
86b9647 Fix commit prefix
3cfdcfd Publish website on release commits (#1600)
f128af2 Simplify keyboard shortcuts (#1599)
561b52a Update app favicon and docs links (#1598)
50fdd73 Remove old website (#1597)
55752ef Add OpenGraph tags to website (#1596)
11ad824 Add .ico favicon and update logo (#1595)
10c9ae9 Add link to UI features on homepage (#1594)
c86a8ee Add benefits to homepage (#1593)
d60c866 Improve docs readability (#1592)
c00ca07 Ignore ts-node warnings (#1591)
01bd836 Add features to home page (#1590)
17b8ccb Add architecture docs (#1589)
c9d42ed Add table with config options to docs (#1588)
f94afb4 Prevent auto opening Cosmos renderer in browser (#1587)
595c147 Add instructions for installing Vite (#1586)
c2e10cc Improve plugin docs (#1585)
1e61d98 Improve fixture modules and useValue docs (#1584)
9af8fcb Add useFixtureState example in docs (#1583)
6d24901 Isolate fixture state between plugins (#1581)
f5c981a Clean up old TS component return type workaround (#1582)
28d8672 Allow UI plugins to extend initial fixture state (#1579)
2610c0f Fix loading of 3rd party UI plugins (#1578)
50a9804 Fix React Native for Web link
0d38d4a Upgrade dependencies (#1566)
1d2b9f6 Exclude test helpers from react-cosmos-ui index (#1576)
7332ee1 Upgrade Lerna
0f025d1 Don't collapse unnamed fixture on fileDir tree node (#1575)
18af053 Add fixture filename support (#1559)
d7821c3 Upgrade TypeScript and React types (#1572)
1a23d2d Await fixture watcher cleanup (#1571)
7d0c249 Await dev server plugin callback and refactor tests (#1570)
69b7640 Replace delay dependency with setTimeout (#1569)
dcc328e Upgrade to Prettier v3 (#1568)
db0339b Fix Corepack env var in PnP CI job (#1567)
8bec88a Improve text flow
9724645 Skip Corepack check in PnP CI job (#1565)
2dc6672 Fix ts-node scripts on Node 20 (#1564)
dd79b2c Disable code blocks in docs search (#1563)
da2b475 Fix website demo (#1562)
90db9bd Fix docs links (#1561)
0da9c6b Docs website (#1542)
5d4f82c Fix Todo App example initial fixture ID (#1557)
b479ec9 Show Array length instead of keys in Control Panel (#1556)
115f43e Increase Yarn network timeout (#1555)
abd71bd Normalize Vite index path (#1554)
593608c Improve Next.js docs (#1547)
9be090e Add Next.js sub folder documentation (#1546)
025e7c1 Upgrade dependencies (#1543)
569e1cd Support relative vite.indexPath (#1540)
5d9b4be Improve secure WebSocket code (#1539)
3824c75 Support secure websocket connections (#1537)
e8e7b16 Black badges (#1538)
e162ccb Optimize index.html by caching fixture list on server (#1536)
6c226a3 Clean up server plugins (#1535)
a2af21a Update fixture list in index.html on page refresh (#1533)
f88e4e6 MDX support (#1531)
33698af Enable fullscreen permission on RendererPreview iframe (#1530)
0755897 Don't show panels on mobile by default (#1528)
f02f4c0 Document Lazy mode (#1527)
285c677 Document Cosmos UI (#1526)
5e40409 Document architecture goals (#1524)
1e1976b Fix demo link
b08bac4 Document key features (#1523)
a897ae4 Add initial fixture ID option (#1522)
1d09217 Add TodoMVC example (#1521)
ae60c82 Add docs on how to publish plugins (#1520)
9b65416 Document UI plugins (#1519)
2b1eb48 Document CLI and plugin APIs (#1518)
f442f14 Show config options using tables in docs (#1517)
4755b0c Mention omit option (#1515)
f26189c Improve getting started guides (#1514)
087a590 Fix Next.js docs link
99753c9 Make Discord badge more obvious
6d0294c Organize docs (#1510)
769ff8b Add support for TS Vite config (#1512)
ccc39a5 Publish CJS server mocks (#1508)
057fb98 Make getFixtures API compatible with Jest (#1507)
3619136 Convert getFixtures() API work with ESM (#1506)
3207612 Refactor getFixtures() API (#1505)
71432ef Move Jest ESM mocks to config from individual tests (#1504)
52c136d Update Next.js docs (#1502)
d9fdd1a...

Read more

v5.7.2

20 Feb 15:39
Compare
Choose a tag to compare

392a453 Select initial fixture from remote renderers (#1376)

v5.7.1

20 Feb 15:38
Compare
Choose a tag to compare

7c9e1e8 Redesign initial fixture option (#1375)
251e76c Revert "Add Cloudflare tag"

v5.7.0

20 Feb 15:38
Compare
Choose a tag to compare

0e0bd22 Add initial selected fixture props to NativeFixtureLoader (#1374)
d3f8e49 Clean up server-side file structure (#1370)

v5.6.8

31 Jan 09:21
Compare
Choose a tag to compare

1578ed6 Fix webpack return type
6bcff47 Automatically remove ModuleScopePlugin from webpack config (#1369)
17f245c Refactor internal fixture primitives (#1368)
cf6efbd Add Cloudflare tag