---
title: "@types/koa 3.0.3 Breaking Changes on npm | Since.dev"
description: "What each @types/koa release removed, renamed or changed: 17 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@types/koa
last_updated: 2026-12-04
---

# @types/koa breaking changes

@types/koa 3.0.3 (May 19, 2026) is its newest release with breaking changes, 3 of them. The first: Signature changed BaseContext. Every breaking API change we have recorded in @types/koa on npm: 17 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 `3.0.4`, released December 4, 2026. [Source repository](https://github.com/DefinitelyTyped/DefinitelyTyped)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.15.2](#v-2-15-2) to [3.0.3](#v-3-0-3): 14 breaking changes in 3 versions.

## @types/koa 3.0.3 breaking changes

@types/koa 3.0.3, released May 19, 2026: 3 breaking changes.

- **Signature changed** `BaseContext`  

Was interface BaseContext extends ContextDelegatedRequest, ContextDelegatedResponse; now interface BaseContext extends DefaultContextDelegatedRequest, DefaultContextDelegatedResponse. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.3)
- **Signature changed** `BaseRequest`  

Was interface BaseRequest extends ContextDelegatedRequest; now interface BaseRequest extends DefaultContextDelegatedRequest. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.3)
- **Signature changed** `BaseResponse`  

Was interface BaseResponse extends ContextDelegatedResponse; now interface BaseResponse extends DefaultContextDelegatedResponse. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.3)

## @types/koa 3.0.2 breaking changes

@types/koa 3.0.2, released March 18, 2026: 1 breaking change.

- **Signature changed** `default.constructor`  

Was constructor(options?: {env?: string | undefined; keys?: string\[\] | undefined; proxy?: boolean | undefined; subdomainOffset?: number | undefined; proxyIpHeader?: string | undefined; maxIpsCount?: number | undefined; asyncLocalStorage?... [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.2)

## @types/koa 3.0.0 breaking changes

@types/koa 3.0.0, released July 30, 2025: 10 breaking changes.

- **Removed** `DefaultContextDelegatedRequest`  

DefaultContextDelegatedRequest was removed in @types/koa 3.0.0 [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Removed** `DefaultContextDelegatedResponse`  

DefaultContextDelegatedResponse was removed in @types/koa 3.0.0 [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Signature changed** `BaseContext`  

Was interface BaseContext extends DefaultContextDelegatedRequest, DefaultContextDelegatedResponse; now interface BaseContext extends ContextDelegatedRequest, ContextDelegatedResponse. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Signature changed** `BaseContext.redirect`  

Was redirect(url: string, alt?: string): void; now redirect(url: string): void. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Signature changed** `BaseContext.throw`  

Was throw(...properties: Array\<number | string | {}>): never throw(message: string, code?: number, properties?: {}): never throw(status: number): never; now throw(...args: httpErrors.UnknownError\[\]): never throw(status: number, ...args... [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Signature changed** `BaseRequest`  

Was interface BaseRequest extends DefaultContextDelegatedRequest; now interface BaseRequest extends ContextDelegatedRequest. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Signature changed** `BaseResponse`  

Was interface BaseResponse extends DefaultContextDelegatedResponse; now interface BaseResponse extends ContextDelegatedResponse. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Signature changed** `BaseResponse.redirect`  

Was redirect(url: string, alt?: string): void; now redirect(url: string): void. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Signature changed** `Context.redirect`  

Was redirect(url: string, alt?: string): void; now redirect(url: string): void. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)
- **Signature changed** `Context.throw`  

Was throw(...properties: Array\<number | string | {}>): never throw(message: string, code?: number, properties?: {}): never throw(status: number): never; now throw(...args: httpErrors.UnknownError\[\]): never throw(status: number, ...args... [npmjs.com](https://www.npmjs.com/package/@types/koa/v/3.0.0)

## @types/koa 2.15.2 breaking changes

@types/koa 2.15.2, released May 19, 2026: 3 breaking changes.

- **Signature changed** `BaseContext`  

Was interface BaseContext extends ContextDelegatedRequest, ContextDelegatedResponse; now interface BaseContext extends DefaultContextDelegatedRequest, DefaultContextDelegatedResponse. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/2.15.2)
- **Signature changed** `BaseRequest`  

Was interface BaseRequest extends ContextDelegatedRequest; now interface BaseRequest extends DefaultContextDelegatedRequest. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/2.15.2)
- **Signature changed** `BaseResponse`  

Was interface BaseResponse extends ContextDelegatedResponse; now interface BaseResponse extends DefaultContextDelegatedResponse. [npmjs.com](https://www.npmjs.com/package/@types/koa/v/2.15.2)

## Related packages

- [@types/chrome](https://since.dev/packages/npm/@types/chrome.md)
- [@types/node](https://since.dev/packages/npm/@types/node.md)
- [@types/react](https://since.dev/packages/npm/@types/react.md)
- [@types/jqueryui](https://since.dev/packages/npm/@types/jqueryui.md)
- [@types/chrome-remote-interface](https://since.dev/packages/npm/@types/chrome-remote-interface.md)
- [@types/three](https://since.dev/packages/npm/@types/three.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.
