v7.5.0
版本发布时间: 2023-10-17 21:49:36
storybookjs/storybook最新发布版本:v8.3.6(2024-10-18 21:17:55)
7.5.0
Storybook 7.5 enhances your Storybook experience with several key updates:
- 💃🏼 Now supports Lit 3.0 and Vite 5
- 👻 storiesOf and storyStoreV6 officially deprecated
- 🔨 Fix Webpack5 build errors not being propagated
- 🀄 Support rename font import for Next.js
- ⬆️ Upgrade react-docgen to 6.0.x and improve argTypes
- ✨ Many Angular improvements such as introducing argsToTemplate , new schema debugging options, support for standalone directives, etc.
List of all updates
- Angular: Introduce argsToTemplate for property and event Bindings - #24434, thanks @valentinpalkovic!
- Angular: Add schema options (debugWebpack, webpackStatsJson, and more) - #24388, thanks @yannbf!
- Angular: Categorize legacy build options error - #24014, thanks @yannbf!
- Angular: Fix Angular 15 support and add zone.js v0.14.x support - #24367, thanks @valentinpalkovic!
- Angular: Allow loading standalone directives - #24448, thanks @osnoser1!
- CLI: Inform the user how to dedupe and strip color from info command - #24087, thanks @kasperpeulen!
- CLI: Add more information to storybook info command - #24003, thanks @JReinhold!
- CLI: Change /Date$/ to /Dates$/i - #24195, thanks @arup1221!
- CLI: Improve sanitization logic in crash reports - #24028, thanks @yannbf!
- CLI: Remove random commas in storybook upgrade logs - #22333, thanks @joaonunomota!
- Controls: Fix select / multiselect when value contains multiple spaces - #22334, thanks @oxcened!
- Core: Add class name to Storybook error name - #24371, thanks @yannbf!
- Core: Deprecate storyStoreV6 (including storiesOf) and storyIndexers - #23938, thanks @JReinhold!
- Doc Blocks: Add title to Meta prop types - #23370, thanks @iqbalcodes6602!
- ManagerAPI: Fix bug with story redirection when URL has partial storyId - #24345, thanks @ndelangen!
- NextJS: Support rename font import - #24406, thanks @yoshi2no!
- NextJS: Change babel plugins from proposal-... to transform-... - #24290, thanks @roottool!
- NextJS: Fix default next image loader when src has params - #24187, thanks @json-betsec!
- NextJS: Fix Image Context re-use via singleton - #24146, thanks @martinnabhan!
- NextJS: Improve support for Windows-style paths - #23695, thanks @T99!
- React: Upgrade
react-docgen
to6.0.x
and improve argTypes - #23825, thanks @shilman! - Svelte: Fix docs generating when using
lang="ts"
or optional chaining - #24096, thanks @j3rem1e! - UI: Filter some manager errors - #24217, thanks @yannbf!
- UI: Fix className missing in syntaxhighlighter - #24491, thanks @ndelangen!
- UI: Update ScrollArea with radix - #24413, thanks @cdedreuille!
- UI: Improve contrast ratio between focus / hover - #24205, thanks @chocoscoding!
- Vite: Move mdx-plugin from
@storybook/builder-vite
to@storybook/addon-docs
- #24166, thanks @bryanjtc! - Vite: Support Vite 5 - #24395, thanks @IanVS!
- Web-components: Add Lit3 support - #24437, thanks @shilman!
- Webpack: Display errors on build - #24377, thanks @yannbf!
- Webpack: Categorize builder error - #24031, thanks @yannbf!
- Webpack: Use logger.warn on warnings - #24472, thanks @yannbf!