@types/express breaking changes
@types/express 5.0.1 (March 19, 2025) is its newest release with breaking changes. The first: Removed query. Every breaking API change we have recorded in @types/express on npm: 12 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.0.6, released December 1, 2025.
Packages on npm run on Node.js. Node.js end of life dates.
- From 4.17.13 to 5.0.1: 1 breaking change in 1 version.
- From 4.17.8 to 5.0.1: 9 breaking changes in 4 versions.
@types/express 5.0.1 breaking changes
- Removed
query
query was removed in @types/express 5.0.1 npmjs.com
@types/express 4.17.13 breaking changes
- Signature changed
RouterOptions.caseSensitive
Was caseSensitive?: boolean; now caseSensitive?: boolean | undefined. npmjs.com - Signature changed
RouterOptions.mergeParams
Was mergeParams?: boolean; now mergeParams?: boolean | undefined. npmjs.com - Signature changed
RouterOptions.strict
Was strict?: boolean; now strict?: boolean | undefined. npmjs.com
@types/express 4.17.10 breaking changes
- Signature changed
ErrorRequestHandler
Was interface ErrorRequestHandler<P = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.ErrorRequestHandler<P, ResBody, ReqBody, ReqQuery>; now interface ErrorRequestHandler<P = core.ParamsDictionary... npmjs.com - Signature changed
Request
Was interface Request<P = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.Request<P, ResBody, ReqBody, ReqQuery>; now interface Request<P = core.ParamsDictionary, ResBody = any, ReqBody = any... npmjs.com - Signature changed
RequestHandler
Was interface RequestHandler<P = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.RequestHandler<P, ResBody, ReqBody, ReqQuery>; now interface RequestHandler<P = core.ParamsDictionary, ResBody = any... npmjs.com - Signature changed
Response
Was interface Response<ResBody = any> extends core.Response<ResBody>; now interface Response<ResBody = any, Locals extends Record<string, any> = Record<string, any>> extends core.Response<ResBody, Locals>. npmjs.com
@types/express 4.17.9 breaking changes
- Signature changed
static
Was var static: typeof serveStatic; now var static: serveStatic.RequestHandlerConstructor<Response>. npmjs.com
@types/express 4.17.8 breaking changes
- Signature changed
ErrorRequestHandler
Was interface ErrorRequestHandler<P extends core.Params = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.ErrorRequestHandler<P, ResBody, ReqBody, ReqQuery>; now interface ErrorRequestHandler<P =... npmjs.com - Signature changed
Request
Was interface Request<P extends core.Params = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.Request<P, ResBody, ReqBody, ReqQuery>; now interface Request<P = core.ParamsDictionary, ResBody = any... npmjs.com - Signature changed
RequestHandler
Was interface RequestHandler<P extends core.Params = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.RequestHandler<P, ResBody, ReqBody, ReqQuery>; now interface RequestHandler<P =... 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.