Releases: storybookjs/storybook
Releases · storybookjs/storybook
v8.6.0-alpha.0
8.6.0-alpha.0
v8.5.0
8.5.0
Storybook 8.5 is packed with powerful features to enhance your development workflow. This release makes it easier than ever to build accessible, well-tested UIs. Here’s what’s new:
- 🦾 Realtime accessibility tests to help build UIs for everybody
- 🛡️ Project code coverage to measure the completeness of your tests
- 🎯 Focused tests for faster test feedback
- ⚛️ React Native Web Vite framework (experimental) for testing mobile UI
- ⚛️ React 19 support
- 🎁 Storybook test early access program to level up your testing game
- 💯 Hundreds more improvements
List of all updates
- Addon A11y: Add conditional rendering for a11y violation number in Testing Module - #30073, thanks @valentinpalkovic!
- Addon A11y: Add typesVersions support for TypeScript definitions in a11y package - #30005, thanks @valentinpalkovic!
- Addon A11y: Adjust default behaviour when using with experimental-addon-test - #30162, thanks @valentinpalkovic!
- Addon A11y: Change default element selector - #30253, thanks @valentinpalkovic!
- Addon A11y: Create a11y test provider and revamp a11y addon - #29643, thanks @valentinpalkovic!
- Addon A11y: Don't set a11y tag as comment in automigrations - #30257, thanks @valentinpalkovic!
- Addon A11y: Fix skipped status handling in Testing Module - #30077, thanks @valentinpalkovic!
- Addon A11y: Refactor environment variable handling for Vitest integration - #30022, thanks @valentinpalkovic!
- Addon A11y: Remove warnings API - #30049, thanks @kasperpeulen!
- Addon A11y: Run the a11y automigration on postInstall - #30004, thanks @kasperpeulen!
- Addon A11y: Show errors of axe properly - #30050, thanks @kasperpeulen!
- Addon A11y: Update accessibility status handling in TestProviderRender - #30027, thanks @valentinpalkovic!
- Addon Docs: Dynamically import rehype - #29544, thanks @valentinpalkovic!
- Addon Docs: Make new code panel opt in - #30248, thanks @shilman!
- Addon Onboarding: Prebundle react-confetti - #29996, thanks @yannbf!
- Addon Test: Add
@vitest/coverage-v8
during postinstall if no coverage reporter is installed - #29993, thanks @ghengeveld! - Addon Test: Add prerequisite check for MSW - #30193, thanks @yannbf!
- Addon Test: Add support for previewHead - #29808, thanks @ndelangen!
- Addon Test: Add Vitest 3 support - #30181, thanks @valentinpalkovic!
- Addon Test: Always run Vitest in watch mode internally - #29749, thanks @JReinhold!
- Addon Test: Always use installed version of vitest - #30134, thanks @kasperpeulen!
- Addon Test: Clarify message when
vitest
detects missing deps - #29763, thanks @ndelangen! - Addon Test: Clear coverage data when starting or watching - #30072, thanks @ghengeveld!
- Addon Test: Context menu UI - #29727, thanks @ghengeveld!
- Addon Test: Context menu updates - #30107, thanks @ghengeveld!
- Addon Test: Correctly stop Storybook when Vitest closes - #30012, thanks @JReinhold!
- Addon Test: Filter out falsy test results in TestProviderRender - #30001, thanks @valentinpalkovic!
- Addon Test: Fix documentation links - #30128, thanks @yannbf!
- Addon Test: Fix duplicate
test.include
patterns - #30029, thanks @JReinhold! - Addon Test: Fix environment variable for Vitest Storybook integration - #30054, thanks @valentinpalkovic!
- Addon Test: Fix error reporting for
vitest
crashes - #29751, thanks @ndelangen! - Addon Test: Fix generated path to
vitest.setup.js
- #30233, thanks @JReinhold! - Addon Test: Fix indexing behavior - #29836, thanks @yannbf!
- Addon Test: Fix printing null% for coverage - #30061, thanks @ghengeveld!
- Addon Test: Fix run request while booting or restarting Vitest - #29829, thanks @ghengeveld!
- Addon Test: Handle undefined storyId - #29998, thanks @ghengeveld!
- Addon Test: Improve error message on missing coverage package - #30088, thanks @JReinhold!
- Addon Test: Improve support for mono-repos - #30216, thanks @valentinpalkovic!
- Addon Test: Make component tests status row link to the story's tests panel - #29992, thanks @ghengeveld!
- Addon Test: Merge viteFinal config into vitest config - #29806, thanks @ndelangen!
- Addon Test: Only optimize react deps if applicable in vitest-plugin - #29617, thanks @yannbf!
- Addon Test: Only reset story count on file change when watch mode is enabled - #30121, thanks @ghengeveld!
- Addon Test: Optimize internal dependencies - #29595, thanks @yannbf!
- Addon Test: Prompt switch to
experimental-nextjs-vite
- #29814, thanks @ndelangen! - Addon Test: Refactor test addon to include stories automatically - #29367, thanks @yannbf!
- Addon Test: Remove a11y placeholder - #29769, thanks @JReinhold!
- Addon Test: Replace
glob
withtinyglobby
- #29817, thanks @ghengeveld! - Addon Test: Serve
staticDirs
with Vitest - #29811, thanks @ghengeveld! - Addon Test: Show sub test provider toggle state in main testing module - #30019, thanks @ghengeveld!
- Addon Test: Support Storybook environment variables in Vitest - #29792, thanks @ghengeveld!
- Addon Test: Use correct vitest config file path - #30135, thanks @kasperpeulen!
- Addon Test: Use local storybook binary instead - #30021, thanks @kasperpeulen!
- Addon Test: Use ProgressSpinner for stop button in Testing Module - #29997, thanks @ghengeveld!
- Addon Test: Wait for 2 seconds before showing result mismatch warning - #30002, thanks @ghengeveld!
- Addon Test: Wrap sub-paths exported with
require.resolve
- #30026, thanks @ndelangen! - Addon Themes: Deprecate useThemeParameters - #30111, thanks @yannbf!
- Angular: Support statsJson in angular schemas - #29233, thanks @yannbf!
- Automigration: Improve addon-a11y-addon-test - #30127, thanks @valentinpalkovic!
- Automigration: Improve setup file transformation and version range handling for a11y migration - #30060, thanks @valentinpalkovic!
- Automigrations: Skip vite config file migration for react native web - #30190, thanks @dannyhw!
- Build: Downgrade to esbuild 0.24.0 - #30116, thanks @yannbf!
- Build: Revert Downgrade to esbuild 0.24.0 - #30120, thanks @yannbf!
- CLI: Fix init help for
storybook
command - #29480, thanks @toothlessdev! - CLI: Fix new-frameworks automigration - #29804, thanks @yannbf!
- CLI: Re-Add Nuxt support - #28607, thanks @valentinpalkovic!
- CLI: Update a11y-test comment with experimental caveat - [#30258](https://github.com/storybookjs/storybook/pu...
v8.5.0-beta.11
8.5.0-beta.11
- CLI: Update a11y-test comment with experimental caveat - #30258, thanks @shilman!
- Manager API: Fix infinite render-loop caused by
useSharedState
- #30259, thanks @JReinhold!
v8.5.0-beta.9
8.5.0-beta.9
- Addon Test: Add prerequisite check for MSW - #30193, thanks @yannbf!
- Addon Test: Improve support for mono-repos - #30216, thanks @valentinpalkovic!
- Vitest: Add plugins from
viteFinal
- #30105, thanks @JReinhold!
v8.5.0-beta.10
8.5.0-beta.10
- Addon A11y: Adjust default behaviour when using with experimental-addon-test - #30162, thanks @valentinpalkovic!
- Addon A11y: Change default element selector - #30253, thanks @valentinpalkovic!
- Addon Docs: Make new code panel opt in - #30248, thanks @shilman!
- Addon Test: Fix generated path to
vitest.setup.js
- #30233, thanks @JReinhold!
v8.5.0-beta.8
8.5.0-beta.8
- Automigrations: Skip vite config file migration for react native web - #30190, thanks @dannyhw!
- Maintenance: Move
@types/node
todevDeps
consistently - #30163, thanks @ndelangen! - Manager: Optimize getPanels function with memoization - #30192, thanks @valentinpalkovic!
- RNW-Vite: Fix reanimated support with babel plugin for node_modules - #30188, thanks @dannyhw!
- React: Force act running always in sequence - #30191, thanks @valentinpalkovic!
- UI: Fix overlapping shadow of testing module on scrollbar - #30132, thanks @valentinpalkovic!
- Vite: Fix wrong import paths when configDir is not in project root - #30206, thanks @JReinhold!
v8.5.0-beta.7
v8.5.0-beta.6
8.5.0-beta.6
- Addon Test: Always use installed version of vitest - #30134, thanks @kasperpeulen!
- Addon Test: Fix documentation links - #30128, thanks @yannbf!
- Addon Test: Use correct vitest config file path - #30135, thanks @kasperpeulen!
- Automigration: Improve addon-a11y-addon-test - #30127, thanks @valentinpalkovic!
v8.5.0-beta.5
8.5.0-beta.5
- Addon Test: Only reset story count on file change when watch mode is enabled - #30121, thanks @ghengeveld!
- Build: Revert Downgrade to esbuild 0.24.0 - #30120, thanks @yannbf!
- Core: Fix
ERR_PACKAGE_PATH_NOT_EXPORTED
in@storybook/node-logger
- #30093, thanks @JReinhold! - React: Use Act wrapper in Storybook for component rendering - #30037, thanks @valentinpalkovic!
- Vite: Add extra entries to
optimizeDeps
- #30117, thanks @ndelangen!
v8.5.0-beta.4
8.5.0-beta.4
- Addon Themes: Deprecate useThemeParameters - #30111, thanks @yannbf!
- Build: Downgrade to esbuild 0.24.0 - #30116, thanks @yannbf!
- CLI: Re-Add Nuxt support - #28607, thanks @valentinpalkovic!
- Core: Prevent infinite rerendering caused by comparison by reference - #30081, thanks @ghengeveld!