Releases: octokit/openapi-types.ts
Releases · octokit/openapi-types.ts
v13.10.0
13.10.0 (2022-09-13)
- feat: add support for new
github_com_enterprise_roles
attribute returned by the "List enterprise consumed licenses" API (GET /enterprises/{enterprise}/consumed-licenses
), marking the old singulargithub_com_enterprise_role
attribute as deprecated - feat: add support for filtering the "List repository collaborators" API (
GET /repos/{owner}/{repo}/collaborators
) bypermission
using a query param - fix: update type documentation to flag the "List enterprise consumed licenses" API (
GET /enterprises/{enterprise}/consumed-licenses
) as beta - fix: clarify in type documentation that the "Get or update file contents" API (
PUT /repos/{owner}/{repo}/contents/{path}
) requires theworkflow
scope - fix: adding missing type documentation for the "List repository webhooks" API (
GET /repos/{owner}/{repo}/hooks
)
v13.9.1
v13.9.0
13.9.0 (2022-09-07)
- feat: add support for new public beta APIs for creating, reading, updating and deleting custom repo roles (
POST /orgs/{org}/custom_roles
,PATCH /orgs/{org}/custom_roles/{role_id}
,DELETE /orgs/{org}/custom_roles/{role_id}
,GET /orgs/{org}/fine_grained_permissions
) - feat: add support for new
description
,base_role
,permissions
,organization
,created_at
andupdated_at
fields where custom repo roles are returned in the API - fix: update description of APIs for listing package versions (e.g.
GET /orgs/{org}/packages/{package_type}/{package_name}/versions
) to clarify that they returned paginated lists ("Get all..." -> "List...") - fix: mark
use_squash_pr_title_as_default
attribute on repos as deprecated in favour ofsquash_merge_commit_title
- fix: update description of "List workflow runs" (
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs
) API to the more indicative "List workflow runs for a workflow" - fix: correct description of
sha
request body parameter in the "Delete a file" API (DELETE /repos/{owner}/{repo}/contents/{path}
)
v13.8.0
13.8.0 (2022-09-05)
- Add support for filtering "List workflows runs for a repository" (
GET /repos/{owner}/{repo}/actions/runs
) and "List workflow runs [for a workflow]" (GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs
) byhead_sha
- Tweak the recently-added
state_reason
attribute on issues to be a enum (completed
,not_planned
orreopened
) rather than an unbounded string
v13.7.0
13.7.0 (2022-09-02)
- Add support for
is_alphanumeric
boolean attribute for autolinks, accepted in the request body of the "Create an autolink reference for a repository" (POST /repos/{owner}/{repo}/autolinks
) API and returned on autolinks across the API - Add support for
rule.help_uri
attribute returned on code scanning alerts across the API (GET /enterprises/{enterprise}/code-scanning/alerts
,GET /orgs/{org}/code-scanning/alerts
,GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}
,PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}
) - Add support for long-standing
anonymous_access_enabled
boolean attribute returned on repos across the API - Tweak documentation for "Create an autolink reference for a repository" (
POST /repos/{owner}/{repo}/autolinks
) to read more smoothly - Clarify in documentation that the "Create a repository using a template" (
POST /repos/{template_owner}/{template_repo}/generate
) doesn't require any special permissions with a public repo - Drop
302
as a potential response status code forGET /orgs/{org}/members
, which hasn't been returned for nearly 8 years - Add
503
as a potential response status code across various API operations
v13.6.0
13.6.0 (2022-08-31)
Features
- Add support for new "Enable or disable a security feature for an organization" API (
POST /orgs/{org}/{security_product}/{enablement}
) - Add support for new
advanced_security_enabled_for_new_repositories
,dependabot_alerts_enabled_for_new_repositories
,dependabot_security_updates_enabled_for_new_repositories
,dependency_graph_enabled_for_new_repositories
,secret_scanning_enabled_for_new_repositories
andsecret_scanning_push_protection_enabled_for_new_repositories
read-write boolean attributes on organizations - Add support for new
last_known_stop_notice
attribute on Codespace machines across the API - Add support for new SSH signing keys APIs (
GET /user/ssh_signing_keys
,POST /user/ssh_signing_keys
,GET /user/ssh_signing_keys/{ssh_signing_key_id}
,DELETE /user/ssh_signing_keys/{ssh_signing_key_id}
,GET /users/{username}/ssh_signing_keys
)
v13.5.0
13.5.0 (2022-08-30)
- Add support for sorting with
sort
anddirection
querystring parameters when listing a repo's code scanning analyses withGET /repos/{owner}/{repo}/code-scanning/analyses
- Add support for
default_branch_only
boolean request body parameter when creating a fork withPOST /repos/{owner}/{repo}/forks
- Add support for
state_reason
request body parameter when updating an issue withPATCH /repos/{owner}/{repo}/issues/{issue_number}
- Update description of
GET /organizations/{organization_id}/custom_roles
to clarify required permissions - Update description of
DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}
to clarify how sets of analyses work - Update description for
GET /repos/{owner}/{repo}/contents/{path}
to clarify that download links expire
v13.4.0
v13.3.0
13.3.0 (2022-08-19)
Features
- add
squash_merge_commit_title
,squash_merge_commit_message
,merge_commit_title
andmerge_commit_message
request body parameters inPOST /orgs/{org}/repos
,PATCH /repos/{owner}/{repo}
,POST /user/repos
- add
squash_merge_commit_title
,squash_merge_commit_message
,merge_commit_title
andmerge_commit_message
response attributes where repositories are returned in the API
v13.2.0
13.2.0 (2022-08-18)
Features
- add new
permissions.organization_custom_roles
response attribute inGET /app/installations
,GET /app/installations/{installation_id}
,POST /app/installations/{installation_id}/access_tokens
,POST /applications/{client_id}/token
,PATCH /applications/{client_id}/token
,POST /applications/{client_id}/token/scoped
,GET /orgs/{org}/installation
,GET /orgs/{org}/installations
,GET /repos/{owner}/{repo}/installation
,GET /user/installations
andGET /users/{username}/installation
- add new
permissions.organization_custom_roles
request body parameter inPOST /app/installations/{installation_id}/access_tokens
andPOST /applications/{client_id}/token/scoped
Bug Fixes
- update description for
manifests
passed in request body toPOST /repos/{owner}/{repo}/dependency-graph/snapshots