Skip to content

Releases: octokit/plugin-rest-endpoint-methods.js

v5.14.0

15 Jun 06:41
61bbc9a
Compare
Choose a tag to compare

Features

  • .rest.dependabot.addSelectedRepoToOrgSecret()
  • .rest.dependabot.removeSelectedRepoFromOrgSecret()
  • .rest.teams.listLinkedExternalIdpGroupsToTeamForOrg()
  • .rest.teams.linkExternalIdpGroupToTeamForOrg()
  • .rest.teams.unlinkExternalIdpGroupFromTeamForOrg()
  • .rest.enterpriseAdmin.listLabelsForSelfHostedRunnerForEnterprise()
  • .rest.enterpriseAdmin.addCustomLabelsToSelfHostedRunnerForEnterprise()
  • .rest.enterpriseAdmin.setCustomLabelsForSelfHostedRunnerForEnterprise()
  • .rest.enterpriseAdmin.removeAllCustomLabelsFromSelfHostedRunnerForEnterprise()
  • .rest.actions.listLabelsForSelfHostedRunnerForOrg()
  • .rest.actions.addCustomLabelsToSelfHostedRunnerForOrg()
  • .rest.actions.setCustomLabelsForSelfHostedRunnerForOrg()
  • .rest.actions.removeAllCustomLabelsFromSelfHostedRunnerForOrg()
  • .rest.actions.listLabelsForSelfHostedRunnerForRepo()
  • .rest.actions.addCustomLabelsToSelfHostedRunnerForRepo()
  • .rest.actions.setCustomLabelsForSelfHostedRunnerForRepo()
  • .rest.actions.removeAllCustomLabelsFromSelfHostedRunnerForRepo()
  • .rest.codespaces.listInRepositoryForAuthenticatedUser()
  • .rest.codespaces.createWithRepoForAuthenticatedUser()
  • .rest.repos.listTagProtection()
  • .rest.repos.createTagProtection()
  • .rest.codespaces.listForAuthenticatedUser()
  • .rest.codespaces.createForAuthenticatedUser()
  • .rest.codespaces.listSecretsForAuthenticatedUser()
  • .rest.codespaces.getPublicKeyForAuthenticatedUser()
  • .rest.codespaces.getSecretForAuthenticatedUser()
  • .rest.codespaces.createOrUpdateSecretForAuthenticatedUser()
  • .rest.codespaces.deleteSecretForAuthenticatedUser()
  • .rest.codespaces.listRepositoriesForSecretForAuthenticatedUser()
  • .rest.codespaces.setRepositoriesForSecretForAuthenticatedUser()
  • .rest.codespaces.addRepositoryForSecretForAuthenticatedUser()
  • .rest.codespaces.removeRepositoryForSecretForAuthenticatedUser()
  • .rest.codespaces.getForAuthenticatedUser()
  • .rest.codespaces.updateForAuthenticatedUser()
  • .rest.codespaces.deleteForAuthenticatedUser()
  • .rest.codespaces.exportForAuthenticatedUser()
  • .rest.codespaces.getExportDetailsForAuthenticatedUser()
  • .rest.codespaces.codespaceMachinesForAuthenticatedUser()
  • .rest.codespaces.startForAuthenticatedUser()
  • .rest.codespaces.stopForAuthenticatedUser()
  • .rest.dependabot.getOrgSecret()
  • .rest.dependabot.createOrUpdateOrgSecret()
  • .rest.dependabot.deleteOrgSecret()
  • .rest.codespaces.getRepoSecret()
  • .rest.codespaces.createOrUpdateRepoSecret()
  • .rest.codespaces.deleteRepoSecret()
  • .rest.dependabot.getRepoSecret()
  • .rest.dependabot.createOrUpdateRepoSecret()
  • .rest.dependabot.deleteRepoSecret()
  • .rest.actions.getGithubActionsDefaultWorkflowPermissionsOrganization()
  • .rest.actions.setGithubActionsDefaultWorkflowPermissionsOrganization()
  • .rest.dependabot.listSelectedReposForOrgSecret()
  • .rest.dependabot.setSelectedReposForOrgSecret()
  • .rest.actions.getWorkflowAccessToRepository()
  • .rest.actions.setWorkflowAccessToRepository()
  • .rest.actions.getGithubActionsDefaultWorkflowPermissionsRepository()
  • .rest.actions.setGithubActionsDefaultWorkflowPermissionsRepository()
  • .rest.orgs.listCustomRoles()
  • .rest.actions.getActionsCacheUsageForOrg()
  • .rest.enterpriseAdmin.removeCustomLabelFromSelfHostedRunnerForEnterprise()
  • .rest.actions.removeCustomLabelFromSelfHostedRunnerForOrg()
  • .rest.actions.removeCustomLabelFromSelfHostedRunnerForRepo()
  • .rest.reactions.deleteForRelease()
  • .rest.repos.deleteTagProtection()
  • .rest.enterpriseAdmin.getServerStatistics()
  • .rest.actions.getActionsCacheUsageForEnterprise()
  • .rest.actions.getGithubActionsDefaultWorkflowPermissionsEnterprise()
  • .rest.enterpriseAdmin.listSelfHostedRunnerGroupsForEnterprise() - visible-to-organization paramter
  • .rest.secretScanning.listAlertsForEnterprise()
  • .rest.billing.getGithubAdvancedSecurityBillingGhe()
  • .rest.actions.getActionsCacheUsageByRepoForOrg()
  • .rest.actions.listSelfHostedRunnerGroupsForOrg() - new parameter: visible_to_repository
  • .rest.codeScanning.listAlertsForOrg()
  • .rest.orgs.listSamlSsoAuthorizations() - new parameters: per_page, page, login
  • .rest.dependabot.getOrgPublicKey()
  • .rest.dependabot.listOrgSecrets()
  • .rest.teams.externalIdpGroupInfoForOrg()
  • .rest.teams.listExternalIdpGroupsForOrg()
  • .rest.secretScanning.listAlertsForOrg() - new parameters: sort, direction
  • .rest.billing.getGithubAdvancedSecurityBillingOrg()
  • .rest.repos.codeownersErrors()
  • .rest.codespaces.listDevcontainersInRepositoryForAuthenticatedUser()
  • .rest.codespaces.repoMachinesForAuthenticatedUser()
  • .rest.codespaces.getRepoPublicKey()
  • .rest.codespaces.listRepoSecrets()
  • .rest.dependabot.getRepoPublicKey()
  • .rest.dependabot.listRepoSecrets()
  • .rest.dependencyGraph.diffRange()
  • .rest.reactions.listForRelease()
  • .rest.secretScanning.listLocationsForAlert()
  • .rest.actions.updateSelfHostedRunnerGroupForOrg() - new parameters: allows_public_repositories, restricted_to_workflows, selected_workflows
  • .rest.orgs.update() - new parameter: members_can_fork_private_repositories
  • .rest.actions.createSelfHostedRunnerGroupForOrg() - new parameters: allows_public_repositories, restricted_to_workflows, selected_workflows
  • .rest.migrations.startForOrg() - new parrameters: exclude_metadata, exclude_git_data, org_metadata_only
  • .rest.repos.createInOrg() - new parameter: use_squash_pr_title_as_default
  • .rest.actions.reRunJobForWorkflowRun()
  • .rest.actions.reRunWorkflowFailedJobs()
  • .rest.codespaces.createWithPrForAuthenticatedUser()
  • .rest.migrations.startForAuthenticatedUser() - new parrameters: exclude_metadata, exclude_git_data, org_metadata_only
  • .rest.actions.setGithubActionsDefaultWorkflowPermissionsEnterprise()
  • .rest.orgs.convertMemberToOutsideCollaborator() - new parameter: async
  • .rest.actions.getActionsCacheUsage()
  • .rest.actions.listWorkflowRunsForRepo(): new parameter: check_suite_id
  • .rest.actions.listWorkflowRuns(): new parameter: check_suite_id
  • .rest.codeScanning.listAlertsForRepo(): new parameters: direction, sort
  • .rest.repos.getAllEnvironments(): new parameters: per_page, page
  • .rest.secretScanning.listAlertsForRepo(): new parameters: direction, sort
  • .rest.repos.updatePullRequestReviewProtection(): new parameters: dismissal_restrictions.apps, bypass_pull_request_allowances
  • .rest.repos.updateStatusCheckProtection(): new parameter: checks
  • .rest.codeScanning.updateAlert(): new parameter: dismissed_comment
  • .rest.repos.update(): secret_scanning_push_protection, use_squash_pr_title_as_default
  • .rest.actions.reRunWorkflow(): new parameter: enable_debug_logging
  • .rest.users.createGpgKeyForAuthenticatedUser(): new parameter: name
  • .rest.repos.updateBranchProtection(): new parameter: required_status_checks.checks, required_pull_request_reviews.{apps,bypass_pull_request_allowances}, block_creations

Bug Fixes

  • .rest.apps.createFromManifest() has no request body
  • .rest.projects.getPermissionForUser(): correct response type and example
  • .rest.repos.update(): visibility parameter cannot be set to visibility
  • .rest.actions.reRunWorkflow(): no longer deprecated
  • remove defunkt .rest.reactions.deleteLegacy()
  • remove defunkt .rest.apps.createContentAttachment()

v5.13.0

11 Oct 00:52
dfc6f58
Compare
Choose a tag to compare

5.13.0 (2021-10-11)

Features

  • GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs (#465) (dfc6f58)

v5.12.1

08 Oct 17:54
5b5e5f6
Compare
Choose a tag to compare

5.12.1 (2021-10-08)

Bug Fixes

  • typescript: exclude_pull_requests parameter for action runs endpoints (#464) (5b5e5f6)

v5.12.0

07 Oct 19:24
5d2de25
Compare
Choose a tag to compare

5.12.0 (2021-10-07)

Features

  • GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_num}, GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_num}/logs, POST /repos/{owner}/{repo}/releases/generate-notes, POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest. Graduate nebula, zzzax, switcheroo, baptiste previews. Removes defunkt /repos/{owner}/{repo}/actions/runs/{run_id}/retry endpoint. Renames methods to have consistent AuthenticatedUser() suffix, deprecates previous method names (#462) (5d2de25)

v5.11.4

30 Sep 19:32
5f230f3
Compare
Choose a tag to compare

5.11.4 (2021-09-30)

Bug Fixes

  • removes defunkt endpoints: GET /repos/{owner}/{repo}/community/code_of_conduct, DELETE /reactions/{reaction_id}. encrypted_value and key_id parameters are required for .rest.actions.{createOrUpdateEnvironmentSecret,setSelectedReposForOrgSecret}(). access_token parameter is required for .rest.apps.deleteAuthorization(). Previews graduated: ant-man, flash, scarlet-witch, squirrel-girl (#458) (5f230f3)

v5.11.3

27 Sep 19:35
cd2b8c3
Compare
Choose a tag to compare

5.11.3 (2021-09-27)

Bug Fixes

v5.11.2

24 Sep 16:48
f8ca400
Compare
Choose a tag to compare

5.11.2 (2021-09-24)

Bug Fixes

  • graduate previews dorian, inertia, london, lydian, wyandotte (#455) (f8ca400)

v5.11.1

22 Sep 18:20
f94bb13
Compare
Choose a tag to compare

(should have been a feature release)

Features

  • octokit.rest.repos.disableLfsForRepo()
  • octokit.rest.repos.enableLfsForRepo()

Bug Fixes

  • octokit.rest.packages.listPackagesForUser uses correct route (GET /user/{username}/packages -> GET /users/{username}/packages) (#454) (f94bb13)

v5.11.0

22 Sep 00:54
2e41527
Compare
Choose a tag to compare

5.11.0 (2021-09-22)

Features

  • octokit.rest.actions.retryWorkflow(). Deprecates octokit.rest.actions.reRunWorkflow() (#453) (2e41527)

v5.10.4

14 Sep 18:30
22fe5e9
Compare
Choose a tag to compare

5.10.4 (2021-09-14)

Bug Fixes

  • type updates (allow_forking in repositories, diff item status now has an enum) (#447) (22fe5e9)