@octokit/rest
22.0.1 · 31 Oct 2025MIT27.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @octokit/rest From 15.13.0 to 15.18.3
11 releases in betweennotes for 10
- 259+
- changes to make
- 0
- advisories fixed
- 10+
- new
- 8+
- fixes
Counted from 10 of 11 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Deprecated15.18.0
- Deprecated15.18.0
- Deprecated15.18.0
- Deprecated15.18.0
- Deprecated15.18.0
- Deprecated15.18.0
- Deprecated15.18.0
- Deprecated15.18.0
- Deprecated15.18.0
- Deprecated15.18.0
Release by release
- Fixed
Send preview Accept header in listInstallationsForAuthenticatedUser
- Fixed
15.18.2no release note
- Fixed
Send labels array in request body root for
octokit.issues.addLabels()
- Fixed
- Deprecated
activity.checkNotificationThreadSubscription➜activity.getThreadSubscription(GET /notifications/threads/:thread_id/subscription) - Deprecated
activity.deleteNotificationThreadSubscription➜activity.deleteThreadSubscription(DELETE /notifications/threads/:thread_id/subscription) - Deprecated
activity.getEventsForOrg➜activity.listPublicEventsForOrg(GET /orgs/:org/events) - Deprecated
activity.getEventsForRepoNetwork➜activity.listPublicEventsForRepoNetwork(GET /networks/:owner/:repo/events)
- Deprecated
- Deprecated
Callback APIs
- Deprecated
Params.input is now params.data
- Deprecated
Error.toJSON()
- Deprecated
- New
routes: add
+jsonformat to preview accept headers - New
.repos.updateInformationAboutPagesSite()
- New
client.teams.addMember,client.teams.addOrUpdateProject,client.teams.createDiscussionComment,client.teams.createDiscussion,client.teams.deleteDiscussionComment,client.teams.deleteDiscussion,client.teams.getDiscussionComment,client.teams.getDiscussion,client.teams.getMember,client.teams.listDiscussionComments,client.teams.listDiscussions,client.teams.listProjects,client.teams.removeMember,client.teams.removeProject,client.teams.reviewProject,client.teams.updateDiscussionComment,client.teams.updateDiscussion
- New
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.