Packages

@octokit/rest

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

Upgrading @octokit/rest From 16.42.0 to 22.0.1

113 releases in betweenevery note read

Other targets from 16.42.0Newest 16.x16.43.2
  1. 16.42.0yours
  2. 5 releases
  3. 17.0.0major
  4. 24 releases
  5. 18.0.0major
  6. 55 releases
  7. 19.0.0major
  8. 13 releases
  9. 20.0.0major
  10. 4 releases
  11. 20.1.2security
  12. 21.0.0major
  13. 3 releases
  14. 21.1.1security
  15. 22.0.0major
  16. 22.0.1target

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

12 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

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