- Major version: Whenever there is something significant or any backwards incompatible changes are introduced to the public API.
- Minor version: When new, backwards compatible functionality is introduced to the public API or a minor feature is introduced, or when a set of smaller features is rolled out.
- Patch number: When backwards compatible bug fixes are introduced that fix incorrect behavior.
For example, for GitLab version 10.5.7:
10represents major version
5represents minor version
7represents patch number
Patch releases usually only include bug fixes and are only done for the current stable release. That said, in some cases, we may backport it to previous stable release, depending on the severity of the bug.
For instance, if we release
10.1.1 with a fix for a severe bug introduced in
10.0.0, we could backport the fix to a new
10.0.x patch release.
Security releases are a special kind of patch release that only include security fixes and patches (see below).
Our current policy is to support one stable release at any given time, but for medium-level security issues, we may backport security fixes to the previous two monthly releases.
For very serious security issues, there is precedent to backport security fixes to even more monthly releases of GitLab. This decision is made on a case-by-case basis.
We encourage everyone to run the latest stable release to ensure that you can easily upgrade to the most secure and feature-rich GitLab experience. In order to make sure you can easily run the most recent stable release, we are working hard to keep the update process simple and reliable.
If you are unable to follow our monthly release cycle, there are a couple of cases you need to consider.
It is considered safe to jump between patch versions and minor versions within one major version. For example, it is safe to:
- Upgrade the patch version:
- Upgrade the minor version:
Upgrading the major version requires more attention. We cannot guarantee that upgrading between major versions will be seamless. As previously mentioned, major versions are reserved for backwards incompatible changes.
We recommend that you first upgrade to the latest available minor version within your major version. By doing this, you can address any deprecation messages that could possibly change behaviour in the next major release.
Please see the table below for some examples:
|Latest stable version||Your version||Recommended upgrade path||Note|