Skip to content

Commit

Permalink
chore: add more details in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRH committed May 17, 2024
1 parent 7c77806 commit 8c3371b
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,28 @@

### ⚠ BREAKING CHANGES

* update to storybook 8
* Update to storybook 8
* Drop support for StoryBook version 6 & 7.
* Drop support for React 16. Use react/jsx-runtime for jsx.
* `createLiveEditStory` changed to accept all story fields.
```js
// Before:
export const StoryA = createLiveEditStory({ code: StoryASource });
// Had to mutate the Story
StoryA.args = { foo: 'foo' };
```
```js
// After:
export const StoryA = createLiveEditStory({
code: StoryASource,
args: { foo: 'foo' },
});
```

* Remove automatic configuration for webpack.
* [MDX updated](https://github.com/storybookjs/storybook/blob/ba69532715f162567cc17aa3a0de8ca918dfdd2c/MIGRATION.md#mdx-related-changes), some breaking changes.
* Update TypeScript which may cause breaking changes in types.
* Add package.json "exports" and "type: module".

### Features

Expand Down

0 comments on commit 8c3371b

Please sign in to comment.