@octokit/rest breaking changes
@octokit/rest 22.0.0 (May 25, 2025) is its newest release with breaking changes, 3 of them. The first: Removes deprecated Copilot usage metrics endpoints in @octokit/rest 22.0.0. Every breaking API change we have recorded in @octokit/rest on npm: 5 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 22.0.1, released October 31, 2025.
Its 22.0.0 release drops Node.js 18. Node.js end of life dates.
@octokit/rest 22.0.0 breaking changes
- Removed
The deprecated Copilot usage metrics endpoints have been removed. Code calling them will no longer work and must be moved to replacement endpoints. github.com - Removed
Node.js 18 is no longer supported in this release. Upgrade to a supported Node.js version before updating. github.com - Removed
The deprecated Projects endpoints have been removed. Code calling them will no longer work and must be moved to other endpoints. github.com
@octokit/rest 21.0.0 breaking changes
- Behavior changed
The package is now published as ES modules, so code that loads it with CommonJS require must switch to import. github.com - Signature changed
Octokit
Was const Octokit: typeof Core & import("@octokit/core/dist-types/types.js").Constructor<{paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;} &... npmjs.com
Related packages
- @octokit/auth-app
- @octokit/openapi-types
- @octokit/plugin-paginate-rest
- @octokit/types
- @octokit/webhooks-types
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.