---
title: "octokit 5.0.4 Breaking Changes on npm | Since.dev"
description: "What each octokit release removed, renamed or changed: 22 breaking changes in 7 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/octokit
last_updated: 2026-12-04
---

# 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

Latest version `5.0.7`, released December 2, 2026. [Source repository](https://github.com/octokit/octokit.js)

Its 5.0.0 release drops [Node.js 18](https://since.dev/calendar/nodejs/18.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.0.3](#v-4-0-3) to [5.0.4](#v-5-0-4): 2 breaking changes in 2 versions.
- From [3.2.0](#v-3-2-0) to [5.0.4](#v-5-0-4): 15 breaking changes in 6 versions.

## octokit 5.0.4 breaking changes

octokit 5.0.4, released October 17, 2025: 1 breaking change.

- **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](https://www.npmjs.com/package/octokit/v/5.0.4)

## octokit 5.0.0 breaking changes

octokit 5.0.0, released May 20, 2025: 1 breaking change.

- **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](https://github.com/octokit/octokit.js/releases/tag/v5.0.0)

## octokit 4.0.3 breaking changes

octokit 4.0.3, released December 29, 2024: 1 breaking change.

- **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](https://www.npmjs.com/package/octokit/v/4.0.3)

## octokit 4.0.0 breaking changes

octokit 4.0.0, released May 7, 2024: 6 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](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)
- **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](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)
- **Behavior changed**  

The package now ships as an ES module. Code that loads it with require() must switch to import. [github.com](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)
- **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](https://www.npmjs.com/package/octokit/v/4.0.0)
- **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](https://www.npmjs.com/package/octokit/v/4.0.0)
- **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](https://www.npmjs.com/package/octokit/v/4.0.0)

## octokit 3.2.2 breaking changes

octokit 3.2.2, released May 20, 2025: 3 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](https://www.npmjs.com/package/octokit/v/3.2.2)
- **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](https://www.npmjs.com/package/octokit/v/3.2.2)
- **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](https://www.npmjs.com/package/octokit/v/3.2.2)

## octokit 3.2.1 breaking changes

octokit 3.2.1, released May 3, 2024: 3 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](https://www.npmjs.com/package/octokit/v/3.2.1)
- **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](https://www.npmjs.com/package/octokit/v/3.2.1)
- **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](https://www.npmjs.com/package/octokit/v/3.2.1)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### octokit 3.2.0 breaking changes

octokit 3.2.0, released April 3, 2024: 7 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](https://www.npmjs.com/package/octokit/v/3.2.0)
- **Signature changed** `createNodeMiddleware`  

Was export {createNodeMiddleware} from "./app"; now export {createNodeMiddleware} from "./app.js". [npmjs.com](https://www.npmjs.com/package/octokit/v/3.2.0)

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](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.
