---
title: "jest-environment-jsdom 30.5.0 Breaking Changes on npm"
description: "What each jest-environment-jsdom release removed, renamed or changed: 40 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/jest-environment-jsdom
last_updated: 2026-12-04
---

# jest-environment-jsdom breaking changes

jest-environment-jsdom 30.5.0 (August 28, 2026) is its newest release with breaking changes, 3 of them. The first: require() of an ES module mid-load now throws ERR_REQUIRE_CYCLE_MODULE in jest-environment-jsdom 30.5.0. Every breaking API change we have recorded in jest-environment-jsdom on npm: 40 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `30.5.2`, released September 18, 2026. [Source repository](https://github.com/jestjs/jest)

Its 30.0.0 release drops Node.js 14, 16, 19, 21 and [23](https://since.dev/calendar/nodejs/23.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [30.0.0](#v-30-0-0) to [30.5.0](#v-30-5-0): 3 breaking changes in 1 version.

## jest-environment-jsdom 30.5.0 breaking changes

jest-environment-jsdom 30.5.0, released August 28, 2026: 3 breaking changes.

- **Behavior changed**  

A CommonJS require() of an ES module still being loaded now throws instead of evaluating it a second time. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.0)
- **Behavior changed** `module.register`  

Calls to module.register() or module.registerHooks() inside a test now throw an error instead of silently attaching hooks to the wrong loader. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.0)
- **Behavior changed** `moduleFileExtensions`  

Files such as foo.mjs are no longer picked up when moduleFileExtensions is \['js'\]. [github.com](https://github.com/jestjs/jest/releases/tag/v30.5.0)

## jest-environment-jsdom 30.0.0 breaking changes

jest-environment-jsdom 30.0.0, released June 10, 2025: 34 breaking changes.

- **Removed**  

Jest 30 requires Node.js 18.x or later, so upgrade Node before upgrading Jest. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed**  

Jest bundles internal modules, so deep imports like jest-runner/build/testWorker no longer resolve; use public APIs. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed**  

Jest 30 no longer supports these Node.js versions. Upgrade Node.js before using this package. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0)
- **Removed**  

Update TypeScript to 5.4 or later if you use Jest type definitions. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `--init`  

Create a config with npm init jest@latest, yarn create jest or pnpm create jest instead. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `--testPathPattern`  

Use --testPathPatterns, which accepts multiple patterns. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `jest.genMockFromModule`  

Switch to jest.createMockFromModule, which behaves the same. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `jest.SpyInstance`  

Use jest.Spied for types of jest.spyOn results. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `lastCalledWith`  

Use the primary matcher name instead. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)
- **Removed** `lastReturnedWith`  

Use the primary matcher name instead. [jestjs.io](https://jestjs.io/docs/upgrading-to-jest30)

And 24 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## jest-environment-jsdom 30.0.0-beta.3 breaking changes

jest-environment-jsdom 30.0.0-beta.3, released June 10, 2025: 1 breaking change.

- **Behavior changed**  

Jest no longer supports Node.js version 16; upgrade Node.js before using this version. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-beta.3)

## jest-environment-jsdom 30.0.0-alpha.1 breaking changes

jest-environment-jsdom 30.0.0-alpha.1, released June 10, 2025: 2 breaking changes.

- **Behavior changed**  

Jest no longer supports Node.js versions 14 and 19; upgrade Node.js before using this version. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.1)
- **Behavior changed**  

The jsdom environment now runs on JSDOM v22, so tests relying on older jsdom behavior may need updating. [github.com](https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.1)

## Related packages

- [jest](https://since.dev/packages/npm/jest.md)
- [jest-resolve](https://since.dev/packages/npm/jest-resolve.md)
- [@jest/globals](https://since.dev/packages/npm/@jest/globals.md)
- [expect](https://since.dev/packages/npm/expect.md)
- [jest-environment-node](https://since.dev/packages/npm/jest-environment-node.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
