# What changed in octokit

> 9 changes in octokit 3 to 5 from its official release notes, upgrade guides and advisories: 9 breaking. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/octokit/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## octokit 5

### Breaking changes

- Support for NodeJS v18 was dropped, so applications can no longer rely on that runtime. (5.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v5.0.0)

## octokit 4

### Breaking changes

- The package is now ESM, which affects how developers load it. (4.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)
- The previously deprecated authentication type oauth has been removed. (4.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)
- The project switches from @octokit/webhooks-types to @octokit/openapi-webhooks-types for GitHub's OpenAPI schema. (4.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

## octokit 3

### Breaking changes

- Passing custom request options is no longer supported, except for method, headers, body, and signal via @octokit/request. (3.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v3.0.0)
- Support for Node.js http(s) Agents was replaced with documentation on using fetch dispatchers via @octokit/request. (3.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v3.0.0)
- Support for NodeJS v14 and v16 was dropped. (3.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v3.0.0)
- The agent option was removed from octokit.request(). (3.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v3.0.0)
- Support for REST API previews was removed. (3.0.0) — [release notes](https://github.com/octokit/octokit.js/releases/tag/v3.0.0)
