Packages

@octokit/rest

22.0.1 · 31 Oct 2025MIT27.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @octokit/rest From 15.15.1 to 22.0.1

225 releases in betweennotes for 223

Other targets from 15.15.1Newest 15.x15.18.3
16.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below; the migration guide covers them.
  1. 15.15.1yours
  2. 7 releases
  3. 16.0.0major
  4. 109 releases
  5. 17.0.0major
  6. 24 releases
  7. 18.0.0major
  8. 55 releases
  9. 19.0.0major
  10. 13 releases
  11. 20.0.0major
  12. 4 releases
  13. 20.1.2security
  14. 21.0.0major
  15. 3 releases
  16. 21.1.1security
  17. 22.0.0major
  18. 22.0.1target
580+
changes to make
0
advisories fixed
241+
new
141+
fixes

Counted from 223 of 225 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking21.0.0
  • Breaking20.0.0
  • Breaking20.0.0
  • Breaking20.0.0
  • Breaking19.0.0
  • Breaking18.0.0
  • Breaking18.0.0

Security

  • deps: update Octokit dependencies to mitigate ReDos [security]

    21.1.1
  • deps: bump Octokit dependencies to address ReDos vulnerabilities, bump devDependencies (#487) (711f2ee), closes #486

    20.1.2

Release by release

  1. 22.0.1

    31 Oct 20251 fix
    • Fixed

      deps: update octokit monorepo (major)

  2. 22.0.0

    Migration needed25 May 2025
    • Breaking

      deps: Drop support for NodeJS v18

    • Breaking

      deps: Remove deprecated Projects endpoints

    • Breaking

      deps: Remove deprecated Copilot usage metrics endpoints

  3. 21.1.1

    Security fix14 Feb 2025
    • Security

      deps: update Octokit dependencies to mitigate ReDos [security]

  4. 21.1.0

    8 Jan 20251 new
    • New

      New endpoints, bump Octokit deps to fix Deno

  5. 21.0.2nothing new or fixed in the note

  6. 21.0.1

    17 Jul 20241 fix
    • Fixed

      Update deps

  7. 21.0.0

    Migration needed20 Jun 20241 new
    • Breaking

      Package is now ESM

    • New

      v21

  8. 20.1.2

    Security fix26 Feb 2025
    • Security

      deps: bump Octokit dependencies to address ReDos vulnerabilities, bump devDependencies (#487) (711f2ee), closes #486

13 other lines we could not sort, mostly version bumps
  • octokit.activity.checkStarringRepo() -> octokit.activity.checkRepoIsStarredByAuthenticatedUser()

    17.1.4
  • octokit.activity.listEventsForOrg() -> octokit.activity.listOrgEventsForAuthenticatedUser()

    17.1.4
  • octokit.activity.listEventsForUser() -> octokit.activity.listEventsForAuthenticatedUser()

    17.1.4
  • octokit.activity.listFeeds() -> octokit.activity.getFeeds()

    17.1.4
  • octokit.activity.listNotifications() -> octokit.activity.listNotificationsForAuthenticatedUser()

    17.1.4
  • octokit.activity.listNotificationsForRepo() -> octokit.activity.listRepoNotificationsForAuthenticatedUser()

    17.1.4
  • octokit.activity.listPublicEventsForOrg() -> octokit.activity.listPublicOrgEvents()

    17.1.4
  • octokit.activity.markAsRead() -> octokit.activity.markNotificationsAsRead()

    17.1.4
  • octokit.activity.markNotificationsAsReadForRepo() -> octokit.activity.markRepoNotificationsAsRead()

    17.1.4
  • octokit.activity.starRepo() -> octokit.activity.starRepoForAuthenticatedUser()

    17.1.4

30 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.