Skip to content

Commit 35025e6

Browse files
chore(release): add missing @emotion/styled peer to #691 migration note
Per PR review: library/package.json publishes six React peers (react, react-dom, @mui/material, @emotion/react, @emotion/styled, @xyflow/react); the migration note listed only five. Add @emotion/styled and correct "five peers" to "six". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b30bf69 commit 35025e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.changeset/react-apollon-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
Add a first-class React API and split the package into two entry points.
66

7-
- `@tumaet/apollon/react` exports an `<Apollon>` component plus `ApollonProvider`, `useApollonEditor`, `useApollonEditorOrThrow`, and `useApollonSubscription`. It treats `react`, `react-dom`, `@mui/material`, `@emotion/react`, and `@xyflow/react` as peer dependencies so a React host resolves a single shared copy.
7+
- `@tumaet/apollon/react` exports an `<Apollon>` component plus `ApollonProvider`, `useApollonEditor`, `useApollonEditorOrThrow`, and `useApollonSubscription`. It treats `react`, `react-dom`, `@mui/material`, `@emotion/react`, `@emotion/styled`, and `@xyflow/react` as peer dependencies so a React host resolves a single shared copy.
88
- The default `@tumaet/apollon` entry stays framework-agnostic and bundles those dependencies, so non-React hosts install with zero peers.
99

1010
**Breaking changes — migrating from 4.x:**
1111

12-
- React hosts: import from `@tumaet/apollon/react` and add the five peers above to your own dependencies.
12+
- React hosts: import from `@tumaet/apollon/react` and add the six peers above to your own dependencies.
1313
- Minimum Node is now 22 (was 20).
1414
- Removed the `ApollonOptions` fields `theme`, `copyPasteToClipboard`, `colorEnabled`, and `scale`, and the `theme` argument of `exportModelAsSvg`.
1515
- Low-level sync internals (`YjsSync`, format converters) moved to `@tumaet/apollon/internals` and are not covered by semver.

0 commit comments

Comments
 (0)