Ts-jest version 28.0.0 marks a significant update from the previous stable version, 27.1.5, for developers utilizing Jest to test TypeScript projects. The primary difference lies in the updated peer dependencies, most notably a bump in the supported Jest version to ^28.0.0. Previously, version 27.1.5 supported ^27.0.0. This change necessitates an upgrade to Jest if you're moving to ts-jest 28.0.0. Similarly, the babel-jest peer dependency is now also locked to version ^28.0.0, diverging from the >=27.0.0 <28 range of the previous version. TypeScript support remains broad at >=4.3, but developers should note the tightened restrictions on associated peer dependencies beyond basic semver considerations.
The @jest/types dev dependency also reflects the Jest update from ^27.4.2 to ^28.0.0. The jest-util dependency also gets a ^28.0.0 version which was ^27.0.0. These reflect the general upgrade of the jest ecosystem dependencies. Furthermore, the newer version has three additional files included in the packaged distribution alongside a slightly smaller unpacked size, hinting at internal restructuring or optimization. Developers should consult the official ts-jest migration guide for the full scope of changes and potential breaking changes, especially if relying on internal APIs or configurations. The upgrade offers access to the latest Jest features and improvements, but requires careful planning and testing to ensure compatibility.
The are not vulnerabilities for the version 28.0.0 of the package ts-jest