@octokit/rest
22.0.1 · 31 Oct 2025MIT27.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @octokit/rest From 16.43.2 to 17.0.0
1 release in betweenevery note read
- 10
- changes to make
- 0
- advisories fixed
- 5
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking17.0.0
- Breaking17.0.0
- Breaking17.0.0
- Breaking17.0.0
- Breaking17.0.0
- Breaking17.0.0
- Breaking17.0.0
- Breaking17.0.0
- Breaking17.0.0
- Breaking17.0.0
Release by release
- Breaking
All deprecated methods and options have been removed. Upgrade to the latest
16.x.xversion and address all deprecation messages for an easy upgrade. - Breaking
octokit.paginate()is now always returning an array, even when the response is a single object. - Breaking
Parameters passed to endpoint methods such as
octokit.issues.create(parameters)are no longer validated on the client. We recommend using TypeScript or taking advantage of the TypeScript definitions in JavaScript. - Breaking
Plugins have to return an object in order to extend the
octokitinstance. It is technically still possible to alter theoctokitinstance directly, but returning an object is required for TypeScript support
- Breaking
1 other line we could not sort, mostly version bumps
- 17.0.0
48,624 lines of code down to 10. As in 10. Not 10,000. 10. Learn more about that on GitHub's blog: From 48k lines of code to 10—the story of GitHub’s JavaScript SDK
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.