Skip to content

Compatibility

Attricat follows Semantic Versioning from 1.0. A patch or minor release doesn’t break anything listed as stable here. A breaking change needs a new major version.

  • HTTP API: the routes, request fields, and response fields in the API reference. New optional request fields and new response fields can appear in any release, so clients must ignore fields they don’t recognize.
  • Error codes: the code of an API error. The English message can change, so match on the code.
  • Blueprint format: a blueprint that is valid today stays valid.
  • CLI: the commands and flags in the CLI reference, and the fields of their JSON output.
  • Configuration: the settings and secrets operators set.
  • Events: the event envelope.
  • Extension host ABI: released attricat:host versions only grow. See host ABI versions.
  • The database schema. Read and write through the API or acli. Back the database up, but don’t build on its tables.
  • The web app’s layout, wording, and internal requests.
  • Metric names and labels, and log messages.
  • The content of any response marked internal, and of routes missing from the API reference.

Run migrations before rolling out a new version, and take a backup first. A previous version isn’t guaranteed to run on a migrated database, so a rollback can mean restoring from that backup. See Deployment.

A release that needs something from operators says so in its notes.

Something stable is deprecated in a minor release and stays working until the next major version. The release notes name the replacement.

A security fix can break a stable behaviour in a minor or patch release when there’s no safe way to keep it. The release notes say what changed and why.