A full version history of the @storybook/addon-viewport package with size, number of distributed files and dependency evolution.
The @storybook/addon-viewport npm package has undergone extensive evolution, reflected in its numerous releases from version 3.2.0 in 2017 to the present day. Initially, the addon focused on providing a simple mechanism to switch viewport sizes for mobile responsiveness testing within Storybook. Early versions (3.x) saw rapid iterations, primarily updating dependencies on @storybook/components while maintaining the core functionality.
The 4.x series introduced @emotion/styled and aligned with Storybook 4.0's architecture, enhancing component styling and overall integration. Version 5.x embraced core-js and memoizerific for performance improvements and compatibility, also saw its repository moved to storybookjs on Github. The migration to Storybook 6 introduced peer dependencies on react-dom and ushered in a new era of frequent minor updates.
Versions 6.1-6.5 refined the addon with modern dependencies, support and optimizations. Storybook 7.0 simplified dependencies and streamlined the package, setting the stage for the subsequent focus on stability and compatibility improvements throughout the 7.x series. Version 7.6.x started to slim down the package dependencies.
The addon now reaches version 8, indicating a mature and actively maintained project dedicated to providing a performant and robust viewport control solution within Storybook. The consistent updates showcase a commitment to evolving with the broader Storybook ecosystem and addressing the needs of responsive web development. Notably, versions 9 are only empty packages and should no longer be used.