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

# @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

Latest version `22.0.1`, released October 31, 2025. 

Its 22.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 [21.0.0](#v-21-0-0) to [22.0.0](#v-22-0-0): 3 breaking changes in 1 version.

## @octokit/rest 22.0.0 breaking changes

@octokit/rest 22.0.0, released May 25, 2025: 3 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](https://github.com/octokit/rest.js/releases/tag/v22.0.0)
- **Removed**  

Node.js 18 is no longer supported in this release. Upgrade to a supported Node.js version before updating. [github.com](https://github.com/octokit/rest.js/releases/tag/v22.0.0)
- **Removed**  

The deprecated Projects endpoints have been removed. Code calling them will no longer work and must be moved to other endpoints. [github.com](https://github.com/octokit/rest.js/releases/tag/v22.0.0)

## @octokit/rest 21.0.0 breaking changes

@octokit/rest 21.0.0, released June 20, 2024: 2 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](https://github.com/octokit/rest.js/releases/tag/v21.0.0)
- **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](https://www.npmjs.com/package/@octokit/rest/v/21.0.0)

## Related packages

- [@octokit/auth-app](https://since.dev/packages/npm/@octokit/auth-app.md)
- [@octokit/openapi-types](https://since.dev/packages/npm/@octokit/openapi-types.md)
- [@octokit/plugin-paginate-rest](https://since.dev/packages/npm/@octokit/plugin-paginate-rest.md)
- [@octokit/types](https://since.dev/packages/npm/@octokit/types.md)
- [@octokit/webhooks-types](https://since.dev/packages/npm/@octokit/webhooks-types.md)

## 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.
