unstale

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 init

@unstale/cli on npm

octokit 51 changes

Breaking changes 1

  • Support for NodeJS v18 was dropped, so applications can no longer rely on that runtime.

    5.0.0release notes

octokit 43 changes

Breaking changes 3

  • The package is now ESM, which affects how developers load it.

    4.0.0release notes

  • The previously deprecated authentication type oauth has been removed.

    4.0.0release notes

  • The project switches from @octokit/webhooks-types to @octokit/openapi-webhooks-types for GitHub's OpenAPI schema.

    4.0.0release notes

octokit 35 changes

Breaking changes 5

  • Passing custom request options is no longer supported, except for method, headers, body, and signal via @octokit/request.

    3.0.0release notes

  • Support for Node.js http(s) Agents was replaced with documentation on using fetch dispatchers via @octokit/request.

    3.0.0release notes

  • Support for NodeJS v14 and v16 was dropped.

    3.0.0release notes

  • The agent option was removed from octokit.request().

    3.0.0release notes

  • Support for REST API previews was removed.

    3.0.0release notes