Versioning policy
For: a developer who updates the packages of authtempo, or a contributor who changes one.
What it does: this page states the version rules of the packages, the schema, and the docs.
Before you start
Section titled “Before you start”- Read Upgrades and schema versions for the steps of an update.
- Read Security policy for how to report a fault.
One version
Section titled “One version”Every released package has the same version. The first release is 0.1.0. In 0.x a break is a minor with a “Breaking:” line in its changeset, a feature is a minor, and a fix is a patch. The owner names 1.0.0 in a later decision.
The rules
Section titled “The rules”| Change | In 0.x | From 1.0.0 |
|---|---|---|
| A change that breaks a caller: a removed export, a changed answer, a removed route | A minor version, with a Breaking: line in its changeset |
A major version |
| A new error code | A minor version | A minor version |
| A new route, a new config key, a new export | A minor version | A minor version |
| A fix that changes no answer that a caller reads | A patch version | A patch version |
| A new schema version | A minor version, with its migration in each adapter | A minor version, with its migration in each adapter |
- The error codes are stable strings. A code never changes its meaning, and a new code is a minor version.
- The schema version is a constant in core, apart from the package version. Each adapter refuses a database with an older schema version.
- Keep every
@authtempopackage of an app at the same version.
The support window
Section titled “The support window”The current minor gets every fix. The previous minor gets security fixes for 3 months after the next minor ships. After that date, the previous minor is unsupported. A database at a schema version of a supported minor gets to the current schema version with one authtempo migrate.
Read Security policy.
The docs
Section titled “The docs”The site shows the docs of the current main only, at /docs/. A later plan adds a docs tree for each earlier minor.