@storybook/addon-viewport is a valuable tool for Storybook users, enabling developers to build and test responsive components directly within the Storybook environment by simulating different screen sizes and orientations. Comparing version 6.5.12 and the previous stable version 6.5.11, subtle but important differences emerge primarily within the dependency versions.
While the core functionality remains consistent – allowing users to define and switch between various viewport configurations for rapid responsive design prototyping – the key changes lie in the updated internal dependencies. Specifically, dependencies like @storybook/api, @storybook/addons, @storybook/theming, @storybook/components, @storybook/core-events, and @storybook/client-logger saw version bumps from 6.5.11 to 6.5.12. These updates likely include bug fixes, performance improvements, and potentially new features within the broader Storybook ecosystem, impacting the viewport addon indirectly via updated APIs or shared components.
The peer dependencies for React and React-DOM remain unchanged, ensuring compatibility with React versions 16.8.0, 17.0.0, and 18.0.0. Developers should upgrade to 6.5.12 primarily to benefit from the collective improvements and bug fixes incorporated within the updated core Storybook dependencies, leading to a more stable and performant Storybook experience overall when working on responsive designs. The release date difference of a single day also suggests that 6.5.12 addresses a recently identified critical bug or security issue present in 6.5.11.
The are not vulnerabilities for the version 6.5.12 of the package @storybook/addon-viewport