Packages

@octokit/openapi-types

29.0.1 · 29 Aug 2026MIT97.2M / weekRepositoryHomepagenpmAtom feed

Upgrading @octokit/openapi-types From 13.7.0 to 13.13.1

8 releases in betweenevery note read

Other targets from 13.7.0Latest29.0.1

Before you upgrade

Tick each one off as you go
  • Deprecated13.9.0

Release by release

  1. 13.13.0 – 13.13.12 releases, nothing new or fixed in the notes

  2. 13.12.0

    16 Sep 20221 new
    • New

      Add support for new display_title attribute returned on workflow runs across the API (e.g. in GET /repos/{owner}/{repo}/actions/runs)

  3. 13.11.0

    15 Sep 20222 new · 4 fixes
    • New

      Add new "List CodeQL databases for a repository" API (GET /repos/{owner}/{repo}/code-scanning/codeql/databases)

    • New

      Add new "Get a CodeQL database for a repository" API (GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language})

    • Fixed

      Update descriptions for "Create or update file contents" (PUT /repos/{owner}/{repo}/contents/{path}) and "Delete a file" (DELETE /repos/{owner}/{repo}/contents/{path}) APIs to clarify that calling them in parallel may lead to conflicts

    • Fixed

      Correct casing of github advanced security to GitHub Advanced Security in descriptions

    • Fixed

      Update docs for the "Update a secret scanning alert" API (PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}) to clarify that a resolution must be provided when setting state to resolved

    • Fixed

      Use enums rather than string types with a list of accepted values in the description (e.g. the conclusion attribute returned in the "Get a job for a workflow run" API [GET /repos/{owner}/{repo}/actions/jobs/{job_id}])

  4. 13.10.0

    13 Sep 20222 new · 3 fixes
    • New

      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 singular github_com_enterprise_role attribute as deprecated

    • New

      Add support for filtering the "List repository collaborators" API (GET /repos/{owner}/{repo}/collaborators) by permission using a query param

    • Fixed

      Update type documentation to flag the "List enterprise consumed licenses" API (GET /enterprises/{enterprise}/consumed-licenses) as beta

    • Fixed

      Clarify in type documentation that the "Get or update file contents" API (PUT /repos/{owner}/{repo}/contents/{path}) requires the workflow scope

    • Fixed

      Adding missing type documentation for the "List repository webhooks" API (GET /repos/{owner}/{repo}/hooks)

  5. 13.9.1

    9 Sep 20221 fix
    • Fixed

      Tweak description for "Get a tree" API (GET /repos/{owner}/{repo}/git/trees/{tree_sha}) to clarify maximum limits on size and number of entries and document allowed response statuses for the "Update a team" API (PATCH /orgs/{org}/teams/{team_slug})

  6. 13.9.0

    Deprecation7 Sep 20222 new · 3 fixes
    • Deprecated

      Mark use_squash_pr_title_as_default attribute on repos as deprecated in favour of squash_merge_commit_title

    • New

      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)

    • New

      Add support for new description, base_role, permissions, organization, created_at and updated_at fields where custom repo roles are returned in the API

    • Fixed

      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...")

    • Fixed

      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"

    • Fixed

      Correct description of sha request body parameter in the "Delete a file" API (DELETE /repos/{owner}/{repo}/contents/{path})

  7. 13.8.0

    5 Sep 20221 new
    • New

      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 ) by head_sha

2 other lines we could not sort, mostly version bumps
  • Revert "feat: publish new GitHub Enterprise Cloud (GHEC) specific @octokit/openapi-types-ghec package, plus lots of API changes (#251)"

    13.13.1
  • Tweak the recently-added state_reason attribute on issues to be a enum (completed, not_planned or reopened) rather than an unbounded string

    13.8.0

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.