---
title: "http-errors 2.0.0 Breaking Changes on npm | Since.dev"
description: "What each http-errors release removed, renamed or changed: 8 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/http-errors
last_updated: 2026-12-04
---

# http-errors breaking changes

http-errors 2.0.0 (December 18, 2021) is its newest release with breaking changes, 8 of them. The first: http-errors 2.0.0 drops support for Node.js 0.6. Every breaking API change we have recorded in http-errors on npm: 8 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.1`, released November 20, 2025. [Source repository](https://github.com/jshttp/http-errors)

Its 2.0.0 release drops Node.js 0.6. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## http-errors 2.0.0 breaking changes

http-errors 2.0.0, released December 18, 2021: 8 breaking changes.

- **Removed**  

Node.js 0.6 is no longer supported, so code running on it must move to a newer Node.js version. [github.com](https://github.com/jshttp/http-errors/blob/v2.0.0/HISTORY.md)
- **Removed** `I'mateapot`  

The I'mateapot export is removed. Use ImATeapot instead. [github.com](https://github.com/jshttp/http-errors/blob/v2.0.0/HISTORY.md)
- **Renamed** `UnorderedCollection`  

The UnorderedCollection constructor is renamed to TooEarly; update code that uses the old name. [github.com](https://github.com/jshttp/http-errors/blob/v2.0.0/HISTORY.md)
- **Signature changed**  

Calls that pass the status in a position other than first no longer work and must put the status first. [github.com](https://github.com/jshttp/http-errors/blob/v2.0.0/HISTORY.md)
- **Signature changed** `CreateHttpError`  

Was type CreateHttpError = \<N extends UnknownError>(arg: N, ...rest: UnknownError\[\]) => HttpError\<N extends number ? N : number>; now interface CreateHttpError. [npmjs.com](https://www.npmjs.com/package/http-errors/v/2.0.0)
- **Signature changed** `HttpErrorConstructor`  

Was type HttpErrorConstructor\<N extends number = number> = new (msg?: string) => HttpError\<N>; now interface HttpErrorConstructor\<N extends number = number>. [npmjs.com](https://www.npmjs.com/package/http-errors/v/2.0.0)
- **Signature changed** `NamedConstructors`  

Was type NamedConstructors = {\[code: string\]: HttpErrorConstructor; HttpError: HttpErrorConstructor;} & Record<'BadRequest' | '400', HttpErrorConstructor<400>> & Record<'Unauthorized' | '401', HttpErrorConstructor<401>> &... [npmjs.com](https://www.npmjs.com/package/http-errors/v/2.0.0)
- **Signature changed** `UnknownError`  

Was type UnknownError = Error | string | number | {\[key: string\]: any}; now type UnknownError = Error | string | {\[key: string\]: any}. [npmjs.com](https://www.npmjs.com/package/http-errors/v/2.0.0)

## 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.
