vladholubiev / gh-shipit

Automate GitHub releases, PRs, labels, release notes
MIT License
19 stars 3 forks source link

Update dependency @octokit/rest to v17 - autoclosed #302

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.36.0 -> 17.9.2

Release Notes

octokit/rest.js ### [`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)) ### [`v16.42.2`](https://togithub.com/octokit/rest.js/releases/v16.42.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.42.1...v16.42.2) ##### Bug Fixes - recover Octokit.plugin ([7b316d8](https://togithub.com/octokit/rest.js/commit/7b316d87c669fc36c4f396383d4a664e3f97cd81)) ### [`v16.42.1`](https://togithub.com/octokit/rest.js/releases/v16.42.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.42.0...v16.42.1) ##### Bug Fixes - do not throw if using deprecated Octokit default export without options ([dec7334](https://togithub.com/octokit/rest.js/commit/dec7334bfe3a078e1543e450858306212db69c7b)) ### [`v16.42.0`](https://togithub.com/octokit/rest.js/releases/v16.42.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.41.2...v16.42.0) ##### Features - deprecate `const Octokit = require("@​octokit/rest")` in favor of `const { Octokit } = require("@​octokit/rest")` ([bbc3e48](https://togithub.com/octokit/rest.js/commit/bbc3e48205d2cd1c3d2ccbca680482d5aaf9976d)) ### [`v16.41.2`](https://togithub.com/octokit/rest.js/releases/v16.41.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.41.1...v16.41.2) ##### Bug Fixes - **package:** update [@​octokit/plugin-rest-endpoint-methods](https://togithub.com/octokit/plugin-rest-endpoint-methods) to version 2.3.0 ([a10ef70](https://togithub.com/octokit/rest.js/commit/a10ef7073c424d6671fc1b42ab79d91761c1385e)), closes [#​1571](https://togithub.com/octokit/rest.js/issues/1571) ### [`v16.41.1`](https://togithub.com/octokit/rest.js/releases/v16.41.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.41.0...v16.41.1) ##### Bug Fixes - **package:** update [@​octokit/plugin-rest-endpoint-methods](https://togithub.com/octokit/plugin-rest-endpoint-methods) to version 2.2.0 ([3539118](https://togithub.com/octokit/rest.js/commit/3539118765310d5e95bc2c0a3f15d487221d38d4)) - **Typescript:** `since` parameter type is integer, not string ([6285b6c](https://togithub.com/octokit/rest.js/commit/6285b6c4e840f9b337fc5245b697e47623fcabf1)) - **TypeScript:** `file` parameter is no `data` for `.repos.uploadReleaseAsset()` ([dc2cc51](https://togithub.com/octokit/rest.js/commit/dc2cc518837b53fc56977327799da44992a1f5cf)) ### [`v16.41.0`](https://togithub.com/octokit/rest.js/releases/v16.41.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.40.2...v16.41.0) ##### Features - **typescript:** types for latest Action endpoint methods ([#​1567](https://togithub.com/octokit/rest.js/issues/1567)) ([0758d61](https://togithub.com/octokit/rest.js/commit/0758d61ff4b29693cfb50b0f0ec876e7871612d8)) ### [`v16.40.2`](https://togithub.com/octokit/rest.js/releases/v16.40.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.40.1...v16.40.2) ##### Bug Fixes - **typescript:** new auth strategy options ([0c7b109](https://togithub.com/octokit/rest.js/commit/0c7b1097812ad1d33b75e948b711fab3b1146b85)) ### [`v16.40.1`](https://togithub.com/octokit/rest.js/releases/v16.40.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.40.0...v16.40.1) ##### Bug Fixes - **typescript:** descripion & response types fixes ([#​1561](https://togithub.com/octokit/rest.js/issues/1561)) ([7c64d9c](https://togithub.com/octokit/rest.js/commit/7c64d9c2ef2f7a184c07045e8b93ba4d41cca7a0)) ### [`v16.40.0`](https://togithub.com/octokit/rest.js/releases/v16.40.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.39.0...v16.40.0) ##### Features - Actions endpoint methdos ([a706b0d](https://togithub.com/octokit/rest.js/commit/a706b0d5ef0f477f56bd94dd80cf07512fbda9e0)) ### [`v16.39.0`](https://togithub.com/octokit/rest.js/releases/v16.39.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.38.3...v16.39.0) ##### Features - accessing `response.data[namespacekey]` in `.paginate(options, mapFn)` map function now logs a deprecation ([3caa24a](https://togithub.com/octokit/rest.js/commit/3caa24a48087f429f1975edd15a6aa7ef83940ca)) ### [`v16.38.3`](https://togithub.com/octokit/rest.js/releases/v16.38.3) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.38.2...v16.38.3) ##### Bug Fixes - **typescript:** .git.getTree types ([#​1556](https://togithub.com/octokit/rest.js/issues/1556)) ([39cdce8](https://togithub.com/octokit/rest.js/commit/39cdce8801bd67363ba743a88bff9d9058f0f932)) ### [`v16.38.2`](https://togithub.com/octokit/rest.js/releases/v16.38.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.38.1...v16.38.2) ##### Bug Fixes - `everest` preview graduated ([441c452](https://togithub.com/octokit/rest.js/commit/441c452630c8875b17d2f176284adfe14e581d16)) - add `.endpoint()` method to all deprecated endpoint methods ([9701151](https://togithub.com/octokit/rest.js/commit/9701151115ebc172f186b4ec5a3bfbe9d551a7aa)) - bring back `octokit.teams.removeMember()` ([d439ca7](https://togithub.com/octokit/rest.js/commit/d439ca7f82ba8c51457b44335fe117d719030778)) - bring back \`octokit.teams.removeMembership() ([dadfe9a](https://togithub.com/octokit/rest.js/commit/dadfe9ae985f07198d48e4547fead34044a58d3a)) - correct deprecation message for `octokit.apps.*` OAuth authorization methods' ([5f5e62e](https://togithub.com/octokit/rest.js/commit/5f5e62ef90c623a80f59990fee729851fd413faf)) ### [`v16.38.1`](https://togithub.com/octokit/rest.js/releases/v16.38.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.38.0...v16.38.1) ##### Bug Fixes - **typescript:** `authStrategy` key in Octokit constructor options ([fb19f11](https://togithub.com/octokit/rest.js/commit/fb19f11fd9d0b90c0470a38770c0543153dfa56e)) ### [`v16.38.0`](https://togithub.com/octokit/rest.js/releases/v16.38.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.37.0...v16.38.0) ##### Features - All authentication strategies from [`@octokit/auth`](https://togithub.com/octokit/auth.js) are now supported. Setting `auth` to an object or a basic authentication string is now deprecated and will be removed in v17 ([4573ee2](https://togithub.com/octokit/rest.js/commit/4573ee22d2e4c7ee0f291eeb0bf78b46ed438e95)) ### [`v16.37.0`](https://togithub.com/octokit/rest.js/releases/v16.37.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.36.0...v16.37.0) ##### Features - `.apps.revokeInstallationToken()` ([ed31137](https://togithub.com/octokit/rest.js/commit/ed31137e80820ebb82f110910155bb7dfd9757ff)) - `.migrations.listReposForOrg()`, `.migrations.listReposForUser()` ([8777073](https://togithub.com/octokit/rest.js/commit/8777073be5092f339fa17057a706c37e5c8532f8)) - `.repos.listForOrg()`'s `type` parameter can now be set to `"internal"` (GitHub Enterprise Cloud only) ([9c71d18](https://togithub.com/octokit/rest.js/commit/9c71d1861a4489b94926dbe2219acabc82ec2807)) - `visibility` parameter for `.repos.createForAuthenticatedUser()` and `.repos.createInOrg()` ([31b094b](https://togithub.com/octokit/rest.js/commit/31b094bb7924e0a401b752106b559b3ceb04d641)) - new `delete_branch_on_merge` parameter for `.repos.createForAuthenticatedUser()`, `.repos.createInOrg()`, `.repos.update()` ([c783249](https://togithub.com/octokit/rest.js/commit/c7832490e04ec3cf5c0f919e904a6acde5079553)) - new parameters for `.orgs.update()`: `members_can_create_internal_repositories`, `members_can_create_private_repositories`, `members_can_create_public_repositories` ([7be5174](https://togithub.com/octokit/rest.js/commit/7be51745ffb08f7e1d63e74835fdfd7b770cf600)) - new parameters for `.repos.updateBranchProtection()`: `allow_deletions`, `allow_force_pushes`, `required_linear_history` ([c5632ff](https://togithub.com/octokit/rest.js/commit/c5632ff1e4f079e0844d0926d02558249d3bf061)) - rename & deprecation of endpoint methods using `/teams/:team_id*` path internally. The are being replaced by `*ForOrg` methods that use `/orgs/:org/teams/:team_slug*` internally. With the next breaking version, the `*ForOrg` suffix will be removed using another deprecation. ([faecc99](https://togithub.com/octokit/rest.js/commit/faecc99342b9aefb9675fe7509c3df960f362e57)) ##### Bug Fixes - graduated previews removed: barred-rock, echo, hagar ([53b8021](https://togithub.com/octokit/rest.js/commit/53b802138f0a76f0044bfcb27ab794bd730af8d3))

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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