Packages

@octokit/rest

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

Your version

290 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 16.x
  2. 16.8.1

    12 Jan 2019
    • Do not load the same plugin again

  3. 16.8.0

    10 Jan 2019
    • typescript: octokit.registerEndpoints() definitions

    • typescript: complete .endpoint types

    • Allow to use octokit.registerEndpoints() to merge new endpoints into existing scope

  4. 16.7.0

    9 Jan 2019
    • typescript: custom Octokit constructor options for plugins

    • typescript: Octokit.plugin() definition that returns correct Octokit Class API

  5. 16.6.1

    8 Jan 2019
    • Add responses mapped to undefined to final result

  6. 16.6.0

    8 Jan 2019
    • pagination: early exit

  7. 16.5.0

    8 Jan 2019
    • typescript: Octokit.Request & Octokit.Paginate interfaces

  8. 16.4.0

    7 Jan 2019
    • typescript: Definitions for octokit.request() and octokit.paginate()

  9. 16.3.2

    3 Jan 2019
    • Removed

      Typescript: remove callbacks from endpoint methods

  10. 16.3.1

    3 Jan 2019
    • Use URL in "Link" response header for pagination

  11. 16.3.0

    19 Dec 2018
  12. 16.2.0

    10 Dec 2018
  13. 16.1.0

    28 Nov 2018
    • package: error.request is now set to the request options that resulted in an error, via @octokit/request@2.2.0

  14. 16.0.5

    26 Nov 2018
    • typescript: octokit.authenticate definitions using overloads

  15. 16.0.4

    26 Nov 2018
    • package: remove node-fetch dependency

  16. 16.0.3

    26 Nov 2018
    • Aliasing octokit.gitdata → octokit.git, octokit.authorization → octokit.oauthAuthorizations, octokit.pullRequests → octokit.pulls

  17. 16.0.2

    22 Nov 2018
    • package: update @octokit/request to version 2.1.2

  18. 16.0.1

    18 Nov 2018
    • Breaking

      All previously deprecated methods have been removed

    • Breaking

      Preview headers that are not required to use an API have been removed

    • Breaking

      .gitdata.getTags() has been removed. Use .gitdata.listRefs({namespace: tags}) instead

  19. 16.0.0

    17 Nov 2018
  20. 15.x
  21. 15.18.3

    23 Aug 2019
    • Send preview Accept header in listInstallationsForAuthenticatedUser

  22. 15.18.2

    16 Aug 2019
  23. 15.18.1

    13 Dec 2018
    • Send labels array in request body root for octokit.issues.addLabels()

  24. 15.18.0

    14 Nov 2018
  25. 15.17.0

    10 Nov 2018
    • Deprecated

      Callback APIs

    • Deprecated

      Params.input is now params.data

    • Deprecated

      Error.toJSON()

  26. 15.16.1

    5 Nov 2018
    • un-deprecate users.getInstallations() (928b31e), closes #1063

  27. 15.16.0

    5 Nov 2018
    • routes: add +json format to preview accept headers

    • .repos.updateInformationAboutPagesSite()

    • 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

  28. 15.15.1

    18 Oct 2018
    • #1062: remove incorrect "id" parameter for "List deployment statuses" and "Get a single deployment status" (44e9b1f), closes #1062

  29. 15.15.0

    18 Oct 2018
    • namespace parameter for .gitdata.getReferences()

  30. 15.14.0

    17 Oct 2018
    • routes: remove invalid enum values for "Create/Update a Check Run"

    • Required parameters for pullRequests.createReview() among others

    • client.emojis.get()

  31. 15.13.1

    10 Oct 2018
    • Remove obsolete mapTo: input for .users.addEmails()

    • Remove obsolete preview headers

  32. 15.13.0

    6 Oct 2018
    • Client.apps.createFromManifest({code}) – see git.io/fx3wp

    • Remove obsolete "body" parameter from .pullRequests.createFromIssue()

    • Type *_id route parameters as integer

  33. 15.12.1

    27 Sep 2018
  34. 15.12.0

    19 Sep 2018
    • Always send octokit/rest.js version in user-agent header

  35. 15.11.4

    17 Sep 2018
    • typescript: nullable params

  36. 15.11.3

    16 Sep 2018
    • typescript: meta property in typings templates was replaced with headers.

    • pullRequests.createFromIssue parameter specifications

  37. 15.11.2

    12 Sep 2018
    • typescript: add namespace to return types

  38. 15.11.1

    5 Sep 2018
    • Move @gimenete/type-writer to devDependencies

    • typescript: add definitions for parameters that map to the request body root

  39. 15.11.0

    4 Sep 2018
    • routes: adapt Installation Access Token route

    • routes: annotation parameter renames (filename -> path, warning_level -> annotation_level, blob_href removed)

    • routes: checks.rerequestSuite()

  40. 15.10.0

    16 Aug 2018
    • typescript: response types

  41. 15.9.6

    15 Aug 2018
    • Removed

      Remove 'head_branch' from checks API validation

    • archived_state enums, name no longer required for check run update

  42. 15.9.5

    1 Aug 2018
    • #950: mark deprecated properties as optional in typescript typings (bbb066b), closes #950

  43. 15.9.4

    30 Jun 2018
    • Lambda compatibility

  44. 15.9.3

    28 Jun 2018
    • archive and archived_state parameter definitions

  45. 15.9.2

    23 Jun 2018
    • Deprecated

      team_id parameter renamed to team_ids for client.repos.transfer(). team_id is now deprecated.

  46. 15.9.1

    20 Jun 2018
    • "actions" parameter for .checks.{create,update}() is an array

  47. 15.9.0

    17 Jun 2018
    • .aps.find{Org,Repo,User}Installation

    • User migration methods

  48. 15.8.2

    12 Jun 2018
    • don’t require "id" for webhook APIs (27f334f), closes #911

  49. 15.8.1

    29 May 2018
    • Restore compatibility with v4

  50. 15.8.0

    27 May 2018
    • Deprecated

      response.meta is now response.headers

    • Deprecated

      octokit.issues.updateLabel(): oldname is now current_name

    • Deprecated

      Most id paramters have been renamed to <resource>_id. See the full list at c62b2bc

  51. 15.7.0

    24 May 2018
    • .orgs.createInvitation()

    • .orgs.getInvitationTeams()

    • .projects.addCollaborator()

  52. 15.6.2

    22 May 2018
    • Pagination with preview header

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.