Change8

v30.1.0

📦 jestView on GitHub →
3 features🐛 4 fixes🔧 7 symbols

Summary

This release adds configurable GC aggressiveness, reduces redundant ReferenceError messages, improves failure reporting for onlyFailures mode, and fixes several snapshot, concurrency, and import path issues.

✨ New Features

  • [jest-leak-detector] Configurable GC aggressiveness regarding to V8 heap snapshot generation ([#15793](https://github.com/jestjs/jest/pull/15793/))
  • [jest-runtime] Reduce redundant ReferenceError messages
  • [jest-core] Include test modules that failed to load when --onlyFailures is active

🐛 Bug Fixes

  • [jest-snapshot-utils] Fix deprecated goo.gl snapshot guide link not getting replaced with fully canonical URL ([#15787](https://github.com/jestjs/jest/pull/15787))
  • [jest-circus] Fix `it.concurrent` not working with `describe.skip` ([#15765](https://github.com/jestjs/jest/pull/15765))
  • [jest-snapshot] Fix mangled inline snapshot updates when used with Prettier 3 and CRLF line endings
  • [jest-runtime] Importing from `@jest/globals` in more than one file no longer breaks relative paths ([#15772](https://github.com/jestjs/jest/issues/15772))

🔧 Affected Symbols

jest-leak-detectorjest-runtimejest-corejest-snapshot-utilsjest-circusjest-snapshotexpect