Releases and upgrades
Use a published release as the starting point for an installation you operate.
Contributions target dev. This page explains how to identify what is running
and plan an upgrade; initial setup is in Installation, and
service commands are in Deployment.
Release identity and support
Releases are GitHub releases
tagged with the UTC date, YYYYMMDD; another release on the same date gets
.1, .2, and so on. They are dated snapshots, not semantic-version
compatibility promises. A maintainer cuts one by moving main up to a commit
on dev; the Release workflow then publishes the release with generated
change notes.
Identifier |
What it tells you |
|---|---|
A published date tag |
A fixed source snapshot with GitHub release notes |
|
The branch maintainers move up to |
|
Development work that may be newer than the latest release |
A full commit SHA |
The exact source revision; include local modifications separately |
An image digest, |
The exact container artifact, which may differ from the host checkout |
CI publishes backend and console candidates with dev-<full-sha> tags and
short-SHA aliases. A candidate tag identifies development output; it does not
mean a date release exists for that commit. The 0.1.0 values in
pyproject.toml and apps/frontend/package.json are package metadata and do
not identify a particular deployed build.
Report problems against the latest published release when possible. Fixes
normally land on dev and reach a later release. There is no documented LTS
branch, guaranteed backport window or response-time commitment; do not assume
an older release receives fixes automatically. An older-version report is
still useful: include its exact revision and whether the problem also occurs
on the latest release. Security reports follow
the security policy.
Include the version in a bug report
For source installs, run these in the checkout used to build or start the service:
git rev-parse HEAD
git describe --tags --exact-match HEAD
git status --short
The second command reports an error when HEAD is not exactly tagged; report the SHA in that case. Mention local changes without pasting secrets or private configuration.
For the standard Compose stack, inspect the running artifacts:
docker inspect --format '{{.Name}} image={{.Config.Image}} id={{.Image}}' \
hybridinference-backend hybridinference-frontend
Use your deployment’s container names if they differ. Include any pinned image
digests from its deployment configuration. The console footer also shows the
build SHA when supplied at build time; build dev / local build means that
metadata was omitted. The footer identifies the console build, so report the
backend revision separately when the two were deployed independently.
Compatibility and breaking changes
Read the notes and linked PRs for every release between your installed version and the target. A date tag alone does not establish compatibility, and the OpenAI-compatible API does not imply support for every provider extension. Check the endpoints, streaming behavior and model settings your clients use.
Contributors changing an HTTP contract, authentication, an environment or YAML setting, a default, or database schema should state the old and new behavior in the PR. Identify who must act, give the configuration or migration steps, and explain whether the previous version can still use the resulting data. Mark breaking changes explicitly in the PR and release notes; autogenerated commit summaries alone do not explain how an operator should upgrade.
Upgrade and rollback
Record the current and target release/commit, backend and console image identities, and the active distribution/configuration. Keep the previous artifacts available so rollback does not depend on rebuilding them.
Read the target’s configuration requirements. Preserve the deployment’s existing
.env, overlay and secrets; merge required changes instead of replacing them with fresh example files. KeepJWT_SECRET_KEY,API_KEY_SECRETandERASURE_FENCE_SECRETstable across replicas and upgrades. Changing the first invalidates access tokens, changing the second makes existing API-key hashes unverifiable, and changing the third — or the second, while it stands in for the third — stops the backend from starting. An upgrade is not a secret-rotation procedure. These secrets and the other settings live in the database, copied there from the environment at the first start; keep the.envyou upgraded from until rollback is no longer an option, because a release from before that move reads them only from the environment. See Upgrading a deployment that kept its settings in.env.Back up each configured database and check that the backup restores into a separate database. The backup holds the stored settings and secrets in plaintext, so protect it, and a matching copy of the configuration, like the secrets themselves. See Database backup for the standard Postgres commands; use the storage provider’s backup procedure for other deployments.
Rehearse on an isolated local or staging deployment, using separate storage and suitable test data. Apply the schema migrations with the new image first (How the schema is created), then start it. Check startup logs and
/health/ready, then login, an existing API key, a routed request and streaming if your clients use it. Then start the previous image against the migrated database and run the same checks: that is what a failed deploy falls back to.Deploy the selected revision using your existing deployment method: apply the migrations with the new image while the old one still serves, and restart only once they succeeded. For the standard stack built from source,
make buildrebuilds the images, migrates, and recreates the services from the current checkout;make restartkeeps existing images and migrates nothing. See Deployment for the distinction between rebuilding code and reloading configuration. Check the running artifact identities and repeat the rehearsal checks before sending normal traffic to it.make deploydeploys published images by digest, restores the previous ones if they fail acceptance, and pins the deployment to them, after whichmake buildrefuses until you return to source builds; see Diagnostics, deployment and recovery.Upgrading from a release that read its site identity, branding and alert rules from files, import them between the migrations and the restart, with the new image: add
LEGACY_MANIFEST=<manifest>tomake deployormake build, or run the import command yourself at that point. Until it runs, the new release serves neutral site settings and the built-in alert thresholds. See Model and routing documents in the database.
Returning to a previous image does not undo database changes, and does not
need to: a migration leaves the previous release working on the new schema, so
restoring its artifacts and configuration is the rollback. Do not run the
previous image’s migrations for it. A release whose migration removes something
older code uses says so in its notes, and the older backend then refuses to
start on that database rather than misread it; going back past such a release
means restoring the matching pre-upgrade database backup, which discards writes
made since the backup. There is no schema downgrade command; make down
preserves data and deleting a volume is a reset, not a rollback.
make rollback returns to the images the last accepted make deploy replaced.
A release from before the database-backed configuration reads its manifest,
alert rules and other files through DISTRIBUTION_CONFIG_PATH,
DISTRIBUTION_CONFIG_MODE and the *_CONFIG_PATH variables, which Compose still
passes to the backend. Keep them in the deployment’s env files, and keep the
files they name, until a rollback to such a release is no longer an option.