@storybook/addon-links version 8.6.0 introduces subtle but potentially impactful changes compared to version 8.5.8, primarily impacting developers using Storybook for building UI component demos and prototypes.
A key difference lies in the dependencies. Version 8.6.0 removes the direct dependency on @storybook/csf (Component Story Format), version 0.1.12, which was present in version 8.5.8. While seemingly minor, this could affect how the addon interacts with stories defined using the CSF format. Developers should note whether they relied on any internal functionalities exposed by @storybook/csf through the addon, as this could present a breaking change. The new storybook peer dependency reflects this removal.
The devDependencies also show an update. Version 8.6.0 utilizes the newer TypeScript version ^5.7.3 while version 8.5.8 uses ^5.3.2, This brings the addon up to date with Typescript tooling and may impact type definitions if your project isn't up to date.
Furthermore, the peer dependency on storybook is now explicitly set to ^8.6.0 in the latest version, aligning the addon directly with the core Storybook version. This tighter coupling suggests closer integration and compatibility with new features introduced in Storybook 8.6.0, potentially unlocking new possibilities for linking stories and creating more sophisticated navigational flows within Storybook environments. In contrast, version 8.5.8 has storybook as ^8.5.8.
The unpacked size of the newer version is also slightly larger, at 19965 bytes compared to 18921 bytes. This along with the change to the peer dependency indicates that there is a non-trivial change to the addon.
The are not vulnerabilities for the version 8.6.0 of the package @storybook/addon-links