@octokit/openapi-types
29.0.1 · 29 Aug 2026MIT97.2M / weekRepositoryHomepagenpmAtom feed
13.13.1 is the newest release of 13.x.
In short
1 breaking6 new8 fixed
- Breaking
This removes support for the now-defunkt OAuth Authorizations APIs. These were disabled on GitHub.com at the end of 2020, but the OpenAPI specs were not updated so this code was not cleaned up.
Release note
Breaking changes
- Breaking
This removes support for the now-defunkt OAuth Authorizations APIs. These were disabled on GitHub.com at the end of 2020, but the OpenAPI specs were not updated so this code was not cleaned up.
Other changes
Document the required scopes to use
GET /orgs/{org}/code-scanning/alertswith public reposAdd new Security Managers APIs (
GET /orgs/{org}/security-managers,PUT /orgs/{org}/security-managers/teams/{team_slug}andDELETE /orgs/{org}/security-managers/teams/{team_slug})Add new deployment branch policy APIs (
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies,POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies,GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id},PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id},DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id})Add new GitHub Pages API (
POST /repos/{owner}/{repo}/pages/deployment)Correct types for
GET /enterprise-installation/{enterprise_or_org}/server-statisticsto reflect that it returns an array of resultsAdd new
retention_period_minutesandretention_expires_atfields returned on CodespacesCorrect types for Commit Statuses in the API (e.g. returned by
POST /repos/{owner}/{repo}/statuses/{sha}) to reflect thattarget_urlanddescriptioncan benullCorrect describe the
typeof items returned by theGET /repos/{owner}/{repo}/contents/{path}API as enum (dir,file,submodule,symlink)Add new
added_byandlast_usedattributes on Deploy Keys returned across the APICorrect type of
permissionrequest body parameter forPUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}andPUT /repos/{owner}/{repo}/collaborators/{username}to reflect that custom role names can be specified, not just values in a GitHub-set enumRemove
pageandper_pageparameters forGET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewerswhich are not actually supportedAdd support for
build_typeparameter inPOST /repos/{owner}/{repo}/pagesandPUT /repos/{owner}/{repo}/pagesMark that
commit_id,pathandlineare in fact required for `POST /repos/{owner}/{repo}/pulls/{pull_number}/commentsCorrect types for
POST /repos/{owner}/{repo}/pulls/{pull_number}/reviewsto reflect thateventmust be sent toDISMISS
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.