octokit breaking changes
octokit 5.0.4 (October 17, 2025) is its newest release with breaking changes. The first: Signature changed OAuthApp. Every breaking API change we have recorded in octokit on npm: 22 breaking changes in 7 versions. Below, its 7 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.7, released December 2, 2026. Source repository
Its 5.0.0 release drops Node.js 18. Node.js end of life dates.
- From 4.0.3 to 5.0.4: 2 breaking changes in 2 versions.
- From 3.2.0 to 5.0.4: 15 breaking changes in 6 versions.
octokit 5.0.4 breaking changes
- Signature changed
OAuthApp
Was const OAuthApp: (new (...args: any[]) => {type: "oauth-app"; on: import("@octokit/oauth-app").AddEventHandler<{Octokit: typeof import("@octokit/core").Octokit & import("@octokit/core/types").Constructor<{paginate... npmjs.com
octokit 5.0.0 breaking changes
- Behavior changed
The package no longer supports Node.js 18; users on Node.js 18 must upgrade their Node.js runtime before using this release. github.com
octokit 4.0.3 breaking changes
- Signature changed
App
Was const App: (new (...args: any[]) => {octokit: import("@octokit/core").Octokit & {paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} & import("@octokit/plugin-paginate-graphql").paginateGraphQLInterface &... npmjs.com
octokit 4.0.0 breaking changes
- Removed
oauth
The authentication type "oauth", deprecated in earlier releases, is removed. Code using it must switch to another authentication type. github.com - Renamed
@octokit.webhooks-types
Webhook types now come from @octokit/openapi-webhooks-types instead of @octokit/webhooks-types. Code importing types from the old package must update its imports. github.com - Behavior changed
The package now ships as an ES module. Code that loads it with require() must switch to import. github.com - Signature changed
App
Was const App: (new (...args: any[]) => {octokit: import("@octokit/core").Octokit & {paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} & {graphql: import("@octokit/graphql/dist-types/types.js").graphql & {paginate... npmjs.com - Signature changed
OAuthApp
Was const OAuthApp: (new (...args: any[]) => {type: "oauth-app"; on: import("@octokit/oauth-app/dist-types/types.js").AddEventHandler<{Octokit: typeof import("@octokit/core").Octokit &... npmjs.com - Signature changed
Octokit
Was const Octokit: typeof OctokitCore & import("@octokit/core/dist-types/types.d").Constructor<{paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} & {graphql: import("@octokit/graphql/dist-types/types.js").graphql &... npmjs.com
octokit 3.2.2 breaking changes
- Signature changed
App
Was const App: (new (...args: any[]) => {octokit: import("@octokit/core").Octokit & {paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} & {graphql: import("@octokit/graphql/dist-types/types.js").graphql & {paginate... npmjs.com - Signature changed
OAuthApp
Was const OAuthApp: (new (...args: any[]) => {type: "oauth-app"; on: import("@octokit/oauth-app/dist-types/types.js").AddEventHandler<{Octokit: typeof import("@octokit/core").Octokit &... npmjs.com - Signature changed
Octokit
Was const Octokit: typeof OctokitCore & import("@octokit/core/dist-types/types.d").Constructor<{paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} & {graphql: import("@octokit/graphql/dist-types/types.js").graphql &... npmjs.com
octokit 3.2.1 breaking changes
- Signature changed
App
Was const App: (new (...args: any[]) => {octokit: import("@octokit/core").Octokit & {paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} & {graphql: import("@octokit/graphql/dist-types/types.js").graphql & {paginate... npmjs.com - Signature changed
OAuthApp
Was const OAuthApp: (new (...args: any[]) => {type: "oauth-app"; on: import("@octokit/oauth-app/dist-types/types.js").AddEventHandler<{Octokit: typeof import("@octokit/core").Octokit &... npmjs.com - Signature changed
Octokit
Was const Octokit: typeof OctokitCore & import("@octokit/core/dist-types/types.d").Constructor<{paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} & {graphql: import("@octokit/graphql/dist-types/types.js").graphql &... npmjs.com
Older versions
1 older version, each with its first changes. Sign up to see every change
Show 1 older version
octokit 3.2.0 breaking changes
- Signature changed
App
Was const App: (new (...args: any[]) => {octokit: import("@octokit/core").Octokit & {paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} & {graphql: import("@octokit/graphql/dist-types/types").graphql & {paginate... npmjs.com - Signature changed
createNodeMiddleware
Was export {createNodeMiddleware} from "./app"; now export {createNodeMiddleware} from "./app.js". npmjs.com
And 5 more in this version.
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.