debian-mirror-gitlab/doc/api/graphql/removed_items.md

78 lines
4.5 KiB
Markdown
Raw Normal View History

2021-03-11 19:13:27 +05:30
---
2022-01-26 12:08:38 +05:30
stage: Ecosystem
group: Integrations
2021-03-11 19:13:27 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
2022-01-26 12:08:38 +05:30
# GraphQL API removed items **(FREE)**
2021-01-29 00:20:46 +05:30
GraphQL is a versionless API, unlike the REST API.
Occasionally, items have to be updated or removed from the GraphQL API.
2021-04-17 20:07:23 +05:30
According to our [process for removing items](index.md#deprecation-and-removal-process), here are the items that have been removed.
2021-01-29 00:20:46 +05:30
2022-07-16 23:28:13 +05:30
## GitLab 15.0
Fields removed in GitLab 15.0.
### GraphQL Mutations
[Removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/85382) in GitLab 15.0:
| Argument name | Mutation | Deprecated in | Use instead |
| -------------------- | -------------------- | ------------- | -------------------------- |
| - | `clusterAgentTokenDelete`| 14.7 | `clusterAgentTokenRevoke` |
### GraphQL Fields
[Removed](https://gitlab.com/gitlab-org/gitlab/-/issues/342882) in GitLab 15.0:
| Argument name | Field name | Deprecated in | Use instead |
| -------------------- | --------------------| ------------- | -------------------------- |
| - | `pipelines` | 14.5 | None |
### GraphQL Types
| Field name | GraphQL type | Deprecated in | Use instead |
| ------------------------------------------ | ------------------------ | ------------- | ---------------------------------------------------------------------------------- |
| `defaultMergeCommitMessageWithDescription` | `GraphQL::Types::String` | 14.5 | None. Define a [merge commit template](../../user/project/merge_requests/commit_templates.md) in your project and use `defaultMergeCommitMessage`. |
2021-09-04 01:27:46 +05:30
## GitLab 14.0
2021-11-11 11:23:49 +05:30
Fields [removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63293) in GitLab 14.0:
2021-09-04 01:27:46 +05:30
### GraphQL Mutations
| Argument name | Mutation | Deprecated in | Use instead |
| -------------------- | -------------------- | ------------- | -------------------------- |
| `updated_ids` | `todosMarkAllDone` | 13.2 | `todos` |
| `updated_ids` | `todoRestoreMany` | 13.2 | `todos` |
| `global_id` | `dastScannerProfileCreate`| 13.6 | `todos` |
| - | `addAwardEmoji` | 13.2 | `awardEmojiAdd` |
| - | `removeAwardEmoji` | 13.2 | `awardEmojiRemove` |
| - | `toggleAwardEmoji` | 13.2 | `ToggleAwardEmoji` |
| - | `runDastScan` | 13.5 | `dastOnDemandScanCreate` |
| - | `dismissVulnerability` | 13.5 | `vulnerabilityDismiss` |
| - | `revertVulnerabilityToDetected` | 13.5 | `vulnerabilityRevertToDetected` |
### GraphQL Types
| Field name | GraphQL type | Deprecated in | Use instead |
| -------------------- | -------------------- | ------------- | -------------------------- |
| `blob` | `SnippetType` | 13.3 | `blobs` |
| `global_id` | `DastScannerProfileType` | 13.6 | `blobs` |
| `vulnerabilities_count_by_day_and_severity` | `GroupType`, `QueryType` | 13.3 | None. Plaintext tokens no longer supported for security reasons. |
2021-01-29 00:20:46 +05:30
## GitLab 13.6
2022-01-26 12:08:38 +05:30
Prior to GitLab 14.0, deprecated items could be removed in `XX.6` releases.
2021-11-11 11:23:49 +05:30
Fields [removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44866) in GitLab 13.6:
2021-01-29 00:20:46 +05:30
| Field name | GraphQL type | Deprecated in | Use instead |
2021-10-27 15:23:28 +05:30
|----------------------|--------------------------|---------------|----------------------------|
| `date` | `Timelog` | 12.10 | `spentAt` |
2021-01-29 00:20:46 +05:30
| `designs` | `Issue`, `EpicIssue` | 12.2 | `designCollection` |
| `latestPipeline` | `Commit` | 12.5 | `pipelines` |
| `mergeCommitMessage` | `MergeRequest` | 11.8 | `latestMergeCommitMessage` |
| `token` | `GrafanaIntegration` | 12.7 | None. Plaintext tokens no longer supported for security reasons. |