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.27.3

    31 May 2019
    • typescript: Octokit#plugin argument type for plugins

  2. 16.27.2

    31 May 2019
    • author.* and committer.* parameter validation for .repos.deleteFile()

  3. 16.27.1

    29 May 2019
    • Typo in deprecation message for .repos.getCommitRefSha()

  4. 16.27.0

    23 May 2019
    • Deprecated

      octokit.repos.getCommitRefSha() is deprecated, use octokit.repos.getCommit() instead

  5. 16.26.0

    17 May 2019
    • .repos.enableVulnerabilityAlerts()

    • .repos.disableVulnerabilityAlerts()

    • source parameter for .repos.enablePagesSite()

  6. 16.25.6

    16 May 2019
    • package: update @octokit/request to version 4.0.1

  7. 16.25.5

    15 May 2019
    • package: update deprecation to version 2.0.0

  8. 16.25.4

    12 May 2019
    • package: update @octokit/request to version 3.0.3

  9. 16.25.3

    8 May 2019
    • package: update @octokit/request to version 3.0.2

  10. 16.25.2

    4 May 2019
    • Do not mutate options passed to endpoint methods

  11. 16.25.1

    30 Apr 2019
    • package: update @octokit/request to version 3.0.1

  12. 16.25.0

    19 Apr 2019
    • Apps.deleteInstallation({ installation_id })

  13. 16.24.3

    17 Apr 2019
    • Throw 400 Bad Request error when octokit.issues.get() without parameters

  14. 16.24.2

    16 Apr 2019
    • Implement deprecation for parameters in .endpoint() and .endpoint.merge()

  15. 16.24.1

    14 Apr 2019
    • :commit_sha parameter for .git.getCommit(). Deprecates :sha

    • :issue_number, :milestone_number, :pull_number parameters. Deprecates :number

    • .repos.listBranchesForHeadCommit()

  16. 16.24.0

    14 Apr 2019

    Update to v16.24.1 instead.

  17. 16.23.5

    14 Apr 2019
    • .paginate() with results namespace (GET /installation/repositories, single page response)

  18. 16.23.4

    9 Apr 2019
    • package: update @octokit/request to version 3.0.0

  19. 16.23.3

    9 Apr 2019
  20. 16.23.2

    2 Apr 2019
    • Normalize pagination for responses with repository_selection property

  21. 16.23.1

    2 Apr 2019
    • package: atob-lite

  22. 16.23.0

    2 Apr 2019
    • options.auth can be set to token without a prefix

  23. 16.22.0

    30 Mar 2019
    • .teams.getByName()

  24. 16.21.1

    28 Mar 2019
    • Assure single object/array responses for .git.getRef()/.git.listRefs()

  25. 16.21.0

    26 Mar 2019
    • author.*, committer.*, signature parameters for .git.createCommit()

    • draft argument for creating a pull request

    • Call auth.on2fa again if OTP becomes invalid

  26. 16.20.0

    20 Mar 2019
    • Deprecated

      Deprecate .total_count, .incomplete_results and .<namespace> properties from paginated results

    • Normalize pagination results for all endpoints which paginate with a namespace

  27. 16.19.0

    15 Mar 2019
    • octokit.repos.enablePagesSite() and octokit.repos.disablePagesSite() (a91f162), closes #1284

    • mister-fantastic preview not required for .repos.{getPages|updateInformationAboutPagesSite}

  28. 16.18.1

    14 Mar 2019
    • two-factor auth: persist one-time password header on subsequent requests

  29. 16.18.0

    14 Mar 2019
    • Media type format and previews

      octokit.issues.get({
        owner, 
        repo, 
        number,
        mediaType: {
          format: 'full+json',
          previews: ['symmetra']
        }
      })
    • don’t swallow errors thrown in options.auth function

  30. 16.17.1

    13 Mar 2019
    • Log a deprecations only once, and not as Error

    • Set machine-man preview for .apps.listRepos() and .apps.getBySlug()

  31. 16.17.0

    7 Mar 2019
    • Deprecated

      octokit.licenses.list()

    • octokit.licenses.listCommonlyUsed()

  32. 16.16.5

    6 Mar 2019
    • package: update @octokit/request to version 2.4.1

  33. 16.16.4

    4 Mar 2019
    • package: update before-after-hook

  34. 16.16.3

    28 Feb 2019
    • package: @octokit/request v2.4.0

    • Redact credentails from error.request

  35. 16.16.2

    27 Feb 2019
    • Paginate search results

  36. 16.16.1

    27 Feb 2019
    • "affiliation" is not an enum parameter

  37. 16.16.0

    19 Feb 2019
    • .projects.createForAuthenticatedUser(), .projects.listForUser()

  38. 16.15.1

    19 Feb 2019
    • don’t swallow errors thrown in options.auth function

  39. 16.15.0

    2 Feb 2019
    • name parameter no longer required for octokit.repos.createHook()

    • sort and direction parameters for octokit.repos.listForOrg()

  40. 16.14.1

    1 Feb 2019
    • typescript: reference esnext.asynciterable

  41. 16.14.0

    31 Jan 2019
    • Custom logging

    • octokit.log.debug()

    • octokit.log.info()

  42. 16.13.4

    29 Jan 2019
    • typescript: auth.client_id, auth.client_secret → auth.clientId, auth.clientSecret

  43. 16.13.3

    26 Jan 2019
    • typescript: accept { auth: () => } constructor option

  44. 16.13.2

    26 Jan 2019
    • typescript: two-factor authentication is on2fa() not on2Fa()

  45. 16.13.1

    22 Jan 2019
    • typescript: update typings with new options for constructor

  46. 16.13.0

    21 Jan 2019
    • "auth" constructor options

  47. 16.12.0

    21 Jan 2019
    • userAgent, previews and request options

  48. 16.11.0

    20 Jan 2019
    • Handle invalid otp for 2FA

    • Resolve requsets with response.url

  49. 16.10.0

    17 Jan 2019
    • two-factor authentication

  50. 16.9.0

    16 Jan 2019
    • Deprecated

      octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() - octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() is now deprecated

    • Deprecated

      octokit.search.issuesAndPullRequests() - octokit.search.issues() is now deprecated

    • octokit.repos.updateReview({owner,repo,number,review_id,body})

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.