hellomouse / GNS

GitHub Notification Service For IRC
MIT License
6 stars 3 forks source link

fix(deps): update dependency @octokit/rest to v17 - autoclosed #910

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
@octokit/rest dependencies major ~16.42.0 -> ~17.11.0

Release Notes

octokit/rest.js ### [`v17.11.2`](https://togithub.com/octokit/rest.js/releases/v17.11.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.11.1...v17.11.2) ##### Bug Fixes - reverts changes in faulty 17.11.1 release ### [`v17.11.1`](https://togithub.com/octokit/rest.js/releases/v17.11.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.11.0...v17.11.1) ##### Bug Fixes - **deps:** bump [@​octokit/plugin-rest-endpoint-methods](https://togithub.com/octokit/plugin-rest-endpoint-methods) from 3.17.0 to 4.0.0 ([80549bf](https://togithub.com/octokit/rest.js/commit/80549bf5e6051f2cc48bfb9a0d0a4b8dadc56fbc)) ### [`v17.11.0`](https://togithub.com/octokit/rest.js/releases/v17.11.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.10.0...v17.11.0) ##### Features - `repos.getAccessRestrictions` - `pulls.listCommentsForReview` - `pulls.removeRequestedReviewers` - `pulls.requestReviewers` - `pulls.listRequestedReviewers` - `pulls.createReplyForReviewComment` - `pulls.createReviewComment` - `pulls.listReviewComments` - `pulls.deleteReviewComment` - `pulls.updateReviewComment` - `pulls.getReviewComment` - `pulls.listReviewCommentsForRepo` - `projects.getPermissionForUser` - `orgs.listPublicEmailsForAuthenticatedUser` - `orgs.updateMembershipForAuthenticatedUser` - `orgs.listMembershipsForAuthenticatedUser` - `users.deletePublicSshKeyForAuthenticated` - `users.getPublicSshKeyForAuthenticated` - `users.createPublicSshKeyForAuthenticated` - `users.listPublicSshKeysForAuthenticated` - `users.deleteGpgKeyForAuthenticated` - `users.getGpgKeyForAuthenticated` - `users.createGpgKeyForAuthenticated` - `users.listGpgKeysForAuthenticated` - `users.checkPersonIsFollowedByAuthenticated` - `users.deleteEmailsForAuthenticated` - `users.addEmailsForAuthenticated` - `users.listEmailsForAuthenticated` - `users.setPrimaryEmailVisibilityForAuthenticated` - `users.listBlockedByAuthenticated` - `scim.deleteUserFromOrg` - `scim.updateAttributeForUser` - `scim.setInformationForProvisionedUser` - `scim.getProvisioningInformationForUser` - `scim.provisionAndInviteUser` - `repos.downloadArchive` - `repos.createCommitStatus` - `repos.listReleaseAssets` - `repos.requestPagesBuild` - `repos.deletePagesSite` - `repos.createPagesSite` - `repos.deleteDeployKey` - `repos.createDeployKey` - `testPushWebhook` - `pingWebhook` - `deleteWebhook` - `updateWebhook` - `getWebhook` - `createWebhook` - `listWebhooks` - `repos.createOrUpdateFileContents` - `repos.getContent` - `repos.getCommunityProfileMetrics` - `repos.listCommitStatusesForRef` - `repos.listCommitComments` - `repos.removeUserAccessRestrictions` - `repos.addUserAccessRestrictions` - `repos.setUserAccessRestrictions` - `repos.removeTeamAccessRestrictions` - `repos.addTeamAccessRestrictions` - `repos.setTeamAccessRestrictions` - `repos.removeAppAccessRestrictions` - `repos.addAppAccessRestrictions` - `repos.setAppAccessRestrictions` - `repos.removeProtectedBranchRestrictions` - `repos.removeStatusCheckContexts` - `repos.addStatusCheckContexts` - `repos.setStatusCheckContexts` - `repos.getAllStatusCheckContexts` - `repos.removeStatusChecksProtection` - `repos.updateStatusChecksProtection` - `repos.getStatusChecksProtection` - `repos.deleteCommitSignatureProtection` - `repos.createCommitSignatureProtection` - `repos.getCommitSignatureProtection` - `repos.deletePullRequestReviewProtection` - `repos.updatePullRequestReviewProtection` - `repos.getPullRequestReviewProtection` - `repos.deleteAdminBranchProtection` - `repos.setAdminBranchProtection` - `repos.getAdminBranchProtection` - `repos.deleteBranchProtection` - `orgs.removePublicMembershipForAuthenticatedUser` - `orgs.setPublicMembershipForAuthenticatedUser` - `orgs.checkPublicMembershipForUser` - `orgs.removeMembershipForUser` - `orgs.setMembershipForUser` - `orgs.getMembershipForUser` - `orgs.checkMembershipForUser` - `orgs.listAppInstallations` - `orgs.pingHook` - `orgs.deleteHook` - `orgs.updateHook` - `orgs.getHook` - `orgs.createHook` - `orgs.listHooks` - `orgs.removeCredentialAuthorization` - `orgs.listSamlSsoAuthorizations` - `repos.listCommitCommentsForRepo` - `gitignore.getAllTemplates` - `licenses.getAllCommonlyUsed` ##### Deprecations - `repos.getProtectedBranchRestrictions` - `pulls.getCommentsForReview` - `pulls.deleteReviewRequest` - `pulls.createReviewRequest` - `pulls.listReviewRequests` - `pulls.createReviewCommentReply` - `pulls.createComment` - `pulls.listComments` - `pulls.deleteComment` - `pulls.updateComment` - `pulls.getComment` - `pulls.listCommentsForRepo` - `projects.reviewUserPermissionLevel` - `orgs.listPublicEmails` - `orgs.updateMembership` - `orgs.listMemberships` - `users.deletePublicKey` - `users.getPublicKey` - `users.createPublicKey` - `users.listPublicKeys` - `users.deleteGpgKey` - `users.getGpgKey` - `users.createGpgKey` - `users.listGpgKeys` - `users.checkFollowing` - `users.deleteEmailsForAuthenticated` - `users.addEmailsForAuthenticated` - `users.listEmailsForAuthenticated` - `users.togglePrimaryEmailVisibility` - `users.listBlocked` - `scim.removeUserFromOrg` - `scim.updateUserAttribute` - `scim.replaceProvisionedUserInformation` - `scim.getProvisioningDetailsForUser` - `scim.provisionAndInviteUsers` - `repos.getArchiveLink` - `repos.createStatus` - `repos.listAssetsForRelease` - `repos.requestPageBuild` - `repos.disbalePagesSite` - `repos.enablePagesSite` - `repos.removeDeployKey` - `repos.addDeployKey` - `testPushHook` - `pingHook` - `deleteHook` - `updateHook` - `getHook` - `createHook` - `listHooks` - `repos.createOrUpdateFile` - `repos.getContents` - `repos.retrieveCommunityProfileMetrics` - `repos.listStatusesForRef` - `repos.listCommentsForCommit` - `repos.removeProtectedBranchUserRestrictions` - `repos.addProtectedBranchUserRestrictions` - `repos.replaceProtectedBranchUserRestrictions` - `repos.removeProtectedBranchTeamRestrictions` - `repos.addProtectedBranchTeamRestrictions` - `repos.replaceProtectedBranchTeamRestrictions` - `repos.removeProtectedBranchAppRestrictions` - `repos.addProtectedBranchAppRestrictions` - `repos.replaceProtectedBranchAppRestrictions` - `repos.deleteAccessRestrictions` - `repos.removeProtectedBranchRequiredStatusChecksContexts` - `repos.addProtectedBranchRequiredStatusChecksContexts` - `repos.replaceProtectedBranchRequiredStatusChecksContexts` - `repos.listProtectedBranchRequiredStatusChecksContexts` - `repos.removeProtectedBranchRequiredStatusChecks` - `repos.updateProtectedBranchRequiredStatusChecks` - `repos.getProtectedBranchRequiredStatusChecks` - `repos.removeProtectedBranchRequiredSignatures` - `repos.addProtectedBranchRequiredSignatures` - `repos.getProtectedBranchRequiredSignatures` - `repos.removeProtectedBranchPullRequestReviewEnforcement` - `repos.updateProtectedBranchPullRequestReviewEnforcement` - `repos.getProtectedBranchPullRequestReviewEnforcement` - `repos.removeProtectedBranchAdminEnforcement` - `repos.addProtectedBranchAdminEnforcement` - `repos.getProtectedBranchAdminEnforcement` - `repos.removeBranchProtection` - `orgs.concealMembership` - `orgs.publicizeMembership` - `orgs.checkPublicMembership` - `orgs.removeMembership` - `orgs.addOrUpdateMembership` - `orgs.getMembership` - `orgs.checkMembership` - `orgs.listInstallations` - `orgs.pingWebhook` - `orgs.deleteWebhook` - `orgs.updateWebhook` - `orgs.getWebhook` - `orgs.createWebhook` - `orgs.listWebhooks` - `orgs.removeSamlSsoAuthorization` - `orgs.listCredentialAuthorizations` - `repos.listCommitComments`. - `gitignore.listTemplates` - `licenses.listCommonlyUsed` ### [`v17.10.0`](https://togithub.com/octokit/rest.js/releases/v17.10.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.9.3...v17.10.0) ##### Features - `actions.downloadJobLogsForWorkflowRun`, `actions.getJobForWorkflowRun`, `actions.listWorkflowRunsForRepo`, `actions.createInstallationAccessToken`, `apps.listReposAccessibleToInstallation`, `apps.revokeInstallationAccessToken`, `interactions.setRestrictionsForOrg`, `interactions.setRestrictionsForRepo`. Deprecates `actions.downloadWorkflowJobLogs`, `actions.getWorkflowJob`, `actions.listRepoWorkflowRuns`, `actions.createInstallationToken`, `apps.listRepos`, `apps.revokeInstallationToken`, `interactions.addOrUpdateRestrictionsForOrg`, `interactions.addOrUpdateRestrictionsForRepo`, `issues.replaceAllLabels` ([#​1750](https://togithub.com/octokit/rest.js/issues/1750)) ([e0b4282](https://togithub.com/octokit/rest.js/commit/e0b42823a07f0cdd3153757db79a0d0491270f37)) ### [`v17.9.3`](https://togithub.com/octokit/rest.js/releases/v17.9.3) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.9.2...v17.9.3) ##### Bug Fixes - **deps:** bump [@​octokit/plugin-rest-endpoint-methods](https://togithub.com/octokit/plugin-rest-endpoint-methods) from 3.13.3 to 3.14.0 ([ca7e89f](https://togithub.com/octokit/rest.js/commit/ca7e89ff4f71bb245fa2f60a9ec1217050d0a72d)) ### [`v17.9.2`](https://togithub.com/octokit/rest.js/releases/v17.9.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.9.1...v17.9.2) ##### Bug Fixes - handle deprecated parameters ([#​1716](https://togithub.com/octokit/rest.js/issues/1716)) ([c9cfbb4](https://togithub.com/octokit/rest.js/commit/c9cfbb4e6eef80b067c416d2c503264caef21890)) ### [`v17.9.1`](https://togithub.com/octokit/rest.js/releases/v17.9.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.9.0...v17.9.1) ##### Bug Fixes - **TypeScript:** \`octokit.gists.{create,update}({ gist_id, files }) ([#​1714](https://togithub.com/octokit/rest.js/issues/1714)) ([647e3a6](https://togithub.com/octokit/rest.js/commit/647e3a68462a5363f935f01ba16a958b5c2eb42f)) ### [`v17.9.0`](https://togithub.com/octokit/rest.js/releases/v17.9.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.8.0...v17.9.0) ##### Features - **typescript:** optional `ref` parameter for `.codeScanning.listAlertsForRepo()` method ([#​1706](https://togithub.com/octokit/rest.js/issues/1706)) ([b61c123](https://togithub.com/octokit/rest.js/commit/b61c1238e78a0d72b901aa79afd7ab006019cce0)) ### [`v17.8.0`](https://togithub.com/octokit/rest.js/releases/v17.8.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.7.0...v17.8.0) ##### Features - `octokit.codeScanning.{getAlert,listAlertsForRepo}` ([#​1701](https://togithub.com/octokit/rest.js/issues/1701)) ([f94ccea](https://togithub.com/octokit/rest.js/commit/f94ccea193b96fdecdf212b55f4338dd08b64a9c)) ### [`v17.7.0`](https://togithub.com/octokit/rest.js/releases/v17.7.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.6.0...v17.7.0) ##### Features - `octokit.actions.downloadWorkflow{Job,Run}logs`, `octokit.apps.{suspend,unsuspend}Installation`. Deprecates `octokit.actions.listWorkflow{Job,Run}Logs` ([#​1700](https://togithub.com/octokit/rest.js/issues/1700)) ([f591f34](https://togithub.com/octokit/rest.js/commit/f591f342fe817e2db237563700bcbcdfc9cab675)) ### [`v17.6.0`](https://togithub.com/octokit/rest.js/releases/v17.6.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.5.2...v17.6.0) ##### Features - **typescript:** set types for parameters and results/responses automagically ([#​1690](https://togithub.com/octokit/rest.js/issues/1690)) ([80e87a0](https://togithub.com/octokit/rest.js/commit/80e87a04d1d5f99fffcbc48c303e3a1e262e263f)) ### [`v17.5.2`](https://togithub.com/octokit/rest.js/releases/v17.5.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.5.1...v17.5.2) ##### Bug Fixes - **typescript:** remove obsolete `?{page,per_page}` parameters ([#​1685](https://togithub.com/octokit/rest.js/issues/1685)) ([a4c536d](https://togithub.com/octokit/rest.js/commit/a4c536da9b40963b3eafc15672190210a42a5ad5)) ### [`v17.5.1`](https://togithub.com/octokit/rest.js/releases/v17.5.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.5.0...v17.5.1) ##### Bug Fixes - **typescript:** define `.defaults()` method on rest endpoint method types ([#​1681](https://togithub.com/octokit/rest.js/issues/1681)) ([4f23359](https://togithub.com/octokit/rest.js/commit/4f23359f11d828255254808b6049159665285062)) ### [`v17.5.0`](https://togithub.com/octokit/rest.js/releases/v17.5.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.4.0...v17.5.0) ##### Features - **typescript:** `import { RestEndpointMethodTypes } from "@​octokit/rest";` ([#​1680](https://togithub.com/octokit/rest.js/issues/1680)) ([6a9f9a4](https://togithub.com/octokit/rest.js/commit/6a9f9a4f113dac5504bd27232eec654934c7f92f)) ### [`v17.4.0`](https://togithub.com/octokit/rest.js/releases/v17.4.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.3.0...v17.4.0) ##### Features - octokit.actions.deleteWorkflowRunLogs() ([#​1673](https://togithub.com/octokit/rest.js/issues/1673)) ([0386dad](https://togithub.com/octokit/rest.js/commit/0386dad85d469fbc421901a22ccd31f69fa34572)) ### [`v17.3.0`](https://togithub.com/octokit/rest.js/releases/v17.3.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.2.1...v17.3.0) ##### Features - simpler pagination using endpoint methods as first argument ([#​1672](https://togithub.com/octokit/rest.js/issues/1672)) ([548d65a](https://togithub.com/octokit/rest.js/commit/548d65ab6cd44d770bbec913dedb523d2ba52118)) Before ```js const options = octokit.issues.listForRepo.endpoint.merge({ owner: "octokit", repo: "rest.js", }); const issues = await octokit.paginate(options); ``` After ```js const issues = await octokit.paginate(octokit.issues.listForRepo, { owner: "octokit", repo: "rest.js", }); ``` ### [`v17.2.1`](https://togithub.com/octokit/rest.js/releases/v17.2.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.2.0...v17.2.1) ##### Bug Fixes - **TypeScript:** method description updates ([#​1671](https://togithub.com/octokit/rest.js/issues/1671)) ([3fba786](https://togithub.com/octokit/rest.js/commit/3fba786c32c5a77dd7e6842dca7f8f6dbe06b87d)) ### [`v17.2.0`](https://togithub.com/octokit/rest.js/releases/v17.2.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.1.4...v17.2.0) ##### Features - maintain and triage user permissions in orgs, gambit preview graduated ([#​32](https://togithub.com/octokit/rest.js/issues/32)) ([#​1665](https://togithub.com/octokit/rest.js/issues/1665)) ([76f7fbe](https://togithub.com/octokit/rest.js/commit/76f7fbe61af930294e55c3883284e14d0948f8c6)) ### [`v17.1.4`](https://togithub.com/octokit/rest.js/releases/v17.1.4) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.1.3...v17.1.4) ##### Renames The previous methods have been deprecated. - `octokit.activity.checkStarringRepo()` -> `octokit.activity.checkRepoIsStarredByAuthenticatedUser()` - `octokit.activity.listEventsForOrg()` -> `octokit.activity.listOrgEventsForAuthenticatedUser()` - `octokit.activity.listEventsForUser()` -> `octokit.activity.listEventsForAuthenticatedUser()` - `octokit.activity.listFeeds()` -> `octokit.activity.getFeeds()` - `octokit.activity.listNotifications()` -> `octokit.activity.listNotificationsForAuthenticatedUser()` - `octokit.activity.listNotificationsForRepo()` -> `octokit.activity.listRepoNotificationsForAuthenticatedUser()` - `octokit.activity.listPublicEventsForOrg()` -> `octokit.activity.listPublicOrgEvents()` - `octokit.activity.markAsRead()` -> `octokit.activity.markNotificationsAsRead()` - `octokit.activity.markNotificationsAsReadForRepo()` -> `octokit.activity.markRepoNotificationsAsRead()` - `octokit.activity.starRepo()` -> `octokit.activity.starRepoForAuthenticatedUser()` - `octokit.activity.unstarRepo()` -> `octokit.activity.unstarRepoForAuthenticatedUser()` ### [`v17.1.3`](https://togithub.com/octokit/rest.js/releases/v17.1.3) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.1.2...v17.1.3) ##### Bug Fixes - update [@​octokit/plugin-rest-endpoint-methods](https://togithub.com/octokit/plugin-rest-endpoint-methods) to version 3.3.3 and pin versino in package.json ([a492db4](https://togithub.com/octokit/rest.js/commit/a492db42786e2be8111b36bd976116d4b4fb0a39)), closes [#​1657](https://togithub.com/octokit/rest.js/issues/1657) ### [`v17.1.2`](https://togithub.com/octokit/rest.js/releases/v17.1.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.1.1...v17.1.2) ##### Bug Fixes - update `Octokit.plugin()` API to remove deprecation ([1c1df88](https://togithub.com/octokit/rest.js/commit/1c1df88f8936b456c8c00691f9392fd1b913f51f)), closes [#​1654](https://togithub.com/octokit/rest.js/issues/1654) ### [`v17.1.1`](https://togithub.com/octokit/rest.js/releases/v17.1.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.1.0...v17.1.1) ##### Bug Fixes - **types:** export Octokit type ([#​1650](https://togithub.com/octokit/rest.js/issues/1650)) ([1b708ce](https://togithub.com/octokit/rest.js/commit/1b708ce41ef12a9d4ae313e8872e8fd14d285f98)) ### [`v17.1.0`](https://togithub.com/octokit/rest.js/releases/v17.1.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.0.1...v17.1.0) ##### Features - `octokit.repos.deleteDeployment()` - `octokit.actions.listArtifactsForRepo()` - new octokit.reactions.\* endpoints. Deprecates `octokit.reactions.delete()` - new endpoints and deprecations coming from restructuring in GitHubs REST API docs ### [`v17.0.1`](https://togithub.com/octokit/rest.js/releases/v17.0.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v17.0.0...v17.0.1) ##### Bug Fixes - load all plugins while preserving type information provided to Octokit ([#​1638](https://togithub.com/octokit/rest.js/issues/1638)) ([1bdd177](https://togithub.com/octokit/rest.js/commit/1bdd1770ad6f91c3acd6287fab752567c159bdfb)) ### [`v17.0.0`](https://togithub.com/octokit/rest.js/releases/v17.0.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.43.1...v17.0.0) ##### Breaking Changes - 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. - For deprecated endpoint methods that have no replacement use `octokit.request` instead. - **`octokit.oauthAuthorizations.createAuthorization()`** ➡ `octokit.request("POST /authorizations", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) - **`octokit.oauthAuthorizations.deleteAuthorization()`** ➡ `octokit.request("DELETE /authorizations/:authorization_id", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization)) - **`octokit.oauthAuthorizations.deleteGrant()`** ➡ `octokit.request("DELETE /applications/grants/:grant_id", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#delete-a-grant)) - **`octokit.oauthAuthorizations.getAuthorization()`** ➡ `octokit.request("GET /authorizations/:authorization_id", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization)) - **`octokit.oauthAuthorizations.getGrant()`** ➡ `octokit.request("GET /applications/grants/:grant_id", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant)) - **`octokit.oauthAuthorizations.getOrCreateAuthorizationForApp()`** ➡ `octokit.request("PUT /authorizations/clients/:client_id", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app)) - **`octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint()`** ➡ `octokit.request("PUT /authorizations/clients/:client_id/:fingerprint", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint)) - **`octokit.oauthAuthorizations.listAuthorizations()`** ➡ `octokit.request("GET /authorizations", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations)) - **`octokit.oauthAuthorizations.listGrants()`** ➡ `octokit.request("GET /applications/grants", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#list-your-grants)) - **`octokit.oauthAuthorizations.updateAuthorization()`** ➡ `octokit.request("PATCH /authorizations/:authorization_id", parameters)` ([see deprecation notice](https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization)) - **`octokit.pulls.createFromIssue()`** ➡ `octokit.request("POST /repos/:owner/:repo/pulls", parameters)` ([see deprecation notice](https://developer.github.com/v3/pulls/#create-a-pull-request)) - **`octokit.repos.getCommitRefSha()`** ➡ `octokit.request("GET /repos/:owner/:repo/commits/:ref", parameters)` ([see deprecation notice](https://developer.github.com/v3/repos/commits/#get-a-single-commit)) - **`octokit.teams.addMemberLegacy()`** ➡ `octokit.request("PUT /teams/:team_id/members/:username", parameters)` ([see deprecation notice](https://developer.github.com/v3/teams/members/#add-team-member-legacy)) - **`octokit.teams.getLegacy()`** ➡ `octokit.request("GET /teams/:team_id", parameters)` ([see deprecation notice](https://developer.github.com/v3/teams/#get-team-legacy)) - **`octokit.teams.getMemberLegacy()`** ➡ `octokit.request("GET /teams/:team_id/members/:username", parameters)` ([see deprecation notice](https://developer.github.com/v3/teams/members/#get-team-member-legacy)) - **`octokit.teams.removeMemberLegacy()`** ➡ `octokit.request("DELETE /teams/:team_id/members/:username", parameters)` ([see deprecation notice](https://developer.github.com/v3/teams/members/#remove-team-member-legacy)) - Methods have been replaced by new ones, some of which require new parameters - **`octokit.apps.checkAuthorization()`** ➡ `octokit.apps.checkToken()` - **`octokit.apps.resetAuthorization()`** ➡ `octokit.apps.resetToken()` - **`octokit.apps.revokeAuthorizationForApplication()`** ➡ `octokit.apps.deleteToken()` - **`octokit.apps.revokeGrantForApplication()`** ➡ `octokit.apps.deleteAuthorization()` - **`octokit.reactions.createForTeamDiscussionLegacy()`** ➡ `octokit.reactions.createForTeamDiscussionInOrg()` (An "org" parameter is now required) - **`octokit.reactions.createForTeamDiscussionCommentLegacy()`** ➡ `octokit.reactions.createForTeamDiscussionCommentInOrg()` (An "org" parameter is now required) - **`octokit.reactions.listForTeamDiscussionLegacy()`** ➡ `octokit.reactions.listForTeamDiscussionInOrg()` (An "org" parameter is now required) - **`octokit.reactions.listForTeamDiscussionCommentLegacy()`** ➡ `octokit.reactions.listForTeamDiscussionCommentInOrg()` (An "org" parameter is now required) - **`octokit.teams.addMemberLegacy()`** ➡ `octokit.teams.addMemberInOrg()` (An "org" parameter is now required) - **`octokit.teams.addOrUpdateMembershipLegacy()`** ➡ `octokit.teams.addOrUpdateMembershipInOrg()` (An "org" parameter is now required) - **`octokit.teams.addOrUpdateProjectLegacy()`** ➡ `octokit.teams.addOrUpdateProjectInOrg()` (An "org" parameter is now required) - **`octokit.teams.addOrUpdateRepoLegacy()`** ➡ `octokit.teams.addOrUpdateRepoInOrg()` (An "org" parameter is now required) - **`octokit.teams.checkManagesRepoLegacy()`** ➡ `octokit.teams.checkManagesRepoInOrg()` (An "org" parameter is now required) - **`octokit.teams.createDiscussionLegacy()`** ➡ `octokit.teams.createDiscussionInOrg()` (An "org" parameter is now required) - **`octokit.teams.createDiscussionCommentLegacy()`** ➡ `octokit.teams.createDiscussionCommentInOrg()` (An "org" parameter is now required) - **`octokit.teams.deleteLegacy()`** ➡ `octokit.teams.deleteInOrg()` (An "org" parameter is now required) - **`octokit.teams.deleteDiscussionLegacy()`** ➡ `octokit.teams.deleteDiscussionInOrg()` (An "org" parameter is now required) - **`octokit.teams.deleteDiscussionCommentLegacy()`** ➡ `octokit.teams.deleteDiscussionCommentInOrg()` (An "org" parameter is now required) - **`octokit.teams.getLegacy()`** ➡ `octokit.teams.getInOrg()` (An "org" parameter is now required) - **`octokit.teams.getDiscussionLegacy()`** ➡ `octokit.teams.getDiscussionInOrg()` (An "org" parameter is now required) - **`octokit.teams.getDiscussionCommentLegacy()`** ➡ `octokit.teams.getDiscussionCommentInOrg()` (An "org" parameter is now required) - **`octokit.teams.getMemberLegacy()`** ➡ `octokit.teams.getMemberInOrg()` (An "org" parameter is now required) - **`octokit.teams.getMembershipLegacy()`** ➡ `octokit.teams.getMembershipInOrg()` (An "org" parameter is now required) - **`octokit.teams.listChildLegacy()`** ➡ `octokit.teams.listChildInOrg()` (An "org" parameter is now required) - **`octokit.teams.listDiscussionCommentsLegacy()`** ➡ `octokit.teams.listDiscussionCommentsInOrg()` (An "org" parameter is now required) - **`octokit.teams.listDiscussionsLegacy()`** ➡ `octokit.teams.listDiscussionsInOrg()` (An "org" parameter is now required) - **`octokit.teams.listMembersLegacy()`** ➡ `octokit.teams.listMembersInOrg()` (An "org" parameter is now required) - **`octokit.teams.listPendingInvitationsLegacy()`** ➡ `octokit.teams.listPendingInvitationsInOrg()` (An "org" parameter is now required) - **`octokit.teams.listProjectsLegacy()`** ➡ `octokit.teams.listProjectsInOrg()` (An "org" parameter is now required) - **`octokit.teams.listReposLegacy()`** ➡ `octokit.teams.listReposInOrg()` (An "org" parameter is now required) - **`octokit.teams.removeMemberLegacy()`** ➡ `octokit.teams.removeMemberInOrg()` (An "org" parameter is now required) - **`octokit.teams.removeMembershipLegacy()`** ➡ `octokit.teams.removeMembershipInOrg()` (An "org" parameter is now required) - **`octokit.teams.removeProjectLegacy()`** ➡ `octokit.teams.removeProjectInOrg()` (An "org" parameter is now required) - **`octokit.teams.removeRepoLegacy()`** ➡ `octokit.teams.removeRepoInOrg()` (An "org" parameter is now required) - **`octokit.teams.reviewProjectLegacy()`** ➡ `octokit.teams.reviewProjectInOrg()` (An "org" parameter is now required) - **`octokit.teams.updateLegacy()`** ➡ `octokit.teams.updateInOrg()` (An "org" parameter is now required) - **`octokit.teams.updateDiscussionLegacy()`** ➡ `octokit.teams.updateDiscussionInOrg()` (An "org" parameter is now required) - **`octokit.teams.updateDiscussionCommentLegacy()`** ➡ `octokit.teams.updateDiscussionCommentInOrg()` (An "org" parameter is now required) - **`octokit.issues.updateLabel({current_name, name})`** ➡ `octokit.issues.updateLabel({name, new_name})` (`current_name` is now `name`, `name` is now `new_name`) - `octokit.paginate()` is now always returning an array, even when the response is a single object. - 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. - Plugins have to return an object in order to extend the `octokit` instance. It is technically still possible to alter the `octokit` instance directly, but returning an object is required for TypeScript support Instead of ```js function myPlugin(octokit, options) { octokit.helloWorld = () => console.log('Hello, world!') } ``` do ```js function myPlugin(octokit, options) { return { helloWorld: () => console.log('Hello, world!') } } ``` - `octokit.registerEndpoints()` has been removed. Instead of ```js await octokit.registerEndpoints({ misc: { getRoot: { method: "GET", url: "/" } } }); ``` do ```js Object.assign(octokit.misc, { getRoot: octokit.request.defaults({ method: "GET", url: "/" }) }) ``` If you use `octokit.registerEndpoints()` in a plugin, return an object instead: ```js function myPlugin(octokit, options) { return { misc: { octokit.request.defaults({ method: "GET", url: "/" }) } } } ``` - The `User-Agent` header now includes `octokit-rest.js/X.Y.Z` instead of `octokit.js/X.Y.Z` - The `Octokit` constructor must now be invoked with `new`. `const octokit = Octokit()` will throw a TypeError - Node 8 is no longer supported. - ~~**TypeScript:** The exported `{ Octokit }` is no longer a type, only a value. Use `typeof Octokit` instead [#​1624](https://togithub.com/octokit/rest.js/issues/1624)~~ **Update**: resolved via [#​1650](https://togithub.com/octokit/rest.js/issues/1650) ##### Features - The documentation website is now versioned. has the docs for the latest version, the docs for v16 are still accessible at . Old links pointing to should redirect correctly to . - reduction in bundle size: 23KB down to 10kb - `octokit.graphql()`. `@octokit/rest` is no longer a REST-only library, but a REST best-practice library. All Octokit libraries based on `@ocotkit/core` have both `.request()` and `.graphql()` methods. - `octokit.auth()`. Async method that returns the currently used authentcation, based on configured `authStrategy`. See for official strategies - `octokit.repos.uploadReleaseAsset(parameters)` now accepts URL parameters - `owner` - `repo` - `release_id` Passing `url` will still work, but is not recommended. Use `octokit.request` instead: ```js octokit.request(url, { method: "POST", ...parameters }) ``` ##### TypeScript In v16, many types have been exported on the exported `Octokit` Constructor. Although they were never documented, types such as `Octokit.ChecksCreateParams` have been used when wrapping Octokit's code in custom logic. Starting with [v17.5.0](https://togithub.com/octokit/rest.js/releases/tag/v17.5.0), parameter and response times are being officially exported. For example: ```ts import { RestEndpointMethodTypes } from "@​octokit/rest"; // for `octokit.checks.create()` RestEndpointMethodTypes["checks"]["create"]["parameters"] RestEndpointMethodTypes["checks"]["create"]["response"] ``` ##### ✨🦄 - 48,624 lines of code down to 10. As in 10. Not 10,000. 10. Learn more about that on GitHub's blog: [From 48k lines of code to 10—the story of GitHub’s JavaScript SDK](https://github.blog/2020-04-09-from-48k-lines-of-code-to-10-the-story-of-githubs-javascript-sdk/) ### [`v16.43.1`](https://togithub.com/octokit/rest.js/releases/v16.43.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.43.0...v16.43.1) ##### Bug Fixes - **TypeScript:** named `{ Octokit }` export ([486eadd](https://togithub.com/octokit/rest.js/commit/486eaddf9c396d12790291062bca45a53dba39ee)) ### [`v16.43.0`](https://togithub.com/octokit/rest.js/releases/v16.43.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.42.2...v16.43.0) ##### Features - deprecate `octokit.gitdata.*`, `octokit.pullRequests.*` ([#​1585](https://togithub.com/octokit/rest.js/issues/1585)) ([989afc1](https://togithub.com/octokit/rest.js/commit/989afc15b03fabd5e90d80bf09e908a6806c3f17))

Renovate configuration

:date: Schedule: "before 3am on Monday" (UTC).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.