# Stability

What a Postdot version number promises, how upgrades are tested and how often releases ship.

URL: /docs/stability

Postdot is on 0.x. You can run it for real work today: every release is tested on upgrade and
your data stays yours. Before 1.0, a release can still change how something works. When it
does, the version number and the release notes tell you first.

## What a version number tells you [#what-a-version-number-tells-you]

Postdot versions read `0.MINOR.PATCH`, such as `0.2.0`.

| Release   | Example            | What it can contain                                                                       |
| --------- | ------------------ | ----------------------------------------------------------------------------------------- |
| Patch     | `0.2.0` to `0.2.1` | Fixes and compatible additions. No change to the API, CLI, MCP tools or deployment steps. |
| Minor     | `0.2.x` to `0.3.0` | New features, and possibly a breaking change, always listed with migration notes.         |
| Pre-0.2.0 | `0.1.0-alpha.16`   | The first releases, numbered as alphas. They are still listed in the release notes.       |

A breaking change means something you rely on needs an action from you: an API field, a CLI
command, an MCP tool, a stored setting or a deployment step. The release notes name it under
**Upgrade from** with what to do. Version tags never move: `0.2.0` always names the same image,
and there is no `latest` tag to follow by accident.

## How each release is tested [#how-each-release-is-tested]

Before a release is published, CI runs the full test suites on SQLite and PostgreSQL and the
browser tests of Studio. The publication then runs on both Linux AMD64 and ARM64:

1. It starts a copy of the previous release with representative data.
2. It upgrades that copy to the new image, which applies the new database migrations.
3. It checks the upgraded data, then restores the pre-update backup with the previous image.

The [release notes](/docs/releases) link to these runs and name the release each upgrade was
tested from. Upgrade one release at a time when you can; each upgrade path in the notes starts
from the previous release.

## Your data during an upgrade [#your-data-during-an-upgrade]

- **Migrations run on start.** The new image updates the database when it starts. The release
  notes name the migrations a release applies.
- **There is no downgrade.** An older image cannot read a database that a newer one migrated.
  To go back, restore the backup you took before the upgrade, with the previous image.
- **Back up first.** Copy the database, the media and your `.env` before every upgrade.
  [Backups and recovery](/docs/operations) shows how for each setup.

## How often releases ship [#how-often-releases-ship]

So far, we've shipped a batch of tested changes about once a week. We ship security
fixes on their own without waiting for a batch. The [release notes](/docs/releases)
give the date, changes and exact image to pin for each release.

Only the latest release receives fixes. Report a vulnerability privately as described in the
[security policy](https://github.com/postdot/postdot/security/policy).

## Something missing or broken? [#something-missing-or-broken]

[Open an issue on GitHub](https://github.com/postdot/postdot/issues/new/choose). We read every
one and do our best to respond and fix things fast. Your reports and ideas decide what comes
next; [get help](/docs/help) lists what to include.
