Version 8.2.0 of @storybook/addon-links introduces a notable shift in its dependencies, primarily aimed at enhancing compatibility and simplifying the development experience for Storybook users. One significant change is the update to @storybook/csf to version 0.1.11 from ^0.1.7 in the previous version 8.1.11. This update likely incorporates bug fixes, performance improvements, and new features within the Component Story Format (CSF), impacting how stories are defined and managed.
Another key difference lies in the removal of several @storybook packages from the devDependencies. Specifically, @storybook/types, @storybook/router, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, and @storybook/client-logger are no longer listed as development dependencies in version 8.2.0. This suggests that the development process for the addon itself has been streamlined, potentially relying on more generic tooling or incorporating these functionalities directly within the core Storybook framework.
Furthermore, the peerDependencies remain consistent, ensuring compatibility with various React versions (16.8.0 to 19.0.0-beta) and requiring Storybook version 8.2.0 making it mandatory to update Storybook to the latest version if you want to upgrade. Developers upgrading to version 8.2.0 should be aware of the updated @storybook/csf dependency and the implications of removed development dependencies, potentially affecting local addon development workflows. The update reflects a refinement of the addon's internal structure and dependencies, ultimately aiming for a more robust and maintainable integration with Storybook.
The are not vulnerabilities for the version 8.2.0 of the package @storybook/addon-links