Skip to content
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.4 release πŸ— #15355

Closed
shilman opened this issue Jun 25, 2021 · 7 comments
Closed

Storybook 6.4 release πŸ— #15355

shilman opened this issue Jun 25, 2021 · 7 comments

Comments

@shilman
Copy link
Member

shilman commented Jun 25, 2021

SB6.4 adds interaction testing and performance re-architecture in preparation for a huge 7.0 release.

Schedule

  • βœ… 6.4.0-alpha.0 2021-06-24
  • βœ… 6.4.0-beta.0 2021-09-22
  • βœ… 6.4.0-rc.0 2021-11-12
  • βœ… 6.4.0 2021-11-26

Contents

Storybook 6.4 contains hundreds of features and bugfixes. For a full list, see CHANGELOG.md. Some highlights:

Core

UI

Frameworks

Testing

To install in a project:

npx sb init

To upgrade an existing project to a 6.4:

npx sb@next upgrade
@kevincam3
Copy link

I did an upgrade from 6.3 to 6.4.0-alpha.25 but removing the title gives me an error. See attached. I changed the stories property in main.js to ["../src"] and also enabled it in main.js with features: {previewCsfV3: true}.

See attached error I see if I don't add a title
image

@stefan-schweiger
Copy link
Contributor

Somewhere between alpha.24 and alpha.29 there was a massive performance regression for me. Before starting storybook took about 10-20 seconds now its more up to 1-2 minutes.

@shilman shilman changed the title Storybook 6.4 release Storybook 6.4 release πŸ— Sep 21, 2021
@soilSpoon
Copy link

In the Contents section, what is written as 6.3 should be changed to 6.4

@yannbf
Copy link
Member

yannbf commented Nov 12, 2021

Somewhere between alpha.24 and alpha.29 there was a massive performance regression for me. Before starting storybook took about 10-20 seconds now its more up to 1-2 minutes.

Hey @stefan-schweiger thanks for sharing that info! Could you try again now that the RC is out?

@kdembler
Copy link

Hey @shilman, any update on separating docgen functionality from Webpack (what you mentioned in storybookjs/builder-vite#46 (comment)), is this no longer in scope for 6.4?

@darkowic
Copy link

Linter to enforce Storybook best practices

Do you have any docs for it? How does it work?

@yannbf
Copy link
Member

yannbf commented Nov 29, 2021

Linter to enforce Storybook best practices

Do you have any docs for it? How does it work?

Hey @darkowic, you can find the eslint-plugin and its docs over this repository: https://github.com/storybookjs/eslint-plugin-storybook

Thanks for your interest!

@shilman shilman closed this as completed Dec 1, 2021
fredvisser added a commit to ni/nimble that referenced this issue Dec 6, 2021
# Pull Request

## 🀨 Rationale

We've been running Storybook 6.4 beta for awhile, but Storybook 6.4 [recently](storybookjs/storybook#15355) went final.

## πŸ‘©β€πŸ’» Implementation

1. Updated to 6.4 final packages
2. Installed new [Interactions add-on](https://www.npmjs.com/package/@storybook/addon-interactions)
3. Installed new [Storybook eslint rules](https://github.com/storybookjs/eslint-plugin-storybook)
4. Fixed `Story` typing within the stories. Using `StoryObj` for CSF 3 stories.
5. Removed the `layout: 'fullscreen'` parameter, to restore default Storybook padding around each control. Also, removed non-functional `preview-head.html` styling.

## πŸ§ͺ Testing

 1. Local build, lint, test
 2. Run Storybook and review all pages, add-ons, etc.
 3. Reviewed Chromatic to confirm all changes related only to padding change

## βœ… Checklist

- [x] I have updated the project documentation to reflect my changes or determined no changes are needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants