express-jwt breaking changes
express-jwt 8.5.0 (December 9, 2024) is its newest release with breaking changes. The first: Signature changed expressjwt. Every breaking API change we have recorded in express-jwt on npm: 10 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.5.1, released December 9, 2024. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 7.7.6 to 8.5.0: 4 breaking changes in 4 versions.
- From 7.5.0 to 8.5.0: 8 breaking changes in 8 versions.
express-jwt 8.5.0 breaking changes
- Signature changed
expressjwt
Was const expressjwt: (options: Params) => {(req: express.Request, res: express.Response, next: express.NextFunction): Promise<void | NodeJS.Immediate>; unless: typeof unless;}; now const expressjwt: (options: Params) => {(req... npmjs.com
express-jwt 8.4.0 breaking changes
- Signature changed
expressjwt
Was const expressjwt: (options: Params) => {(req: express.Request, res: express.Response, next: express.NextFunction): Promise<any>; unless: typeof unless;}; now const expressjwt: (options: Params) => {(req: express.Request, res... npmjs.com
express-jwt 8.2.0 breaking changes
- Signature changed
Params
Was type Params = {secret: jwt.Secret | GetVerificationKey; getToken?: TokenGetter; isRevoked?: IsRevoked; credentialsRequired?: boolean; requestProperty?: string; algorithms: jwt.Algorithm[];} & jwt.VerifyOptions; now type Params =... npmjs.com
express-jwt 8.1.0 breaking changes
- Signature changed
GetVerificationKey
Was type GetVerificationKey = (req: express.Request, token: jwt.Jwt | undefined) => jwt.Secret | Promise<jwt.Secret>; now type GetVerificationKey = (req: express.Request, token: jwt.Jwt | undefined) => jwt.Secret | undefined |... npmjs.com
express-jwt 7.7.6 breaking changes
- Signature changed
expressjwt
Was const expressjwt: (options: Params) => {(req: express.Request, res: express.Response, next: express.NextFunction): Promise<void>; unless: typeof unless;}; now const expressjwt: (options: Params) => {(req: express.Request, res... npmjs.com
express-jwt 7.7.4 breaking changes
- Signature changed
expressjwt
Was const expressjwt: (options: Params) => {(req: express.Request, res: express.Response, next: express.NextFunction): Promise<void>; unless: typeof expressUnless;}; now const expressjwt: (options: Params) => {(req: express.Request, res... npmjs.com
Older versions
3 older versions.
Show 3 older versions
express-jwt 7.5.2 breaking changes
- Signature changed
ExpressJwtRequest
Was type ExpressJwtRequest<T = jwt.JwtPayload> = express.Request & {auth?: T;}; now type ExpressJwtRequest<T = jwt.JwtPayload> = express.Request & {auth: T;}. npmjs.com
express-jwt 7.5.1 breaking changes
- Signature changed
ExpressJwtRequest
Was type ExpressJwtRequest<T = jwt.JwtPayload> = express.Request & {auth: T;}; now type ExpressJwtRequest<T = jwt.JwtPayload> = express.Request & {auth?: T;}. npmjs.com
express-jwt 7.5.0 breaking changes
- Signature changed
GetVerificationKey
Was type GetVerificationKey = (req: express.Request, token: jwt.Jwt | undefined) => Promise<jwt.Secret>; now type GetVerificationKey = (req: express.Request, token: jwt.Jwt | undefined) => jwt.Secret | Promise<jwt.Secret>. npmjs.com - Signature changed
IsRevoked
Was type IsRevoked = (req: express.Request, token: jwt.Jwt | undefined) => Promise<boolean>; now type IsRevoked = (req: express.Request, token: jwt.Jwt | undefined) => boolean | Promise<boolean>. npmjs.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.