Skip to content

v28.0.0-alpha.9

Pre-release
Pre-release
Compare
Choose a tag to compare
@SimenB SimenB released this 19 Apr 11:05
· 1177 commits to main since this release

Features

  • [jest-core] Stabilize test runners with event emitters (#12641)
  • [jest-core, jest-watcher] [BREAKING] Move TestWatcher class to jest-watcher package (#12652)
  • [jest-core] Allow using Summary Reporter as stand-alone reporter (#12687)
  • [jest-environment-node] Add all available globals to test globals, not just explicit ones (#12642)
  • [@jest/reporters] Add GitHub Actions reporter (#12658)
  • [@jest/reporters] Pass reporterContext to custom reporter constructors as third argument (#12657)
  • [jest-resolve] Support package self-reference (#12682)
  • [jest-runner] Exposing CallbackTestRunner, EmittingTestRunner abstract classes to help typing third party runners (#12646)
  • [jest-runtime] [BREAKING] Remove Context type export, it must be imported from @jest/test-result (#12685)
  • [jest-transform] [BREAKING] Make it required for process() and processAsync() methods to always return structured data (#12638)

Fixes

  • [expect] Fix print for the closeTo matcher (#12626)
  • [jest-each] Fixes error message with incorrect count of missing arguments (#12464)
  • [jest-haste-map] Make watchman existence check lazy+async (#12675)
  • [jest-mock] Handle overridden Function.name property (#12674)
  • [jest-resolver] Call custom resolver with core node.js modules (#12654)

Chore & Maintenance

  • [*] [BREAKING] Drop support for typescript@4.2, minimum version is now 4.3 (#12648)
  • [docs] Add upgrading guide (#12633)
  • [jest-config] [BREAKING] Rename config option name to id (#11981)
  • [jest-haste-map] Remove legacy isRegExpSupported (#12676)
  • [jest-runner] [BREAKING] Second argument to constructor (Context) is not optional (#12640)

New Contributors

Full Changelog: v28.0.0-alpha.8...v28.0.0-alpha.9