@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
On this page
Latest version 3.0.4, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@types/koa 3.0.3 breaking changes
- Signature changed
BaseContext
Was interface BaseContext extends ContextDelegatedRequest, ContextDelegatedResponse; now interface BaseContext extends DefaultContextDelegatedRequest, DefaultContextDelegatedResponse. npmjs.com - Signature changed
BaseRequest
Was interface BaseRequest extends ContextDelegatedRequest; now interface BaseRequest extends DefaultContextDelegatedRequest. npmjs.com - Signature changed
BaseResponse
Was interface BaseResponse extends ContextDelegatedResponse; now interface BaseResponse extends DefaultContextDelegatedResponse. npmjs.com
@types/koa 3.0.2 breaking changes
- 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
@types/koa 3.0.0 breaking changes
- Removed
DefaultContextDelegatedRequest
DefaultContextDelegatedRequest was removed in @types/koa 3.0.0 npmjs.com - Removed
DefaultContextDelegatedResponse
DefaultContextDelegatedResponse was removed in @types/koa 3.0.0 npmjs.com - Signature changed
BaseContext
Was interface BaseContext extends DefaultContextDelegatedRequest, DefaultContextDelegatedResponse; now interface BaseContext extends ContextDelegatedRequest, ContextDelegatedResponse. npmjs.com - Signature changed
BaseContext.redirect
Was redirect(url: string, alt?: string): void; now redirect(url: string): void. npmjs.com - 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 - Signature changed
BaseRequest
Was interface BaseRequest extends DefaultContextDelegatedRequest; now interface BaseRequest extends ContextDelegatedRequest. npmjs.com - Signature changed
BaseResponse
Was interface BaseResponse extends DefaultContextDelegatedResponse; now interface BaseResponse extends ContextDelegatedResponse. npmjs.com - Signature changed
BaseResponse.redirect
Was redirect(url: string, alt?: string): void; now redirect(url: string): void. npmjs.com - Signature changed
Context.redirect
Was redirect(url: string, alt?: string): void; now redirect(url: string): void. npmjs.com - 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
@types/koa 2.15.2 breaking changes
- Signature changed
BaseContext
Was interface BaseContext extends ContextDelegatedRequest, ContextDelegatedResponse; now interface BaseContext extends DefaultContextDelegatedRequest, DefaultContextDelegatedResponse. npmjs.com - Signature changed
BaseRequest
Was interface BaseRequest extends ContextDelegatedRequest; now interface BaseRequest extends DefaultContextDelegatedRequest. npmjs.com - Signature changed
BaseResponse
Was interface BaseResponse extends ContextDelegatedResponse; now interface BaseResponse extends DefaultContextDelegatedResponse. npmjs.com
Related packages
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.