v4.1.0
Type Features
- add support for new "Get a Dependabot alert" API (
GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}
) - add support for new "Update a Dependabot alert" API (
PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}
) - add support for new "List Dependabot alerts for a repository" API (
GET /repos/{owner}/{repo}/dependabot/alerts
) - add support for new "List organization secret" (
GET /organizations/{org}/codespaces/secrets
) Codespaces API - add support for new "Get an organization public key" (
GET /organizations/{org}/codespaces/secrets/public-key
) Codespaces API - add support for new "Get an organization secret" (
GET /organizations/{org}/codespaces/secrets/{secret_name}
) Codespaces API - adds support for new "Create or update an organization secret" (
PUT /organizations/{org}/codespaces/secrets/{secret_name}
) Codespaces API - add support for new "Delete an organization secret" (
DELETE /organizations/{org}/codespaces/secrets/{secret_name}
) Codespaces API - add support for new "List selected repositories for an organization secret" (
GET /organizations/{org}/codespaces/secrets/{secret_name}/repositories
) Codespaces API - add support for new "Set selected repositories for an organization secret" (
PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories
) Codespaces API - add support for new "Add selected repository to an organization secret" (
PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}
) Codespaces API - add support for new "Remove selected repository from an organization secret" (
DELETE /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}
) Codespaces API - add support for
resolution_comment
attribute returned on secret scanning alerts - add support for new
scope
attribute returned by the "Get a diff of the dependencies between commits" (GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}
) API
### Type Fixes
- GHEC-only routes removed. Use
@octokit/plugin-enterprise-cloud
for support. - tweak documentation for repo starring related APIs (
GET /repos/{owner}/{repo}/stargazers
,GET /users/{username}/starred
andGET /user/starred
) to clarify whatAccept
header to send to get information about when stars were created - tweak documentation for "Get community profile metrics" API (
GET /repos/{owner}/{repo}/community/profile
) to clarify that it only works with public repos which are not forks - document the
size
attribute returned on repos across the API - document that APIs can return
422
errors when an endpoint has been spammed with many requests - document
301
status returned by labels-related APIs if the repo has been renamed or moved - document
404 Not Found
status returned by labels-related APIs