<commit_before>---
layout: doc-page
title: "Version numbers"
---

Dotty uses multiple schemes for version numbering.

Stable releases have version number of the form `0.${x}.${y}`, where x is a main version and y is a bug-fix update id.

Release candidates version numbers have the form `0.${x}.${y}-RC${z}`. Release candidates are updated by incrementing `${z}`.
When a release candidate is promoted to stable it becomes version `0.${x}.${y}`.

Nightlies have version numbers of the form `0.${x}.${y}-bin-${date}-${sha}-NIGHTLY`.
<commit_msg>version-numbers.md: Explain promotion<commit_after>---
layout: doc-page
title: "Version numbers"
---

Dotty uses multiple schemes for version numbering.

Stable releases have version numbers of the form `0.${x}.${y}`, where x is a main version and y is a bug-fix update id.

Release candidates version numbers have the form `0.${x}.${y}-RC${z}`. Release candidates are updated by incrementing `${z}`.
Every 6 weeks, the latest release candidate is promoted to stable and becomes version `0.${x}.${y}`.

Nightlies have version numbers of the form `0.${x}.${y}-bin-${date}-${sha}-NIGHTLY`.
Every 6 weeks, the latest nightly is promoted to release candidate becomes version `0.${x}.${y}-RC1`.
{'fraction_non_alphanumeric': 0.1452922077922078, 'fraction_numerical': 0.00974025974025974, 'mean_word_length': 4.384279475982533, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2867797', 'n_tokens_mistral': 369, 'n_tokens_neox': 363, 'n_words': 159}