@storybook/react version 9.0.4 is a minor update to the Storybook React renderer, building upon the foundation laid by version 9.0.3. The core functionality remains consistent, providing developers with a robust environment for building and showcasing React components. Key features such as hot module replacement, component isolation, and various add-ons for enhanced testing and documentation are still present.
The primary difference lies in the dependency updates. The "@storybook/react-dom-shim" dependency has been bumped from version 9.0.3 to 9.0.4, which likely includes internal bug fixes and potential performance improvements relevant to the React DOM environment within Storybook. This update ensures better compatibility and stability with the latest React features and ecosystem tools.
Developers should note the peer dependencies remain the same, requiring React and React DOM versions ^16.8.0, ^17.0.0, ^18.0.0, or ^19.0.0-beta, Storybook version ^9.0.4(making 9.0.4 the minimum required version now) and TypeScript version >= 4.9.x. For users already on Storybook 9.0.3, upgrading to 9.0.4 should be straightforward. However, it's always recommended to review the Storybook changelog and release notes for comprehensive details on specific changes and potential breaking changes (even though minor releases rarely introduce them). The release date of the new version is June 1st, 2025 while the previous was released on May 31st, 2025, only a couple days behind.
The are not vulnerabilities for the version 9.0.4 of the package @storybook/react