-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storybook 6.0 Release π #9311
Comments
5.3 introduced major changes even though it was a minor version release so not really sure what y'alls definition of major is. |
@chrisabrams which major changes? |
We used to be able to provide addons as a function that returns an array; starting in 5.3 addons only supports an array it does not check to see if there is a function anymore. This broke all of our storybook setups (we have 100s setup this way). |
@chrisabrams I see. Try renaming |
Hi @shilman! I'm very excited about 6.0 beta! During the alpha phase I have been following the Composition feature closely and almost managed to patch a bug in it along the way π Can you share documentation about how you expect composition to work so I can report my findings on it better? My interest in it comes from my my use case. I want to compose multiple storybooks in a monorepo together and test the composed storybook in Chromatic as a single project. To do this do I need to host each statically built storybook before composing? That is how it seems to work in the Please let me know how I can help, I'd love to! |
Thank you for all the amazing work you are doing. π π― |
@eroane-rms writing documentation about composition is on my task-list. I expect to finish it next week. |
Hi, what is the current estimate on release of 6.0.0? My team were planning on moving from 5.2 to 5.3 but saw that 6.0 was scheduled to release yesterday. |
We' working on some more docs, there's been talks of overhauling the docs-site even. I'm working on fixing a list of bugs on the composition feature relating to CORS & auth. There's also work being done to make storybook 6 auto-compatible with typescript (0-config) And there's more delaying the release.. @shilman has some more info on this. I'd say migrating to 5.3 is a good idea: you added deprecation warnings to certain things in 5.3.x on things we removed in 6.0. So you can be prepared for when those api's do drop. See the CHANGELOG & MIGRATION guides https://github.com/storybookjs/storybook/blob/next/MIGRATION.md |
Thanks @ndelangen. Yeah, working on an updated estimate now. The big remaining items are:
|
I love the addition of being able to choose the docgen! Is there any way currently to edit the options without a |
@hipstersmoothie Nope. We're all in on |
Hi @shilman, I got here from this thread: #7066 (comment) Is there now a way to make the Docs tab default? Thank you. |
That removes the Canvas tab and doesn't make Docs the default tab. |
It will basically hide the UI tabs and panels and show the docs view by default. You can still toggle the UI tabs' and panels' visibility using keyboard shortcuts though. It's the only option you have right now. We want to improve this but there's a lot of higher priority things. A pull request is welcome though π |
@ghengeveld ok. Thanks for pointing me to a solution. |
|
@saravvij |
@shilman any tips on how to run it with typescript? |
@cescoferraro this is an umbrella issue for the 6.0 release. Please open a separate issue describing your specific problem and we'll do our best to help there! |
Just chiming in to say we recently upgraded our storybook covering a big monorepo with custom webpack configs from 5.3.x to the latest 6.0 RC's ( kudos and can't wait for the full release π |
Wow, looking forward for this β€οΈ |
Hello @ndelangen Thank you for all your work! I wanted to check in and see how you're coming along with the CORS bugs on the composition feature because I am still getting errors. |
Is 6.0.0 still planning on general release today? |
Expected Monday afternoon/evening US time. Basically when @shilman wakes up in Taiwan. |
It's published π |
π₯ release post coming π |
Storybook 6 is now in RC! That means all of the breaking changes are in, and we don't expect any destabilizing changes between now and the final release, just lots of cleanup and bug fixing (famous last words...)
Schedule
6.0.0-alpha.0
2020-01-216.0.0-beta.0
2020-04-296.0.0-rc.0
2020-07-086.0.0
2020-08-10Contents
6.0 RELEASE POST
6.0 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching
6.0.0-alpha.*
,6.0.0-beta.*
, and6.0.0-rc.*
for the full list of changes. See MIGRATION.md to upgrade from5.3
or earlier.PRs and other docs of interest:
Help wanted
We'd love your help testing out the new features, and will be documenting them here.
Migration guide
To upgrade all your
@storybook/*
packages to the latest pre-release, run:We'll provide a user-friendly migration guide for 6.0. In the meantime, there's an exhaustive list of potentially breaking changes in MIGRATION.md. Most of the breaking changes have been deprecated for months, and most of the future breaking changes are implemented as backwards-compatible deprecations for now. So, while the list of breaking changes is long and scary-looking, in practice we expect most upgrades to succeed without much extra fiddling.
Storybook Args
Args are a new concept in Storybook's Component Story Format. We've prepared an RFC to explain the idea, the feature links above and updated CSF documentation.
On the more practical side, we have a a walkthrough to get you going with the initial implementation], and an open PR to add args to Storybook's Design System.
MORE HERE SOON
Thanks for your help and stay posted for more updates!
The text was updated successfully, but these errors were encountered: