supertest breaking changes
supertest 7.2.2 (January 6, 2026) is its newest release with breaking changes. The first: Replaces the should dependency with native assertions in the cookies module in supertest 7.2.2. Every breaking API change we have recorded in supertest on npm: 5 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
On this page
Latest version 7.3.2, released November 7, 2026. Source repository
Its 7.0.0 release requires Node.js 14.16.0 or later. Node.js end of life dates.
supertest 7.2.2 breaking changes
- Behavior changed
The cookies module now uses native assertions instead of the should dependency. Code that relied on should being loaded through supertest may need its own install. github.com
supertest 7.1.3 breaking changes
- Behavior changed
This release reverts the automatic closing of the server that was added in 7.1.2. Code that relied on that automatic closing must now close the server itself. github.com
supertest 7.0.0 breaking changes
- Default changed
The package no longer supports Node.js versions older than 14.16.0; users on older Node.js must upgrade their runtime before using this release. github.com - Signature changed
Test.expect
Was expect(body: object, callback?: CallbackHandler): this expect(status: number, body: any, callback?: CallbackHandler): this; now expect<T extends object = object>(body: T, callback?: CallbackHandler): this expect<T>(status: number... npmjs.com
supertest 6.0.0 breaking changes
- Behavior changed
Requests now set the host header rather than rewriting the host into the URL. Code that relied on the old URL-based host behavior should check its requests. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.