Jest CLI has released version 30.0.0, a significant update from the previous stable version 29.7.0. This new release brings several key changes, impacting developers who rely on Jest for JavaScript testing. One notable shift is in the dependency management. Version 30.0.0 has updated many core dependencies to version 30.0.0, including @jest/core, @jest/types, jest-config, jest-util, and @jest/test-result. Developers should ensure compatibility of their existing configurations and custom reporters with these updated core packages. Additionally, this version updates yargs significantly from 17.3.1 to 17.7.2 and chalk from ^4.0.0 to ^4.1.2. The exit dependency changes from ^0.1.2 to exit-x ^0.2.2 which may introduce some compatibility issues.
Moreover, create-jest has been removed as a direct dependency. Developers who previously relied on jest-cli to create new projects may need to consider alternative methods. The dist section also reflects a change in the package structure, with fileCount decreasing slightly from 8 to 7, but the unpacked size increasing from 33823 to 34934, suggesting changes in the bundled files. The package @types/yargs has been upgraded from ^17.0.8 to ^17.0.33. Crucially, version 30.0.0 anticipates a release date far in the future (2025-06-10), which could indicate a pre-release or milestone version. Developers should carefully evaluate whether they want to upgrade to this version given the potential for instability. Stay updated by checking the official Jest documentation and release notes for details on migration and best practices.
The are not vulnerabilities for the version 30.0.0 of the package jest-cli