Deprecations and removals by version
The following GitLab features are deprecated and no longer recommended for use.
- Each deprecated feature will be removed in a future release.
- Some features cause breaking changes when they are removed.
- On GitLab.com, deprecated features can be removed at any time during the month leading up to the release.
- To view documentation for a removed feature, see the GitLab Docs archive.
For advanced searching and filtering of this deprecation information, try a tool built by our Customer Success team.
REST API deprecations and GraphQL deprecations are documented separately.
To be notified of upcoming breaking changes,
add this URL to your RSS feed reader: https://about.gitlab.com/breaking-changes.xml
GitLab 20.0
GitLab Runner Docker Machine executor is deprecated
- Announced in GitLab 17.5
- Removal in GitLab 20.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GitLab Runner Docker Machine executor is deprecated and will be fully removed from the product as a supported feature in GitLab 20.0 (May 2027). The replacement for Docker Machine, GitLab Runner Autoscaler with GitLab developed plugins for Amazon Web Services (AWS) EC2, Google Compute Engine (GCE) and Microsoft Azure virtual machines (VMs) is generally available. With this announcement, the GitLab Runner team will no longer accept community contributions for the GitLab maintained Docker Machine fork, or resolve newly identified bugs.
GitLab 19.0
Running a single database is deprecated
- Announced in GitLab 16.1
- Removal in GitLab 19.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
From GitLab 19.0, we will require a separate database for CI features. We recommend running both databases on the same Postgres instance(s) due to ease of management for most deployments.
This change provides additional scalability for the largest of GitLab instances, like GitLab.com. This change applies to all installation methods: Omnibus GitLab, GitLab Helm chart, GitLab Operator, GitLab Docker images, and installation from source. Before upgrading to GitLab 19.0, please ensure you have migrated to two databases.
Self-managed certificate-based integration with Kubernetes
- Announced in GitLab 14.5
- Removal in GitLab 19.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The certificate-based integration with Kubernetes will be deprecated and removed.
As a self-managed customer, we are introducing the feature flag certificate_based_clusters
in GitLab 15.0 so you can keep your certificate-based integration enabled. However, the feature flag will be disabled by default, so this change is a breaking change.
In GitLab 18.0 we will remove both the feature and its related code. Until the final removal in 18.0, features built on this integration will continue to work, if you enable the feature flag. Until the feature is removed, GitLab will continue to fix security and critical issues as they arise.
For a more robust, secure, forthcoming, and reliable integration with Kubernetes, we recommend you use the agent for Kubernetes to connect Kubernetes clusters with GitLab. How do I migrate?
Although an explicit removal date is set, we don’t plan to remove this feature until the new solution has feature parity. For more information about the blockers to removal, see this issue.
For updates and details about this deprecation, follow this epic.
Single database connection is deprecated
- Announced in GitLab 15.9
- Removal in GitLab 19.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Previously, GitLab’s database
configuration had a single main:
section. This is being deprecated. The new
configuration has both a main:
and a ci:
section.
This deprecation affects users compiling GitLab from source, who will need
to add the ci:
section.
Omnibus, the Helm chart, and Operator will handle this configuration
automatically from GitLab 16.0 onwards.
GitLab 18.0
Behavior change for protected variables and multi-project pipelines
- Announced in GitLab 16.10
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In some cases, users with sufficient permissions in a project could forward protected variables to an unsecure project, so this change is a security enhancement that minimizes the risk of protected variable values being exposed.
While forwarding CI/CD variables through downstream pipelines is useful for some workflows, protected variables require additional care. They are intended for use only with specific protected branches or tags.
In GitLab 18.0, variable forwarding will be updated to ensure protected variables are only passed in specific situations:
- Project-level protected variables can only be forwarded to downstream pipelines in the same project (child pipelines).
- Group-level protected variables can only be forwarded to downstream pipelines of projects that belong to the same group as the source project.
If your pipeline relies on forwarding protected variables, update your configuration to either conform to the two options above, or avoid forwarding protected variables.
CodeClimate-based Code Quality scanning will be removed
- Announced in GitLab 17.3
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 18.0, we will remove CodeClimate-based Code Quality scanning. However, you’ll still be able to import results from quality tools by providing a report as an artifact, just as you can today. In addition, you can also see this epic for new directions considered for Code Quality.
We expect to implement this change by:
- Changing the
Code-Quality.gitlab-ci.yml
CI/CD template to no longer execute scans. Today, this template runs CodeClimate-based scans. (We plan to change the template rather than delete it to reduce the impact on any pipelines that stillinclude
the template after 18.0.) - No longer running CodeClimate-based scanning as part of Auto DevOps.
Effective immediately, CodeClimate-based scanning will receive only limited updates. After End of Support in GitLab 18.0, we won’t provide further updates. However, we won’t delete previously published container images or remove the ability to run them by using custom CI/CD pipeline job definitions.
For more details and required actions, see the deprecation issue for this change.
Compliance pipelines
- Announced in GitLab 17.3
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Currently, there are two ways to ensure compliance- or security-related jobs are run in a project pipeline:
To provide a single place for ensuring required jobs are run in all pipelines for a project, we have deprecated compliance pipelines in GitLab 17.3 and will remove the feature in GitLab 18.0.
Customers should migrate from compliance pipelines to the new pipeline execution policy type as soon as possible.
Default CI/CD job token (CI_JOB_TOKEN
) scope changed
- Announced in GitLab 15.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 14.4 we introduced the ability to limit your project’s CI/CD job token (CI_JOB_TOKEN
) access to make it more secure. You can prevent job tokens from your project’s pipelines from being used to access other projects. When enabled with no other configuration, your pipelines cannot access other projects. To use the job token to access other projects from your pipeline, you must list those projects explicitly in the Limit CI_JOB_TOKEN access setting’s allowlist, and you must be a maintainer in all the projects.
The job token functionality was updated in 15.9 with a better security setting to allow access to your project with a job token. When enabled with no other configuration, job tokens from other projects cannot access your project. Similar to the older setting, you can optionally allow other projects to access your project with a job token if you list those projects explicitly in the Allow access to this project with a CI_JOB_TOKEN setting’s allowlist (now renamed, see below). With this new setting, you must be a maintainer in your own project, but only need to have the Guest role in the other projects.
The Limit setting was deprecated in 16.0 in preference of the better Allow access setting (renamed to the Authorized groups and projects allowlist) and the Limit setting was disabled by default for all new projects. From this point forward, if the Limit setting is disabled in any project, it will not be possible to re-enable this setting in 16.0 or later.
In 18.0, we will enforce the usage of the allowlist on GitLab.com. This change ensures a higher level of security between projects. If you currently use the Limit setting, you should update your projects to use the Authorized groups and projects allowlist instead. If other projects access your project with a job token, you must add them to the allowlist.
To prepare for this change, users on GitLab.com or self-managed GitLab 15.9 or later should set the Authorized groups and projects setting to Only this project and any groups and projects in the allowlist, and add projects and groups to the allowlist as needed. It will not be possible to disable the setting on GitLab.com in 18.0 or later. In FitLab 17.6, we added the option for Self-managed and Dedicated administrators to optionally turn this enforcement off, though this would not be the recommended default.
We have gone through a few iterations for the naming of these settings. In 16.3, the deprecated Limit CI_JOB_TOKEN access setting updated to Limit access from this project, and the newer Allow access to this project with a CI_JOB_TOKEN setting was updated to Limit access to this project. This was still proving to be confusing, and in 17.3 we updated this section to be the Job token permissions > Authorized groups and projects allowlist setting.
Deprecate CI job implementation of Repository X-Ray
- Announced in GitLab 17.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab 18.0 removes the Repository X-Ray CI job:
- The initial implementation of Repository X-Ray, using a CI job, is deprecated in GitLab 17.6.
- This CI job is being replaced by an automated background job, triggered when a new commit is pushed to your project’s default branch.
Deprecate License Scanning CI/CD artifact report type
- Announced in GitLab 16.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The CI/CD artifact report type is deprecated in GitLab 16.9, and will be removed in GitLab 18.0. CI/CD configurations using this keyword will stop working in GitLab 18.0.
The artifact report type is no longer used because of the removal of the legacy License Scanning CI/CD job in GitLab 16.3. Instead, you should use License scanning of CycloneDX files.
Deprecate Terraform CI/CD templates
- Announced in GitLab 16.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Terraform CI/CD templates are deprecated and will be removed in GitLab 18.0. This affects the following templates:
Terraform.gitlab-ci.yml
Terraform.latest.gitlab-ci.yml
Terraform/Base.gitlab-ci.yml
Terraform/Base.latest.gitlab-ci.yml
In GitLab 16.9, a new job is added to the templates to inform users of the deprecation.
GitLab won’t be able to update the terraform
binary in the job images to any version that
is licensed under BSL.
To continue using Terraform, clone the templates and Terraform image, and maintain them as needed.
As an alternative we recommend using the new OpenTofu CI/CD component on GitLab.com or the new OpenTofu CI/CD template on self-managed. CI/CD components are not yet available on GitLab self-managed, but Issue #415638 proposes to add this feature. If CI/CD components become available on self-managed, the OpenTofu CI/CD template will be removed.
You can read more about the new OpenTofu CI/CD component here.
Deprecate license metadata format V1
- Announced in GitLab 16.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The license metadata format V1 dataset has been deprecated and will be removed in GitLab 18.0.
Users who have the package_metadata_synchronization
feature flag enabled are advised to
upgrade to GitLab 16.3 or above, and remove the feature flag configuration.
GitLab Runner platforms and setup instructions in GraphQL API
- Announced in GitLab 15.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The runnerPlatforms
and runnerSetup
queries to get GitLab Runner platforms and installation instructions
are deprecated and will be removed from the GraphQL API. For installation instructions, you should use the
GitLab Runner documentation
GitLab Runner registration token in Runner Operator
- Announced in GitLab 15.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The runner-registration-token
parameter that uses the OpenShift and Kubernetes Vanilla Operator to install a runner on Kubernetes is deprecated. Authentication tokens will be used to register runners instead. Registration tokens, and support for certain configuration arguments,
will be removed in GitLab 18.0. For more information, see Migrating to the new runner registration workflow.
The configuration arguments disabled for authentication tokens are:
--locked
--access-level
--run-untagged
--tag-list
This change is a breaking change. You must use an authentication token in the gitlab-runner register
command instead.
See also how to prevent your runner registration workflow from breaking in GitLab 17.0 and later.
GitLab chart use of NGINX controller image v1.3.1
- Announced in GitLab 17.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 17.6, the GitLab chart updated the default NGINX controller image to v1.11.2. This new version requires new RBAC rules that were added to our Ingress NGINX-bundled subchart.
This change is being backported to 17.5.1, 17.4.3, and 17.3.6.
Some users prefer to manage RBAC rules themselves by setting the Helm key nginx-ingress.rbac.create
to false
. To give time for users who manage their own RBAC rules to
add the new required rules before they adopt the new v1.11.2 version, we’ve implemented a fallback mechanism to detect nginx-ingress.rbac.create: false
and force the chart
to keep using NGINX image v1.3.1, which does not need the new RBAC rules.
If you manage your own NGINX RBAC rules, but you also want to take advantage of the new NGINX controller image v1.11.2 immediately:
- Add the new RBAC rules to your cluster like we did.
- Set
nginx-ingress.controller.image.disableFallback
to true.
We plan to remove this fallback support and support for NGINX controller image v1.3.1 in GitLab 18.0.
You can read more about it in the charts release page.
Group vulnerability report by OWASP top 10 2017 is deprecated
- Announced in GitLab 17.0
- Removal in GitLab 18.0
- To discuss this change or learn more, see the deprecation issue.
Grouping the vulnerability report by OWASP top 10 2017 is deprecated, replaced by grouping by OWASP top 10 2021. In the future we will support the most recent version of OWASP top 10 for grouping on the vulnerability report. Along with this change we are also deprecating and removing the 2017 GraphQL API enums which the feature uses. Additional details are included in this issue.
Guest users can pull packages from private projects on GitLab.com
- Announced in GitLab 17.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Starting in 18.0, Guest users on GitLab.com will be able to pull packages from private projects. This is the same ability that Guest users already have on self-managed GitLab.
This change streamlines package sharing capabilities within organizations and simplifies access management for package consumers by providing consistent behavior across all GitLab deployments.
Project Owners and Maintainers should review their private projects’ lists of members. Users with the Guest role who should not have package pulling capabilities should be removed. If more restrictive package access is required, consider using project access tokens instead of guest access.
Limited scan
actions in a scan execution policy
- Announced in GitLab 17.5
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Starting in GitLab 18.0, scan execution policies
are limited to 10 scan
actions per policy. You can’t create new policies that exceed the limit, and you
can’t update existing policies if they exceed the limit. For any existing policy that exceeds the limit,
only the policy’s first 10 scan
actions are run.
You can configure a custom limit on self-managed instances with the scan_execution_policies_action_limit
application setting.
OpenTofu CI/CD template
- Announced in GitLab 17.1
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We introduces the OpenTofu CI/CD template in 16.8 as CI/CD components were not available for self-managed installations yet. With the introduction of GitLab CI/CD components for self-managed users we are removing the redundant OpenTofu CI/CD templates in favor of the CI/CD components.
For information about migrating from the CI/CD template to the component, see the OpenTofu component documentation.
Pipeline subscriptions
- Announced in GitLab 17.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The pipeline subscriptions feature is deprecated in GitLab 17.6 and scheduled for removal in GitLab 18.0. Pipeline subscriptions are used to run downstream pipelines based on tag pipelines in upstream projects.
Instead, use CI/CD jobs with pipeline trigger tokens to trigger pipelines when another pipeline runs. This method is more reliable and flexible than pipeline subscriptions.
Project page in group settings is deprecated
- Announced in GitLab 17.0
- End of Support in GitLab 17.9
- Removal in GitLab 18.0
- To discuss this change or learn more, see the deprecation issue.
Group owners can access a project page in the group settings that lists the projects the group contains, with options to create, edit or delete a project, as well as a link to the Members page for each project. All of this functionality is available on the group overview page and the respective Member pages of the projects. Due to low usage of the project page in the group settings and its limited accessibility, this page will be deprecated. This change affects only the user interface. The underlying API will remain available, so project creation, edits, and deletions can still be performed using the Projects API. In 17.9, we will implement a redirect to the group overview page from this page. The project page will be removed entirely from the group settings in 18.0.
Public use of Secure container registries is deprecated
- Announced in GitLab 17.4
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Container registries under registry.gitlab.com/gitlab-org/security-products/
are no longer accessible in GitLab 18.0. Since GitLab 14.8
the correct location is under registry.gitlab.com/security-products
(note the absence of
gitlab-org
in the address).
This change improves the security of the release process for GitLab vulnerability scanners.
Users are advised to use the equivalent registry under registry.gitlab.com/security-products/
,
which is the canonical location for GitLab security scanner images. The relevant GitLab CI
templates already use this location, so no changes should be necessary for users that use the
unmodified templates.
Offline deployments should review the specific scanner instructions to ensure the correct locations are being used to mirror the required scanner images.
Rate limits for common User, Project, and Group API endpoints
- Announced in GitLab 17.4
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Rate limits will be enabled by default for commonly used User, Project, and Group endpoints. Enabling these rate limits by default can help improve overall system stability, by reducing the potential for heavy API usage to negatively impact the broader user experience. Requests made above the rate limit will return an HTTP 429 error code and additional rate limit headers.
The default rate limits have been intentionally set fairly high to not disrupt most usage, based on the request rates we see on GitLab.com. Instance administrators can set higher or lower limits as needed in the Admin area, similarly to other rate limits already in place.
Registration tokens and server-side runner arguments in POST /api/v4/runners
endpoint
- Announced in GitLab 15.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The support for registration tokens and certain runner configuration arguments in the POST
method operation on the /api/v4/runners
endpoint is deprecated.
This endpoint registers a runner
with a GitLab instance at the instance, group, or project level through the API. In GitLab 17.0, registration tokens, and support for certain configuration arguments,
will start returning the HTTP 410 Gone
status code in GitLab 17.0. For more information, see Migrating to the new runner registration workflow.
The configuration arguments disabled for runner authentication tokens are:
--locked
--access-level
--run-untagged
--maximum-timeout
--paused
--tag-list
--maintenance-note
This change is a breaking change. You should create a runner in the UI to add configurations, and use the runner authentication token in the gitlab-runner register
command instead.
Registration tokens and server-side runner arguments in gitlab-runner register
command
- Announced in GitLab 15.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Registration tokens and certain configuration arguments in the command gitlab-runner register
that registers a runner, are deprecated.
Authentication tokens will be used to register runners instead. Registration tokens, and support for certain configuration arguments,
will be removed in GitLab 18.0. For more information, see Migrating to the new runner registration workflow.
The configuration arguments disabled for authentication tokens are:
--locked
--access-level
--run-untagged
--maximum-timeout
--paused
--tag-list
--maintenance-note
This change is a breaking change. You should create a runner in the UI to add configurations, and use the authentication token in the gitlab-runner register
command instead.
Removal of migrationState
field in ContainerRepository
GraphQL API
- Announced in GitLab 17.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The migrationState
field in the ContainerRepositoryType
of GitLab’s GraphQL API will be removed in GitLab 18.0. This deprecation is part of our efforts to streamline and improve our API.
To prepare for this change, we recommend reviewing and updating your GraphQL queries that interact with the ContainerRepositoryType
. Remove any references to the migrationState
field and adjust your application logic accordingly.
Remove previousStageJobsOrNeeds
from GraphQL
- Announced in GitLab 17.0
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The previousStageJobsOrNeeds
field in GraphQL will be removed as it has been replaced by the previousStageJobs
and needs
fields.
Rename options to skip GitGuardian secret detection
- Announced in GitLab 17.3
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The options to skip GitGuardian secret detection, [skip secret detection]
and secret_detection.skip_all
, are deprecated and will be removed in GitLab 18.0. You should use [skip secret push protection]
and secret_push_protection.skip_all
instead.
Replace GraphQL field take_ownership_pipeline_schedule
with admin_pipeline_schedule
in PipelineSchedulePermissions
- Announced in GitLab 15.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GraphQL field take_ownership_pipeline_schedule
will be deprecated. To
determine if a user can take ownership of a pipeline schedule, use the
admin_pipeline_schedule
field instead.
Replace add_on_purchase
GraphQL field with add_on_purchases
- Announced in GitLab 17.4
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GraphQL field add_on_purchase
will be deprecated in GitLab 17.4 and removed in GitLab 18.0. Use the add_on_purchases
field instead.
Replace threshold
with maxretries
for container registry notifications
- Announced in GitLab 17.1
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
You can configure the container registry to send webhook notifications in response to events happening in the registry. The configuration uses the threshold
and backoff
parameters to specify how many failures are allowed before backing off for a period of time before retrying.
The problem is that the event will be held in memory forever until it is successful or the registry is shut down. This is not ideal as it can cause high memory and CPU usage on the registry side if the events are not sent properly. It will also delay any new events added to the queue of events.
A new maxretries
parameter has been added to control how many times an event will be retried before dropping the event. As such, we have deprecated the threshold
parameter in favor of maxretries
so that events are not held in memory forever.
Replace namespace add_on_purchase
GraphQL field with add_on_purchases
- Announced in GitLab 17.5
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The namespace GraphQL field add_on_purchase
will be deprecated in GitLab 17.5 and removed in GitLab 18.0. Use the root add_on_purchases
field instead.
Runner active
GraphQL fields replaced by paused
- Announced in GitLab 14.8
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Occurrences of the active
identifier in the GitLab GraphQL API endpoints will be renamed to paused
in GitLab 18.0:
- The
CiRunner
property. - The
RunnerUpdateInput
input type for therunnerUpdate
mutation. - The
runners
,Group.runners
, andProject.runners
queries.
Slack notifications integration
- Announced in GitLab 15.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
As we’re consolidating all Slack capabilities into the GitLab for Slack app, we’ve deprecated the Slack notifications integration. Use the GitLab for Slack app to manage notifications to your Slack workspace.
Support for REST API endpoints that reset runner registration tokens
- Announced in GitLab 15.7
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The support for runner registration tokens is deprecated. As a consequence, the REST API endpoints to reset a registration token are also deprecated and will
return the HTTP 410 Gone
status code in GitLab 18.0.
The deprecated endpoints are:
POST /runners/reset_registration_token
POST /projects/:id/runners/reset_registration_token
POST /groups/:id/runners/reset_registration_token
We plan to implement a new method to bind runners to a GitLab instance as part of the new GitLab Runner token architecture. The work is planned in this epic. This new architecture introduces a new method for registering runners and will eliminate the legacy runner registration token. From GitLab 18.0 and later, the runner registration methods implemented by the new GitLab Runner token architecture will be the only supported methods.
The GitLab legacy requirement IID is deprecated in favor of work item IID
- Announced in GitLab 15.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We will be transitioning to a new IID as a result of moving requirements to a work item type. Users should begin using the new IID as support for the legacy IID and existing formatting will end in GitLab 18.0. The legacy requirement IID remains available until its removal in GitLab 18.0.
The Project.services
GraphQL field is deprecated
- Announced in GitLab 15.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Project.services
GraphQL field is deprecated. A Project.integrations
field is proposed instead in issue 389904.
The ci_job_token_scope_enabled
projects API attribute is deprecated
- Announced in GitLab 16.4
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab 16.1 introduced API endpoints for the job token scope. In the projects API, the ci_job_token_scope_enabled
attribute is deprecated, and will be removed in 17.0. You should use the job token scope APIs instead.
The direction
GraphQL argument for ciJobTokenScopeRemoveProject
is deprecated
- Announced in GitLab 16.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The direction
GraphQL argument for the ciJobTokenScopeRemoveProject
mutation is deprecated. Following the default CI/CD job token scope change announced in GitLab 15.9, the direction
argument will default to INBOUND
and OUTBOUND
will no longer be valid in GitLab 17.0. We will remove the direction
argument in GitLab 18.0.
If you are using OUTBOUND
with the direction
argument to control the direction of your project’s token access, your pipeline that use job tokens risk failing authentication. To ensure pipelines continue to run as expected, you will need to explicitly add the other projects to your project’s allowlist.
The heroku/builder:22
image is deprecated
- Announced in GitLab 17.4
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The cloud native buildpack (CNB) builder image was updated to heroku/builder:24
in the Auto DevOps Build project. While we don’t expect the changes to be disruptive for the most part, this might be a breaking change for some users of Auto DevOps, and especially users of Auto Build. To better understand the impact of you workloads, review the following:
These changes affect you if your pipelines use the auto-build-image
provided by the Auto Build stage of Auto DevOps.
Toggle notes confidentiality on APIs
- Announced in GitLab 14.10
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Toggling notes confidentiality with REST and GraphQL APIs is being deprecated. Updating notes confidential attribute is no longer supported by any means. We are changing this to simplify the experience and prevent private information from being unintentionally exposed.
ZenTao integration
- Announced in GitLab 15.7
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The ZenTao product integration has been deprecated and will be moved to the JiHu GitLab codebase.
GITLAB_SHARED_RUNNERS_REGISTRATION_TOKEN
is deprecated
- Announced in GitLab 16.11
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GITLAB_SHARED_RUNNERS_REGISTRATION_TOKEN
environment variable is deprecated. GitLab introduced a new GitLab Runner token architecture in GitLab 15.8, which introduces a new method for registering runners and eliminates the legacy runner registration token. Please refer to the documentation for guidance on migrating to the new workflow.
ciJobTokenScopeAddProject
GraphQL mutation is deprecated
- Announced in GitLab 17.5
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With the upcoming default behavior change to the CI/CD job token in GitLab 18.0, we are also deprecating the associated ciJobTokenScopeAddProject
GraphQL mutation as the associated feature will be no longer be available.
ciUsedMinutes
GraphQL field renamed to ciDuration
- Announced in GitLab 17.5
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The ciDuration
field of the CiRunnerUsage
and CiRunnerUsageByProject
types replaces the former ciUsedMinutes
field.
Update all references to ciUsedMinutes
from these types to ciDuration
.
mergeTrainIndex
and mergeTrainsCount
GraphQL fields deprecated
- Announced in GitLab 17.5
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GraphQL field mergeTrainIndex
and mergeTrainsCount
in MergeRequest
are deprecated. To
determine the position of the merge request on the merge train use the
index
field in MergeTrainCar
instead. To get the count of MRs in a merge train,
use count
from cars
in MergeTrains::TrainType
instead.
require_password_to_approve
field
- Announced in GitLab 16.9
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 16.7, we added the ability to re-authenticate with SAML SSO for the Require user re-authentication to approve feature.
For this reason, in GitLab 18.0, we are removing the require_password_to_approve
field.
In GitLab 17.1, we added the require_reauthentication_to_approve
field to replace the require_password_to_approve
field. You should switch to the new field as soon as possible.
runnerRegistrationToken
parameter for GitLab Runner Helm Chart
- Announced in GitLab 15.6
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The runnerRegistrationToken
parameter to use the GitLab Helm Chart to install a runner on Kubernetes is deprecated.
We plan to implement a new method to bind runners to a GitLab instance leveraging runnerToken
as part of the new GitLab Runner token architecture.
The work is planned in this epic.
From GitLab 18.0 and later, the methods to register runners introduced by the new GitLab Runner token architecture will be the only supported methods.
sidekiq
delivery method for incoming_email
and service_desk_email
is deprecated
- Announced in GitLab 16.0
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The sidekiq
delivery method for incoming_email
and service_desk_email
is deprecated and is
scheduled for removal in GitLab 18.0.
GitLab uses a separate process called mail_room
to ingest emails. Currently, GitLab administrators
can configure their GitLab instances to use sidekiq
or webhook
delivery methods to deliver ingested
emails from mail_room
to GitLab.
Using the deprecated sidekiq
delivery method, mail_room
writes the job data directly to the GitLab
Redis queue. This means that there is a hard coupling between the delivery method and the Redis
configuration. Another disadvantage is that framework optimizations such as job payload compression are missed.
Using the webhook
delivery method, mail_room
pushes the ingested email body to the GitLab
API. That way mail_room
does not need to know your Redis configuration and the GitLab application
adds the processing job. mail_room
authenticates with a shared secret key.
Reconfiguring an Omnibus installation generates this secret key file automatically, so no secret file configuration setting is needed.
You can configure a custom secret key file (32 characters base 64 encoded) by running a command
like below and referencing the secret file in incoming_email_secret_file
and
service_desk_email_secret_file
(always specify the absolute path):
echo $( ruby -rsecurerandom -e "puts SecureRandom.base64(32)" ) > ~/.gitlab-mailroom-secret
If you run GitLab on more than one machine, you need to provide the secret key file for each machine.
We encourage GitLab administrators to switch to the webhook delivery method for
incoming_email_delivery_method
and service_desk_email_delivery_method
instead of sidekiq
.
Issue 393157 tracks improving email ingestion in general. We hope this will simplify infrastructure setup and add several improvements to how you manage GitLab in the near future.
workflow:rules
templates
- Announced in GitLab 17.0
- Removal in GitLab 18.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The workflow:rules
templates are deprecated and no longer recommended for use. Using these templates greatly limits the flexibility of your pipelines and makes it hard to use new workflow
features.
This is one small step towards moving away from CI/CD templates in preference of CI/CD components. You can search the CI/CD Catalog for a replacement, or add workflow:rules
to your pipeline explicitly.
GitLab 17.7
TLS 1.0 and 1.1 no longer supported
- Announced in GitLab 17.4
- Removal in GitLab 17.7
- To discuss this change or learn more, see the deprecation issue.
Long term support (LTS) for OpenSSL version 1.1.1 ended in September 2023. Therefore, OpenSSL 3 will be the default in GitLab 17.7.
With the upgrade to OpenSSL 3:
- GitLab requires TLS 1.2 or higher for all outgoing and incoming TLS connections.
- TLS/SSL certificates must have at least 112 bits of security. RSA, DSA, and DH keys shorter than 2048 bits, and ECC keys shorter than 224 bits are prohibited.
See the GitLab 17.5 changes for more details.
GitLab 17.6
Support for Debian 10
- Announced in GitLab 17.3
- Removal in GitLab 17.6
- To discuss this change or learn more, see the deprecation issue.
Long term service and support (LTSS) for Debian 10 ended in June 2024.
Therefore, we will longer support the Debian 10 distribution for Linux package installs. Users should upgrade to Debian 11 or Debian 12 for continued support.
GitLab 17.4
Removed Needs tab from the pipeline view
- Announced in GitLab 17.1
- Removal in GitLab 17.4
- To discuss this change or learn more, see the deprecation issue.
We are removing the Needs tab from the pipeline view, as it duplicates the information displayed in the regular pipeline view with the Job dependencies grouping option. We will continue improving the views in the main pipeline graph in the future.
GitLab 17.3
FIPS-compliant Secure analyzers will change from UBI Minimal to UBI Micro
- Announced in GitLab 17.2
- Removal in GitLab 17.3
- To discuss this change or learn more, see the deprecation issue.
We’re updating the base image of some of the analyzers used to scan your code for security vulnerabilities. We’re only changing the analyzer images that are already based on Red Hat Universal Base Image (UBI), so this change only affects you if you’ve specifically enabled FIPS mode for security scanning. The default images that GitLab security scans use are not affected because they aren’t based on UBI.
In GitLab 17.3, we will change the base image of the UBI-based analyzers from UBI Minimal to UBI Micro, which includes fewer unnecessary packages and omits a package manager. The updated images will be smaller and will be affected by fewer vulnerabilities in packages provided by the operating system.
GitLab’s Statement of Support excludes undocumented customizations, including those that rely on specific contents of the analyzer image.
For example, installing additional packages in a before_script
is not a supported modification.
Nevertheless, if you rely on this type of customization, see the deprecation issue for this change to learn how to respond to this change or to provide feedback about your current customizations.
GitLab 17.0
‘repository_download_operation’ audit event type for public projects
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The audit event type repository_download_operation
is currently saved to the database for all project downloads, both public projects and private projects. For
public projects, this audit event is not the most useful for auditing purposes because it can be triggered by non-authenticated users.
From GitLab 17.0, the repository_download_operation
audit event type will only be triggered for private or internal projects. We will add a new audit event type
called public_repository_download_operation
for public project downloads. This new audit event type will be streaming only.
Agent for Kubernetes option ca-cert-file
renamed
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In the GitLab agent for Kubernetes (agentk), the --ca-cert-file
command line option
and the corresponding config.caCert
Helm chart value have been renamed
to --kas-ca-cert-file
and config.kasCaCert
, respectively.
The old --ca-cert-file
and config.caCert
options are deprecated, and will
be removed in GitLab 17.0.
Auto DevOps support for Herokuish is deprecated
- Announced in GitLab 15.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Auto DevOps support for Herokuish is deprecated in favor of Cloud Native Buildpacks. You should migrate your builds from Herokuish to Cloud Native Buildpacks. From GitLab 14.0, Auto Build uses Cloud Native Buildpacks by default.
Because Cloud Native Buildpacks do not support automatic testing, the Auto Test feature of Auto DevOps is also deprecated.
Autogenerated Markdown anchor links with dash (-
) characters
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab automatically creates anchor links for all headings, so you can link to
a specific place in a Markdown document or wiki page. But in some edge cases,
the autogenerated anchor is created with fewer dash (-
) characters than many users expect.
For example, with a heading with ## Step - 1
, most other Markdown tools and linters would expect #step---1
.
But GitLab generates an anchor of #step-1
, with consecutive dashes compressed down to one.
In GitLab 17.0, we will align our autogenerated anchors to the industry standard by no longer stripping consecutive dashes.
If you have Markdown documents and link to headings that could have multiple dashes in 17.0,
you should update the heading to avoid this edge case. With the example above, you
can change ## Step - 1
to ## Step 1
to ensure in-page links continue to work.
CiRunner.projects default sort is changing to id_desc
- Announced in GitLab 16.0
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The CiRunner.projects
’s field default sort order value will change from id_asc
to id_desc
.
If you rely on the order of the returned projects to be id_asc
, change your scripts to make the choice explicit.
Compliance framework in general settings
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We moved compliance framework management to the framework and projects reports in the Compliance Center.
Therefore, in GitLab 17.0, we are removing the management of compliance frameworks from the General settings page of groups and projects.
Container registry support for the Swift and OSS storage drivers
- Announced in GitLab 16.6
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The container registry uses storage drivers to work with various object storage platforms. While each driver’s code is relatively self-contained, there is a high maintenance burden for these drivers. Each driver implementation is unique and making changes to a driver requires a high level of domain expertise with that specific driver.
As we look to reduce maintenance costs, we are deprecating support for OSS (Object Storage Service) and OpenStack Swift. Both have already been removed from the upstream Docker Distribution. This helps align the container registry with the broader GitLab product offering with regards to object storage support.
OSS has an S3 compatibility mode, so consider using that if you can’t migrate to a supported driver. Swift is compatible with S3 API operations, required by the S3 storage driver as well.
DAST ZAP advanced configuration variables deprecation
- Announced in GitLab 15.7
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With the new browser-based DAST analyzer GA in GitLab 15.7, we are working towards making it the default DAST analyzer at some point in the future. In preparation for this, the following legacy DAST variables are being deprecated and scheduled for removal in GitLab 17.0: DAST_ZAP_CLI_OPTIONS
and DAST_ZAP_LOG_CONFIGURATION
. These variables allowed for advanced configuration of the legacy DAST analyzer, which was based on OWASP ZAP. The new browser-based analyzer will not include the same functionality, as these were specific to how ZAP worked.
These three variables will be removed in GitLab 17.0.
Dependency Scanning incorrect SBOM metadata properties
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab 17.0 removes support for the following metadata properties in CycloneDX SBOM reports:
gitlab:dependency_scanning:input_file
gitlab:dependency_scanning:package_manager
These were added in GitLab 15.7 to the SBOM produced by Dependency Scanning. However, these properties were incorrect and didn’t align with the GitLab CycloneDX property taxonomy. The following correct properties were added in GitLab 15.11 to address this:
gitlab:dependency_scanning:input_file:path
gitlab:dependency_scanning:package_manager:name
The incorrect properties were kept for backward compatibility. They are now deprecated and will be removed in 17.0.
Dependency Scanning support for sbt 1.0.X
- Announced in GitLab 16.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Supporting very old versions of sbt is preventing us from improving our support for additional use cases with this package manager without increasing our maintenance cost.
Version 1.1.0 of sbt was released 6 years ago, and users are advised to upgrade from 1.0.x as Dependency Scanning will no longer work.
Deprecate GraphQL fields related to the temporary storage increase
- Announced in GitLab 16.7
- Removal in GitLab 17.0
- To discuss this change or learn more, see the deprecation issue.
The GraphQL fields, isTemporaryStorageIncreaseEnabled
and temporaryStorageIncreaseEndsOn
, have been deprecated. These GraphQL fields are related to the temporary storage increase project. The project has been cancelled and the fields were not used.
Deprecate Grype scanner for Container Scanning
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Support for the Grype scanner in the GitLab Container Scanning analyzer is deprecated in GitLab 16.9.
From GitLab 17.0, the Grype analyzer will no longer be maintained, except for limited fixes as explained in our statement of support.
Users are advised to use the default setting for CS_ANALYZER_IMAGE
, which uses the Trivy
scanner.
The existing current major version for the Grype analyzer image will continue to be updated with the latest advisory database, and operating system packages until GitLab 19.0, at which point the analyzer will stop working.
To continue to use Grype past 19.0, see the Security scanner integration documentation to learn how to create your own integration with GitLab.
Deprecate License Scanning CI templates
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab 17.0 removes the License Scanning CI templates:
Jobs/License-Scanning.gitlab-ci.yml
Jobs/License-Scanning.latest.gitlab-ci.yml
Security/License-Scanning.gitlab-ci.yml
CI configurations including any of the templates above will stop working in GitLab 17.0.
Users are advised to use License scanning of CycloneDX files instead.
Deprecate Python 3.9 in Dependency Scanning and License Scanning
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
From GitLab 16.9, Dependency Scanning and License Scanning support for Python 3.9 is deprecated. In GitLab 17.0, Python 3.10 is the default version for the Dependency Scanning CI/CD job.
From GitLab 17.0, Dependency Scanning and License Scanning features won’t support projects that require Python 3.9 without a compatible lockfile.
Deprecate Windows CMD in GitLab Runner
- Announced in GitLab 16.1
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 11.11 the Windows Batch executor, the CMD shell was deprecated in GitLab Runner in favor of PowerShell. Since then, the CMD shell has continued to be supported in GitLab Runner. However this has resulted in additional complexity for both the engineering team and customers using the Runner on Windows. We plan to fully remove support for Windows CMD from GitLab Runner in 17.0. Customers should plan to use PowerShell when using the runner on Windows with the shell executor. Customers can provide feedback or ask questions in the removal issue, issue 29479.
Deprecate CiRunner
GraphQL fields duplicated in CiRunnerManager
- Announced in GitLab 16.2
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
These fields (architectureName
, ipAddress
, platformName
, revision
, version
) are now deprecated from the GraphQL CiRunner
type as they are duplicated with the introduction of runner managers grouped within a runner configuration.
Deprecate fmt
job in Terraform Module CI/CD template
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The fmt
job in the Terraform Module CI/CD templates is deprecated and will be removed in GitLab 17.0.
This affects the following templates:
Terraform-Module.gitlab-ci.yml
Terraform/Module-Base.gitlab-ci.yml
You can manually add back a Terraform fmt
job to your pipeline using:
fmt:
image: hashicorp/terraform
script: terraform fmt -chdir "$TF_ROOT" -check -diff -recursive
You can also use the fmt
template from the OpenTofu CI/CD component.
Deprecate message
field from Vulnerability Management features
- Announced in GitLab 16.1
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
This MR deprecates the message
field on the VulnerabilityCreate
GraphQL mutation, and in the AdditionalInfo
column of the vulnerability export.
The message field was removed from security reports schema in GitLab 16.0 and is no longer being used elsewhere.
Deprecate terminationGracePeriodSeconds
in the GitLab Runner Kubernetes executor
- Announced in GitLab 16.3
- End of Support in GitLab 17.0
- Removal in GitLab 17.0
- To discuss this change or learn more, see the deprecation issue.
The GitLab Runner Kubernetes executor setting, terminationGracePeriodSeconds
, is deprecated and will be removed in GitLab 17.0. To manage the cleanup and termination of GitLab Runner worker pods on Kubernetes, customers should instead configure cleanupGracePeriodSeconds
and podTerminationGracePeriodSeconds
. For information about how to use the cleanupGracePeriodSeconds
and podTerminationGracePeriodSeconds
, see the GitLab Runner Executor documentation.
Deprecate version
field in feature flag API
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The version
field in the feature flag REST API
is deprecated and will be removed in GitLab 17.0.
After the version
field is removed, there won’t be a way to create legacy feature flags.
Deprecate change vulnerability status from the Developer role
- Announced in GitLab 16.4
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The ability for Developers to change the status of vulnerabilities is now deprecated. We plan to make a breaking change in the upcoming GitLab 17.0 release to remove this ability from the Developer role. Users who wish to continue to grant this permission to developers can create a custom role for their developers and add in the admin_vulnerability
permission to give them this access.
Deprecate custom role creation for group owners on self-managed
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In self-managed GitLab 17.0, custom role creation will be removed for group Owners. This functionality will move to the instance level for administrators only. Group Owners will be able to assign custom roles at the group level.
Group owners on GitLab.com can continue to manage custom roles and assign at the group level.
If using the API to manage custom roles on a self-managed instance, a new instance endpoint has been added and is required to continue API operations.
- List all member roles on the instance -
GET /api/v4/member_roles
- Add member role to the instance -
POST /api/v4/member_roles
- Remove member role from the instance -
DELETE /api/v4/member_roles/:id
Deprecate field hasSolutions
from GraphQL VulnerabilityType
- Announced in GitLab 16.3
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GraphQL field Vulnerability.hasSolutions
is deprecated and will be removed in GitLab 17.0.
Use Vulnerability.hasRemediations
instead.
Deprecate legacy shell escaping and quoting runner shell executor
- Announced in GitLab 15.11
- Removal in GitLab 17.0
- To discuss this change or learn more, see the deprecation issue.
The runner’s legacy escape sequence mechanism to handle variable expansion implements a sub-optimal implementation of Ansi-C quoting. This method means that the runner would expand arguments included in double quotes. As of 15.11, we are deprecating the legacy escaping and quoting methods in the runner shell executor.
Deprecated parameters related to custom text in the sign-in page
- Announced in GitLab 16.2
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The parameters, sign_in_text
and help_text
, are deprecated in the Settings API. To add a custom text to the sign-in and sign-up pages, use the description
field in the Appearance API.
Deprecating Windows Server 2019 in favor of 2022
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We have recently announced the release of Windows Server 2022 for our SaaS runners on Windows (Beta). With it, we are deprecating Windows 2019 in GitLab 17.0.
For more information about how to migrate to using Windows 2022, see Windows 2022 support for GitLab SaaS runners now available.
DingTalk OmniAuth provider
- Announced in GitLab 15.10
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The omniauth-dingtalk
gem that provides GitLab with the DingTalk OmniAuth provider will be removed in our next
major release, GitLab 17.0. This gem sees very little use and is better suited for JiHu edition.
Duplicate storages in Gitaly configuration
- Announced in GitLab 16.10
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Support for configuring multiple Gitaly storages that point to the same storage path is deprecated and will be removed in GitLab 17.0 In GitLab 17.0 and later, this type of configuration will cause an error.
We’re removing support for this type of configuration because it can cause problems with background repository maintenance and will not be compatible with future Gitaly storage implementations.
Instance administrators must update the storage
entries of the gitaly['configuration']
section in gitlab.rb
configuration file to ensure each storage is configured with a unique path.
File type variable expansion fixed in downstream pipelines
- Announced in GitLab 16.6
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Previously, if you tried to reference a file type CI/CD variable in another CI/CD variable, the CI/CD variable would expand to contain the contents of the file. This behavior was incorrect because it did not comply with typical shell variable expansion rules. The CI/CD variable reference should expand to only contain the path to the file, not the contents of the file itself. This was fixed for most use cases in GitLab 15.7. Unfortunately, passing CI/CD variables to downstream pipelines was an edge case not yet fixed, but which will now be fixed in GitLab 17.0.
With this change, a variable configured in the .gitlab-ci.yml
file can reference a file variable and be passed to a downstream pipeline, and the file variable will be passed to the downstream pipeline as well. The downstream pipeline will expand the variable reference to the file path, not the file contents.
This breaking change could disrupt user workflows that depend on expanding a file variable in a downstream pipeline.
Geo: Legacy replication details routes for designs and projects deprecated
- Announced in GitLab 16.4
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
As part of the migration of legacy data types to the Geo self-service framework, the following replication details routes are deprecated:
- Designs
/admin/geo/replication/designs
replaced by/admin/geo/sites/<Geo Node/Site ID>/replication/design_management_repositories
- Projects
/admin/geo/replication/projects
replaced by/admin/geo/sites/<Geo Node/Site ID>/replication/projects
From GitLab 16.4 to 17.0, lookups for the legacy routes will automatically be redirected to the new routes. We will remove the redirections in 17.0. Please update any bookmarks or scripts that may use the legacy routes.
GitLab Helm chart values gitlab.kas.privateApi.tls.*
are deprecated
- Announced in GitLab 15.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We introduced the global.kas.tls.*
Helm values to facilitate TLS communication between KAS and your Helm chart components.
The old values gitlab.kas.privateApi.tls.enabled
and gitlab.kas.privateApi.tls.secretName
are deprecated and scheduled for removal in GitLab 17.0.
Because the new values provide a streamlined, comprehensive method to enable TLS for KAS, you should use global.kas.tls.*
instead of gitlab.kas.privateApi.tls.*
. The gitlab.kas.privateApi.tls.*
For more information, see:
- The merge request that introduces the
global.kas.tls.*
values. - The deprecated
gitlab.kas.privateApi.tls.*
documentation. - The new
global.kas.tls.*
documentation.
GitLab Runner provenance metadata SLSA v0.2 statement
- Announced in GitLab 16.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Runners generate provenance metadata and currently defaults to generating statements that adhere to SLSA v0.2. Because SLSA v1.0 has been released and is now supported by GitLab, the v0.2 statement is now deprecated and removal is planned in GitLab 17.0. The SLSA v1.0 statement is planned to become the new default statement format in GitLab 17.0.
GraphQL API access through unsupported methods
- Announced in GitLab 17.0
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
From GitLab 17.0, we limiting access to GraphQL to only through the already documented supported token types.
For customers already using documented and supported token types, there are no breaking changes.
GraphQL networkPolicies
resource deprecated
- Announced in GitLab 14.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The networkPolicies
GraphQL resource has been deprecated and will be removed in GitLab 17.0. Since GitLab 15.0 this field has returned no data.
GraphQL deprecation of dependencyProxyTotalSizeInBytes
field
- Announced in GitLab 16.1
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
You can use GraphQL to query the amount of storage used by the GitLab Dependency Proxy. However, the dependencyProxyTotalSizeInBytes
field is limited to ~2Gb (in bytes), which is not always large enough for the Dependency Proxy. As a result, dependencyProxyTotalSizeInBytes
is deprecated and will be removed in GitLab 17.0.
Use dependencyProxyTotalSizeBytes
instead, introduced in GitLab 16.1.
GraphQL field confidential
changed to internal
on notes
- Announced in GitLab 15.5
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The confidential
field for a Note
will be deprecated and renamed to internal
.
GraphQL field registrySizeEstimated
has been deprecated
- Announced in GitLab 16.2
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
For clarity, the GraphQL field registrySizeEstimated
was renamed to containerRegistrySizeIsEstimated
, to match its counterpart.
registrySizeEstimated
was deprecated in GitLab 16.2 and will be removed in GitLab 17.0.
Use containerRegistrySizeIsEstimated
introduced in GitLab 16.2 instead.
GraphQL field totalWeight
is deprecated
- Announced in GitLab 16.3
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
You can use GraphQL to query the total weight of issues in an issue board. However, the totalWeight
field is limited to the maximum size 2147483647. As a result, totalWeight
is deprecated and will be removed in GitLab 17.0.
Use totalIssueWeight
instead, introduced in GitLab 16.2.
GraphQL type, RunnerMembershipFilter
renamed to CiRunnerMembershipFilter
- Announced in GitLab 16.0
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GraphQL type, RunnerMembershipFilter
, has been renamed to CiRunnerMembershipFilter
. In GitLab 17.0,
the aliasing for the RunnerMembershipFilter
type will be removed.
GraphQL: The DISABLED_WITH_OVERRIDE
value for the SharedRunnersSetting
enum is deprecated
- Announced in GitLab 15.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 17.0, the DISABLED_WITH_OVERRIDE
value of the SharedRunnersSetting
GraphQL enum type will be removed.
Use DISABLED_AND_OVERRIDABLE
instead.
GraphQL: deprecate support for canDestroy
and canDelete
- Announced in GitLab 16.6
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Package Registry user interface relies on the GitLab GraphQL API. To make it easy for everyone to contribute, it’s important that the frontend is coded consistently across all GitLab product areas. Before GitLab 16.6, however, the Package Registry UI handled permissions differently from other areas of the product.
In 16.6, we added a new UserPermissions
field under the Types::PermissionTypes::Package
type to align the Package Registry with the rest of GitLab. This new field replaces the canDestroy
field under the Package
, PackageBase
, and PackageDetailsType
types. It also replaces the field canDelete
for ContainerRepository
, ContainerRepositoryDetails
, and ContainerRepositoryTag
. In GitLab 17.0, the canDestroy
and canDelete
fields will be removed.
This is a breaking change that will be completed in 17.0.
HashiCorp Vault integration will no longer use the CI_JOB_JWT
CI/CD job token by default
- Announced in GitLab 15.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
As part of our effort to improve the security of your CI workflows using JWT and OIDC, the native HashiCorp integration is also being updated in GitLab 16.0. Any projects that use the secrets:vault
keyword to retrieve secrets from Vault will need to be configured to use the ID tokens. ID tokens were introduced in 15.7.
To prepare for this change, use the new id_tokens
keyword and configure the aud
claim. Ensure the bound audience is prefixed with https://
.
In GitLab 15.9 to 15.11, you can enable the Limit JSON Web Token (JWT) access
setting, which prevents the old tokens from being exposed to any jobs and enables
ID token authentication for the secrets:vault
keyword.
In GitLab 16.0 and later:
- This setting will be removed.
- CI/CD jobs that use the
id_tokens
keyword can use ID tokens withsecrets:vault
, and will not have anyCI_JOB_JWT*
tokens available. - Jobs that do not use the
id_tokens
keyword will continue to have theCI_JOB_JWT*
tokens available until GitLab 17.0.
Heroku image upgrade in Auto DevOps build
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 17.0, the auto-build-image
project will upgrade from the heroku/builder:20
image to heroku/builder:22
.
To test the behavior of the new image, set the CI/CD variable AUTO_DEVOPS_BUILD_IMAGE_CNB_BUILDER
to
heroku/builder:22
.
To continue to use heroku/builder:20
after GitLab 17.0,
set AUTO_DEVOPS_BUILD_IMAGE_CNB_BUILDER
to heroku/builder:20
.
Internal container registry API tag deletion endpoint
- Announced in GitLab 16.4
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Docker Registry HTTP API V2 Spec, later replaced by the OCI Distribution Spec did not include a tag delete operation, and an unsafe and slow workaround (involving deleting manifests, not tags) had to be used to achieve the same end.
Tag deletion is an important function, so we added a tag deletion operation to the GitLab container registry, extending the V2 API beyond the scope of the Docker and OCI distribution spec.
Since then, the OCI Distribution Spec has had some updates and it now has a tag delete operation, using the DELETE /v2/<name>/manifests/<tag>
endpoint.
This leaves the container registry with two endpoints that provide the exact same functionality. DELETE /v2/<name>/tags/reference/<tag>
is the custom GitLab tag delete endpoint and DELETE /v2/<name>/manifests/<tag>
, the OCI compliant tag delete endpoint introduced in GitLab 16.4.
Support for the custom GitLab tag delete endpoint is deprecated in GitLab 16.4, and it will be removed in GitLab 17.0.
This endpoint is used by the internal container registry application API, not the public GitLab container registry API. No action should be required by the majority of container registry users. All the GitLab UI and API functionality related to tag deletions will remain intact as we transition to the new OCI-compliant endpoint.
If you do access the internal container registry API and use the original tag deletion endpoint, you must update to the new endpoint.
JWT /-/jwks
instance endpoint is deprecated
- Announced in GitLab 16.7
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With the deprecation of old JSON web token versions in GitLab 17.0, the associated /-/jwks
endpoint which is an alias for /oauth/discovery/keys
is no longer necessary and will be removed. Please remove any uses of /-/jwks
, for example change https://gitlab.example.com/-/jwks
to https://gitlab.example.com
.
Legacy Geo Prometheus metrics
- Announced in GitLab 16.6
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Following the migration of projects to the Geo self-service framework we have deprecated a number of Prometheus metrics. The following Geo-related Prometheus metrics are deprecated and will be removed in 17.0. The table below lists the deprecated metrics and their respective replacements. The replacements are available in GitLab 16.3.0 and later.
Deprecated metric | Replacement metric |
---|---|
geo_repositories_synced
| geo_project_repositories_synced
|
geo_repositories_failed
| geo_project_repositories_failed
|
geo_repositories_checksummed
| geo_project_repositories_checksummed
|
geo_repositories_checksum_failed
| geo_project_repositories_checksum_failed
|
geo_repositories_verified
| geo_project_repositories_verified
|
geo_repositories_verification_failed
| geo_project_repositories_verification_failed
|
geo_repositories_checksum_mismatch
| None available |
geo_repositories_retrying_verification
| None available |
License List is deprecated
- Announced in GitLab 16.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Today in GitLab you can see a list of all of the licenses your project and the components that use that license on the License List. As of 16.8, the License List is deprecated and scheduled to be removed in 17.0 as a breaking change. With the release of the Group Dependency List and the ability to filter by license on the project and group Dependency List, you can now access all of the licenses your project or group is using on the Dependency List.
License Scanning support for sbt 1.0.X
- Announced in GitLab 16.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab 17.0 removes License Scanning support for sbt 1.0.x.
Users are advised to upgrade from sbt 1.0.x.
Linux packages for Ubuntu 18.04
- Announced in GitLab 16.8
- Removal in GitLab 17.0
- To discuss this change or learn more, see the deprecation issue.
Standard support for Ubuntu 18.04 ended on June 2023.
From GitLab 17.0, we will not provide Linux packages for Ubuntu 18.04.
To prepare for GitLab 17.0 and later:
- Move servers running GitLab instances from Ubuntu 18.04 to either Ubuntu 20.04 or Ubuntu 22.04.
- Upgrade your GitLab instances using Linux package for the version of Ubuntu you’re now using.
List repository directories Rake task
- Announced in GitLab 16.7
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The gitlab-rake gitlab:list_repos
Rake task does not work and will be removed in GitLab 17.0.
If you’re migrating GitLab, use
backup and restore
instead.
Maintainer role providing the ability to change Package settings using GraphQL API
- Announced in GitLab 15.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The ability for users with the Maintainer role to change the Packages and registries settings for a group using the GraphQL API is deprecated in GitLab 15.8 and will be removed in GitLab 17.0. These settings include:
- Allowing or preventing duplicate package uploads.
- Package request forwarding.
- Enabling lifecycle rules for the Dependency Proxy.
In GitLab 17.0 and later, you must have the Owner role for a group to change the Packages and registries settings for the group using either the GitLab UI or GraphQL API.
Maven versions below 3.8.8 support in Dependency Scanning and License Scanning
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab 17.0 drops Dependency Scanning and License Scanning support for Maven versions below 3.8.8.
Users are advised to upgrade to 3.8.8 or greater.
Min concurrency and max concurrency in Sidekiq options
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
-
For Linux package (Omnibus) installations, the
sidekiq['min_concurrency']
andsidekiq['max_concurrency']
settings are deprecated in GitLab 16.9 and will be removed in GitLab 17.0.You can use
sidekiq['concurrency']
in GitLab 16.9 and later to set thread counts explicitly in each process.The above change only applies to Linux package (Omnibus) installations.
-
For GitLab Helm chart installations, passing
SIDEKIQ_CONCURRENCY_MIN
and/orSIDEKIQ_CONCURRENCY_MAX
asextraEnv
to thesidekiq
sub-chart is deprecated in GitLab 16.10 and will be removed in GitLab 17.0.You can use the
concurrency
option to set thread counts explicitly in each process.
Offset pagination for /users
REST API endpoint is deprecated
- Announced in GitLab 16.5
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Offset pagination for the /users
REST API is deprecated in GitLab 16.5, and will be removed in GitLab 17.0. Use keyset pagination instead.
Old versions of JSON web tokens are deprecated
- Announced in GitLab 15.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
ID tokens with OIDC support
were introduced in GitLab 15.7. These tokens are more configurable than the old JSON web tokens (JWTs), are OIDC compliant,
and only available in CI/CD jobs that explictly have ID tokens configured.
ID tokens are more secure than the old CI_JOB_JWT*
JSON web tokens which are exposed in every job,
and as a result these old JSON web tokens are deprecated:
CI_JOB_JWT
CI_JOB_JWT_V1
CI_JOB_JWT_V2
To prepare for this change, configure your pipelines to use ID tokens
instead of the deprecated tokens. For OIDC compliance, the iss
claim now uses
the fully qualified domain name, for example https://example.com
, previously
introduced with the CI_JOB_JWT_V2
token.
In GitLab 15.9 to 15.11, you can enable the Limit JSON Web Token (JWT) access
setting, which prevents the old tokens from being exposed to any jobs and enables
ID token authentication for the secrets:vault
keyword.
In GitLab 16.0 and later:
- This setting will be removed.
- CI/CD jobs that use the
id_tokens
keyword can use ID tokens withsecrets:vault
, and will not have anyCI_JOB_JWT*
tokens available. - Jobs that do not use the
id_tokens
keyword will continue to have theCI_JOB_JWT*
tokens available until GitLab 17.0.
In GitLab 17.0, the deprecated tokens will be completely removed and will no longer be available in CI/CD jobs.
OmniAuth Facebook is deprecated
- Announced in GitLab 16.2
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
OmniAuth Facebook support will be removed in GitLab 17.0. The last gem release was in 2021 and it is currently unmaintained. The current usage is less than 0.1%. If you use OmniAuth Facebook, switch to a supported provider in advance of support removal.
Package pipelines in API payload is paginated
- Announced in GitLab 14.5
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
A request to the API for /api/v4/projects/:id/packages
returns a paginated result of packages. Each package lists all of its pipelines in this response. This is a performance concern, as it’s possible for a package to have hundreds or thousands of associated pipelines.
In milestone 17.0, we will remove the pipelines
attribute from the API response.
PostgreSQL 13 no longer supported
- Announced in GitLab 16.0
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab follows an annual upgrade cadence for PostgreSQL.
Support for PostgreSQL 13 is scheduled for removal in GitLab 17.0. In GitLab 17.0, PostgreSQL 14 becomes the minimum required PostgreSQL version.
PostgreSQL 13 will be supported for the full GitLab 16 release cycle. PostgreSQL 14 will also be supported for instances that want to upgrade prior to GitLab 17.0. If you are running a single PostgreSQL instance you installed by using an Omnibus Linux package, an automatic upgrade may be attempted with 16.11. Make sure you have enough disk space to accommodate the upgrade. For more information, see the Omnibus database documentation.
Proxy-based DAST deprecated
- Announced in GitLab 16.6
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
As of GitLab 17.0, Proxy-based DAST will not be supported. Please migrate to Browser-based DAST to continue analyzing your projects for security findings via dynamic analysis. Breach and Attack Simulation, an incubating feature which is built on top of Proxy-based DAST, is also included in this deprecation and will not be supported after 17.0.
Queue selector for running Sidekiq is deprecated
- Announced in GitLab 15.9
- End of Support in GitLab 16.0
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Running Sidekiq with a queue selector (having multiple processes listening to a set of queues) and negate settings is deprecated and will be fully removed in 17.0.
You can migrate away from queue selectors to listening to all queues in all processes. For example, if Sidekiq is currently running with 4 processes (denoted by 4 elements in sidekiq['queue_groups']
in /etc/gitlab/gitlab.rb
) with queue selector (sidekiq['queue_selector'] = true
), you can change Sidekiq to listen to all queues in all 4 processes,for example sidekiq['queue_groups'] = ['*'] * 4
. This approach is also recommended in our Reference Architecture. Note that Sidekiq can effectively run as many processes as the number of CPUs in the machine.
While the above approach is recommended for most instances, Sidekiq can also be run using routing rules which is also being used on GitLab.com. You can follow the migration guide from queue selectors to routing rules. You need to take care with the migration to avoid losing jobs entirely.
Removal of tags from small SaaS runners on Linux
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Due to historical reasons, small Linux SaaS Runners had a lot of tags attached because they were used as labels. We want to streamline the tag to just use saas-linux-small-amd64
and be consistent across all SaaS runners.
We are deprecating the tags: docker
, east-c
, gce
, git-annex
, linux
, mongo
, mysql
, postgres
, ruby
, shared
.
For more information, see Removing tags from our small SaaS runner on Linux.
Required Pipeline Configuration is deprecated
- Announced in GitLab 15.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Required pipeline configuration will be removed in GitLab 17.0. This impacts self-managed users on the Ultimate tier.
You should replace required pipeline configuration with either:
- Security policies scoped to compliance frameworks, which are experimental.
- Compliance pipelines, which are available now.
We recommend these alternative solutions because they provides greater flexibility, allowing required pipelines to be assigned to specific compliance framework labels.
Note: Compliance pipelines will be deprecated in the future and migrated to security policies. For more information, see the migration and deprecation epic.
SAST analyzer coverage changing in GitLab 17.0
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We’re reducing the number of supported analyzers used by default in GitLab SAST. This is part of our long-term strategy to deliver a faster, more consistent user experience across different programming languages.
In GitLab 17.0, we will:
- Remove a set of language-specific analyzers from the SAST CI/CD template and replace their coverage with GitLab-supported detection rules in the Semgrep-based analyzer. The following analyzers are now deprecated and will reach End of Support in GitLab 17.0:
- Brakeman (Ruby, Ruby on Rails)
- Flawfinder (C, C++)
- MobSF (Android, iOS)
- NodeJS Scan (Node.js)
- PHPCS Security Audit (PHP)
- Change the SAST CI/CD template to stop running the SpotBugs-based analyzer for Kotlin and Scala code. These languages will instead be scanned using GitLab-supported detection rules in the Semgrep-based analyzer.
Effective immediately, the deprecated analyzers will receive only security updates; other routine improvements or updates are not guaranteed. After the analyzers reach End of Support in GitLab 17.0, no further updates will be provided. However, we won’t delete container images previously published for these analyzers or remove the ability to run them by using custom CI/CD pipeline job definitions.
The vulnerability management system will update most existing findings so that they’re matched with the new detection rules. Findings that aren’t migrated to the new analyzer will be automatically resolved. See Vulnerability translation documentation for further details.
If you applied customizations to the removed analyzers, or if you currently disable the Semgrep-based analyzer in your pipelines, you must take action as detailed in the deprecation issue for this change.
Scan execution policies using _EXCLUDED_ANALYZERS
variable override project variables
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
After delivering and verifying Enforce SEP variables with the highest precedence, we have discovered unintended behavior, allowing users to set _EXCLUDED_PATHS
in pipeline configuration and preventing them from setting _EXCLUDED_ANALYZERS
in both policy and pipeline configuration.
To ensure proper enforcement of scan execution variables, when an _EXCLUDED_ANALYZERS
or _EXCLUDED_PATHS
variables are specified for a scan execution policy using the GitLab scan action, the variable will now override any project variables defined for excluded analyzers.
Users may enable the feature flag to enforce this behavior before 17.0. In 17.0, projects leveraging the _EXCLUDED_ANALYZERS
/_EXCLUDED_PATHS
variable where a scan execution policy with the variable is defined will be overridden by default.
Secure analyzers major version update
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Secure stage will be bumping the major versions of its analyzers in tandem with the GitLab 17.0 release.
If you are not using the default included templates, or have pinned your analyzer versions you must update your CI/CD job definition to either remove the pinned version or to update the latest major version.
Users of GitLab 16.0-16.11 will continue to experience analyzer updates as normal until the release of GitLab 17.0, following which all newly fixed bugs and released features will be released only in the new major version of the analyzers.
We do not backport bugs and features to deprecated versions as per our maintenance policy. As required, security patches will be backported within the latest 3 minor releases.
Specifically, the following analyzers are being deprecated and will no longer be updated after the GitLab 17.0 release:
- Container Scanning: version 6
- Dependency Scanning: version 4
- DAST: version 4
- DAST API: version 3
- Fuzz API: version 3
- Secret Detection: version 5
- Static Application Security Testing (SAST): version 4 of all analyzers
brakeman
flawfinder
kubesec
mobsf
nodejs-scan
phpcs-security-audit
pmd-apex
semgrep
sobelow
spotbugs
Security policy field match_on_inclusion
is deprecated
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In Support additional filters for scan result policies, we broke the newly_detected
field into two options: new_needs_triage
and new_dismissed
. By including both options in the security policy YAML, you will achieve the same result as the original newly_detected
field. However, you may now narrow your filter to ignore findings that have been dismissed by only using new_needs_triage
.
Based on discussion in epic 10203, we have changed the name of the match_on_inclusion
field to match_on_inclusion_license
for more clarity in the YAML definition.
Security policy field newly_detected
is deprecated
- Announced in GitLab 16.5
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In Support additional filters for scan result policies, we broke the newly_detected
field into two options: new_needs_triage
and new_dismissed
. By including both options in the security policy YAML, you will achieve the same result as the original newly_detected
field. However, you may now narrow your filter to ignore findings that have been dismissed by only using new_needs_triage
.
Support for self-hosted Sentry versions 21.4.1 and earlier
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Support for self-hosted Sentry versions 21.4.1 and earlier is deprecated and will be removed in GitLab 17.0.
If your self-hosted Sentry version is 21.4.1 or earlier, you may not be able to collect errors from your GitLab instance after upgrading to GitLab 17.0 or later. To continue sending errors from your GitLab instance to your Sentry instance, upgrade Sentry to version 21.5.0 or later. For more information, see Sentry documentation.
Support for setting custom schema for backup is deprecated
- Announced in GitLab 16.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
You could configure GitLab to use a custom schema for backup, by setting
gitlab_rails['backup_pg_schema'] = '<schema_name>'
in /etc/gitlab/gitlab.rb
for Linux package installations,
or by editing config/gitlab.yml
for self-compiled installations.
While the configuration setting was available, it had no effect and did not serve the purpose it was intended. This configuration setting will be removed in GitLab 17.0.
The GitHub importer Rake task
- Announced in GitLab 16.6
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 16.6, the GitHub importer Rake task was deprecated. The Rake task lacks several features that are supported by the API and is not actively maintained.
In GitLab 17.0, the Rake task will be removed.
Instead, GitHub repositories can be imported by using the API or the UI.
The Visual Reviews tool is deprecated
- Announced in GitLab 15.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Due to limited customer usage and capabilities, the Visual Reviews feature for Review Apps is deprecated and will be removed. There is no planned replacement and users should stop using Visual Reviews before GitLab 17.0.
The gitlab-runner exec
command is deprecated
- Announced in GitLab 15.7
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The gitlab-runner exec
command is deprecated and will be fully removed from GitLab Runner in 16.0. The gitlab-runner exec
feature was initially developed to provide the ability to validate a GitLab CI pipeline on a local system without needing to commit the updates to a GitLab instance. However, with the continued evolution of GitLab CI, replicating all GitLab CI features into gitlab-runner exec
was no longer viable. Pipeline syntax and validation simulation are available in the GitLab pipeline editor.
The pull-based deployment features of the GitLab agent for Kubernetes is deprecated
- Announced in GitLab 16.2
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We are deprecating the built-in pull-based deployment features of the GitLab agent for Kubernetes in favor of Flux and related integrations.
The GitLab agent for Kubernetes is not deprecated. This change affects only the pull-based functionality of the agent. All other functionality will remain intact, and GitLab will continue to support the agent for Kubernetes.
If you use the agent for pull-based deployments, you should migrate to Flux. Because Flux is a mature CNCF project for GitOps, we decided to integrate Flux with GitLab in February 2023.
Twitter OmniAuth login option is deprecated from self-managed GitLab
- Announced in GitLab 16.3
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Twitter OAuth 1.0a OmniAuth is deprecated and will be removed for self-managed GitLab instances in GitLab 17.0 due to low use and lack of gem support. Use another supported OmniAuth provider instead.
Unified approval rules are deprecated
- Announced in GitLab 16.1
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Unified approval rules are deprecated in favor of multiple approval rules, which provide more flexibility. You might not be able to migrate your Unified approval rules to multiple approval rules without breaking changes. To help you migrate manually, we introduced migration documentation.
If you don’t migrate manually before unified approval rules are removed, GitLab will automatically migrate your settings. As multiple approval rules allow a more fine-grained setup for approval rules, if you leave the migration to GitLab, the automatic migrations might end up with more restrictive rules than you might prefer. Check your migration rules if you have an issue where you need more approvals than you expect.
In GitLab 15.11, UI support for unified approval rules was removed. You can still access unified approval rules with the API.
Upgrading the operating system version of GitLab SaaS runners on Linux
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab is upgrading the container-optimized operating system (COS) of the ephemeral VMs used to execute jobs for SaaS runners on Linux. That COS upgrade includes a Docker Engine upgrade from Version 19.03.15 to Version 23.0.5, which introduces a known compatibility issue.
Docker-in-Docker prior to version 20.10 or Kaniko images older than v1.9.0, will be unable to detect the container runtime and fail.
For more information, see Upgrading the operating system version of our SaaS runners on Linux.
Vulnerability confidence field
- Announced in GitLab 15.4
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 15.3, security report schemas below version 15 were deprecated.
The confidence
attribute on vulnerability findings exists only in schema versions before 15-0-0
, and therefore is effectively deprecated since GitLab 15.4 supports schema version 15-0-0
. To maintain consistency
between the reports and our public APIs, the confidence
attribute on any vulnerability-related components of our GraphQL API is now deprecated and will be
removed in 17.0.
after_script
keyword will run for cancelled jobs
- Announced in GitLab 16.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The after_script
CI/CD keyword is used to run additional commands after the main script
section of a job. This is often used for cleaning up environments or other resources that were used by the job. For many users, the fact that the after_script
commands do not run if a job is cancelled was unexpected and undesired. In 17.0, the keyword will be updated to also run commands after job cancellation. Make sure that your CI/CD configuration that uses the after_script
keyword is able to handle running for cancelled jobs as well.
dependency_files
is deprecated
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Today in GitLab, a project’s dependency list is generated using content from dependency_files
in the Dependency Scanning report. However, to maintain consistency with the group dependency list, starting with GitLab 17.0, the project’s dependency list will use CycloneDX SBOM report artifacts, stored in GitLab’s PostgreSQL database. As such, the dependency_files
property of the Dependency Scanning report schema is deprecated, and will be removed in 17.0.
As a part of this deprecation, the dependency_path
will also be deprecated and removed in 17.0. GitLab will move forward with the implementation of the dependency graph using the CycloneDX specification to provide similar information.
Additionally, the Container Scanning CI job will no longer produce a Dependency Scanning report to provide the list of Operating System components as this is replaced with the CycloneDX SBOM report. The CS_DISABLE_DEPENDENCY_LIST
environment variable for Container Scanning is no longer in use and will also be removed in 17.0.
metric
filter and value
field for DORA API
- Announced in GitLab 16.8
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Multiple DORA metrics can now be queried simultaneously using a new metrics field. The metric
filter and value
field for Graphql DORA API will be removed in GitLab 17.0.
omniauth-azure-oauth2
gem is deprecated
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab users can use the omniauth-azure-oauth2
gem to authenticate with GitLab. In 17.0, this gem will be replaced with the omniauth_openid_connect
gem. The new gem contains all of the same features as the old gem, but also has upstream maintenance and is better for security and centralized maintenance.
This change requires that users re-connect to the OAuth2 provider at time of migration. To avoid disruption, add omniauth_openid_connect
as a new provider any time before 17.0. Users will see a new login button and have to manually reconnect their credentials. If you do not implement the omniauth_openid_connect
gem before 17.0, users will no longer be able to sign in using the Azure login button, and will have to sign in using their username and password, until the correct gem is implemented by the administrator.
omnibus_gitconfig
configuration item is deprecated
- Announced in GitLab 16.10
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The omnibus_gitconfig['system']
configuration item has been deprecated. If you use
omnibus_gitconfig['system']
to set custom Git configuration for Gitaly, you must configure Git
directly through Gitaly configuration under gitaly[:configuration][:git][:config]
before upgrading to GitLab 17.0.
For example:
gitaly[:configuration][:git][:config] = [
{
key: 'fetch.fsckObjects',
value: 'true',
},
# ...
]
The format of the configuration keys must match what is passed to git
through the CLI flag git -c <configuration>
.
If you have trouble converting the existing keys to the expected format, see the existing keys in the correct format in
the Linux package-generated configuration file of Gitaly. By default, the configuration file is located at
/var/opt/gitlab/gitaly/config.toml
.
The following configuration options that are managed by Gitaly should be removed. These keys do not need to be migrated to Gitaly:
pack.threads=1
receive.advertisePushOptions=true
receive.fsckObjects=true
repack.writeBitmaps=true
transfer.hideRefs=^refs/tmp/
transfer.hideRefs=^refs/keep-around/
transfer.hideRefs=^refs/remotes/
core.alternateRefsCommand="exit 0 #"
core.fsyncObjectFiles=true
fetch.writeCommitGraph=true
postgres_exporter['per_table_stats']
configuration setting
- Announced in GitLab 16.4
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Linux package provides custom queries for the bundled PostgreSQL exporter, which included a per_table_stats
query controlled by postgres_exporter['per_table_stats']
configuration setting.
The PostgreSQL exporter now provides a stat_user_tables
collector that provides the same metrics. If you had postgres_exporter['per_table_stats']
enabled,
enable postgres_exporter['flags']['collector.stat_user_tables']
instead.
projectFingerprint
GraphQL field
- Announced in GitLab 15.1
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The project_fingerprint
attribute of vulnerability findings is being deprecated in favor of a uuid
attribute. By using UUIDv5 values to identify findings, we can easily associate any related entity with a finding. The project_fingerprint
attribute is no longer being used to track findings, and will be removed in GitLab 17.0. Starting in 16.1, the output of project_fingerprint
returns the same value as the uuid
field.
npm package uploads now occur asynchronously
- Announced in GitLab 16.9
- Removal in GitLab 17.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GitLab package registry supports npm and Yarn. When you upload an npm or Yarn package, the upload is synchronous. However, there are known issues with synchronous uploads. For example, GitLab doesn’t support features like overrides.
From 17.0, npm and Yarn packages will be uploaded asynchronously. This is a breaking change because you might have pipelines that expect the package to be available as soon as it’s published.
As a workaround, you should use the packages API to check for packages.
GitLab 16.9
Deprecation of lfs_check
feature flag
- Announced in GitLab 16.6
- Removal in GitLab 16.9
- To discuss this change or learn more, see the deprecation issue.
In GitLab 16.9, we will remove the lfs_check
feature flag. This feature flag was introduced 4 years ago and controls whether the LFS integrity check is enabled. The feature flag is enabled by default, but some customers experienced performance issues with the LFS integrity check and explicitly disabled it.
After dramatically improving the performance of the LFS integrity check, we are ready to remove the feature flag. After the flag is removed, the feature will automatically be turned on for any environment in which it is currently disabled.
If this feature flag is disabled for your environment, and you are concerned about performance issues, please enable it and monitor the performance before it is removed in 16.9. If you see any performance issues after enabling it, please let us know in this feedback issue.
GitLab 16.8
openSUSE Leap 15.4 packages
- Announced in GitLab 16.5
- Removal in GitLab 16.8
- To discuss this change or learn more, see the deprecation issue.
Support and security updates for openSUSE Leap 15.4 is ending November 2023.
GitLab 15.4 provided packages for openSUSE Leap 15.5. GitLab 15.8 and later will not provide packages for openSUSE Leap 15.4.
To prepare for GitLab 15.8 and later, you should:
- Move instances from openSUSE Leap 15.4 to openSUSE Leap 15.5.
- Switch from the openSUSE Leap 15.4 GitLab-provided packages to the openSUSE Leap 15.5 GitLab-provided packages.
GitLab 16.7
Shimo integration
- Announced in GitLab 15.7
- Removal in GitLab 16.7 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Shimo Workspace integration has been deprecated and will be moved to the JiHu GitLab codebase.
user_email_lookup_limit
API field
- Announced in GitLab 14.9
- Removal in GitLab 16.7 (breaking change)
The user_email_lookup_limit
API field is deprecated in GitLab 14.9 and removed in GitLab 16.7. Until the feature is removed, user_email_lookup_limit
is aliased to search_rate_limit
and existing workflows still work.
Any API calls to change the rate limits for user_email_lookup_limit
must use search_rate_limit
instead.
GitLab 16.6
Job token allowlist covers public and internal projects
- Announced in GitLab 16.3
- Removal in GitLab 16.6 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Starting in 16.6, projects that are public or internal will no longer authorize job token requests from projects that are not on the project’s allowlist when Limit access to this project is enabled.
If you have public or internal projects with the Limit access to this project setting enabled, you must add any projects which make job token requests to your project’s allowlist for continued authorization.
GitLab 16.5
Adding non-LDAP synced members to a locked LDAP group is deprecated
- Announced in GitLab 16.0
- Removal in GitLab 16.5
- To discuss this change or learn more, see the deprecation issue.
Enabling the ldap_settings_unlock_groups_by_owners
feature flag allowed non-LDAP synced users to be added to a locked LDAP group. This feature has always been disabled by default and behind a feature flag. We are removing this feature to keep continuity with our SAML integration, and because allowing non-synced group members defeats the “single source of truth” principle of using a directory service. Once this feature is removed, any LDAP group members that are not synced with LDAP will lose access to that group.
Geo: Housekeeping Rake tasks
- Announced in GitLab 16.3
- Removal in GitLab 16.5 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
As part of the migration of the replication and verification to the Geo self-service framework (SSF), the legacy replication for project repositories has been removed. As a result, the following Rake tasks that relied on legacy code have also been removed. The work invoked by these Rake tasks are now triggered automatically either periodically or based on trigger events.
Rake task | Replacement |
---|---|
geo:git:housekeeping:full_repack
| Moved to UI. No equivalent Rake task in the SSF. |
geo:git:housekeeping:gc
| Always executed for new repositories, and then when it’s needed. No equivalent Rake task in the SSF. |
geo:git:housekeeping:incremental_repack
| Executed when needed. No equivalent Rake task in the SSF. |
geo:run_orphaned_project_registry_cleaner
| Executed regularly by a registry consistency worker which removes orphaned registries. No equivalent Rake task in the SSF. |
geo:verification:repository:reset
| Moved to UI. No equivalent Rake task in the SSF. |
geo:verification:wiki:reset
| Moved to UI. No equivalent Rake task in the SSF. |
GitLab 16.3
Bundled Grafana deprecated and disabled
- Announced in GitLab 16.0
- Removal in GitLab 16.3 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The version of Grafana bundled with Omnibus GitLab is deprecated and disabled in 16.0 and will be removed in 16.3. If you are using the bundled Grafana, you must migrate to either:
- Another implementation of Grafana. For more information, see Switch to new Grafana instance.
- Another observability platform of your choice.
The version of Grafana that is currently provided is no longer a supported version.
In GitLab versions 16.0 to 16.2, you can still re-enable the bundled Grafana. However, enabling the bundled Grafana will no longer work from GitLab 16.3.
License Compliance CI Template
- Announced in GitLab 15.9
- Removal in GitLab 16.3 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Update: We previously announced we would remove the existing License Compliance CI template in GitLab 16.0. However, due to performance issues with the license scanning of CycloneDX files we will do this in 16.3 instead.
The GitLab License Compliance CI/CD template is now deprecated and is scheduled for removal in the GitLab 16.3 release.
To continue using GitLab for license compliance, remove the License Compliance template from your CI/CD pipeline and add the Dependency Scanning template. The Dependency Scanning template is now capable of gathering the required license information, so it is no longer necessary to run a separate license compliance job.
Before you remove the License Compliance CI/CD template, verify that the instance has been upgraded to a version that supports the new method of license scanning.
To begin using the Dependency Scanner quickly at scale, you may set up a scan execution policy at the group level to enforce the SBOM-based license scan for all projects in the group. Then, you may remove the inclusion of the Jobs/License-Scanning.gitlab-ci.yml
template from your CI/CD configuration.
If you wish to continue using the legacy license compliance feature, you can do so by setting the LICENSE_MANAGEMENT_VERSION CI
variable to 4
. This variable can be set at the project, group, or instance level. This configuration change will allow you to continue using an existing version of license compliance without having to adopt the new approach.
Bugs and vulnerabilities in this legacy analyzer will no longer be fixed.
CI Pipeline Includes | GitLab <= 15.8 | 15.9 <= GitLab < 16.3 | GitLab >= 16.3 |
---|---|---|---|
Both DS and LS templates | License data from LS job is used | License data from LS job is used | License data from DS job is used |
DS template is included but LS template is not | No license data | License data from DS job is used | License data from DS job is used |
LS template is included but DS template is not | License data from LS job is used | License data from LS job is used | No license data |
RSA key size limits
- Announced in GitLab 16.3
- Removal in GitLab 16.3 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Go versions 1.20.7 and later add a maxRSAKeySize
constant that limits RSA keys to a maximum of 8192 bits. As a result, RSA keys larger than 8192 bits will no longer work with GitLab. Any RSA keys larger than 8192 bits must be regenerated at a smaller size.
You might notice this issue because your logs include an error like tls: server sent certificate containing RSA key larger than 8192 bits
. To test the length of your key, use this command: openssl rsa -in <your-key-file> -text -noout | grep "Key:"
.
Twitter OmniAuth login option is removed from GitLab.com
- Announced in GitLab 16.3
- Removal in GitLab 16.3 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Twitter OAuth 1.0a OmniAuth is being deprecated and removed on GitLab.com in GitLab 16.3 due to low use, lack of gem support, and the lack of a functional sign-in option for this feature. If you sign in to GitLab.com with Twitter, you can sign in with a password or another supported OmniAuth provider.
GitLab 16.1
GitLab Runner images based on Alpine 3.12, 3.13, 3.14
- Announced in GitLab 15.11
- End of Support in GitLab 16.1
- Removal in GitLab 16.1
- To discuss this change or learn more, see the deprecation issue.
We will stop publishing runner images based on the following, end-of-life Alpine versions:
- Alpine 3.12
- Alpine 3.13
- Alpine 3.14 (end-of-life on 2023-05-23)
GitLab 16.0
Auto DevOps no longer provisions a PostgreSQL database by default
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Currently, Auto DevOps provisions an in-cluster PostgreSQL database by default. In GitLab 16.0, databases will be provisioned only for users who opt in. This change supports production deployments that require more robust database management.
If you want Auto DevOps to provision an in-cluster database,
set the POSTGRES_ENABLED
CI/CD variable to true
.
Azure Storage Driver defaults to the correct root prefix
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The container registry’s Azure Storage Driver writes to //
as the default root directory. This default root directory appears in some places within the Azure UI as /<no-name>/
. We have maintained this legacy behavior to support older deployments using this storage driver. However, when moving to Azure from another storage driver, this behavior hides all your data until you configure the storage driver to build root paths without an extra leading slash by setting trimlegacyrootprefix: true
.
The new default configuration for the storage driver will set trimlegacyrootprefix: true
, and /
will be the default root directory. You can add trimlegacyrootprefix: false
to your current configuration to avoid any disruptions.
This breaking change will happen in GitLab 16.0.
Bundled Grafana Helm Chart is deprecated
- Announced in GitLab 15.10
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Grafana Helm chart that is bundled with the GitLab Helm Chart is deprecated and will be removed in the GitLab Helm Chart 7.0 release (releasing along with GitLab 16.0).
The bundled Grafana Helm chart is an optional service that can be turned on to provide the Grafana UI connected to the GitLab Helm Chart’s Prometheus metrics.
The version of Grafana that the GitLab Helm Chart is currently providing is no longer a supported Grafana version. If you’re using the bundled Grafana, you should switch to the newer chart version from Grafana Labs or a Grafana Operator from a trusted provider.
In your new Grafana instance, you can configure the GitLab provided Prometheus as a data source and connect Grafana to the GitLab UI.
CAS OmniAuth provider
- Announced in GitLab 15.3
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The omniauth-cas3
gem that provides GitLab with the CAS OmniAuth provider will be removed in our next major
release, GitLab 16.0. This gem sees very little use and its lack of upstream maintenance is preventing GitLab’s
upgrade to OmniAuth 2.0.
CI/CD jobs will fail when no secret is returned from Hashicorp Vault
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
When using the native HashiCorp Vault integration, CI/CD jobs will fail when no secret is returned from Vault. Make sure your configuration always return a secret, or update your pipeline to handle this change, before GitLab 16.0.
Changing MobSF-based SAST analyzer behavior in multi-module Android projects
- Announced in GitLab 16.0
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Update: We previously announced a change to how the MobSF-based GitLab SAST analyzer would scan multi-module Android projects. We’ve cancelled that change, and no action is required.
Instead of changing which single module would be scanned, we improved multi-module support.
Changing merge request approvals with the /approvals
API endpoint
- Announced in GitLab 14.0
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
To change the approvals required for a merge request, you should no longer use the /approvals
API endpoint, which was deprecated in GitLab 14.0.
Instead, use the /approval_rules
endpoint to create or update the approval rules for a merge request.
Conan project-level search endpoint returns project-specific results
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
You can use the GitLab Conan repository with project-level or instance-level endpoints. Each level supports the conan search command. However, the search endpoint for the project level is also returning packages from outside the target project.
This unintended functionality is deprecated in GitLab 15.8 and will be removed in GitLab 16.0. The search endpoint for the project level will only return packages from the target project.
Configuration fields in GitLab Runner Helm Chart
- Announced in GitLab 15.6
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
From GitLab 13.6, users can specify any runner configuration in the GitLab Runner Helm chart. When we implemented this feature, we deprecated values in the GitLab Helm Chart configuration that were specific to GitLab Runner. The deprecated values will be removed in GitLab 16.0.
Configuring Redis config file paths using environment variables is deprecated
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
You can no longer specify Redis configuration file locations
using the environment variables like GITLAB_REDIS_CACHE_CONFIG_FILE
or
GITLAB_REDIS_QUEUES_CONFIG_FILE
. Use the default
config file locations instead, for example config/redis.cache.yml
or
config/redis.queues.yml
.
Container Scanning variables that reference Docker
- Announced in GitLab 15.4
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
All Container Scanning variables that are prefixed by DOCKER_
in variable name are deprecated. This includes the DOCKER_IMAGE
, DOCKER_PASSWORD
, DOCKER_USER
, and DOCKERFILE_PATH
variables. Support for these variables will be removed in the GitLab 16.0 release. Use the new variable names CS_IMAGE
, CS_REGISTRY_PASSWORD
, CS_REGISTRY_USER
, and CS_DOCKERFILE_PATH
in place of the deprecated names.
Container registry pull-through cache
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The container registry pull-through cache is deprecated in GitLab 15.8 and will be removed in GitLab 16.0. The pull-through cache is part of the upstream Docker Distribution project. However, we are removing the pull-through cache in favor of the GitLab Dependency Proxy, which allows you to proxy and cache container images from Docker Hub. Removing the pull-through cache allows us also to remove the upstream client code without sacrificing functionality.
Cookie authorization in the GitLab for Jira Cloud app
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Cookie authentication in the GitLab for Jira Cloud app is now deprecated in favor of OAuth authentication. On self-managed, you must set up OAuth authentication to continue to use the GitLab for Jira Cloud app. Without OAuth, you can’t manage linked namespaces.
DAST API scans using DAST template is deprecated
- Announced in GitLab 15.7
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With the move to the new DAST API analyzer and the DAST-API.gitlab-ci.yml
template for DAST API scans, we will be removing the ability to scan APIs with the DAST analyzer. Use of the DAST.gitlab-ci.yml
or DAST-latest.gitlab-ci.yml
templates for API scans is deprecated as of GitLab 15.7 and will no longer work in GitLab 16.0. Please use DAST-API.gitlab-ci.yml
template and refer to the DAST API analyzer documentation for configuration details.
DAST API variables
- Announced in GitLab 15.7
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With the switch to the new DAST API analyzer in GitLab 15.6, two legacy DAST API variables are being deprecated. The variables DAST_API_HOST_OVERRIDE
and DAST_API_SPECIFICATION
will no longer be used for DAST API scans.
DAST_API_HOST_OVERRIDE
has been deprecated in favor of using the DAST_API_TARGET_URL
to automatically override the host in the OpenAPI specification.
DAST_API_SPECIFICATION
has been deprecated in favor of DAST_API_OPENAPI
. To continue using an OpenAPI specification to guide the test, users must replace the DAST_API_SPECIFICATION
variable with the DAST_API_OPENAPI
variable. The value can remain the same, but the variable name must be replaced.
These two variables will be removed in GitLab 16.0.
DAST report variables deprecation
- Announced in GitLab 15.7
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With the new browser-based DAST analyzer GA in GitLab 15.7, we are working towards making it the default DAST analyzer at some point in the future. In preparation for this, the following legacy DAST variables are being deprecated and scheduled for removal in GitLab 16.0: DAST_HTML_REPORT
, DAST_XML_REPORT
, and DAST_MARKDOWN_REPORT
. These reports relied on the legacy DAST analyzer and we do not plan to implement them in the new browser-based analyzer. As of GitLab 16.0, these report artifacts will no longer be generated.
These three variables will be removed in GitLab 16.0.
Default CI/CD job token (CI_JOB_TOKEN
) scope changed
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 14.4 we introduced the ability to limit your project’s CI/CD job token (CI_JOB_TOKEN
) access to make it more secure. You can prevent job tokens from your project’s pipelines from being used to access other projects. When enabled with no other configuration, your pipelines cannot access other projects. To use the job token to access other projects from your pipeline, you must list those projects explicitly in the Limit CI_JOB_TOKEN access setting’s allowlist, and you must be a maintainer in all the projects.
The job token functionality was updated in 15.9 with a better security setting to allow access to your project with a job token. When enabled with no other configuration, job tokens from other projects cannot access your project. Similar to the older setting, you can optionally allow other projects to access your project with a job token if you list those projects explicitly in the Allow access to this project with a CI_JOB_TOKEN setting’s allowlist. With this new setting, you must be a maintainer in your own project, but only need to have the Guest role in the other projects.
As a result, the Limit setting is deprecated in preference of the better Allow access setting. In GitLab 16.0 the Limit setting will be disabled by default for all new projects. In projects with this setting currently enabled, it will continue to function as expected, but you will not be able to add any more projects to the allowlist. If the setting is disabled in any project, it will not be possible to re-enable this setting in 16.0 or later.
In 18.0, we plan to remove the Limit setting completely, and set the Allow access setting to enabled for all projects. This change ensures a higher level of security between projects. If you currently use the Limit setting, you should update your projects to use the Allow access setting instead. If other projects access your project with a job token, you must add them to the Allow access allowlist.
To prepare for this change, users on GitLab.com or self-managed GitLab 15.9 or later can enable the Allow access setting now and add the other projects. It will not be possible to disable the setting in 18.0 or later.
In 16.3, the names of these settings were changed to clarify their meanings: the deprecated Limit CI_JOB_TOKEN access setting is now called Limit access from this project, and the newer Allow access to this project with a CI_JOB_TOKEN setting is now called Limit access to this project.
Dependency Scanning support for Java 13, 14, 15, and 16
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab has deprecated Dependency Scanning support for Java versions 13, 14, 15, and 16 and plans to remove that support in the upcoming GitLab 16.0 release. This is consistent with Oracle’s support policy as Oracle Premier and Extended Support for these versions has ended. This also allows GitLab to focus Dependency Scanning Java support on LTS versions moving forward.
Deployment API returns error when updated_at
and updated_at
are not used together
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Deployment API will now return an error when updated_at
filtering and updated_at
sorting are not used together. Some users were using filtering by updated_at
to fetch “latest” deployment without using updated_at
sorting, which may produce wrong results. You should instead use them together, or migrate to filtering by finished_at
and sorting by finished_at
which will give you “latest deployments” in a consistent way.
Deprecate legacy Gitaly configuration methods
- Announced in GitLab 14.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Using environment variables GIT_CONFIG_SYSTEM
and GIT_CONFIG_GLOBAL
to configure Gitaly is deprecated.
These variables are being replaced with standard config.toml
Gitaly configuration.
GitLab instances that use GIT_CONFIG_SYSTEM
and GIT_CONFIG_GLOBAL
to configure Gitaly should switch to configuring using
config.toml
.
Deprecated Consul http metrics
- Announced in GitLab 15.10
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Consul provided in the GitLab Omnibus package will no longer provide older deprecated Consul metrics starting in GitLab 16.0.
In GitLab 14.0, Consul was updated to 1.9.6,
which deprecated some telemetry metrics from being at the consul.http
path. In GitLab 16.0, the consul.http
path will be removed.
If you have monitoring that consumes Consul metrics, update them to use consul.api.http
instead of consul.http
.
For more information, see the deprecation notes for Consul 1.9.0.
Deprecation and planned removal for CI_PRE_CLONE_SCRIPT
variable on GitLab SaaS
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The CI_PRE_CLONE_SCRIPT
variable supported by GitLab SaaS Runners is deprecated as of GitLab 15.9 and will be removed in 16.0. The CI_PRE_CLONE_SCRIPT
variable enables you to run commands in your CI/CD job prior to the runner executing Git init and get fetch. For more information about how this feature works, see Pre-clone script. As an alternative, you can use the pre_get_sources_script
.
Developer role providing the ability to import projects to a group
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The ability for users with the Developer role for a group to import projects to that group is deprecated in GitLab 15.8 and will be removed in GitLab 16.0. From GitLab 16.0, only users with at least the Maintainer role for a group will be able to import projects to that group.
Development dependencies reported for PHP and Python
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 16.0 the GitLab Dependency Scanning analyzer will begin reporting development dependencies for both Python/pipenv and PHP/composer projects. Users who do not wish to have these development dependencies reported should set DS_INCLUDE_DEV_DEPENDENCIES: false
in their CI/CD file.
Embedding Grafana panels in Markdown is deprecated
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The ability to add Grafana panels in GitLab Flavored Markdown is deprecated in 15.9 and will be removed in 16.0. We intend to replace this feature with the ability to embed charts with the GitLab Observability UI.
Enforced validation of CI/CD parameter character lengths
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
While CI/CD job names have a strict 255 character limit, other CI/CD parameters do not yet have validations ensuring they also stay under the limit.
In GitLab 16.0, validation will be added to strictly limit the following to 255 characters as well:
- The
stage
keyword. - The
ref
, which is the Git branch or tag name for the pipeline. - The
description
andtarget_url
parameter, used by external CI/CD integrations.
Users on self-managed instances should update their pipelines to ensure they do not use parameters that exceed 255 characters. Users on GitLab.com do not need to make any changes, as these are already limited in that database.
Environment search query requires at least three characters
- Announced in GitLab 15.10
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
From GitLab 16.0, when you search for environments with the API, you must use at least three characters. This change helps us ensure the scalability of the search operation.
External field in GraphQL ReleaseAssetLink type
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
In the GraphQL API, the external
field of ReleaseAssetLink
type was used to indicate whether a release link is internal or external to your GitLab instance.
As of GitLab 15.9, we treat all release links as external, and therefore, this field is deprecated in GitLab 15.9, and will be removed in GitLab 16.0.
To avoid any disruptions to your workflow, please stop using the external
field because it will be removed and will not be replaced.
External field in Releases and Release Links APIs
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
In Releases API and Release Links API, the external
field was used to indicate whether a release link is internal or external to your GitLab instance.
As of GitLab 15.9, we treat all release links as external, and therefore, this field is deprecated in GitLab 15.9, and will be removed in GitLab 16.0.
To avoid any disruptions to your workflow, please stop using the external
field because it will be removed and will not be replaced.
Geo: Project repository redownload is deprecated
- Announced in GitLab 15.11
- Removal in GitLab 16.0
- To discuss this change or learn more, see the deprecation issue.
In secondary Geo sites, the button to “Redownload” a project repository is deprecated. The redownload logic has inherent data consistency issues which are difficult to resolve when encountered. The button will be removed in GitLab 16.0.
GitLab administrators must have permission to modify protected branches or tags
- Announced in GitLab 16.0
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab administrators can no longer perform actions on protected branches or tags unless they have been explicitly granted that permission. These actions include pushing and merging into a protected branch, unprotecting a branch, and creating protected tags.
GitLab self-monitoring project
- Announced in GitLab 14.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab self-monitoring gives administrators of self-hosted GitLab instances the tools to monitor the health of their instances. This feature is deprecated in GitLab 14.9, and is scheduled for removal in 16.0.
GitLab.com importer
- Announced in GitLab 15.8
- Removal in GitLab 16.0
- To discuss this change or learn more, see the deprecation issue.
The GitLab.com importer was deprecated in GitLab 15.8 and will be removed in GitLab 16.0.
The GitLab.com importer was introduced in 2015 for importing a project from GitLab.com to a self-managed GitLab instance through the UI. This feature is available on self-managed instances only. Migrating GitLab groups and projects by direct transfer supersedes the GitLab.com importer and provides a more cohesive importing functionality.
See migrated group items and migrated project items for an overview.
GraphQL API Runner status will not return paused
- Announced in GitLab 14.5
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GitLab Runner GraphQL API endpoints will not return paused
or active
as a status in GitLab 16.0.
In a future v5 of the REST API, the endpoints for GitLab Runner will also not return paused
or active
.
A runner’s status will only relate to runner contact status, such as:
online
, offline
, or not_connected
. Status paused
or active
will no longer appear.
When checking if a runner is paused
, API users are advised to check the boolean attribute
paused
to be true
instead. When checking if a runner is active
, check if paused
is false
.
Jira DVCS connector for Jira Cloud
- Announced in GitLab 15.1
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Jira DVCS connector for Jira Cloud has been deprecated and will be removed in GitLab 16.0. If you’re using the Jira DVCS connector with Jira Cloud, migrate to the GitLab for Jira Cloud app.
The Jira DVCS connector is also deprecated for Jira 8.13 and earlier. You can only use the Jira DVCS connector with Jira Server or Jira Data Center in Jira 8.14 and later.
KAS Metrics Port in GitLab Helm Chart
- Announced in GitLab 15.7
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The gitlab.kas.metrics.port
has been deprecated in favor of the new gitlab.kas.observability.port
configuration field for the GitLab Helm Chart.
This port is used for much more than just metrics, which warranted this change to avoid confusion in configuration.
Legacy Gitaly configuration method
- Announced in GitLab 15.10
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Gitaly configuration within Omnibus GitLab has been updated such that all Gitaly related configuration keys are in a single configuration structure that matches the standard Gitaly configuration. As such, the previous configuration structure is deprecated.
The single configuration structure is available from GitLab 15.10, though backwards compatibility is maintained. Once removed, Gitaly must be configured using the single configuration structure. You should update the configuration of Gitaly at your earliest convenience.
The change improves consistency between Omnibus GitLab and source installs and enables us to provide better documentation and tooling for both.
You should update to the new configuration structure as soon as possible using the upgrade instructions.
Legacy Praefect configuration method
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Previously, Praefect configuration keys were scattered throughout the configuration file. Now, these are in a single configuration structure that matches Praefect configuration so the previous configuration method is deprecated.
The single configuration structure available from GitLab 15.9, though backwards compatibility is maintained. Once removed, Praefect must be configured using the single configuration structure. You should update your Praefect configuration as soon as possible using the upgrade instructions.
This change brings Praefect configuration in Omnibus GitLab in line with the configuration structure of Praefect. Previously, the hierarchies and configuration keys didn’t match. The change improves consistency between Omnibus GitLab and source installs and enables us to provide better documentation and tooling for both.
Legacy URLs replaced or removed
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab 16.0 removes legacy URLs from the GitLab application.
When subgroups were introduced in GitLab 9.0, a /-/
delimiter was added to URLs to signify the end of a group path. All GitLab URLs now use this delimiter for project, group, and instance level features.
URLs that do not use the /-/
delimiter are planned for removal in GitLab 16.0. For the full list of these URLs, along with their replacements, see issue 28848.
Update any scripts or bookmarks that reference the legacy URLs. GitLab APIs are not affected by this change.
License-Check and the Policies tab on the License Compliance page
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The License-Check feature is now deprecated and is scheduled for removal in GitLab 16.0. Additionally, the Policies tab on the License Compliance page and all APIs related to the License-Check feature are deprecated and planned for removal in GitLab 16.0. Users who wish to continue to enforce approvals based on detected licenses are encouraged to create a new License Approval policy instead.
Limit personal access token and deploy token’s access with external authorization
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With external authorization enabled, personal access tokens (PATs) and deploy tokens must no longer be able to access container or package registries. This defense-in-depth security measure will be deployed in 16.0. For users that use PATs and deploy tokens to access these registries, this measure breaks this use of these tokens. Disable external authorization to use tokens with container or package registries.
Major bundled Helm Chart updates for the GitLab Helm Chart
- Announced in GitLab 15.10
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
To coincide with GitLab 16.0, the GitLab Helm Chart will release the 7.0 major version. The following major bundled chart updates will be included:
- In GitLab 16.0, PostgreSQL 12 support is being removed, and PostgreSQL 13 is becoming the new minimum.
- Installs using production-ready external databases will need to complete their migration to a newer PostgreSQL version before upgrading.
- Installs using the non-production bundled PostgreSQL 12 chart will have the chart upgraded to the new version. For more information, see issue 4118
- Installs using the non-production bundled Redis chart will have the chart upgraded to a newer version. For more information, see issue 3375
- Installs using the bundled cert-manager chart will have the chart upgraded to a newer version. For more information, see issue 4313
The full GitLab Helm Chart 7.0 upgrade steps will be available in the upgrade docs.
Managed Licenses API
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Managed Licenses API is now deprecated and is scheduled for removal in GitLab 16.0.
Maximum number of active pipelines per project limit (ci_active_pipelines
)
- Announced in GitLab 15.3
- Removal in GitLab 16.0
- To discuss this change or learn more, see the deprecation issue.
The Maximum number of active pipelines per project limit was never enabled by default and will be removed in GitLab 16.0. This limit can also be configured in the Rails console under ci_active_pipelines
. Instead, use the other recommended rate limits that offer similar protection:
Monitor performance metrics through Prometheus
- Announced in GitLab 14.7
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
By displaying data stored in a Prometheus instance, GitLab allows users to view performance metrics. GitLab also displays visualizations of these metrics in dashboards. The user can connect to a previously-configured external Prometheus instance, or set up Prometheus as a GitLab Managed App. However, since certificate-based integration with Kubernetes clusters is deprecated in GitLab, the metrics functionality in GitLab that relies on Prometheus is also deprecated. This includes the metrics visualizations in dashboards. GitLab is working to develop a single user experience based on Opstrace. An issue exists for you to follow work on the Opstrace integration.
Non-expiring access tokens
- Announced in GitLab 15.4
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Whether your existing project access tokens have expiry dates automatically applied depends on what GitLab offering you have, and when you upgraded to GitLab 16.0 or later:
- On GitLab.com, during the 16.0 milestone, existing project access tokens without an expiry date were automatically given an expiry date of 365 days later than the current date.
- On GitLab self-managed, if you upgraded from GitLab 15.11 or earlier to GitLab 16.0 or later:
- On or before July 23, 2024, existing project access tokens without an expiry date were automatically given an expiry date of 365 days later than the current date. This change is a breaking change.
- On or after July 24, 2024, existing project access tokens without an expiry date did not have an expiry date set.
On GitLab self-managed, if you do a new install of one of the following GitLab versions, your existing project access tokens do not have expiry dates automatically applied:
- 16.0.9
- 16.1.7
- 16.2.10
- 16.3.8
- 16.4.6
- 16.5.9
- 16.6.9
- 16.7.9
- 16.8.9
- 16.9.10
- 16.10.9
- 16.11.7
- 17.0.5
- 17.1.3
- 17.2.1
Access tokens that have no expiration date are valid indefinitely, which presents a security risk if the access token is divulged. Because access tokens that have an expiration date are better, from GitLab 15.3 we populate a default expiration date.
In GitLab 16.0, any personal, project, or group access token that does not have an expiration date will automatically have an expiration date set at one year.
We recommend giving your access tokens an expiration date in line with your company’s security policies before the default is applied:
- On GitLab.com during the 16.0 milestone.
- On GitLab self-managed instances when they are upgraded to 16.0.
Non-standard default Redis ports are deprecated
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
If GitLab starts without any Redis configuration file present,
GitLab assumes it can connect to three Redis servers at localhost:6380
,
localhost:6381
and localhost:6382
. We are changing this behavior
so GitLab assumes there is one Redis server at localhost:6379
.
Administrators who want to keep the three servers must configure
the Redis URLs by editing the config/redis.cache.yml
,config/redis.queues.yml
and config/redis.shared_state.yml
files.
Option to delete projects immediately is deprecated from deletion protection settings
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The group and project deletion protection setting in the Admin area had an option to delete groups and projects immediately. Starting with 16.0, this option will no longer be available, and delayed group and project deletion will become the default behavior.
The option will no longer appear as a group setting. Self-managed users will still have the option to define the deletion delay period, and SaaS users have a non-adjustable default retention period of 7 days. Users can still immediately delete the project from the project settings, and the group from the group settings.
The option to delete groups and projects immediately by default was deprecated to prevent users from accidentally taking this action and permanently losing groups and projects.
PostgreSQL 12 deprecated
- Announced in GitLab 15.0
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Support for PostgreSQL 12 is scheduled for removal in GitLab 16.0. In GitLab 16.0, PostgreSQL 13 becomes the minimum required PostgreSQL version.
PostgreSQL 12 will be supported for the full GitLab 15 release cycle. PostgreSQL 13 will also be supported for instances that want to upgrade prior to GitLab 16.0.
Support for PostgreSQL 13 was added to Geo in GitLab 15.2.
Projects API field operations_access_level
is deprecated
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We are deprecating the operations_access_level
field in the Projects API. This field has been replaced by fields to control specific features: releases_access_level
, environments_access_level
, feature_flags_access_level
, infrastructure_access_level
, and monitor_access_level
.
Rake task for importing bare repositories
- Announced in GitLab 15.8
- Removal in GitLab 16.0
- To discuss this change or learn more, see the deprecation issue.
The Rake task for importing bare repositories (gitlab:import:repos
) is deprecated in GitLab 15.8 and will be removed in GitLab 16.0.
This Rake task imports a directory tree of repositories into a GitLab instance. These repositories must have been
managed by GitLab previously, because the Rake task relies on the specific directory structure or a specific custom Git setting in order to work (gitlab.fullpath
).
Importing repositories using this Rake task has limitations. The Rake task:
- Only knows about project and project wiki repositories and doesn’t support repositories for designs, group wikis, or snippets.
- Permits you to import non-hashed storage projects even though these aren’t supported.
- Relies on having Git config
gitlab.fullpath
set. Epic 8953 proposes removing support for this setting.
Alternatives to using the gitlab:import:repos
Rake task include:
- Migrating projects using either an export file or direct transfer migrate repositories as well.
- Importing a repository by URL.
- Importing repositories from a non-GitLab source.
Redis 5 deprecated
- Announced in GitLab 15.3
- End of Support in GitLab 15.6
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With GitLab 13.9, in the Omnibus GitLab package and GitLab Helm chart 4.9, the Redis version was updated to Redis 6. Redis 5 has reached the end of life in April 2022 and will no longer be supported as of GitLab 15.6. If you are using your own Redis 5.0 instance, you should upgrade it to Redis 6.0 or higher before upgrading to GitLab 16.0 or higher.
Remove job_age
parameter from POST /jobs/request
Runner endpoint
- Announced in GitLab 15.2
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The job_age
parameter, returned from the POST /jobs/request
API endpoint used in communication with GitLab Runner, was never used by any GitLab or Runner feature. This parameter will be removed in GitLab 16.0.
This could be a breaking change for anyone that developed their own runner that relies on this parameter being returned by the endpoint. This is not a breaking change for anyone using an officially released version of GitLab Runner, including public shared runners on GitLab.com.
SAST analyzer coverage changing in GitLab 16.0
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab SAST uses various analyzers to scan code for vulnerabilities.
We’re reducing the number of supported analyzers used by default in GitLab SAST. This is part of our long-term strategy to deliver a faster, more consistent user experience across different programming languages.
Starting in GitLab 16.0, the GitLab SAST CI/CD template will no longer use the Security Code Scan-based analyzer for .NET, and it will enter End of Support status. We’ll remove this analyzer from the SAST CI/CD template and replace it with GitLab-supported detection rules for C# in the Semgrep-based analyzer.
Effective immediately, this analyzer will receive only security updates; other routine improvements or updates are not guaranteed. After this analyzer reaches End of Support in GitLab 16.0, no further updates will be provided. However, we won’t delete container images previously published for this analyzer or remove the ability to run it by using a custom CI/CD pipeline job.
If you’ve already dismissed a vulnerability finding from the deprecated analyzer, the replacement attempts to respect your previous dismissal. The system behavior depends on:
- whether you’ve excluded the Semgrep-based analyzer from running in the past.
- which analyzer first discovered the vulnerabilities shown in the project’s Vulnerability Report.
See Vulnerability translation documentation for further details.
If you applied customizations to the affected analyzer, or if you currently disable the Semgrep-based analyzer in your pipelines, you must take action as detailed in the deprecation issue for this change.
Update: We’ve reduced the scope of this change. We will no longer make the following changes in GitLab 16.0:
- Remove support for the analyzer based on PHPCS Security Audit and replace it with GitLab-managed detection rules in the Semgrep-based analyzer.
- Remove Scala from the scope of the SpotBugs-based analyzer and replace it with GitLab-managed detection rules in the Semgrep-based analyzer.
Work to replace the PHPCS Security Audit-based analyzer is tracked in issue 364060 and work to migrate Scala scanning to the Semgrep-based analyzer is tracked in issue 362958.
Secure analyzers major version update
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Secure stage will be bumping the major versions of its analyzers in tandem with the GitLab 16.0 release. This bump will enable a clear delineation for analyzers, between:
- Those released prior to May 22, 2023
- Those released after May 22, 2023
If you are not using the default included templates, or have pinned your analyzer versions you will need to update your CI/CD job definition to either remove the pinned version or to update the latest major version. Users of GitLab 13.0-15.10 will continue to experience analyzer updates as normal until the release of GitLab 16.0, following which all newly fixed bugs and released features will be released only in the new major version of the analyzers. We do not backport bugs and features to deprecated versions as per our maintenance policy. As required, security patches will be backported within the latest 3 minor releases. Specifically, the following are being deprecated and will no longer be updated after 16.0 GitLab release:
- API Fuzzing: version 2
- Container Scanning: version 5
- Coverage-guided fuzz testing: version 3
- Dependency Scanning: version 3
- Dynamic Application Security Testing (DAST): version 3
- DAST API: version 2
- IaC Scanning: version 3
- License Scanning: version 4
- Secret Detection: version 4
- Static Application Security Testing (SAST): version 3 of all analyzers
-
brakeman
: version 3 -
flawfinder
: version 3 -
kubesec
: version 3 -
mobsf
: version 3 -
nodejs-scan
: version 3 -
phpcs-security-audit
: version 3 -
pmd-apex
: version 3 -
security-code-scan
: version 3 -
semgrep
: version 3 -
sobelow
: version 3 -
spotbugs
: version 3
-
Secure scanning CI/CD templates will use new job rules
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab-managed CI/CD templates for security scanning will be updated in the GitLab 16.0 release. The updates will include improvements already released in the Latest versions of the CI/CD templates. We released these changes in the Latest template versions because they have the potential to disrupt customized CI/CD pipeline configurations.
In all updated templates, we’re updating the definition of variables like SAST_DISABLED
and DEPENDENCY_SCANNING_DISABLED
to disable scanning only if the value is "true"
. Previously, even if the value were "false"
, scanning would be disabled.
The following templates will be updated:
- API Fuzzing:
API-Fuzzing.gitlab-ci.yml
- Container Scanning:
Container-Scanning.gitlab-ci.yml
- Coverage-Guided Fuzzing:
Coverage-Fuzzing.gitlab-ci.yml
- DAST:
DAST.gitlab-ci.yml
- DAST API:
DAST-API.gitlab-ci.yml
- Dependency Scanning:
Dependency-Scanning.gitlab-ci.yml
- IaC Scanning:
SAST-IaC.gitlab-ci.yml
- SAST:
SAST.gitlab-ci.yml
- Secret Detection:
Secret-Detection.gitlab-ci.yml
We recommend that you test your pipelines before the 16.0 release if you use one of the templates listed above and you use the _DISABLED
variables but set a value other than "true"
.
Update: We previously announced that we would update the rules
on the affected templates to run in merge request pipelines by default.
However, due to compatibility issues discussed in the deprecation issue, we will no longer make this change in GitLab 16.0. We will still release the changes to the _DISABLED
variables as described above.
Security report schemas version 14.x.x
- Announced in GitLab 15.3
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Version 14.x.x security report schemas are deprecated.
In GitLab 15.8 and later, security report scanner integrations that use schema version 14.x.x will display a deprecation warning in the pipeline’s Security tab.
In GitLab 16.0 and later, the feature will be removed. Security reports that use schema version 14.x.x will cause an error in the pipeline’s Security tab.
For more information, refer to security report validation.
Starboard directive in the configuration of the GitLab agent for Kubernetes
- Announced in GitLab 15.4
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab’s operational container scanning capabilities no longer require starboard to be installed. Consequently, use of the starboard:
directive in the configuration file for the GitLab agent for Kubernetes is now deprecated and is scheduled for removal in GitLab 16.0. Update your configuration file to use the container_scanning:
directive.
Stop publishing GitLab Runner images based on Windows Server 2004 and 20H2
- Announced in GitLab 16.0
- Removal in GitLab 16.0
- To discuss this change or learn more, see the deprecation issue.
As of GitLab 16.0, GitLab Runner images based on Windows Server 2004 and 20H2 will not be provided as these operating systems are end-of-life.
Support for Praefect custom metrics endpoint configuration
- Announced in GitLab 15.9
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Support for using the prometheus_exclude_database_from_default_metrics
configuration value is deprecated in GitLab
15.9 and will be removed in GitLab 16.0. We are removing this configuration value because using it is non-performant.
This change means the following metrics will become unavailable on /metrics
:
-
gitaly_praefect_unavailable_repositories
. -
gitaly_praefect_verification_queue_depth
. -
gitaly_praefect_replication_queue_depth
.
This may require updating your metrics collection targets to also scrape /db_metrics
.
Support for periods (.
) in Terraform state names might break existing states
- Announced in GitLab 15.7
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Previously, Terraform state names containing periods were not supported. However, you could still use state names with periods via a workaround.
GitLab 15.7 adds full support for state names that contain periods. If you used a workaround to handle these state names, your jobs might fail, or it might look like you’ve run Terraform for the first time.
To resolve the issue:
- Change any references to the state file by excluding the period and any characters that follow.
- For example, if your state name is
state.name
, change all references tostate
.
- For example, if your state name is
- Run your Terraform commands.
To use the full state name, including the period, migrate to the full state file.
The API no longer returns revoked tokens for the agent for Kubernetes
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Currently, GET requests to the Cluster Agents API endpoints can return revoked tokens. In GitLab 16.0, GET requests will not return revoked tokens.
You should review your calls to these endpoints and ensure you do not use revoked tokens.
This change affects the following REST and GraphQL API endpoints:
- REST API:
- GraphQL:
The Phabricator task importer is deprecated
- Announced in GitLab 15.7
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Phabricator task importer is being deprecated. Phabricator itself as a project is no longer actively maintained since June 1, 2021. We haven’t observed imports using this tool. There has been no activity on the open related issues on GitLab.
The latest Terraform templates will overwrite current stable templates
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
With every major GitLab version, we update the stable Terraform templates with the current latest templates. This change affects the quickstart and the base templates.
Because the new templates ship with default rules, the update might break your Terraform pipelines. For example, if your Terraform jobs are triggered as a downstream pipeline, the rules won’t trigger your jobs in GitLab 16.0.
To accommodate the changes, you might need to adjust the rules
in your
.gitlab-ci.yml
file.
Toggle behavior of /draft
quick action in merge requests
- Announced in GitLab 15.4
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In order to make the behavior of toggling the draft status of a merge request more clear via a quick action, we’re deprecating and removing the toggle behavior of the /draft
quick action. Beginning with the 16.0 release of GitLab, /draft
will only set a merge request to Draft and a new /ready
quick action will be used to remove the draft status.
Use of id
field in vulnerabilityFindingDismiss
mutation
- Announced in GitLab 15.3
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
You can use the vulnerabilityFindingDismiss
GraphQL mutation to set the status of a vulnerability finding to Dismissed
. Previously, this mutation used the id
field to identify findings uniquely. However, this did not work for dismissing findings from the pipeline security tab. Therefore, using the id
field as an identifier has been dropped in favor of the uuid
field. Using the ‘uuid’ field as an identifier allows you to dismiss the finding from the pipeline security tab.
Use of third party container registries is deprecated
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Using third-party container registries with GitLab as an auth endpoint is deprecated in GitLab 15.8 and the end of support is scheduled for GitLab 16.0. This impacts self-managed customers that have connected their external registry to the GitLab user interface to find, view, and delete container images.
Supporting both GitLab’s container registry as well as third-party container registries is challenging for maintenance, code quality, and backward compatibility. This hinders our ability to stay efficient. As a result we will not support this functionality moving forward.
This change will not impact your ability to pull and push container images to external registries using pipelines.
Since we released the new GitLab container registry version for GitLab.com, we’ve started to implement additional features that are not available in third-party container registries. These new features have allowed us to achieve significant performance improvements, such as cleanup policies. We are focusing on delivering new features, most of which will require functionalities only available on the GitLab container registry. This deprecation allows us to reduce fragmentation and user frustration in the long term by focusing on delivering a more robust integrated registry experience and feature set.
Moving forward, we’ll continue to invest in developing and releasing new features that will only be available in the GitLab container registry.
Work items path with global ID at the end of the path is deprecated
- Announced in GitLab 15.10
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Usage of global IDs in work item URLs is deprecated. In the future, only internal IDs (IID) will be supported.
Because GitLab supports multiple work item types, a path such as https://gitlab.com/gitlab-org/gitlab/-/work_items/<global_id>
can display, for example, a task or an OKR.
In GitLab 15.10 we added support for using internal IDs (IID) in that path by appending a query param at
the end (iid_path
) in the following format: https://gitlab.com/gitlab-org/gitlab/-/work_items/<iid>?iid_path=true
.
In GitLab 16.0 we will remove the ability to use a global ID in the work items path. The number at the end of the path will be considered an internal ID (IID) without the need of adding a query param at the end. Only the following format will be supported: https://gitlab.com/gitlab-org/gitlab/-/work_items/<iid>
.
CI_BUILD_*
predefined variables
- Announced in GitLab 14.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The predefined CI/CD variables that start with CI_BUILD_*
were deprecated in GitLab 9.0, and will be removed in GitLab 16.0. If you still use these variables, be sure to change to the replacement predefined variables which are functionally identical:
Removed variable | Replacement variable |
---|---|
CI_BUILD_BEFORE_SHA
| CI_COMMIT_BEFORE_SHA
|
CI_BUILD_ID
| CI_JOB_ID
|
CI_BUILD_MANUAL
| CI_JOB_MANUAL
|
CI_BUILD_NAME
| CI_JOB_NAME
|
CI_BUILD_REF
| CI_COMMIT_SHA
|
CI_BUILD_REF_NAME
| CI_COMMIT_REF_NAME
|
CI_BUILD_REF_SLUG
| CI_COMMIT_REF_SLUG
|
CI_BUILD_REPO
| CI_REPOSITORY_URL
|
CI_BUILD_STAGE
| CI_JOB_STAGE
|
CI_BUILD_TAG
| CI_COMMIT_TAG
|
CI_BUILD_TOKEN
| CI_JOB_TOKEN
|
CI_BUILD_TRIGGERED
| CI_PIPELINE_TRIGGERED
|
POST ci/lint
API endpoint deprecated
- Announced in GitLab 15.7
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The POST ci/lint
API endpoint is deprecated in 15.7, and will be removed in 16.0. This endpoint does not validate the full range of CI/CD configuration options. Instead, use POST /projects/:id/ci/lint
, which properly validates CI/CD configuration.
environment_tier
parameter for DORA API
- Announced in GitLab 15.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
To avoid confusion and duplication, the environment_tier
parameter is deprecated in favor of the environment_tiers
parameter. The new environment_tiers
parameter allows DORA APIs to return aggregated data for multiple tiers at the same time. The environment_tier
parameter will be removed in GitLab 16.0.
name
field for PipelineSecurityReportFinding
GraphQL type
- Announced in GitLab 15.1
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Previously, the PipelineSecurityReportFinding
GraphQL type was updated to include a new title
field. This field is an alias for the current name
field, making the less specific name
field redundant. The name
field will be removed from the PipelineSecurityReportFinding
type in GitLab 16.0.
started
iteration state
- Announced in GitLab 14.8
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The started
iteration state in the iterations GraphQL API
and iterations REST API is deprecated.
The GraphQL API version will be removed in GitLab 16.0. This state is being replaced with the current
state (already available)
which aligns with the naming for other time-based entities, such as milestones.
We plan to continue to support the started
state in REST API version until the next v5 REST API version.
vulnerabilityFindingDismiss
GraphQL mutation
- Announced in GitLab 15.5
- Removal in GitLab 16.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The VulnerabilityFindingDismiss
GraphQL mutation is being deprecated and will be removed in GitLab 16.0. This mutation was not used often as the Vulnerability Finding ID was not available to users (this field was deprecated in 15.3). Users should instead use VulnerabilityDismiss
to dismiss vulnerabilities in the Vulnerability Report or SecurityFindingDismiss
for security findings in the CI Pipeline Security tab.
GitLab 15.11
openSUSE Leap 15.3 packages
- Announced in GitLab 15.8
- Removal in GitLab 15.11
- To discuss this change or learn more, see the deprecation issue.
Distribution support and security updates for openSUSE Leap 15.3 ended December 2022.
Starting in GitLab 15.7 we started providing packages for openSUSE Leap 15.4, and will stop providing packages for openSUSE Leap 15.3 in the 15.11 milestone.
- Switch from the openSUSE Leap 15.3 packages to the provided 15.4 packages.
GitLab 15.10
Automatic backup upload using Openstack Swift and Rackspace APIs
- Announced in GitLab 15.8
- Removal in GitLab 15.10 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We are deprecating support for uploading backups to remote storage using Openstack Swift and Rackspace APIs. The support for these APIs depends on third-party libraries that are no longer actively maintained and have not been updated for Ruby 3. GitLab is switching over to Ruby 3 prior to EOL of Ruby 2 in order to stay up to date on security patches.
- If you’re using OpenStack, you need to change you configuration to use the S3 API instead of Swift.
- If you’re using Rackspace storage, you need to switch to a different provider or manually upload the backup file after the backup task is complete.
GitLab 15.9
Live Preview no longer available in the Web IDE
- Announced in GitLab 15.8
- Removal in GitLab 15.9 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Live Preview feature of the Web IDE was intended to provide a client-side preview of static web applications. However, complex configuration steps and a narrow set of supported project types have limited its utility. With the introduction of the Web IDE Beta in GitLab 15.7, you can now connect to a full server-side runtime environment. With upcoming support for installing extensions in the Web IDE, we’ll also support more advanced workflows than those available with Live Preview. As of GitLab 15.9, Live Preview is no longer available in the Web IDE.
SaaS certificate-based integration with Kubernetes
- Announced in GitLab 14.5
- Removal in GitLab 15.9 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The certificate-based integration with Kubernetes will be deprecated and removed. As a GitLab SaaS customer, on new namespaces, you will no longer be able to integrate GitLab and your cluster using the certificate-based approach as of GitLab 15.0. The integration for current users will be enabled per namespace.
For a more robust, secure, forthcoming, and reliable integration with Kubernetes, we recommend you use the agent for Kubernetes to connect Kubernetes clusters with GitLab. How do I migrate?
Although an explicit removal date is set, we don’t plan to remove this feature until the new solution has feature parity. For more information about the blockers to removal, see this issue.
For updates and details about this deprecation, follow this epic.
GitLab self-managed customers can still use the feature with a feature flag.
omniauth-authentiq
gem no longer available
- Announced in GitLab 15.9
- Removal in GitLab 15.9 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
omniauth-authentiq
is an OmniAuth strategy gem that was part of GitLab. The company providing authentication services, Authentiq, has shut down. Therefore the gem is being removed.
GitLab 15.7
File Type variable expansion in .gitlab-ci.yml
- Announced in GitLab 15.5
- Removal in GitLab 15.7 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Previously, variables that referenced or applied alias file variables expanded the value of the File
type variable. For example, the file contents. This behavior was incorrect because it did not comply with typical shell variable expansion rules. To leak secrets or sensitive information stored in File
type variables, a user could run an $echo command with the variable as an input parameter.
This breaking change fixes this issue but could disrupt user workflows that work around the behavior. With this change, job variable expansions that reference or apply alias file variables, expand to the filename or path of the File
type variable, instead of its value, such as the file contents.
Flowdock integration
- Announced in GitLab 15.7
- Removal in GitLab 15.7
- To discuss this change or learn more, see the deprecation issue.
As of December 22, 2022, we are removing the Flowdock integration because the service was shut down on August 15, 2022.
GitLab 15.6
NFS for Git repository storage
- Announced in GitLab 14.0
- Removal in GitLab 15.6
With the general availability of Gitaly Cluster (introduced in GitLab 13.0), we have deprecated development (bugfixes, performance improvements, etc) for NFS for Git repository storage in GitLab 14.0. We will continue to provide technical support for NFS for Git repositories throughout 14.x, but we will remove all support for NFS on November 22, 2022. This was originally planned for May 22, 2022, but in an effort to allow continued maturity of Gitaly Cluster, we have chosen to extend our deprecation of support date. Please see our official Statement of Support for further information.
Gitaly Cluster offers tremendous benefits for our customers such as:
We encourage customers currently using NFS for Git repositories to plan their migration by reviewing our documentation on migrating to Gitaly Cluster.
GitLab 15.4
Bundled Grafana deprecated
- Announced in GitLab 15.3
- Removal in GitLab 15.4
- To discuss this change or learn more, see the deprecation issue.
In GitLab 15.4, we will be swapping the bundled Grafana to a fork of Grafana maintained by GitLab.
There was an identified CVE for Grafana, and to mitigate this security vulnerability, we must swap to our own fork because the older version of Grafana we were bundling is no longer receiving long-term support.
This is not expected to cause any incompatibilities with the previous version of Grafana. Neither when using our bundled version, nor when using an external instance of Grafana.
SAST analyzer consolidation and CI/CD template changes
- Announced in GitLab 14.8
- Removal in GitLab 15.4 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab SAST uses various analyzers to scan code for vulnerabilities.
We are reducing the number of analyzers used in GitLab SAST as part of our long-term strategy to deliver a better and more consistent user experience. Streamlining the set of analyzers will also enable faster iteration, better results, and greater efficiency (including a reduction in CI runner usage in most cases).
In GitLab 15.4, GitLab SAST will no longer use the following analyzers:
These analyzers will be removed from the GitLab-managed SAST CI/CD template and replaced with the Semgrep-based analyzer. Effective immediately, they will receive only security updates; other routine improvements or updates are not guaranteed. After these analyzers reach End of Support, no further updates will be provided. We will not delete container images previously published for these analyzers; any such change would be announced as a deprecation, removal, or breaking change announcement.
We will also remove Java from the scope of the SpotBugs analyzer and replace it with the Semgrep-based analyzer. This change will make it simpler to scan Java code; compilation will no longer be required. This change will be reflected in the automatic language detection portion of the GitLab-managed SAST CI/CD template. Note that the SpotBugs-based analyzer will continue to cover Groovy, Kotlin, and Scala.
If you’ve already dismissed a vulnerability finding from one of the deprecated analyzers, the replacement attempts to respect your previous dismissal. The system behavior depends on:
- whether you’ve excluded the Semgrep-based analyzer from running in the past.
- which analyzer first discovered the vulnerabilities shown in the project’s Vulnerability Report.
See Vulnerability translation documentation for further details.
If you applied customizations to any of the affected analyzers or if you currently disable the Semgrep analyzer in your pipelines, you must take action as detailed in the deprecation issue for this change.
GitLab 15.3
Vulnerability Report sort by State
- Announced in GitLab 15.0
- Removal in GitLab 15.3
- To discuss this change or learn more, see the deprecation issue.
The ability to sort the Vulnerability Report by the State
column was disabled and put behind a feature flag in GitLab 14.10 due to a refactor
of the underlying data model. The feature flag has remained off by default as further refactoring will be required to ensure sorting
by this value remains performant. Due to very low usage of the State
column for sorting, the feature flag will instead be removed to simplify the codebase and prevent any unwanted performance degradation.
Vulnerability Report sort by Tool
- Announced in GitLab 15.1
- Removal in GitLab 15.3
- To discuss this change or learn more, see the deprecation issue.
The ability to sort the Vulnerability Report by the Tool
column (scan type) was disabled and put behind a feature flag in GitLab 14.10 due to a refactor
of the underlying data model. The feature flag has remained off by default as further refactoring will be required to ensure sorting
by this value remains performant. Due to very low usage of the Tool
column for sorting, the feature flag will instead be removed in
GitLab 15.3 to simplify the codebase and prevent any unwanted performance degradation.
GitLab 15.1
Deprecate support for Debian 9
- Announced in GitLab 14.9
- Removal in GitLab 15.1
Long term service and support (LTSS) for Debian 9 Stretch ends in July 2022. Therefore, we will no longer support the Debian 9 distribution for the GitLab package. Users can upgrade to Debian 10 or Debian 11.
GitLab 15.0
Audit events for repository push events
- Announced in GitLab 14.3
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Audit events for repository events are now deprecated and will be removed in GitLab 15.0.
These events have always been disabled by default and had to be manually enabled with a feature flag. Enabling them can cause too many events to be generated which can dramatically slow down GitLab instances. For this reason, they are being removed.
Background upload for object storage
- Announced in GitLab 14.9
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
To reduce the overall complexity and maintenance burden of GitLab’s object storage feature, support for using background_upload
to upload files is deprecated and will be fully removed in GitLab 15.0. Review the 15.0 specific changes for the removed background uploads settings for object storage.
This impacts a small subset of object storage providers:
- OpenStack Customers using OpenStack need to change their configuration to use the S3 API instead of Swift.
- RackSpace Customers using RackSpace-based object storage need to migrate data to a different provider.
GitLab will publish additional guidance to assist affected customers in migrating.
CI/CD job name length limit
- Announced in GitLab 14.6
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 15.0 we are going to limit the number of characters in CI/CD job names to 255. Any pipeline with job names that exceed the 255 character limit will stop working after the 15.0 release.
Changing an instance (shared) runner to a project (specific) runner
- Announced in GitLab 14.5
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 15.0, you can no longer change an instance (shared) runner to a project (specific) runner.
Users often accidentally change instance runners to project runners, and they’re unable to change them back. GitLab does not allow you to change a project runner to a shared runner because of the security implications. A runner meant for one project could be set to run jobs for an entire instance.
Administrators who need to add runners for multiple projects can register a runner for one project, then go to the Admin view and choose additional projects.
Container Network and Host Security
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
All functionality related to GitLab’s Container Network Security and Container Host Security categories is deprecated in GitLab 14.8 and scheduled for removal in GitLab 15.0. Users who need a replacement for this functionality are encouraged to evaluate the following open source projects as potential solutions that can be installed and managed outside of GitLab: AppArmor, Cilium, Falco, FluentD, Pod Security Admission.
To integrate these technologies into GitLab, add the desired Helm charts into your copy of the Cluster Management Project Template. Deploy these Helm charts in production by calling commands through GitLab CI/CD.
As part of this change, the following specific capabilities within GitLab are now deprecated, and are scheduled for removal in GitLab 15.0:
- The Security & Compliance > Threat Monitoring page.
- The
Network Policy
security policy type, as found on the Security & Compliance > Policies page. - The ability to manage integrations with the following technologies through GitLab: AppArmor, Cilium, Falco, FluentD, and Pod Security Policies.
- All APIs related to the above functionality.
For additional context, or to provide feedback regarding this change, please reference our open deprecation issue.
Container scanning schemas below 14.0.0
- Announced in GitLab 14.7
- Removal in GitLab 15.0
Container scanning report schemas versions earlier than 14.0.0 will no longer be supported in GitLab 15.0. Reports that do not pass validation against the schema version declared in the report will also no longer be supported in GitLab 15.0.
Third-party tools that integrate with GitLab by outputting a container scanning security report as a pipeline job artifact are affected. You must ensure that all output reports adhere to the correct schema with a minimum version of 14.0.0. Reports with a lower version or that fail to validate against the declared schema version will not be processed, and vulnerability findings will not display in MRs, pipelines, or Vulnerability Reports.
To help with the transition, from GitLab 14.10, non-compliant reports will display a warning in the Vulnerability Report.
Coverage guided fuzzing schemas below 14.0.0
- Announced in GitLab 14.7
- Removal in GitLab 15.0
Coverage guided fuzzing report schemas below version 14.0.0 will no longer be supported in GitLab 15.0. Reports that do not pass validation against the schema version declared in the report will also no longer be supported in GitLab 15.0.
Third-party tools that integrate with GitLab by outputting a coverage guided fuzzing security report as a pipeline job artifact are affected. You must ensure that all output reports adhere to the correct schema with a minimum version of 14.0.0. Any reports with a lower version or that fail to validate against the declared schema version will not be processed, and vulnerability findings will not display in MRs, pipelines, or Vulnerability Reports.
To help with the transition, from GitLab 14.10, non-compliant reports will display a warning in the Vulnerability Report.
DAST schemas below 14.0.0
- Announced in GitLab 14.7
- Removal in GitLab 15.0
DAST report schemas versions earlier than 14.0.0 will no longer be supported in GitLab 15.0. Reports that do not pass validation against the schema version declared in the report will also no longer be supported as of GitLab 15.0.
Third-party tools that integrate with GitLab by outputting a DAST security report as a pipeline job artifact are affected. You must ensure that all output reports adhere to the correct schema with a minimum version of 14.0.0. Reports with a lower version or that fail to validate against the declared schema version will not be processed, and vulnerability findings will not display in MRs, pipelines, or Vulnerability Reports.
To help with the transition, from GitLab 14.10, non-compliant reports will cause a warning to be displayed in the Vulnerability Report.
Dependency Scanning Python 3.9 and 3.6 image deprecation
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
For those using Dependency Scanning for Python projects, we are deprecating the default gemnasium-python:2
image which uses Python 3.6 as well as the custom gemnasium-python:2-python-3.9
image which uses Python 3.9. The new default image as of GitLab 15.0 will be for Python 3.9 as it is a supported version and 3.6 is no longer supported.
For users using Python 3.9 or 3.9-compatible projects, you should not need to take action and dependency scanning should begin to work in GitLab 15.0. If you wish to test the new container now please run a test pipeline in your project with this container (which will be removed in 15.0). Use the Python 3.9 image:
gemnasium-python-dependency_scanning:
image:
name: registry.gitlab.com/gitlab-org/security-products/analyzers/gemnasium-python:2-python-3.9
For users using Python 3.6, as of GitLab 15.0 you will no longer be able to use the default template for dependency scanning. You will need to switch to use the deprecated gemnasium-python:2
analyzer image. If you are impacted by this please comment in this issue so we can extend the removal if needed.
For users using the 3.9 special exception image, you must instead use the default value and no longer override your container. To verify if you are using the 3.9 special exception image, check your .gitlab-ci.yml
file for the following reference:
gemnasium-python-dependency_scanning:
image:
name: registry.gitlab.com/gitlab-org/security-products/analyzers/gemnasium-python:2-python-3.9
Dependency Scanning default Java version changed to 17
- Announced in GitLab 14.10
- Removal in GitLab 15.0 (breaking change)
In GitLab 15.0, for Dependency Scanning, the default version of Java that the scanner expects will be updated from 11 to 17. Java 17 is the most up-to-date Long Term Support (LTS) version. Dependency scanning continues to support the same range of versions (8, 11, 13, 14, 15, 16, 17), only the default version is changing. If your project uses the previous default of Java 11, be sure to set the DS_Java_Version
variable to match.
Dependency scanning schemas below 14.0.0
- Announced in GitLab 14.7
- Removal in GitLab 15.0
Dependency scanning report schemas versions earlier than 14.0.0 will no longer be supported in GitLab 15.0. Reports that do not pass validation against the schema version declared in the report will also no longer be supported as of GitLab 15.0.
Third-party tools that integrate with GitLab by outputting a Dependency scanning security report as a pipeline job artifact are affected. You must ensure that all output reports adhere to the correct schema with a minimum version of 14.0.0. Reports with a lower version or that fail to validate against the declared schema version will not be processed, and vulnerability findings will not display in MRs, pipelines, or Vulnerability Reports.
To help with the transition, from GitLab 14.10, non-compliant reports will cause a warning to be displayed in the Vulnerability Report.
Deprecate Geo Admin UI Routes
- Announced in GitLab 14.8
- Removal in GitLab 15.0
- To discuss this change or learn more, see the deprecation issue.
In GitLab 13.0, we introduced new project and design replication details routes in the Geo Admin UI. These routes are /admin/geo/replication/projects
and /admin/geo/replication/designs
. We kept the legacy routes and redirected them to the new routes. In GitLab 15.0, we will remove support for the legacy routes /admin/geo/projects
and /admin/geo/designs
. Please update any bookmarks or scripts that may use the legacy routes.
Deprecate custom Geo:db:* Rake tasks
- Announced in GitLab 14.8
- Removal in GitLab 15.0
- To discuss this change or learn more, see the deprecation issue.
In GitLab 14.8, we are replacing the geo:db:*
Rake tasks with built-in tasks that are now possible after switching the Geo tracking database to use Rails’ 6 support of multiple databases.
The following geo:db:*
tasks will be replaced with their corresponding db:*:geo
tasks:
-
geo:db:drop
->db:drop:geo
-
geo:db:create
->db:create:geo
-
geo:db:setup
->db:setup:geo
-
geo:db:migrate
->db:migrate:geo
-
geo:db:rollback
->db:rollback:geo
-
geo:db:version
->db:version:geo
-
geo:db:reset
->db:reset:geo
-
geo:db:seed
->db:seed:geo
-
geo:schema:load:geo
->db:schema:load:geo
-
geo:db:schema:dump
->db:schema:dump:geo
-
geo:db:migrate:up
->db:migrate:up:geo
-
geo:db:migrate:down
->db:migrate:down:geo
-
geo:db:migrate:redo
->db:migrate:redo:geo
-
geo:db:migrate:status
->db:migrate:status:geo
-
geo:db:test:prepare
->db:test:prepare:geo
-
geo:db:test:load
->db:test:load:geo
-
geo:db:test:purge
->db:test:purge:geo
Deprecate feature flag PUSH_RULES_SUPERSEDE_CODE_OWNERS
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The feature flag PUSH_RULES_SUPERSEDE_CODE_OWNERS
is being removed in GitLab 15.0. Upon its removal, push rules will supersede Code Owners. Even if Code Owner approval is required, a push rule that explicitly allows a specific user to push code supersedes the Code Owners setting.
Elasticsearch 6.8
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Elasticsearch 6.8 is deprecated in GitLab 14.8 and scheduled for removal in GitLab 15.0. Customers using Elasticsearch 6.8 need to upgrade their Elasticsearch version to 7.x prior to upgrading to GitLab 15.0. We recommend using the latest version of Elasticsearch 7 to benefit from all Elasticsearch improvements.
Elasticsearch 6.8 is also incompatible with Amazon OpenSearch, which we plan to support in GitLab 15.0.
Enforced validation of security report schemas
- Announced in GitLab 14.7
- Removal in GitLab 15.0
- To discuss this change or learn more, see the deprecation issue.
Security report schemas versions earlier than 14.0.0 will no longer be supported in GitLab 15.0. Reports that do not pass validation against the schema version declared in the report will also no longer be supported in GitLab 15.0.
Security tools that integrate with GitLab by outputting security reports as pipeline job artifacts are affected. You must ensure that all output reports adhere to the correct schema with a minimum version of 14.0.0. Reports with a lower version or that fail to validate against the declared schema version will not be processed, and vulnerability findings will not display in MRs, pipelines, or Vulnerability Reports.
To help with the transition, from GitLab 14.10, non-compliant reports will display a warning in the Vulnerability Report.
External status check API breaking changes
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
The external status check API was originally implemented to support pass-by-default requests to mark a status check as passing. Pass-by-default requests are now deprecated. Specifically, the following are deprecated:
- Requests that do not contain the
status
field. - Requests that have the
status
field set toapproved
.
Beginning in GitLab 15.0, status checks will only be updated to a passing state if the status
field is both present
and set to passed
. Requests that:
- Do not contain the
status
field will be rejected with a422
error. For more information, see the relevant issue. - Contain any value other than
passed
will cause the status check to fail. For more information, see the relevant issue.
To align with this change, API calls to list external status checks will also return the value of passed
rather than
approved
for status checks that have passed.
GitLab Pages running as daemon
- Announced in GitLab 14.9
- Removal in GitLab 15.0
In 15.0, support for daemon mode for GitLab Pages will be removed.
GitLab Serverless
- Announced in GitLab 14.3
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab Serverless is a feature set to support Knative-based serverless development with automatic deployments and monitoring.
We decided to remove the GitLab Serverless features as they never really resonated with our users. Besides, given the continuous development of Kubernetes and Knative, our current implementations do not even work with recent versions.
Godep support in License Compliance
- Announced in GitLab 14.7
- Removal in GitLab 15.0
- To discuss this change or learn more, see the deprecation issue.
The Godep dependency manager for Golang was deprecated in 2020 by Go and has been replaced with Go modules. To reduce our maintenance cost we are deprecating License Compliance for Godep projects as of 14.7 and will remove it in GitLab 15.0
GraphQL ID and GlobalID compatibility
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We are removing a non-standard extension to our GraphQL processor, which we added for backwards compatibility. This extension modifies the validation of GraphQL queries, allowing the use of the ID
type for arguments where it would normally be rejected.
Some arguments originally had the type ID
. These were changed to specific
kinds of ID
. This change may be a breaking change if you:
- Use GraphQL.
- Use the
ID
type for any argument in your query signatures.
Some field arguments still have the ID
type. These are typically for
IID values, or namespace paths. An example is Query.project(fullPath: ID!)
.
For a list of affected and unaffected field arguments, see the deprecation issue.
You can test if this change affects you by validating
your queries locally, using schema data fetched from a GitLab server.
You can do this by using the GraphQL explorer tool for the relevant GitLab
instance. For example: https://gitlab.com/-/graphql-explorer
.
For example, the following query illustrates the breaking change:
# a query using the deprecated type of Query.issue(id:)
# WARNING: This will not work after GitLab 15.0
query($id: ID!) {
deprecated: issue(id: $id) {
title, description
}
}
The query above will not work after GitLab 15.0 is released, because the type
of Query.issue(id:)
is actually IssueID!
.
Instead, you should use one of the following two forms:
# This will continue to work
query($id: IssueID!) {
a: issue(id: $id) {
title, description
}
b: issue(id: "gid://gitlab/Issue/12345") {
title, description
}
}
This query works now, and will continue to work after GitLab 15.0.
You should convert any queries in the first form (using ID
as a named type in the signature)
to one of the other two forms (using the correct appropriate type in the signature, or using
an inline argument expression).
GraphQL permissions change for Package settings
- Announced in GitLab 14.9
- Removal in GitLab 15.0 (breaking change)
The GitLab Package stage offers a Package Registry, container registry, and Dependency Proxy to help you manage all of your dependencies using GitLab. Each of these product categories has a variety of settings that can be adjusted using the API.
The permissions model for GraphQL is being updated. After 15.0, users with the Guest, Reporter, and Developer role can no longer update these settings:
Known host required for GitLab Runner SSH executor
- Announced in GitLab 14.5
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In GitLab 14.3, we added a configuration setting in the GitLab Runner config.toml
file. This setting, [runners.ssh.disable_strict_host_key_checking]
, controls whether or not to use strict host key checking with the SSH executor.
In GitLab 15.0 and later, the default value for this configuration option will change from true
to false
. This means that strict host key checking will be enforced when using the GitLab Runner SSH executor.
Legacy approval status names from License Compliance API
- Announced in GitLab 14.6
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We deprecated legacy names for approval status of license policy (blacklisted, approved) in the managed_licenses
API but they are still used in our API queries and responses. They will be removed in 15.0.
If you are using our License Compliance API you should stop using the approved
and blacklisted
query parameters, they are now allowed
and denied
. In 15.0 the responses will also stop using approved
and blacklisted
so you need to adjust any of your custom tools to use the old and new values so they do not break with the 15.0 release.
Legacy database configuration
- Announced in GitLab 14.3
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The syntax of GitLabs database
configuration located in database.yml
is changing and the legacy format is deprecated. The legacy format
supported using a single PostgreSQL adapter, whereas the new format is changing to support multiple databases. The main:
database needs to be defined as a first configuration item.
This deprecation mainly impacts users compiling GitLab from source because Omnibus will handle this configuration automatically.
Logging in GitLab
- Announced in GitLab 14.7
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The logging features in GitLab allow users to install the ELK stack (Elasticsearch, Logstash, and Kibana) to aggregate and manage application logs. Users can search for relevant logs in GitLab. However, since deprecating certificate-based integration with Kubernetes clusters and GitLab Managed Apps, we don’t have a recommended solution for logging within GitLab. For more information, you can follow the issue for integrating Opstrace with GitLab.
Move custom_hooks_dir
setting from GitLab Shell to Gitaly
- Announced in GitLab 14.9
- Removal in GitLab 15.0
The custom_hooks_dir
setting is now configured in Gitaly, and will be removed from GitLab Shell in GitLab 15.0.
OAuth implicit grant
- Announced in GitLab 14.0
- Removal in GitLab 15.0 (breaking change)
The OAuth implicit grant authorization flow will be removed in our next major release, GitLab 15.0. Any applications that use OAuth implicit grant should switch to alternative supported OAuth flows.
OAuth tokens without expiration
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
By default, all new applications expire access tokens after 2 hours. In GitLab 14.2 and earlier, OAuth access tokens had no expiration. In GitLab 15.0, an expiry will be automatically generated for any existing token that does not already have one.
You should opt in to expiring tokens before GitLab 15.0 is released:
- Edit the application.
- Select Expire access tokens to enable them. Tokens must be revoked or they don’t expire.
OmniAuth Kerberos gem
- Announced in GitLab 14.3
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The omniauth-kerberos
gem will be removed in our next major release, GitLab 15.0.
This gem has not been maintained and has very little usage. We therefore plan to remove support for this authentication method and recommend using the Kerberos SPNEGO integration instead. You can follow the upgrade instructions to upgrade from the omniauth-kerberos
integration to the supported one.
Note that we are not deprecating the Kerberos SPNEGO integration, only the old password-based Kerberos integration.
Optional enforcement of PAT expiration
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The feature to disable enforcement of PAT expiration is unusual from a security perspective. We have become concerned that this unusual feature could create unexpected behavior for users. Unexpected behavior in a security feature is inherently dangerous, so we have decided to remove this feature.
Optional enforcement of SSH expiration
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The feature to disable enforcement of SSH expiration is unusual from a security perspective. We have become concerned that this unusual feature could create unexpected behavior for users. Unexpected behavior in a security feature is inherently dangerous, so we have decided to remove this feature.
Out-of-the-box SAST support for Java 8
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GitLab SAST SpotBugs analyzer scans Java, Scala, Groovy, and Kotlin code for security vulnerabilities. For technical reasons, the analyzer must first compile the code before scanning. Unless you use the pre-compilation strategy, the analyzer attempts to automatically compile your project’s code.
In GitLab versions prior to 15.0, the analyzer image includes Java 8 and Java 11 runtimes to facilitate compilation.
In GitLab 15.0, we will:
- Remove Java 8 from the analyzer image to reduce the size of the image.
- Add Java 17 to the analyzer image to make it easier to compile with Java 17.
If you rely on Java 8 being present in the analyzer environment, you must take action as detailed in the deprecation issue for this change.
Outdated indices of Advanced Search migrations
- Announced in GitLab 14.10
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
As Advanced Search migrations usually require support multiple code paths for a long period of time, it’s important to clean those up when we safely can. We use GitLab major version upgrades as a safe time to remove backward compatibility for indices that have not been fully migrated. See the upgrade documentation for details.
Pseudonymizer
- Announced in GitLab 14.7
- Removal in GitLab 15.0
- To discuss this change or learn more, see the deprecation issue.
The Pseudonymizer feature is generally unused, can cause production issues with large databases, and can interfere with object storage development. It is now considered deprecated, and will be removed in GitLab 15.0.
Querying usage trends via the instanceStatisticsMeasurements
GraphQL node
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The instanceStatisticsMeasurements
GraphQL node has been renamed to usageTrendsMeasurements
in 13.10 and the old field name has been marked as deprecated. To fix the existing GraphQL queries, replace instanceStatisticsMeasurements
with usageTrendsMeasurements
.
Request profiling
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Request profiling is deprecated in GitLab 14.8 and scheduled for removal in GitLab 15.0.
We’re working on consolidating our profiling tools and making them more easily accessible. We evaluated the use of this feature and we found that it is not widely used. It also depends on a few third-party gems that are not actively maintained anymore, have not been updated for the latest version of Ruby, or crash frequently when profiling heavy page loads.
For more information, check the summary section of the deprecation issue.
Required pipeline configurations in Premium tier
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
The required pipeline configuration feature is deprecated in GitLab 14.8 for Premium customers and is scheduled for removal in GitLab 15.0. This feature is not deprecated for GitLab Ultimate customers.
This change to move the feature to GitLab’s Ultimate tier is intended to help our features better align with our pricing philosophy as we see demand for this feature originating primarily from executives.
This change will also help GitLab remain consistent in its tiering strategy with the other related Ultimate-tier features of: Security policies and compliance framework pipelines.
Retire-JS Dependency Scanning tool
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
As of 14.8 the retire.js job is being deprecated from Dependency Scanning. It will continue to be included in our CI/CD template while deprecated. We are removing retire.js from Dependency Scanning on May 22, 2022 in GitLab 15.0. JavaScript scanning functionality will not be affected as it is still being covered by Gemnasium.
If you have explicitly excluded retire.js using DS_EXCLUDED_ANALYZERS you will need to clean up (remove the reference) in 15.0. If you have customized your pipeline’s Dependency Scanning configuration related to the retire-js-dependency_scanning
job you will want to switch to gemnasium-dependency_scanning before the removal in 15.0, to prevent your pipeline from failing. If you have not used the DS_EXCLUDED_ANALYZERS to reference retire.js, or customized your template specifically for retire.js, you will not need to take action.
SAST schemas below 14.0.0
- Announced in GitLab 14.7
- Removal in GitLab 15.0
SAST report schemas versions earlier than 14.0.0 will no longer be supported in GitLab 15.0. Reports that do not pass validation against the schema version declared in the report will also no longer be supported as of GitLab 15.0.
Third-party tools that integrate with GitLab by outputting a SAST security report as a pipeline job artifact are affected. You must ensure that all output reports adhere to the correct schema with a minimum version of 14.0.0. Reports with a lower version or that fail to validate against the declared schema version will not be processed, and vulnerability findings will not display in MRs, pipelines, or Vulnerability Reports.
To help with the transition, from GitLab 14.10, non-compliant reports will display a warning in the Vulnerability Report.
SAST support for .NET 2.1
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The GitLab SAST Security Code Scan analyzer scans .NET code for security vulnerabilities. For technical reasons, the analyzer must first build the code to scan it.
In GitLab versions prior to 15.0, the default analyzer image (version 2) includes support for:
- .NET 2.1
- .NET 3.0 and .NET Core 3.0
- .NET Core 3.1
- .NET 5.0
In GitLab 15.0, we will change the default major version for this analyzer from version 2 to version 3. This change:
- Adds severity values for vulnerabilities along with other new features and improvements.
- Removes .NET 2.1 support.
- Adds support for .NET 6.0, Visual Studio 2019, and Visual Studio 2022.
Version 3 was announced in GitLab 14.6 and made available as an optional upgrade.
If you rely on .NET 2.1 support being present in the analyzer image by default, you must take action as detailed in the deprecation issue for this change.
Secret Detection configuration variables deprecated
- Announced in GitLab 14.8
- Removal in GitLab 15.0
- To discuss this change or learn more, see the deprecation issue.
To make it simpler and more reliable to customize GitLab Secret Detection, we’re deprecating some of the variables that you could previously set in your CI/CD configuration.
The following variables currently allow you to customize the options for historical scanning, but interact poorly with the GitLab-managed CI/CD template and are now deprecated:
SECRET_DETECTION_COMMIT_FROM
SECRET_DETECTION_COMMIT_TO
SECRET_DETECTION_COMMITS
SECRET_DETECTION_COMMITS_FILE
The SECRET_DETECTION_ENTROPY_LEVEL
previously allowed you to configure rules that only considered the entropy level of strings in your codebase, and is now deprecated.
This type of entropy-only rule created an unacceptable number of incorrect results (false positives) and is no longer supported.
In GitLab 15.0, we’ll update the Secret Detection analyzer to ignore these deprecated options.
You’ll still be able to configure historical scanning of your commit history by setting the SECRET_DETECTION_HISTORIC_SCAN
CI/CD variable.
For further details, see the deprecation issue for this change.
Secret detection schemas below 14.0.0
- Announced in GitLab 14.7
- Removal in GitLab 15.0
Secret detection report schemas versions earlier than 14.0.0 will no longer be supported in GitLab 15.0. Reports that do not pass validation against the schema version declared in the report will also no longer be supported as of GitLab 15.0.
Third-party tools that integrate with GitLab by outputting a Secret detection security report as a pipeline job artifact are affected. You must ensure that all output reports adhere to the correct schema with a minimum version of 14.0.0. Reports with a lower version or that fail to validate against the declared schema version will not be processed, and vulnerability findings will not display in MRs, pipelines, or Vulnerability Reports.
To help with the transition, from GitLab 14.10, non-compliant reports will display a warning in the Vulnerability Report.
Secure and Protect analyzer images published in new location
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
GitLab uses various analyzers to scan for security vulnerabilities. Each analyzer is distributed as a container image.
Starting in GitLab 14.8, new versions of GitLab Secure and Protect analyzers are published to a new registry location under registry.gitlab.com/security-products
.
We will update the default value of GitLab-managed CI/CD templates to reflect this change:
- For all analyzers except Container Scanning, we will update the variable
SECURE_ANALYZERS_PREFIX
to the new image registry location. - For Container Scanning, the default image address is already updated. There is no
SECURE_ANALYZERS_PREFIX
variable for Container Scanning.
In a future release, we will stop publishing images to registry.gitlab.com/gitlab-org/security-products/analyzers
.
Once this happens, you must take action if you manually pull images and push them into a separate registry. This is commonly the case for offline deployments.
Otherwise, you won’t receive further updates.
See the deprecation issue for more details.
Secure and Protect analyzer major version update
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
The Secure and Protect stages will be bumping the major versions of their analyzers in tandem with the GitLab 15.0 release. This major bump will enable a clear delineation for analyzers, between:
- Those released prior to May 22, 2022, which generate reports that are not subject to stringent schema validation.
- Those released after May 22, 2022, which generate reports that are subject to stringent schema validation.
If you are not using the default inclusion templates, or have pinned your analyzer versions you will need to update your CI/CD job definition to either remove the pinned version or to update the latest major version. Users of GitLab 12.0-14.10 will continue to experience analyzer updates as normal until the release of GitLab 15.0, following which all newly fixed bugs and newly released features in the new major versions of the analyzers will not be available in the deprecated versions because we do not backport bugs and new features as per our maintenance policy. As required security patches will be backported within the latest 3 minor releases. Specifically, the following are being deprecated and will no longer be updated after 15.0 GitLab release:
- API Security: version 1
- Container Scanning: version 4
- Coverage-guided fuzz testing: version 2
- Dependency Scanning: version 2
- Dynamic Application Security Testing (DAST): version 2
- Infrastructure as Code (IaC) Scanning: version 1
- License Scanning: version 3
- Secret Detection: version 3
- Static Application Security Testing (SAST): version 2 of all analyzers, except
gosec
which is currently at version 3-
bandit
: version 2 -
brakeman
: version 2 -
eslint
: version 2 -
flawfinder
: version 2 -
gosec
: version 3 -
kubesec
: version 2 -
mobsf
: version 2 -
nodejs-scan
: version 2 -
phpcs-security-audit
: version 2 -
pmd-apex
: version 2 -
security-code-scan
: version 2 -
semgrep
: version 2 -
sobelow
: version 2 -
spotbugs
: version 2
-
Sidekiq metrics and health checks configuration
- Announced in GitLab 14.7
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Exporting Sidekiq metrics and health checks using a single process and port is deprecated. Support will be removed in 15.0.
We have updated Sidekiq to export metrics and health checks from two separate processes
to improve stability and availability and prevent data loss in edge cases.
As those are two separate servers, a configuration change will be required in 15.0
to explicitly set separate ports for metrics and health-checks.
The newly introduced settings for sidekiq['health_checks_*']
should always be set in gitlab.rb
.
For more information, check the documentation for configuring Sidekiq.
These changes also require updates in either Prometheus to scrape the new endpoint or k8s health-checks to target the new health-check port to work properly, otherwise either metrics or health-checks will disappear.
For the deprecation period those settings are optional
and GitLab will default the Sidekiq health-checks port to the same port as sidekiq_exporter
and only run one server (not changing the current behaviour).
Only if they are both set and a different port is provided, a separate metrics server will spin up
to serve the Sidekiq metrics, similar to the way Sidekiq will behave in 15.0.
Static Site Editor
- Announced in GitLab 14.7
- Removal in GitLab 15.0
- To discuss this change or learn more, see the deprecation issue.
The Static Site Editor will no longer be available starting in GitLab 15.0. Improvements to the Markdown editing experience across GitLab will deliver smiliar benefit but with a wider reach. Incoming requests to the Static Site Editor will be redirected to the Web IDE.
Current users of the Static Site Editor can view the documentation for more information, including how to remove the configuration files from existing projects.
Support for SLES 12 SP2
- Announced in GitLab 14.5
- Removal in GitLab 15.0 (breaking change)
Long term service and support (LTSS) for SUSE Linux Enterprise Server (SLES) 12 SP2 ended on March 31, 2021. The CA certificates on SP2 include the expired DST root certificate, and it’s not getting new CA certificate package updates. We have implemented some workarounds, but we will not be able to continue to keep the build running properly.
Support for gRPC-aware proxy deployed between Gitaly and rest of GitLab
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
Although not recommended or documented, it was possible to deploy a gRPC-aware proxy between Gitaly and the rest of GitLab. For example, NGINX and Envoy. The ability to deploy a gRPC-aware proxy is deprecated. If you currently use a gRPC-aware proxy for Gitaly connections, you should change your proxy configuration to use TCP or TLS proxying (OSI layer 4) instead.
Gitaly Cluster became incompatible with gRPC-aware proxies in GitLab 13.12. Now all GitLab installations will be incompatible with gRPC-aware proxies, even without Gitaly Cluster.
By sending some of our internal RPC traffic through a custom protocol (instead of gRPC) we increase throughput and reduce Go garbage collection latency. For more information, see the relevant epic.
Test coverage project CI/CD setting
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
To simplify setting a test coverage pattern, in GitLab 15.0 the project setting for test coverage parsing is being removed.
Instead, using the project’s .gitlab-ci.yml
, provide a regular expression with the coverage
keyword to set
testing coverage results in merge requests.
Tracing in GitLab
- Announced in GitLab 14.7
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
Tracing in GitLab is an integration with Jaeger, an open-source end-to-end distributed tracing system. GitLab users can go to their Jaeger instance to gain insight into the performance of a deployed application, tracking each function or microservice that handles a given request. Tracing in GitLab is deprecated in GitLab 14.7, and scheduled for removal in 15.0. To track work on a possible replacement, see the issue for Opstrace integration with GitLab.
Update to the container registry group-level API
- Announced in GitLab 14.5
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
In milestone 15.0, support for the tags
and tags_count
parameters will be removed from the container registry API that gets registry repositories from a group.
The GET /groups/:id/registry/repositories
endpoint will remain, but won’t return any info about tags. To get the info about tags, you can use the existing GET /registry/repositories/:id
endpoint, which will continue to support the tags
and tag_count
options as it does today. The latter must be called once per image repository.
Value Stream Analytics filtering calculation change
- Announced in GitLab 14.5
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.
We are changing how the date filter works in Value Stream Analytics. Instead of filtering by the time that the issue or merge request was created, the date filter will filter by the end event time of the given stage. This will result in completely different figures after this change has rolled out.
If you monitor Value Stream Analytics metrics and rely on the date filter, to avoid losing data, you must save the data prior to this change.
Vulnerability Check
- Announced in GitLab 14.8
- Removal in GitLab 15.0 (breaking change)
The vulnerability check feature is deprecated in GitLab 14.8 and scheduled for removal in GitLab 15.0. We encourage you to migrate to the new security approvals feature instead. You can do so by navigating to Security & Compliance > Policies and creating a new Scan Result Policy.
The new security approvals feature is similar to vulnerability check. For example, both can require approvals for MRs that contain security vulnerabilities. However, security approvals improve the previous experience in several ways:
- Users can choose who is allowed to edit security approval rules. An independent security or compliance team can therefore manage rules in a way that prevents development project maintainers from modifying the rules.
- Multiple rules can be created and chained together to allow for filtering on different severity thresholds for each scanner type.
- A two-step approval process can be enforced for any desired changes to security approval rules.
- A single set of security policies can be applied to multiple development projects to allow for ease in maintaining a single, centralized ruleset.
Versions
on base PackageType
- Announced in GitLab 14.5
- Removal in GitLab 15.0 (breaking change)
- To discuss this change or learn more, see the deprecation issue.