@octokit/rest
22.0.1 · 31 Oct 2025MIT27.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @octokit/rest From 16.0.4 to 16.43.2
105 releases in betweenevery note read
- 30
- changes to make
- 0
- advisories fixed
- 73
- new
- 85
- fixes
Before you upgrade
Tick each one off as you go- Breaking16.37.0
- Breaking16.3.2
- Deprecated16.43.0
- Deprecated16.42.0
- Deprecated16.38.0
- Deprecated16.36.0
- Deprecated16.35.0
- Deprecated16.35.0
- Deprecated16.35.0
- Deprecated16.35.0
Release by release
- Fixed
typescript: return type for
octokit.hook.wrapcallback
- Fixed
- Fixed
TypeScript: named
{ Octokit }export
- Fixed
- Deprecated
Deprecate
octokit.gitdata.*,octokit.pullRequests.*
- Deprecated
- Fixed
Recover Octokit.plugin
- Fixed
- Fixed
Do not throw if using deprecated Octokit default export without options
- Fixed
- Deprecated
Deprecate
const Octokit = require("@octokit/rest")in favor ofconst { Octokit } = require("@octokit/rest")
- Deprecated
- Fixed
package: update @octokit/plugin-rest-endpoint-methods to version 2.2.0
- Fixed
Typescript:
sinceparameter type is integer, not string - Fixed
TypeScript:
fileparameter is nodatafor.repos.uploadReleaseAsset()
- Fixed
1 internal line (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.