Skip to content

Releases: octokit/types.ts

v8.2.1

20 Jan 20:25
fcbd164
Compare
Choose a tag to compare

8.2.1 (2023-01-20)

Bug Fixes

  • revert "feat: many unreleased endpoint updates (#499)" (fcbd164)

v8.2.0

20 Jan 00:23
d952319
Compare
Choose a tag to compare

8.2.0 (2023-01-20)

Features

v8.1.1

13 Jan 18:43
4a8998e
Compare
Choose a tag to compare

8.1.1 (2023-01-13)

Reverts

v8.1.0

11 Jan 18:00
cb0835b
Compare
Choose a tag to compare

8.1.0 (2023-01-11)

Features

v8.0.0

12 Oct 23:59
7bf7e20
Compare
Choose a tag to compare

8.0.0 (2022-10-12)

BREAKING CHANGES

  • @octokit/types no longer include endpoint types for GHEC

Features

  • feat: publish new GitHub Enterprise Cloud (GHEC) specific @octokit/openapi-types-ghec package, plus lots of API changes (29539cf)
  • feat: add support for new "Get a Dependabot alert" API (GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number})
  • feat: add support for new "Update a Dependabot alert" API (PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number})
  • feat: add support for new "List Dependabot alerts for a repository" API (GET /repos/{owner}/{repo}/dependabot/alerts)
    • feat: add support for new "List organization secret" (GET /organizations/{org}/codespaces/secrets) Codespaces API
  • feat: add support for new "Get an organization public key" (GET /organizations/{org}/codespaces/secrets/public-key) Codespaces API
  • feat: add support for new "Get an organization secret" (GET /organizations/{org}/codespaces/secrets/{secret_name} ) Codespaces API
  • feat: adds support for new "Create or update an organization secret" (PUT /organizations/{org}/codespaces/secrets/{secret_name} ) Codespaces API
  • feat: add support for new "Delete an organization secret" (DELETE /organizations/{org}/codespaces/secrets/{secret_name}) Codespaces API
  • feat: add support for new "List selected repositories for an organization secret" (GET /organizations/{org}/codespaces/secrets/{secret_name}/repositories) Codespaces API
  • feat: add support for new "Set selected repositories for an organization secret" ( PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories) Codespaces API
  • feat: add support for new "Add selected repository to an organization secret" (PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}) Codespaces API
  • feat: add support for new "Remove selected repository from an organization secret" (DELETE /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}) Codespaces API
  • feat: add support for resolution_comment attribute returned on secret scanning alerts
  • feat: 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
  • deps: update @octokit/openapi-types to v14 (#463) (7bf7e20)

### Fixes

  • fix: tweak documentation for repo starring related APIs (GET /repos/{owner}/{repo}/stargazers, GET /users/{username}/starred and GET /user/starred) to clarify what Accept header to send to get information about when stars were created
  • fix: 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
  • fix: document the size attribute returned on repos across the API
  • fix: document that APIs can return 422 errors when an endpoint has been spammed with many requests
  • fix: document 301 status returned by labels-related APIs if the repo has been renamed or moved
  • fix: document 404 Not Found status returned by labels-related APIs

v7.5.1

27 Sep 18:40
e80d45f
Compare
Choose a tag to compare

7.5.1 (2022-09-27)

Bug Fixes

  • deps: revert upgrade of dependency sort-keys to v5 (#468) (e80d45f)

v7.5.0

15 Sep 14:30
440eb6d
Compare
Choose a tag to compare

7.5.0 (2022-09-15)

Features

  • add new "List CodeQL databases for a repository" (GET /repos/{owner}/{repo}/code-scanning/codeql/databases) and "Get a CodeQL database for a repository" (GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}) APIs (#461) (440eb6d)

v7.4.0

13 Sep 14:57
3502d91
Compare
Choose a tag to compare

7.4.0 (2022-09-13)

Features

  • add support for filtering the "List repository collaborators" API (GET /repos/{owner}/{repo}/collaborators) by permission using a query param (#459) (3502d91)

v7.3.1

09 Sep 12:39
87928d2
Compare
Choose a tag to compare

7.3.1 (2022-09-09)

Bug Fixes

  • deps: bump @octokit/openapi-types to latest (v13.9.1) (#456) (87928d2)

v7.3.0

07 Sep 13:07
b162e5d
Compare
Choose a tag to compare

7.3.0 (2022-09-07)

Features

  • 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) (#455) (b162e5d)