Packages

@octokit/rest

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

Your version

15.3.0

1 May 2018Where it was published

15.18.3 is the newest release of 15.x.

In short

5 new12 fixed

Release note

This release has a lot of changes to lib/routes.json. The old and new routes.json are attached to this release so you can use your favorite JSON Diff tool to compare them (like [jsondiff](tlrobinson.net/projects/javascript-fun/jsondiff/ by Tom Robinson)

Bug Fixes

Routes

  • encoding param not required for gitdata.createBlob()

  • Add missing owner/repo parameters to getReference

  • Add missing pagination parameters

  • Admin pre-receive environment routes

  • Color & name params not required for issues.updateLabel()

  • Fix repo installations paths

  • Replace body param with assignees

  • Path fixes for lfs & large import files routes

  • Remove invalid user_id parameter from createInstallationToken & getInstallationRepositories

  • Remove invalid pagination parameters

  • Title parameter not required for issues.updateMilestone()

  • Various fixes

  • Add ?recursive enum parameter to "Get tree"

Validation

  • Parse parameter value to integer before checking for enum

  • Throw "cannot be null" error correctly

Features

  • Handle deprecation and aliasing of method names

  • Nested properties in endpoint definitions

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.