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.2 Release 🀝 #13160

Closed
shilman opened this issue Nov 18, 2020 · 16 comments
Closed

Storybook 6.2 Release 🀝 #13160

shilman opened this issue Nov 18, 2020 · 16 comments

Comments

@shilman
Copy link
Member

shilman commented Nov 18, 2020

Storybook 6.2 will focus on improved compatibility with the JS ecosystem

Schedule

  • βœ… 6.2.0-alpha.0 2020-12-01
  • βœ… 6.2.0-beta.0 2021-02-22
  • βœ… 6.2.0-rc.0 2021-03-15
  • 🏁 6.2.0 2021-03-30

Contents

  • Vue 3 - Official support for the latest version of Vue.
  • Webpack 5 - Experimental support for the latest version of Webpack.
  • Angular - Overhauled Angular support.
  • Svelte - Overhauled Svelte support.
  • Controls++ - Improvements including URL sync, JSON editor, filtering, sorting, and more.

🧾 Migration instructions

@shilman shilman changed the title Storybook 6.2 Release Storybook 6.2 Release ⚑️ Nov 18, 2020
@bismarkhenao
Copy link

Hi @shilman, can I help with this?

@shilman
Copy link
Member Author

shilman commented Nov 19, 2020

@bismarkhenao Absolutely, thanks so much for your interest! I'll be organizing some issues for the 6.2 milestone and will post it here for anybody who's interested in contributing. Also, we have a discord chat where the community hangs out, and joining is the best way of getting involved: https://discord.gg/storybook

@bismarkhenao
Copy link

@bismarkhenao Absolutely, thanks so much for your interest! I'll be organizing some issues for the 6.2 milestone and will post it here for anybody who's interested in contributing. Also, we have a discord chat where the community hangs out, and joining is the best way of getting involved: https://discord.gg/UUt2PJb

Got it! Thanks!!

@shilman shilman added this to the 6.2 core milestone Nov 25, 2020
@stale
Copy link

stale bot commented Dec 25, 2020

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@VincentLanglet
Copy link

IMHO, as long as the manager builder is using webpack 4, the release should not talk about webpack 5 support.

Having both webpack 4 and webpack 5 in the node modules is really bad practice which can lead to weird behavior.
See #14012 or symfony/webpack-encore#942 (comment).

@kayue
Copy link

kayue commented Mar 3, 2021

Second @VincentLanglet . Storybook 6.2 is causing error in symfony/stimulus-bridge .

@VincentLanglet
Copy link

Take a look at #14044, there is a solution to avoid using two different versions of webpack

@darkowic
Copy link

DeprecationWarning: Relying on the implicit PostCSS loader is deprecated and will be removed in Storybook 7.0.
If you need PostCSS, include '@storybook/addon-postcss' in your '.storybook/main.js' file

What if not relying on it? How to get rid of the warning?

@fabian-michael
Copy link

@darkowic

Run

yarn add -D @storybook/addon-postcss postcss

and this to the addons in your main.js

{
	name: "@storybook/addon-postcss",
	options: {
		postcssLoaderOptions: {
			implementation: require('postcss')
		}
	}
}

@darkowic
Copy link

@darkowic

Run

yarn add -D @storybook/addon-postcss postcss

and this to the addons in your main.js

{
	name: "@storybook/addon-postcss",
	options: {
		postcssLoaderOptions: {
			implementation: require('postcss')
		}
	}
}

@fabian-michael yeah, but what if I don't use postcss and don't need this addon?

@shilman
Copy link
Member Author

shilman commented Mar 29, 2021

@darkowic this is a warning for anybody who does use it. we plan to remove it in 7.0, so we want people to switch over now. since you don't use it and don't want the warning, do you have any suggestions on what we can do about it?

@darkowic
Copy link

darkowic commented Mar 29, 2021

@darkowic this is a warning for anybody who does use it. we plan to remove it in 7.0, so we want people to switch over now. since you don't use it and don't want the warning, do you have any suggestions on what we can do about it?

I prefer to avoid warnings in the console. In this case, I have to add this warning or see a console warning. If right now, I know that I do not use it there is no option to hide this warning without actually installing the not used addon. I can live with the addon and comment to remove later...

@shilman
Copy link
Member Author

shilman commented Mar 29, 2021

@darkowic I understand not wanting to see warnings, especially when they don't apply to you. I'm just not sure there's a lightweight way to fix it other than what you suggested

@darkowic
Copy link

@darkowic I understand not wanting to see warnings, especially when they don't apply to you. I'm just not sure there's a lightweight way to fix it other than what you suggested

Well, some option to quiet this warning maybe. Not sure how this could be set tbh. In the main config? Anyways, it's a minor issue.

@shilman shilman changed the title Storybook 6.2 Release ⚑️ Storybook 6.2 Release ✨ Mar 30, 2021
@shilman shilman changed the title Storybook 6.2 Release ✨ Storybook 6.2 Release 🀝 Mar 30, 2021
@petermikitsh
Copy link
Contributor

Webpack stats' errors-only option might suppress the deprecation warning:

module.exports = {
  //...
  stats: 'errors-only',
};

https://webpack.js.org/configuration/stats/

@matamatanot
Copy link
Contributor

https://github.com/storybookjs/storybook/releases/tag/v6.2.0
πŸŽ‰

@shilman shilman closed this as completed Mar 31, 2021
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

8 participants