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. 17.x
  2. 17.2.0

    8 Apr 2020
    • Maintain and triage user permissions in orgs, gambit preview graduated

  3. 17.1.4

    26 Mar 2020
    • octokit.activity.checkStarringRepo() -> octokit.activity.checkRepoIsStarredByAuthenticatedUser()

    • octokit.activity.listEventsForOrg() -> octokit.activity.listOrgEventsForAuthenticatedUser()

    • octokit.activity.listEventsForUser() -> octokit.activity.listEventsForAuthenticatedUser()

  4. 17.1.3

    25 Mar 2020
    • Update @octokit/plugin-rest-endpoint-methods to version 3.3.3 and pin versino in package.json (a492db4), closes #1657

  5. 17.1.2

    24 Mar 2020
    • Update Octokit.plugin() API to remove deprecation (1c1df88), closes #1654

  6. 17.1.1

    20 Mar 2020
    • types: export Octokit type

  7. 17.1.0

    11 Mar 2020
    • octokit.repos.deleteDeployment()

    • octokit.actions.listArtifactsForRepo()

    • New octokit.reactions.* endpoints. Deprecates octokit.reactions.delete()

  8. 17.0.1

    10 Mar 2020
    • Load all plugins while preserving type information provided to Octokit

  9. 17.0.0

    19 Feb 2020
    • Breaking

      All deprecated methods and options have been removed. Upgrade to the latest 16.x.x version 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.

  10. 16.x
  11. 16.43.2

    24 Jun 2020
    • typescript: return type for octokit.hook.wrap callback

  12. 16.43.1

    3 Feb 2020
    • TypeScript: named { Octokit } export

  13. 16.43.0

    3 Feb 2020
    • Deprecated

      Deprecate octokit.gitdata.*, octokit.pullRequests.*

  14. 16.42.2

    3 Feb 2020
    • Recover Octokit.plugin

  15. 16.42.1

    3 Feb 2020
    • Do not throw if using deprecated Octokit default export without options

  16. 16.42.0

    3 Feb 2020
    • Deprecated

      Deprecate const Octokit = require("@octokit/rest") in favor of const { Octokit } = require("@octokit/rest")

  17. 16.41.2

    2 Feb 2020
    • package: update @octokit/plugin-rest-endpoint-methods to version 2.3.0 (a10ef70), closes #1571

  18. 16.41.1

    31 Jan 2020
    • package: update @octokit/plugin-rest-endpoint-methods to version 2.2.0

    • Typescript: since parameter type is integer, not string

    • TypeScript: file parameter is no data for .repos.uploadReleaseAsset()

  19. 16.41.0

    31 Jan 2020
    • typescript: types for latest Action endpoint methods

  20. 16.40.2

    30 Jan 2020
    • typescript: new auth strategy options

  21. 16.40.1

    29 Jan 2020
    • typescript: descripion & response types fixes

  22. 16.40.0

    28 Jan 2020
    • Actions endpoint methdos

  23. 16.39.0

    27 Jan 2020
    • Accessing response.data[namespacekey] in .paginate(options, mapFn) map function now logs a deprecation

  24. 16.38.3

    25 Jan 2020
    • typescript: .git.getTree types

  25. 16.38.2

    24 Jan 2020
    • everest preview graduated

    • Add .endpoint() method to all deprecated endpoint methods

    • Bring back octokit.teams.removeMember()

  26. 16.38.1

    22 Jan 2020
    • typescript: authStrategy key in Octokit constructor options

  27. 16.38.0

    22 Jan 2020
    • Deprecated

      All authentication strategies from @octokit/auth are now supported. Setting auth to an object or a basic authentication string is now deprecated and will be removed in v17

  28. 16.37.0

    18 Jan 2020
    • Removed

      Graduated previews removed: barred-rock, echo, hagar

    • .apps.revokeInstallationToken()

    • .migrations.listReposForOrg(), .migrations.listReposForUser()

  29. 16.36.0

    24 Dec 2019
    • Deprecated

      typescript: deprecate client options

  30. 16.35.2

    13 Dec 2019

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  31. 16.35.1

    13 Dec 2019
    • submitted_at for pr review

  32. 16.35.0

    10 Nov 2019
    • Deprecated

      .apps.checkAuthorization()

    • Deprecated

      .apps.resetAuthorization()

    • Deprecated

      .apps.revokeAuthorizationForApplication()

  33. 16.34.1

    31 Oct 2019
    • typescript: Include done callback in Paginate interface

  34. 16.34.0

    23 Oct 2019
    • Remove obsolete plugin to normalize git reference responses

    • multi-line review comments, client_payload parameter for creating a repository dispatch event, listing installations for an organization

  35. 16.33.1

    12 Oct 2019
    • Include details in server validation error

  36. 16.33.0

    8 Oct 2019
    • options: add timeZone option

  37. 16.32.0

    6 Oct 2019
    • types: add deprecation jsdoc for deprecated methods

    • types: mark params deprecated if description has 'deprecated'

  38. 16.31.0

    5 Oct 2019
    • index.js: remove unused scope query field

    • deprecated: Show a message for deprecated methods

  39. 16.30.2

    4 Oct 2019
  40. 16.30.1

    23 Sep 2019
  41. 16.30.0

    21 Sep 2019
    • Deprecated

      octokit.pulls.createFromIssue()` is deprecated. Use octokit.pulls.create()` instead

  42. 16.29.0

    19 Sep 2019
    • luke-cage header is not required

    • restrictions.teams and restrictions.users are required for `octokit.repos.updateBranchProtection()

    • Add deprecation messages for octokit.teams.{add,get,remove}Member()

  43. 16.28.9

    3 Sep 2019
    • package: update universal-user-agent to version 4.0.0

  44. 16.28.8

    3 Sep 2019
    • package: remove unused url-template dependency

  45. 16.28.7

    26 Jul 2019
    • Normalize pagination for "List installations for a user" endpoint

  46. 16.28.6

    23 Jul 2019
    • name parameter is not required for .repos.update()

  47. 16.28.5

    18 Jul 2019
    • "owner" parameter is no longer conflicting in octokit.repos.createUsingTemplate()

  48. 16.28.4

    12 Jul 2019
    • package: update universal-user-agent to version 3.0.0

  49. 16.28.3

    9 Jul 2019
    • package: before-after-hook at v2.0.0

    • package: update @octokit/request to version 5.0.0

  50. 16.28.2

    17 Jun 2019
    • Typo in deprecation warnings

  51. 16.28.1

    10 Jun 2019
    • Add "rocket" and "eyes" to set of supported reactions

  52. 16.28.0

    7 Jun 2019
    • commit_sha parameter for repos.listCommentsForCommit()andrepos.createCommitComment()`

    • repos.createOrUpdateFile()

    • repos.enableAutomatedSecurityFixes() and repos.disableAutomatedSecurityFixes()

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.