Skip to content

Releases: jestjs/jest

v29.0.0-alpha.4

08 Aug 13:06
Compare
Choose a tag to compare
v29.0.0-alpha.4 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v29.0.0-alpha.3...v29.0.0-alpha.4

v29.0.0-alpha.3

07 Aug 13:43
Compare
Choose a tag to compare
v29.0.0-alpha.3 Pre-release
Pre-release

Features

  • [jest-worker] Adds workerIdleMemoryLimit option which is used as a check for worker memory leaks >= Node 16.11.0 and recycles child workers as required. (#13056)

Fixes

  • [jest-haste-map] Increase the maximum possible file size that jest-haste-map can handle (#13094)

New Contributors

Full Changelog: v29.0.0-alpha.1...v29.0.0-alpha.3

v29.0.0-alpha.1

04 Aug 08:26
Compare
Choose a tag to compare
v29.0.0-alpha.1 Pre-release
Pre-release

Features

  • [pretty-format] [BREAKING] Remove ConvertAnsi plugin in favour of jest-serializer-ansi-escapes (#13040)

Fixes

  • [jest-worker] When a process runs out of memory worker exits correctly and doesn't spin indefinitely (#13054)
  • [@jest/expect-utils] Fix deep equality of ImmutableJS Record (#13055)

New Contributors

Full Changelog: v29.0.0-alpha.0...v29.0.0-alpha.1

v29.0.0-alpha.0

17 Jul 22:14
Compare
Choose a tag to compare
v29.0.0-alpha.0 Pre-release
Pre-release

Features

  • [jest-config] [BREAKING] Make snapshotFormat default to escapeString: false and printBasicPrototype: false (#13036)
  • [jest-environment-jsdom] [BREAKING] Upgrade to jsdom@20 (#13037)

Chore & Maintenance

  • [*] [BREAKING] Drop support for Node v12 and v17 (#13033)
  • [jest-leak-detector] Remove support for weak-napi (#13035)

Full Changelog: v28.1.3...v29.0.0-alpha.0

v28.1.3

13 Jul 14:13
Compare
Choose a tag to compare

Features

  • [jest-leak-detector] Use native FinalizationRegistry when it exists to get rid of external C dependency (#12973)

Fixes

  • [jest-changed-files] Fix a lock-up after repeated invocations (#12757)
  • [@jest/expect-utils] Fix deep equality of ImmutableJS OrderedSets (#12977)
  • [jest-mock] Add index signature support for spyOn types (#13013, #13020)
  • [jest-snapshot] Fix indentation of awaited inline snapshots (#12986)

Chore & Maintenance

  • [*] Replace internal usage of pretty-format/ConvertAnsi with jest-serializer-ansi-escapes (#12935, #13004)
  • [docs] Update spyOn docs (#13000)

New Contributors

Full Changelog: v28.1.2...v28.1.3

v28.1.2

29 Jun 10:35
Compare
Choose a tag to compare

Fixes

  • [jest-runtime] Avoid star type import from @jest/globals (#12949)

Chore & Maintenance

  • [docs] Mention that jest-codemods now supports Sinon (#12898)

New Contributors

Full Changelog: v28.1.1...v28.1.2

v28.1.1

07 Jun 06:10
Compare
Choose a tag to compare

Features

  • [jest] Expose Config type (#12848)
  • [@jest/reporters] Improve GitHubActionsReporters annotation format (#12826)
  • [@jest/types] Infer argument types passed to test and describe callback functions from each tables (#12885, #12905)

Fixes

  • [@jest/expect-utils] Fix deep equality of ImmutableJS OrderedMaps (#12763)
  • [jest-docblock] Handle multiline comments in parseWithComments (#12845)
  • [jest-mock] Improve spyOn error messages (#12901)
  • [jest-runtime] Correctly report V8 coverage with resetModules: true (#12912)
  • [jest-worker] Make JestWorkerFarm helper type to include methods of worker module that take more than one argument (#12839)

Chore & Maintenance

  • [docs] Updated docs to indicate that jest-environment-jsdom is a separate package #12828

  • [docs] Document the comments used by coverage providers #12835

  • [docs] Use docusaurus-remark-plugin-tab-blocks to format tabs with code examples (#12859)

  • [jest-haste-map] Bump walker version (#12324)

  • [expect] Adjust typings of lastCalledWith, nthCalledWith, toBeCalledWith matchers to allow a case there a mock was called with no arguments (#12807)

  • [@jest/expect-utils] Fix deep equality of ImmutableJS Lists (#12763)

  • [jest-core] Do not collect SIGNREQUEST as open handles (#12789)

New Contributors

Full Changelog: v28.1.0...v28.1.1

v28.1.0

06 May 10:50
Compare
Choose a tag to compare

Features

  • [jest-circus] Add failing test modifier that inverts the behaviour of tests (#12610)
  • [jest-environment-node, jest-environment-jsdom] Allow specifying customExportConditions (#12774)

Fixes

  • [expect] Adjust typings of lastCalledWith, nthCalledWith, toBeCalledWith matchers to allow a case there a mock was called with no arguments (#12807)
  • [@jest/expect-utils] Fix deep equality of ImmutableJS Lists (#12763)
  • [jest-core] Do not collect SIGNREQUEST as open handles (#12789)

Chore & Maintenance

  • [docs] Specified documentation about --filter CLI docs (#12799)
  • [@jest-reporters] Move helper functions from utils.ts into separate files (#12782)
  • [jest-resolve] Replace process.versions.pnp type declaration with @types/pnpapi devDependency (#12783)

New Contributors

Full Changelog: v28.0.3...v28.1.0

v28.0.3

29 Apr 10:45
Compare
Choose a tag to compare

Fixes

  • [jest-config] Normalize reporters option defined in presets (#12769)
  • [@jest/reporters] Fix trailing slash in matching coverageThreshold key (#12714)
  • [jest-resolve] Fix (experimental) ESM module mocking for re-exports (#12766)
  • [@jest/transform] Throw better error if an invalid return value if encountered (#12764)

Chore & Maintenance

  • [docs] Fix typo in --shard CLI docs (#12761)

New Contributors

Full Changelog: v28.0.2...v28.0.3

v28.0.2

27 Apr 07:47
Compare
Choose a tag to compare

Features

  • [jest-worker] Add JestWorkerFarm helper type (#12753)

Fixes

  • [*] Lower Node 16 requirement to 16.10 from 16.13 due to a Node bug that causes memory and performance issues (#12754)

Full Changelog: v28.0.1...v28.0.2