Skip to content

Releases: react-cosmos/react-cosmos

v7.3.0

Choose a tag to compare

@ovidiuch ovidiuch released this 17 Apr 21:02
883eba2

c97fe4a Fix "not wrapped in act" warnings in lazy fixture tests (#1760)
7149055 Bump fallback stargazer count
d8c8bf4 Update npm lockfile (#1759)
0004fe7 Upgrade deps (#1758)
adf83fb Upgrade to TSGO (#1757)
3822d76 Upgrade to oxlint (#1756)
e6e39db Upgrade to oxfmt (#1755)
6938073 Bump @skidding/launch-editor to track upstream 2.13.2 (#1754)
07c46c9 Drop lodash dependency (#1753)
3dc82b9 Add gh-release-notes skill for Claude Code (#1752)

v7.2.0

Choose a tag to compare

@ovidiuch ovidiuch released this 05 Mar 20:44
c1f63d7

579b2b0 Peer dependencies (#1751)
4be82ee Fix static prerendering broken by searchParams access

v7.1.1

Choose a tag to compare

@ovidiuch ovidiuch released this 04 Feb 19:02
7b87f53

ae2bcbf Upgrade dependencies (#1747)
2629dc5 Fix syntax in vite.mdx for package.json example (#1746) @ArnavK-09

v7.1.0

Choose a tag to compare

@ovidiuch ovidiuch released this 20 Dec 13:38
f3b2013

7f8043a Upgrade dependencies (#1744)
badd0fc Upgrade Lerna to support OIDC trusted publishing (#1741)
86590b6 Replace npm classic token with trusted publishing (#1740)
a3ffdc1 Pass Next searchParams to fixture props (#1739)
2802c5e Refine and memo useCosmosNotification (#1738)
e020233 Add useCosmosNotification fixture API (#1737)
a860d7f Use latest tag in README npm version badge (#1736)
d34cece Upgrade http-proxy-middleware (#1732) @kylemeenehan
a7ca3c0 Update npm badge in migration guide (#1730)
f9521dc Remove @next banner in Getting Started page (#1729)

v7.0.0

Choose a tag to compare

@ovidiuch ovidiuch released this 09 Jun 08:08

React Cosmos 7 is the result of 6 months of iteration and fine-tuning, making it the most reliable release yet.

Highlights

  • React 19 & Next.js 15 support — Fully compatible with the latest versions of React and Next.js, with backward support for React 18.
  • Cosmos UI refresh — Mobile-friendly with slick slide-in panels, a cleaner home screen, and customizable preview iframe background.
  • Improved Vite plugin — Auto-generates a default index.html and auto-detects your main script for seamless integration.
  • Better remote rendering — More reliable when running remote renderers over the network, for both DOM and Native targets.

Breaking Changes

This release includes a few minor breaking changes, see the migration guide for details.

Full Change Log

9d8ca03 Add fixture API for changing the fixture (#1728)
995879b Auto open drawer nav panel on multi fixture select (#1727)
aa4f63d Install parse5 in Vite plugin (#1725)
c37ff06 Stop forcing dark color theme in renderer preview (#1723)
b7d11e3 Set dark color scheme to all but search results UI (#1722)
e973288 Make scrollbars dark themed for fixtures sidebar (#1719) @lrdTnc
5acabc7 Sort fixture and decorator paths to make cosmos.imports deterministic (#1721)
f624342 Fix deprecated pem version (#1716)
f48da33 Fix long update badge
ddeb1f5 Upgrade migration guide and demo screenshot (#1714)
002fafa Instruct users to install next branch instead of canary
8e6fea1 Announce v7 in home screen
8dac94e Link to tags page on prereleases
9cb6dec Clean up dependencies (#1713)
767654e Upgrade dependencies (#1712)
e6fefe2 Clean up old Webpack onboarding (#1711)
de10482 Allow headless browsers to capture renderer responses in exports (#1710)
e0522c9 Load index.html from resolved path (#1709)
2900135 Improve Vite index.html generation (#1708)
ee38b54 Vite error handling & onboarding (#1704)
d57186d Fix Next.js crash with undefined children (#1707)
b2d1977 Log URLs after plugins init (#1703)
fa66419 Rename cosmosConfig to config (#1700)
cd2cc87 Fix Next.js iframe renderer URL (#1702)
84b7bc0 Fix iframe renderer URL with fixture var (#1701)
c816065 Make remote renderer accessible over the network (#1699)
0ff5b03 Don't try to connect to WS in static exports (#1697)
b5c8a03 Deprecate hostname in favor of host in Cosmos config (#1696)
323500c Get rid of react-is dependency (#1692)
25adc92 Embed server IP address in native renderer (#1691)
d2883a1 Add verbatimModuleSyntax support to cosmos.imports.ts and improve comment (#1690)
0c1e01c Make iframe background color customizable (#1688)
2605400 Redesign home screen (#1684)
f401a74 Disable responsive preview when fixture isn't selected (#1686)
2e78845 Fix layout shift when selecting search result (#1685)
878fe5d Allow closing drawer panels by clicking outside (#1683)
1131695 Floating panels mode (#1681)
6ad371a Differ playground URL params from renderer URL params (#1682)
49e1629 Make panes draggable on mobile (#1680)
d68125d Skip Cloudflare upload in fork pull requests (#1679)
216cd3b Update decorator docs with global CSS import guidance (#1678) @receter
f11ca25 Mention React 19 and Next 15 support (#1675)
19219aa Make Next.js page async (#1674)
4981a3d Upgrade to React 19 (#1668)
97b077a Separate docs package from monorepo (#1672)
a9d2ab9 Update generated Nextra configs (#1671)

v6.2.3

Choose a tag to compare

@ovidiuch ovidiuch released this 14 Dec 19:05

dc84193 Upgrade dependencies (#1666)

v6.2.2

Choose a tag to compare

@ovidiuch ovidiuch released this 04 Dec 09:45

09cec11 Migrate native loader from NativeModule to TurboModuleRegistry (#1662) @ThaisRobba

v6.2.1

Choose a tag to compare

@ovidiuch ovidiuch released this 21 Nov 12:16

4278ab2 Upgrade http-proxy-middleware (#1660)

v6.2.0

Choose a tag to compare

@ovidiuch ovidiuch released this 26 Aug 13:13

This minor version is packed with features:

  • New Fixture Options API — an idea from 2020 that's finally here!
  • Support for exporting decorator arrays.
  • New /cosmos.fixtures.json endpoint exposed by the Cosmos dev server, making the list of fixtures accessible without having to communicate with a live Cosmos renderer.

An important bug fix:

  • Fixed compatibility with Next 14.2.

And some important steps towards full ESM support:

  • Migrated all ~500 Jest tests to Vitest.
  • Breaking: The experimental getFixtures API is now async.

Full Change Log

35e3af2 Document Fixture Options (#1652)
4b95d01 Allow exporting decorator arrays (#1651)
b179ef9 Fix CONTRIBUTING link
15db638 Add minimal fixture options implementation (#1649)
a5d06e7 Downgrade Lerna (#1648)
b94646f Replace Jest with Vitest (#1574)
71267f3 Add alternative multi fixture format to docs (#1646)
d0a0bd9 Make getFixtures async (#1644)
4d8d920 Add back Github Pages instructions (#1643)
bdbf4f7 Add basic scaffolding for taking fixture screenshot (#1642)
fbe721b Fix fixture export type detection with RSC (#1641)
5da46eb Fix broken readme links (#1637) @raymondmdang
8aaf73c Fix typo in webpack docs (#1636) @pascalpp
db623aa Forward renderer responses to injected window handler (#1631)
0d0e717 Add fixtureLoaded renderer response (#1630)
4cc91ba Expose cosmos.fixtures.json with renderer URLs (#1629)

v6.1.1

Choose a tag to compare

@ovidiuch ovidiuch released this 11 Mar 10:47

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