All Versions
98
Latest Version
Avg Release Cycle
9 days
Latest Release
-

Changelog History
Page 1

  • v27.3.1 Changes

    🛠 Fixes

    • 🔧 [expect] Make expect extension properties configurable (#11978)
    • [expect] Fix .any() checks on primitive wrapper classes (#11976)

    🚧 Chore & Maintenance

    • [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)
  • v27.3.0 Changes

    🔋 Features

    • [jest-config] Add testEnvironmentOptions.html to apply to jsdom input (#11950)
    • [jest-resolver] Support default export (.) in exports field if main is missing (#11919)

    🛠 Fixes

    • [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)
  • v27.2.5 Changes

    🔋 Features

    • [jest-config] Warn when multiple Jest configs are located (#11922)

    🛠 Fixes

    • [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)

    🚧 Chore & Maintenance

    • 0️⃣ [expect] Export default matchers (#11932)
    • 🔧 [@jest/types] Mark deprecated configuration options as @deprecated (#11913)

    🐎 Performance

  • v27.2.4 Changes

    🔋 Features

    • [expect] Add equality checks for Array Buffers in expect.ToStrictEqual() (#11805)

    🛠 Fixes

    • [jest-snapshot] Correctly indent inline snapshots (#11560)
  • v27.2.3 Changes

    🔋 Features

    • ⚡️ [@jest/fake-timers] Update @sinonjs/fake-timers to v8 (#11879)

    🛠 Fixes

    • [jest-config] Parse testEnvironmentOptions if received from CLI (#11902)
    • 🆓 [jest-reporters] Call destroy on v8-to-istanbul converters to free memory (#11896)
  • v27.2.2 Changes

    🛠 Fixes

    • [jest-runtime] Correct wrapperLength value for ESM modules. (#11893)
  • v27.2.1 Changes

    🔋 Features

    • [jest-transform] Improve the unexpected token error message. (#11807)

    🛠 Fixes

    • 🤡 [jest-runtime] Fix regression when using jest.isolateModules and mocks (#11882)
    • [jest-runtime] Include test name when importing modules after test has completed (#11885)
    • [jest-runtime] Error when ESM import is used after test is torn down (#11885)
  • v27.2.0 Changes

    🔋 Features

    • 📦 [jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field (#11859)
    • [jest-runtime] Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers (#11863)

    🛠 Fixes

    • [@jest/reporters] Use async transform if available to transform files with no coverage (#11852)
    • [jest-util] Return correct value from process.send stub (#11799)
  • v27.1.1 Changes

    🔋 Features

    • 🤡 [jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#11818)

    🛠 Fixes

    • 👍 [jest-resolver] Support node: prefix when importing Node core modules with ESM (#11817)
    • [jest-types] Export the PrettyFormatOptions interface (#11801)
  • v27.1.0 Changes

    🔋 Features

    • [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)

    🛠 Fixes

    • [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)

    🚧 Chore & Maintenance

    • 📚 [docs] Correct expects.assertions documentation by adding async/await for asynchronous function.