@storybook/addon-interactions version 8.6.12 offers a subtle but essential upgrade from version 8.6.11, focusing on enhancing the reliability and stability of interaction testing within Storybook. Both versions empower developers to automate, test, and debug user interactions within their React components. Key dependencies like polished, ts-dedent, @storybook/test, @storybook/global and @storybook/instrumenter are leveraged to provide a robust testing environment.
While the core functionality remains consistent, the primary difference lies in the updated peer dependency, requiring storybook version 8.6.12. This suggests that the new version likely contains internal adjustments to ensure compatibility with the latest Storybook release, potentially addressing minor bugs or incorporating improvements to the interaction testing engine. Developers leveraging Storybook's interaction testing features should upgrade to version 8.6.12 to benefit from these enhancements and maintain optimal performance and compatibility.
Both versions equip developers with tools to create repeatable and verifiable user interaction scenarios directly within their Storybook stories. This facilitates Behavior-Driven Development (BDD) and ensures consistent component behavior across different contexts. The inclusion of devDependencies like React, Formik, and TypeScript ensures a smooth integration with modern React projects, while dependencies like ansi-to-html and @devtools-ds/object-inspector aid in debugging and visualizing test results effectively. By keeping these packages to the latest versions, the library benefits from better performance and security.
The are not vulnerabilities for the version 8.6.12 of the package @storybook/addon-interactions