Version 8.0.5 of @testing-library/react introduces some notable updates compared to its predecessor, version 8.0.4, primarily affecting dependencies. The core functionality of providing simple and complete React DOM testing utilities remains consistent, encouraging good testing practices for React applications.
A key difference lies in the updated dependencies. Version 8.0.5 upgrades @babel/runtime to ^7.5.4 from ^7.4.5 and bumps @testing-library/dom to ^5.5.4 from ^5.0.0. This likely includes bug fixes and performance improvements within those underlying libraries, enhancing the robustness of the testing environment.
Several development dependencies present in version 8.0.4, such as intl, axios, redux, history, jest-dom, react-intl, react-redux, react-router, react-router-dom, react-transition-group, and eslint-import-resolver-jest, have been removed in 8.0.5. While it might seem like a reduction in functionality, this likely reflects a restructuring of the development process or a shift in tooling, potentially streamlining the library's footprint and build process. However, you might need to install some of them manually depending on your needs.
For developers using @testing-library/react, these changes suggest a focus on dependency updates and refinements in the development workflow. Upgrading to version 8.0.5 should provide a more up-to-date testing environment, benefiting from the improvements within the core dependencies. Always ensure compatibility with your project's React and React DOM versions when upgrading. The peerDependencies remain consistent, requiring react and react-dom with a version constraint of "*".
The are not vulnerabilities for the version 8.0.5 of the package @testing-library/react