<commit_before>---
title: TiDB Versioning
summary: Learn the version numbering system of TiDB.
---

# TiDB Versioning

<Important>
It is recommended to always upgrade to the latest patch release of your release series.
</Important>

TiDB offers two release series:

* Long-Term Support Releases
* Development Milestone Releases (introduced in TiDB v6.0.0)

## Release versioning

TiDB versioning has the form of `X.Y.Z`. `X.Y` represents a release series.

- Since TiDB 1.0, `X` increments every year. Each `X` release introduces new features and improvements.
- `Y` increments from 0. Each `Y` release introduces new features and improvements.
- In the first release of a release series, `Z` is set to 0 by default. For patch releases, `Z` increments from 1.

For the versioning system of TiDB v5.0.0 and earlier versions, refer to [Historical versioning](#historical-versioning-deprecated).

## Long-Term Support releases

Long-Term Support (LTS) versions are released approximately every six months and introduce new features, improvements, bug fixes and security vulnerability fixes.

LTS releases are versioned as `X.Y.Z`. `Z` defaults to 0.

Example versions:

- 6.1.0
- 5.4.0
<commit_msg>releases: add a link to release support policy (#9782)<commit_after>---
title: TiDB Versioning
summary: Learn the version numbering system of TiDB.
---

# TiDB Versioning

<Important>
It is recommended to always upgrade to the latest patch release of your release series.
</Important>

TiDB offers two release series:

* Long-Term Support Releases
* Development Milestone Releases (introduced in TiDB v6.0.0)

To learn about the support policy for major releases of TiDB, see [TiDB Release Support Policy](https://en.pingcap.com/tidb-release-support-policy/).

## Release versioning

TiDB versioning has the form of `X.Y.Z`. `X.Y` represents a release series.

- Since TiDB 1.0, `X` increments every year. Each `X` release introduces new features and improvements.
- `Y` increments from 0. Each `Y` release introduces new features and improvements.
- In the first release of a release series, `Z` is set to 0 by default. For patch releases, `Z` increments from 1.

For the versioning system of TiDB v5.0.0 and earlier versions, refer to [Historical versioning](#historical-versioning-deprecated).

## Long-Term Support releases

Long-Term Support (LTS) versions are released approximately every six months and introduce new features, improvements, bug fixes and security vulnerability fixes.

LTS releases are versioned as `X.Y.Z`. `Z` defaults to 0.

Example versions:

- 6.1.0
- 5.4.0

{'fraction_non_alphanumeric': 0.08365608055770721, 'fraction_numerical': 0.015491866769945779, 'mean_word_length': 4.207661290322581, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '476819', 'n_tokens_mistral': 779, 'n_tokens_neox': 727, 'n_words': 346}