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.
Stable
Section titled “Stable”- 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
codeof an API error. The Englishmessagecan 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:hostversions only grow. See host ABI versions.
Not stable
Section titled “Not stable”- 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.
Upgrades
Section titled “Upgrades”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.
Deprecation
Section titled “Deprecation”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.