octokit/types.ts
### [`v8.0.0`](https://togithub.com/octokit/types.ts/releases/tag/v8.0.0)
[Compare Source](https://togithub.com/octokit/types.ts/compare/v7.5.1...v8.0.0)
##### 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](https://togithub.com/octokit/openapi-types.ts/commit/29539cfd68ea8505a61da4ac842f26fd6816b2a1))
- 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](https://togithub.com/octokit/types.ts/issues/463)) ([7bf7e20](https://togithub.com/octokit/types.ts/commit/7bf7e202f1c89382d83497e2eb1669cf38e8413a))
\### 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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^7.0.0
->^8.0.0
Release Notes
octokit/types.ts
### [`v8.0.0`](https://togithub.com/octokit/types.ts/releases/tag/v8.0.0) [Compare Source](https://togithub.com/octokit/types.ts/compare/v7.5.1...v8.0.0) ##### 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](https://togithub.com/octokit/openapi-types.ts/commit/29539cfd68ea8505a61da4ac842f26fd6816b2a1)) - 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](https://togithub.com/octokit/types.ts/issues/463)) ([7bf7e20](https://togithub.com/octokit/types.ts/commit/7bf7e202f1c89382d83497e2eb1669cf38e8413a)) \### 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 APIsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.