npm / octokit
octokit
What changed in octokit 3 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
9 breaking
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initoctokit 51 changes
Breaking changes 1
Support for NodeJS v18 was dropped, so applications can no longer rely on that runtime.
octokit 43 changes
Breaking changes 3
The package is now ESM, which affects how developers load it.
The previously deprecated authentication type oauth has been removed.
The project switches from @octokit/webhooks-types to @octokit/openapi-webhooks-types for GitHub's OpenAPI schema.
octokit 35 changes
Breaking changes 5
Passing custom request options is no longer supported, except for method, headers, body, and signal via @octokit/request.
Support for Node.js http(s) Agents was replaced with documentation on using fetch dispatchers via @octokit/request.
Support for NodeJS v14 and v16 was dropped.
The agent option was removed from octokit.request().
Support for REST API previews was removed.