A full version history of the @testing-library/react package with size, number of distributed files and dependency evolution.
@testing-library/react is a versatile npm package offering simple yet comprehensive React DOM testing utilities, promoting effective testing methodologies. The package has undergone numerous revisions, starting from version 0.0.0 in May 2019, demonstrating a commitment to ongoing improvement and adaptation.
Early versions (8.x.x and 9.x.x) focused on solidifying core functionalities and dependencies like @testing-library/dom and @babel/runtime. As the library evolved into versions 10.x.x and 11.x.x, there was a notable emphasis on development tooling, incorporating dtslint and TypeScript to enhance code quality and maintainability.
Subsequent releases, particularly from version 12.x.x onwards, demonstrated a clear adaptation to the evolving React ecosystem. React v18 compatibility was introduced in version 13.0.0 along with peer dependency updates. Peer dependencies in the latest versions (15.x.x and beyond) specify React and React DOM versions demonstrating compatibility with React 18 and 19. Further, version 16 and later introduces DOM library as peer dependency, ensuring alignment with React DOM libraries.
With each update, @testing-library/react has consistently refined its utilities, aiming to provide developers with robust and reliable tools for testing React applications.