NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #800 most downloaded on npm
Last release 24 days ago
01 Sep 2026
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
296 releases · first in 2016
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Fix jest-haste-map's handling of duplicate module IDs.
Fix reporters 'default' setting.
Nothing published for this version
Add ansi-regex to pretty-format dependencies
Breaking Change: Forked Jasmine 2.5 into Jest's own test runner and rewrote large parts of Jasmine.
--projects option to run one instance of Jest in multiple projects at the same time. (#3400)expect matchers through .resolves and .rejects. (#3068)expect.hasAssertions() function similar to expect.assertions(). (#3379)this.equals function exposed to custom matchers. (#3469)valid-expect lint rule in eslint-plugin-jest. (#3067)@jest-environment in the docblock. (#2859)reporters in the configuration. (#3349)jest-editor-support into a separate jest-test-typescript-parser package. (#2973)babel-jest to look up the babel field in package.json as a fallback.jest-editor-support's parser to not crash on incomplete ASTs. (#3259)jest-resolve to use is-builtin-module instead of resolve.isCore. (#2997)jest-snapshot to normalize line endings in the serialize function. (#3002)--silent flag. (#3003)notify option not taking precedence over config option. (#3340)jest-editor-support. (#3344)undefined. (#3354)expect. (#3306)expect.assertions error. (#3033)jest-file-exists. (#3105)Config type. (#3366)jest-file-exists. (#3101)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Breaking Change: Added a version for snapshots.
mocksPattern configuration option, it never worked correctly.testPathDirs to roots to avoid confusion when configuring Jest.babel-plugin-jest-hoist to work properly with type annotations in tests.toMatchObject.--bail behavior.babel-jest plugin: babel is loaded lazily, istanbul comments are only added when coverage is used.--collectCoverageFrom cli argument.--coverageDirectory cli argument.expect.addSnapshotSerializer to add custom snapshot serializers for tests.jest.spyOn.testMatch configuration option that accepts glob patterns.__mocks__/react-native/Library/Text.js will now work as expected.--notify.Nothing published for this version
Fixed console.log and fake timer behavior in node 7.3.
context variable.-h as alias for --help.jest-react-native was deprecated and now forwards react-native.
See https://jestjs.io/blog/2016/12/15/2016-in-jest.html
pit and mockImpl. Use it or mockImplementation instead.--bail is used together with --watch.pretty-format is now merged into Jest.require('v8') now works properly in a test context.expect.any, expect.anything, expect.objectContaining, expect.arrayContaining, expect.stringMatching.snapshotSerializers, setupFiles, transform, testRunner and testResultsProcessor instead of using path.resolve.--testResultsProcessor is now exposed through the cli.--jsonOutputFile to --outputFile.jest-editor-support for vscode and Nuclide integration.test.concurrent unhandled promise rejections.testRegex to include test.js and spec.js files.babel-plugin-jest-hoist when using jest.mock with three arguments.JSON global in jest-environment-node now comes from the vm context instead of the parent context.FakeTimers.useTimers() is called.JEST_HIDE_USAGE.expect.assertions(number) which will ensure that a specified amount of assertions is made in one test..toMatchSnapshot(?string) feature to give snapshots a name.jest-react-native was deprecated and now forwards react-native..toMatchObject matcher.NaN% Failed in the OS notification when using --notify..toHaveProperty matcher.Map/Set comparisons.test.concurrent now works with --testNamePattern.Improved file-watching feature in jest-haste-map.
.toHaveLength matcher..toContain matcher.Fixed performance regression in module resolution.
Fixed pretty printing of big objects.
.native.js files in react-native projects.Properly resolve modules with platform extensions on react-native.
expect.extend.--expand (or -e) to show the full diff.scriptPreprocessor with the new transform option.jest.resetAllMocks which replaces jest.clearAllMocks.jest-environment-node..babelrc is now part of the transform cache key in babel-jest.jest-haste-map.--json now includes information about individual tests inside a file.Nothing published for this version
Symbols are now properly mocked when using jest-mock.
jest-mock.toHaveBeenCalledWith() works without arguments again.Previously failed tests are now always run first.
jest <pattern> is now case-insensitive.it.only, it.skip, test.only, test.skip and xtest.--testNamePattern=pattern or -t <pattern> to run individual tests in test files.a, o, p, q or enter while tests are running in the watch mode, the test run will be interrupted.--bail now works together with --watch.test.concurrent for concurrent async tests..jsx extension.jest.clearAllMocks to clear all mocks manually.jest-snapshot can now be more easily integrated into other test runners and used in other projects.fit or when an error is thrown in a test.toHaveBeenLastCalledWith, toHaveBeenCalledWith, lastCalledWith and toBeCalledWith failure messages.toBeInstanceOf matcher.toContainEqual matcher.toThrowErrorMatchingSnapshot matcher.moduleNameMapper resolution.setupTestFrameworkScriptFile script to make it easier to use chai together with Jest.--findRelatedTests <fileA> <fileB> cli option to run tests related to the specified files.jest.deepUnmock to babel-plugin-jest-hoist.jest.runTimersToTime which is useful together with fake timers.Nothing published for this version
Updated toThrow and toThrowMatchers and aliased them to the same matcher.
--bail option.See https://jestjs.io/blog/2016/09/01/jest-15.html
.spec.js and .test.js as test files.--env option to override the default test environment.--watchAll, made --watch interactive and added the ability to update snapshots and select test patterns in watch mode.testEnvironment resolution to prefer jest-environment-{name} instead of {name} only. This prevents a module colision when using jsdom as test environment.moduleNameMapper now uses a resolution algorithm.global.global to the node environment.mock.collectCoverageFrom to collect code coverage from untested files.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
Changed Jest's default cache directory.
jest-react-native for react 15.3.0.react-test-renderer.Official release of snapshot tests.
toBe, toBeFalsy, toBeTruthy, toBeNaN, toBe{Greater,Less}Than{,OrEqual}, toBeNull, toBeDefined, toBeUndefined, toContain, toMatch, toBeCloseTo were rewritten.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
Added duration of individual tests in verbose mode.
browser config option to properly resolve npm packages with a browser field in package.json if you are writing tests for client side appsjest-repl.jest-cli into jest-runtime and jest-config.--notify.TestRunner into SearchSource and improved the "no tests found" message.jest.isMockFunction(jest.fn()) to test for mock functions.jest.mock('Module', implementation, {virtual: true}).toMatchSnapshot().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
Remove test files from code coverage.
Nothing published for this version
Added testRegex to match for tests outside of specific folders. Deprecated both testDirectoryName and testFileExtensions.
jest package on npm.testRegex to match for tests outside of specific folders. Deprecated both testDirectoryName and testFileExtensions.it can now return a Promise for async testing. pit was deprecated.jest-resolve as a standalone package based on the Facebook module resolution algorithm.jest-changed-files as a standalone package to detect changed files in a git or hg repo.--setupTestFrameworkFile to cli.module.filename and removed the invalid module.__filename field.lastCalledWith and toBeCalledWith custom matchers. They now print the most recent calls.Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →