Calendar versioning, abbreviated CalVer, is a release numbering convention that derives version numbers from the date of the release rather than from the nature of the changes it contains. A version such as 2026.11.2 or 24.04 tells the reader when the software was published, which makes the scheme a practical tool for managing the software lifecycle of products with time-based release cycles and fixed support windows.
CalVer is the main alternative to semantic versioning. Where semantic versioning encodes compatibility promises in its numbers, calendar versioning encodes age and release cadence, leaving compatibility to be communicated through release notes, deprecation policies and long-term support labels.
How calendar versioning builds a version number
A CalVer version is assembled from standardized date segments combined with optional counters. Each project chooses a format and then applies it consistently, so that every version string sorts chronologically and can be interpreted without a lookup table.
The community convention defines short tokens for each segment. Projects typically combine a year token, a month or week token and a micro counter that increments for additional releases in the same period, such as hotfixes or maintenance releases.
| Token | Meaning | Example value |
|---|---|---|
| YYYY | Full four-digit year | 2026 |
| YY | Short year without zero padding | 26 |
| 0Y | Short year with zero padding | 06 |
| MM | Month without zero padding | 4 |
| 0M | Month with zero padding | 04 |
| WW | Week of the year | 47 |
| DD | Day of the month | 28 |
| MICRO | Incrementing counter within a period | 2 |
The date normally reflects the planned or actual release date, not the date when development started. Some projects instead use the date of the feature freeze, which should be documented because readers otherwise assume the publication date.
Common CalVer formats in practice
Real projects use a small number of recurring format families, chosen mainly by how often they release and whether they need a separate counter for patches. The table summarizes the widely seen patterns and the release cadence each one suits.
| Format | Example | Typical cadence | Suited for |
|---|---|---|---|
| YY.0M | 24.04 | Twice a year | Operating system distributions |
| YYYY.MM.MICRO | 2026.11.2 | Monthly with patches | Developer tools and libraries |
| YYYY.MINOR | 2026.3 | Several per year | Applications with numbered annual releases |
| YY.MINOR.MICRO | 26.1.4 | Frequent, irregular | Services that patch often |
| YYYYMMDD | 20261128 | Daily or nightly | Nightly builds and snapshots |
Ubuntu is the best-known example of the YY.0M form, with the April release of each even year marked as a long-term support version. Several Python packaging tools and home automation platforms use year-first formats with a micro counter, which keeps multiple releases per month distinguishable.
Calendar versioning compared with semantic versioning
The two schemes answer different questions for the user. Semantic versioning answers whether an upgrade will break existing integrations, while calendar versioning answers how current a release is and how long it will be supported.
| Aspect | Calendar versioning | Semantic versioning |
|---|---|---|
| Primary signal | Release date and freshness | Compatibility of the API |
| Breaking change visibility | Not encoded in the number | Major version increment |
| Release trigger | Calendar schedule | Content of the changes |
| Support window calculation | Directly readable from the version | Requires a separate policy table |
| Dependency range tools | Less expressive constraints | Caret and tilde ranges work naturally |
Hybrid approaches exist. Some projects use a calendar year as the major number and semantic rules for the remaining segments, which preserves the date signal while still flagging breaking changes. The cost is a scheme that readers must learn rather than recognize at once.
Switching an existing project from semantic versioning to CalVer requires care, because version ordering must stay monotonic. Moving from 3.8 to 2026.1 works because the new number is larger, but moving from a large major number to a short year such as 26.1 can make package managers treat the new release as older.
When calendar versioning is the right choice
CalVer fits best when releases follow a fixed schedule and when the scope of each release is large or heterogeneous, so that a single compatibility signal would be misleading. Operating systems, platforms bundling many components, and products with contractual support periods benefit most.
- Time-boxed release cycles: a release ships on its date with whatever features passed the code freeze.
- Large aggregated products: a distribution bundling thousands of packages cannot meaningfully promise API stability with one number.
- Support and end-of-life planning: a reader can tell at a glance that a 2021 release is likely near or past end of life.
- Frequently updated services: rolling platforms where every release is backward compatible gain little from a major number.
Libraries consumed by other code are usually a weaker fit. Package managers rely on version ranges to accept safe upgrades automatically, and without a breaking-change signal, consumers must pin versions tightly or read every changelog before upgrading.
Pitfalls and common misconceptions
The most frequent misconception is that a newer calendar version is always compatible with an older one. CalVer makes no such promise, so projects that adopt it need an explicit deprecation and breaking change policy published alongside the numbering rules.
| Problem | Cause | Fix |
|---|---|---|
| Release slips into next month | Version fixed before the actual ship date | Assign the version at release time |
| Incorrect sorting | Mixing padded and unpadded segments | Choose one padding rule and keep it |
| Unclear upgrade risk | No compatibility signal in the number | Publish breaking changes in release notes |
| Tool rejects leading zeros | Package index normalizes versions | Use unpadded tokens such as YY.MM |
Another subtle issue is ecosystem normalization. Some package indexes strip leading zeros, so a version written as 24.04 may be stored as 24.4; projects should verify how their distribution channel treats the format before committing to it.
Explained without jargon
Calendar versioning names each software release after the date it came out, much like a wine label shows the vintage year. If a program is called version 2026.11, it was released in November 2026.
This makes it easy to see how old a version is. The trade-off is that the date alone does not say whether an update might break something, so the makers explain that separately in their release notes.
A typical use case
An IT department in a mid-sized hospital standardizes its Linux servers on an operating system distribution that uses the YY.0M format. The department sees version 24.04 marked as long-term support and immediately knows it was released in April 2024 and will receive security updates for several years.
When planning the next upgrade cycle, the team compares 24.04 with 26.04 without opening any documentation: the two-year gap shows the release distance, and the long-term support label shows that both are maintained. The team schedules the migration for the second half of 2026 and avoids running servers past end of life, which keeps the hospital within its internal security audit requirements.