storybook icon indicating copy to clipboard operation
storybook copied to clipboard

Storybook 7.0

Open shilman opened this issue 3 years ago • 8 comments

We're accumulating a number of breaking or highly disruptive changes in the package ecosystem that might require a major release. Collecting them here to explore a 7.0 release or possibly a long-running prerelease that allows us to unblock users.

  • [ ] Webpack@5 #9216 (50+ 👍)
  • [ ] PostCSS@8 #12668 (40+ 👍)
  • [ ] Emotion@11 #13145 (5+ 👍)
  • [ ] Lit-html@2 #13489
  • [ ] MDX@2 tweet

shilman avatar Dec 21 '20 01:12 shilman

Guys, why these are dependencies, not peer dependencies? At least, consider to ship another package for full-control-mode only – we dont need any defaults for webpack or postcss in our projects.

Diokuz avatar Jan 03 '21 09:01 Diokuz

Actually, same problem was for React17, and we waited for weeks for 6.1 version of storybook.

Consider to use Dependency Inversion pattern, please.

Diokuz avatar Jan 03 '21 09:01 Diokuz

Hey! I could not find information: will the storybook@7 stop shipping with webpack 4 by default?

As far as I can tell packages @storybook/addon-docs, @storybook/react and even @storybook/builder-webpack5 (through @storybook/core-common) now install webpack 4. This brings with it a lot of outdated packages that cause installation warnings.

dartess avatar Feb 02 '22 11:02 dartess

@dartess yes, SB7 will probably ship with no builder by default and you'll need to choose between webpack4, webpack5, vite, or something else.

shilman avatar Feb 03 '22 00:02 shilman

Will storybook@7 support pnpm package manager?

BogdanMoraru82 avatar Jul 20 '22 11:07 BogdanMoraru82

Is there any ETA for Storybook v7? We would really like to get rid of all the deprecated dependencies that get pulled in due to webpack4.

mcmxcdev avatar Aug 06 '22 08:08 mcmxcdev

Is there a list of browsers that are supported in version 7? I heard you are planning to drop IE11 (what about Legacy Edge?). Do you have a target list of browsers and their versions that will be supported?

dartess avatar Aug 10 '22 18:08 dartess

@dartess here's a recent slide from a monthly roadmap meeting that discusses the breaking changes in 7.0 to browser and node support: https://docs.google.com/presentation/d/187z_4QySXzrPReEpIYhdKWgwQDWMpxSNI0ZXb1NVXUo/edit#slide=id.g14ffbccc1fa_0_33

TL;DR: Storybook will support "modern browsers" (Chrome 100+, not sure about the details on Safari, Firefox, etc.), and Node 14+.

IanVS avatar Sep 13 '22 14:09 IanVS

Closing this for now, as the changes mentioned are already a part of the recent Storybook 7.0 release.

@shilman let me know if I'm missing something and I'll gladly re-open it

jonniebigodes avatar Apr 27 '23 11:04 jonniebigodes