A full version history of the sinon package with size, number of distributed files and dependency evolution.
Sinon is a popular JavaScript library providing versatile tools for test spies, stubs, and mocks, simplifying the process of writing robust and maintainable unit tests. Throughout its rich history, Sinon has evolved significantly, with numerous versions released to enhance functionality and address identified issues.
The early versions, starting from 0.6.2 to 1.17.7, laid the library's foundation, introducing essential features and gradually refining the API. These versions, primarily authored by Christian Johansen, focused on core spy, stub, and mock capabilities, establishing Sinon as a go-to tool for JavaScript testing.
Version 2.0.0 marked a major milestone, introducing new dependencies like 'diff' and a shift in repository URL, indicating a move toward community-driven development. Subsequent versions in the 2.x and 3.x series refined these capabilities, adding new features and dependencies such as nise. The 4.x series introduced improvements in areas like color support.
As Sinon matured, the 5.x, 6.x, 7.x added enhanced functionalities and adopted new dependencies like @sinonjs/formatio, reflecting a modular approach. Key releases like 8.0.0 marked substantial changes and the addition of funding URLs. The library continued its evolution with the 9.x, 10.x, 11.x, 12x versions by incorporating nise for added flexibility.
Recent iterations, from 13.0.0 onward, show a commitment to dependency updates and ongoing improvements, reflecting the library's adaptation to the ever-changing JavaScript ecosystem. With the implementation of mockable timer, from the 15th version, sinon gave a more concise control over time. And finally, versions 16, 17, 18, 19 and 20 brings refinement to the library, with minor features and dependency upgrade.