Skip to content

Latest commit

 

History

History
143 lines (79 loc) · 5.56 KB

CHANGELOG.md

File metadata and controls

143 lines (79 loc) · 5.56 KB

Changelog

3.2.0 (2024-12-13)

Features

Bug Fixes

  • combine post-build scripts (8ba7432)
  • Node 22.12 error with cjs imports (6c8719c)
  • remove top-level getStaticDirs and only rely on package.json exports (31dc7a4)

3.1.0 (2024-07-01)

Features

  • add editor options and wrapping component prop (5d47fd8)

Bug Fixes

3.0.3 (2024-06-25)

Bug Fixes

  • only use window.parent and fall back to window to prevent manager from throwing (cc48522)

3.0.2 (2024-06-24)

Bug Fixes

  • iframed storybook sites fail due to window.top access (02f8255)

3.0.1 (2024-06-12)

Bug Fixes

  • use os path separator for windows support (bb2d73a)

3.0.0 (2024-05-17)

⚠ BREAKING CHANGES

  • 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.
// Before:
export const StoryA = createLiveEditStory({ code: StoryASource });
// Had to mutate the Story
StoryA.args = { foo: 'foo' };
// After:
export const StoryA = createLiveEditStory({
  code: StoryASource,
  args: { foo: 'foo' },
});
  • Remove automatic configuration for webpack.
  • MDX updated, some breaking changes.
  • Update TypeScript which may cause breaking changes in types.
  • Add package.json "exports" and "type: module".

Features

Bug Fixes

2.2.2 (2024-05-15)

Bug Fixes

2.2.1 (2024-02-13)

Bug Fixes

  • make getStaticDirs work with yarn zero installs (0daab18)

2.2.0 (2023-06-14)

Features

Bug Fixes

  • detect react import default and named (bed3329)
  • resolve package location without require.resolve (b097d3f)

2.1.0 (2023-04-04)

Features

  • Playground: add id to persist code changes until page reload (4a8ae8f)

2.0.2 (2023-04-01)

Bug Fixes

  • update rock-paper-scissors example (a8add75)

2.0.0

⚠ BREAKING CHANGES

  • require staticDirs in .storybook/main
  • drop support for webpack 4 and add support for vite
  • remove setupEditor option and add setupMonaco function
  • rename onCreateEditor option to modifyEditor

Features

  • support vite
  • make react types optional