@storybook/addon-interactions version 8.2.8 introduces subtle but important updates over its predecessor, version 8.2.7. Both versions serve the core purpose of automating, testing, and debugging user interactions within Storybook stories, leveraging a suite of utilities to build robust and interactive UI components.
The primary difference lies in the internal dependencies, specifically, @storybook/test and @storybook/instrumenter which were bumped to version 8.2.8. This synchronized upgrade, though seemingly small, ensures better compatibility and potentially unlocks new features or bug fixes within the testing and instrumentation frameworks provided by Storybook. They enable developers to write expressive tests directly within their stories, capturing user flows and verifying component behavior, offering a more integrated and streamlined testing experience and better debugging capabilities.
Both versions share identical development dependencies, including popular libraries like React, React-DOM, Formik, and Typescript alongside essential Storybook utilities such as @storybook/icons and @devtools-ds/object-inspector. This consistency ensures a stable and familiar development environment regardless of the specific addon version. The common peer dependency "storybook" indicates a tight coupling with the Storybook core.
Developers who upgrade to version 8.2.8 can expect enhanced stability, potentially improved performance in testing workflows, and access to the latest instrumentation capabilities offered by the Storybook ecosystem. The update maintains the same API and overall functionality, which allow easier migration. Therefore, updating is generally low-risk but delivers worthwhile improvements that benefit the development process.
The are not vulnerabilities for the version 8.2.8 of the package @storybook/addon-interactions