The @storybook/addon-viewport package, a tool for building responsive components within Storybook by dynamically adjusting the viewport size and orientation, saw a recent update from version 6.5.15 to 6.5.16. While the core functionality remains consistent – providing an environment for developers to test their components across various screen sizes directly within the Storybook UI – subtle changes have been implemented, primarily focused on internal package dependencies.
A key difference lies in the updated dependencies. Version 6.5.16 features newer versions of @storybook/api, @storybook/addons, @storybook/theming, @storybook/components, @storybook/core-events, and @storybook/client-logger, all bumped to 6.5.16 to align with the broader Storybook ecosystem. These updates likely include bug fixes, performance improvements, and new features within the Storybook platform that the viewport addon leverages. This change ensures better compatibility and a more streamlined experience for developers already using Storybook.
For developers, the most relevant aspect is the assurance of continued compatibility and access to the latest features within the Storybook environment. If you're already using @storybook/addon-viewport, upgrading to 6.5.16 is recommended to benefit from potential improvements and bug fixes in the underlying Storybook dependencies. The peer dependencies, react and react-dom, remain unchanged, ensuring compatibility with existing React projects using versions 16.8.0 or higher. Overall, the update represents a maintenance release focused on enhancing the stability and integration of the addon within the Storybook ecosystem.
The are not vulnerabilities for the version 6.5.16 of the package @storybook/addon-viewport