debian-mirror-gitlab/data/deprecations/14-5-remove-pipelines-from-version-field.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
1.3 KiB
YAML
Raw Normal View History

2023-03-04 22:38:38 +05:30
- title: "`pipelines` field from the `version` field" # The name of the feature to be deprecated
2022-05-07 20:08:51 +05:30
announcement_milestone: "14.5" # The milestone when this feature was first announced as deprecated.
removal_milestone: "15.0" # The milestone when this feature is planned to be removed
2022-03-02 08:16:31 +05:30
breaking_change: true
2022-05-07 20:08:51 +05:30
body: | # Do not modify this line, instead modify the lines below.
2021-12-11 22:18:48 +05:30
In GraphQL, there are two `pipelines` fields that you can use in a [`PackageDetailsType`](https://docs.gitlab.com/ee/api/graphql/reference/#packagedetailstype) to get the pipelines for package versions:
- The `versions` field's `pipelines` field. This returns all the pipelines associated with all the package's versions, which can pull an unbounded number of objects in memory and create performance concerns.
- The `pipelines` field of a specific `version`. This returns only the pipelines associated with that single package version.
To mitigate possible performance problems, we will remove the `versions` field's `pipelines` field in milestone 15.0. Although you will no longer be able to get all pipelines for all versions of a package, you can still get the pipelines of a single version through the remaining `pipelines` field for that version.
stage: package
tiers: Free
issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/342882