NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2614 most downloaded on npm
This module creates a function which is used for generating cache keys used by code transformers in Jest.
Last release 17 days ago
01 Sep 2026
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 53 of 53 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
89 releases · first in 2020
One column per quarter.
[jest-config] [BREAKING] Stop shipping jest-environment-jsdom by default
[jest-config] [BREAKING] Stop shipping jest-environment-jsdom by default (#12354)[jest-config] [BREAKING] Stop shipping jest-jasmine2 by default (#12355)[jest-environment-jsdom] [BREAKING] Upgrade jsdom to 19.0.0 (#12290)[jest-environment-jsdom] [BREAKING] Add default browser condition to exportConditions for jsdom environment (#11924)[jest-environment-node] [BREAKING] Add default node and node-addon conditions to exportConditions for node environment (#11924)[@jest/expect-utils] New module exporting utils for expect (#12323)[jest-resolve] [BREAKING] Add support for package.json exports (#11961)[jest-worker] [BREAKING] Allow only absolute workerPath (#12343)[expect] Move typings of .not, .rejects and .resolves modifiers outside of Matchers interface (#12346)[jest-environment-jsdom] Make jsdom accessible to extending environments again (#12232)[jest-jasmine2, jest-types] [BREAKING] Move all jasmine specific types from @jest/types to its own package (#12125)[*] [BREAKING] Drop support for Node v10 and v15 and target first LTS 16.13.0 (#12220)[*] [BREAKING] Drop support for typescript@3.8, minimum version is now 4.2 (#11142)[*] Bundle all .d.ts files into a single index.d.ts per module (#12345)[expect] [BREAKING] Remove support for importing build/utils (#12323)[expect] [BREAKING] Migrate to ESM (#12344)[jest-cli] Update yargs to v17 (#12357)[jest-config] [BREAKING] Remove getTestEnvironment export (#12353)[@jest/core] Use index.ts instead of jest.ts as main export (#12329)[jest-environment-jsdom] [BREAKING] Migrate to ESM (#12340)[jest-environment-node] [BREAKING] Migrate to ESM (#12340)[@jest/fake-timers] Update @sinonjs/fake_timers to v9 (#12357)[jest-jasmine2, jest-runtime] [BREAKING] Use Symbol to pass jest.setTimeout value instead of jasmine specific logic (#12124)[jest-phabricator] [BREAKING] Migrate to ESM (#12341)[jest-resolve] [BREAKING] Make requireResolveFunction argument mandatory (#12353)[jest-runner] [BREAKING] Remove some type exports from @jest/test-result (#12353)[jest-snapshot] [BREAKING] Migrate to ESM (#12342)[jest-transform] Update write-file-atomic to v4 (#12357)[jest] Use index.ts instead of jest.ts as main export (#12329)[jest-haste-map] [BREAKING] Default to node crawler over shelling out to find if watchman is not enabled (#12320)Full Changelog: https://github.com/facebook/jest/compare/v27.5.1...v28.0.0-alpha.0
[jest-config] Support comments in JSON config file
[jest-config] Support comments in JSON config file (#12316)[pretty-format] Expose ConvertAnsi plugin (#12308)[expect] Add type definitions for asymmetric closeTo matcher (#12304)[jest-cli] Load binary via exported API (#12315)[jest-config] Replace jsonlint with parse-json (#12316)[jest-repl] Make module importable (#12311 & #12315)[*] Avoid anonymous default exports (#12313)Full Changelog: https://github.com/facebook/jest/compare/v27.5.0...v27.5.1
[expect] Add asymmetric matcher expect.closeTo
[expect] Add asymmetric matcher expect.closeTo (#12243)[jest-mock] Added mockFn.mock.lastCall to retrieve last argument (#12285)[expect] Add a fix for .toHaveProperty('') (#12251)[jest-each, @jest/globals] Allow passing ReadonlyArray type of a table to describe.each and test.each (#12297)[@jest/globals] Add missing options argument to jest.doMock typing (#12292)[jest-environment-node] Add atob and btoa (#12269)[jest-matcher-utils] Correct diff for expected asymmetric matchers (#12264)[jest-message-util] Fix .getTopFrame() (and toMatchInlineSnapshot()) with mjs files (#12277)[*] Update graceful-fs to ^4.2.9 (#11749)[jest-resolve] perf: skip error creation on not found stat calls (#11749)Full Changelog: https://github.com/facebook/jest/compare/v27.4.7...v27.5.0
[jest-worker] Add additional execArgv to filter
[jest-worker] Add additional execArgv to filter (#12103)Full Changelog: https://github.com/facebook/jest/compare/v27.4.1...v27.4.2
[jest-worker] Filter execArgv correctly
[jest-worker] Filter execArgv correctly (#12097)Full Changelog: https://github.com/facebook/jest/compare/v27.4.0...v27.4.1
[expect] Enhancing the toHaveProperty matcher to support array selection
[expect] Enhancing the toHaveProperty matcher to support array selection (#12092)[jest-core] Add support for testResultsProcessor written in ESM (#12006)[jest-diff, pretty-format] Add compareKeys option for custom sorting of object keys (#11992)[jest-mock] Add ts-jest mock util functions (#12089)[expect] Allow again expect.Matchers generic with single value (#11986)[jest-circus, jest-jasmine2] Avoid false concurrent test failures due to unhandled promise rejections (#11987)[jest-config] Add missing slash dependency to package.json (#12080)[jest-core] Incorrect detection of open ZLIB handles (#12022)[jest-diff] Break dependency cycle (#10818)[jest-environment-jsdom] Add @types/jsdom dependency (#11999)[jest-environment-jsdom] Do not reset the global.document too early on teardown (#11871)[jest-transform] Improve error and warning messages (#11998)[jest-worker] Pass execArgv correctly to worker_threads worker (#12069)[docs] CLI options alphabetized (#11586)[jest-runner] Add info regarding timers to forcedExit message(#12083)[*] Replaced substr method with substring (#12066)[*] Add types entry to all export maps (#12073)Full Changelog: https://github.com/facebook/jest/compare/v27.3.1...v27.4.0
[expect] Make expect extension properties configurable
[expect] Make expect extension properties configurable (#11978)[expect] Fix .any() checks on primitive wrapper classes (#11976)[expect] BigInt global is always defined, don't check for its existence at runtime (#11979)[jest-config, jest-util] Use ci-info instead of is-ci to detect CI environment (#11973)Full Changelog: https://github.com/facebook/jest/compare/v27.3.0...v27.3.1
[jest-config] Add testEnvironmentOptions.html to apply to jsdom input
[jest-config] Add testEnvironmentOptions.html to apply to jsdom input (#11950)[jest-resolver] Support default export (.) in exports field if main is missing (#11919)[expect] Tweak and improve types (#11949)[jest-runtime] Ensure absolute paths can be resolved within test modules (#11943)[jest-runtime] Fix instanceof for ModernFakeTimers and LegacyFakeTimers methods (#11946)Full Changelog: https://github.com/facebook/jest/compare/v27.2.5...v27.3.0
[@jest/types] Mark deprecated configuration options as @deprecated
[jest-config] Warn when multiple Jest configs are located (#11922)[expect] Pass matcher context to asymmetric matchers (#11926 & #11930)[expect] Improve TypeScript types (#11931)[expect] Improve typings of toThrow() and toThrowError() matchers (#11929)[jest-cli] Improve --help printout by removing defunct --browser option (#11914)[jest-haste-map] Use distinct cache paths for different values of computeDependencies (#11916)[@jest/reporters] Do not buffer console.logs when using verbose reporter (#11054)[expect] Export default matchers (#11932)[@jest/types] Mark deprecated configuration options as @deprecated (#11913)Full Changelog: https://github.com/facebook/jest/compare/v27.2.4...v27.2.5
[expect] Add equality checks for Array Buffers in expect.ToStrictEqual()
[@jest/fake-timers] Update @sinonjs/fake-timers to v8
[jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field
[jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules
[jest-haste-map] Use watchman suffix-set option for faster file indexing.
[jest-haste-map] Use watchman suffix-set option for faster file indexing. (#11784)[jest-cli] Adds a new config options snapshotFormat which offers a way to override any of the formatting settings which come with pretty-format. (#11654)[jest-reporters] Expose the getSummary util (#11695).[jest-resolver] Support node: prefix when importing Node core modules (#11331)[jest-each] Relaxed the validation to allow multibyte characters in headings (#11575)[jest-environment-jsdom] Add support for userAgent option (#11773)[jest-environment-node] Add Event and EventTarget to node global environment. (#11727)[jest-mock] Fix spyOn to use Object.prototype.hasOwnProperty (#11721)[jest-resolver] Add dependency on jest-haste-map (#11759)[jest-types] Compat with @types/node v16 (#11645)[docs] Correct expects.assertions documentation by adding async/await for asynchronous function.[*] Publish all modules to include the build change in #11569
[*] Publish all modules to include the build change in #11569[jest-circus] Add some APIs to make it easier to build your own test runner
[jest-circus] Add some APIs to make it easier to build your own test runner[jest-reporters] Expose the getResultHeader util (#11460)[jest-resolver] Export resolve* utils for different Jest modules (#11466)[@jest/test-result] Export Test, TestEvents and TestFileEvent (#11466)[jest-circus] Add missing slash dependency (#11465)[jest-circus, @jest/test-sequencer] Remove dependency on jest-runner (#11466)[jest-config] Resolve config.runner to absolute path (#11465)[jest-config] Make sure to support functions as config (#11475)[jest-core] Do not warn about DNSCHANNEL handles when using the --detectOpenHandles option (#11470)[jest-runner] Remove dependency on jest-config (#11466)[jest-worker] Loosen engine requirement to >= 10.13.0 (#11451)[jest-environment-jsdom] Bump version of JSDOM to avoid deprecated request package
[jest-environment-jsdom] Bump version of JSDOM to avoid deprecated request package (#11442)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[jest-core] Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins
[jest-core] Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins (#10659)[babel-plugin-jest-hoist] Preserve order of hoisted mock nodes within containing block (#10536)[babel-plugin-jest-hoist] Hoist pure constants to support experimental JSX transform in hoisted mocks (#10723)[babel-preset-jest] Update babel-preset-current-node-syntax to support top level await (#10747)[expect] Revert "Fix objectContaining to work recursively into sub-objects (#10508)" (#10766)[jest-circus, jest-jasmine2] fix: don't assume stack is always a string (#10697)[jest-config] Fix bug introduced in watch mode by PR #10678 (#10692)[jest-config] Throw correct error for missing preset modules (#10737)[jest-resolve-dependencies] Resolve mocks as dependencies (#10713)[jest-runtime] Handle file URLs in dynamic imports (#10744)[jest-runtime, babel-jest] Pass more ESM options to @jest/transform (#10752)[jest-runtime] Properly inject extraGlobals into the runtime (#10758)[jest-transform] Link to ESM docs on syntax errors (#10748)[jest-circus, jest-config, jest-runtime] Add new injectGlobals config and CLI option to disable injecting global variables into the runtime
[jest-circus, jest-config, jest-runtime] Add new injectGlobals config and CLI option to disable injecting global variables into the runtime (#10484)[jest-each] Fixes .each type to always be callable (#10447)[jest-runner] Add support for moduleLoaders with default exports (#10541)[@jest/create-cache-key-function] Added a new package for creating cache keys (#10587)[jest-circus, jest-jasmine2] Find correct location for test.each tests (#10413)[jest-console] Add Console constructor to console object (#10502)[jest-globals] Fix lifecycle hook function types (#10480)[jest-runtime] Remove usage of vm.compileFunction due to a performance issue (#10586)Your coding agent can read these notes before it upgrades. Set up the MCP server →