Server compatibility¶
Compatibility matrix¶
| Python client | Hubuum server contract | Status | End-to-end evidence |
|---|---|---|---|
| 0.0.15 | v0.0.22 |
Verified | 60 core and 4 recovery tests, including eight full restore cycles |
| 0.0.14 | v0.0.21 |
Verified | 46 core and 4 recovery tests, including eight full restore cycles |
| 0.0.13 | v0.0.20 |
Verified | 40 core and 4 recovery tests, including typed API workflows, service accounts, and eight complete restore cycles |
| 0.0.12 | v0.0.20 |
Verified | 26 core and 4 recovery tests, including rotating sessions and eight complete restore cycles |
| 0.0.11 | v0.0.18 |
Verified | Evidence |
| 0.0.10 | v0.0.17 |
Verified | Evidence |
| 0.0.9 | v0.0.16 |
Verified | Evidence |
| 7165240 | v0.0.15 |
Verified | Evidence |
| 0.0.8 | v0.0.14 |
Verified | Evidence |
| 0.0.6 | v0.0.9 |
Verified | Evidence |
| 0.0.5 | v0.0.8 |
Verified | Evidence |
| 0.0.4 | v0.0.8 |
Verified | Evidence |
| 0.0.3 | v0.0.5 |
Verified | Evidence |
| 0.0.2 | v0.0.4 |
Verified | Evidence |
| 0.0.1 | v0.0.3 |
Verified | Evidence |
Verified means the complete Docker-backed suite passed for the exact
client/server pair. The current server target is selected by tag and locked to
an immutable multi-platform image:
ghcr.io/hubuum/hubuum-server:v0.0.22@sha256:71ff4090eac071f23ae59f7265dc07165939d42771a73d1d291defa023b4964b
The tag identifies the supported server release; the digest prevents that tag
from resolving to different content later. The same reference is stored in
src/hubuum_client/_constants.py, the e2e wrapper, and CI.
Typed parity¶
The client.api interface, available since 0.0.13, provides matching sync and
async types for all 272 operations and 431 schemas in this pinned contract. See
typed API usage and the operation table.
Existing convenience services retain their established return types.
Before upgrading¶
Client 0.0.15 targets server v0.0.22 with matching sync and async behavior. Use credential approvals before protected mutations and schema evolution when changing validation policy on populated classes. The registered OpenAPI surface covers all 272 operations; dedicated typed services and generic operation calls are distinguished in the API guides.
Stop old API and worker processes, apply the server v0.0.22 migrations and role grants during a quiet period, then start matching API, worker, template-worker, and restore-executor binaries. Provide writable temporary disk for backup and restore spooling and keep a pre-upgrade backup for rollback. Backup output remains format 10; restore input supports formats 6–10. Follow the server deployment guide and backup compatibility.
Breaking client migration: replace generated get_query_observations and
put_query_observations calls with the runtime-settings helpers below. Read
ownership and revisions from the group, rather than the removed override field.
Named-class permission results are typed GroupPermission models; use attributes
or model_dump() instead of dictionary indexing. Review server template fuel
limits and rendering changes before upgrading workloads that render templates.
Suggestions inspect authorized raw object data only and never activate a policy. Review the sampled report, stage its candidate explicitly, then run whole-class impact analysis before activation. Reports expire after 24 hours. See the schema workflow.
Verification evidence¶
Detailed evidence and historical migrations retain tested image identities, dates, suite results, and earlier compatibility limits.
v0.0.22 target¶
See v0.0.22 evidence for the tagged contract and installed-wheel core/recovery verification.
v0.0.21 target¶
See v0.0.21 evidence for the published contract and installed-wheel core/recovery verification.
v0.0.20 target¶
See v0.0.20 evidence for the exact OpenAPI provenance and completed live/recovery checks.
v0.0.18 target¶
See v0.0.18 target in the historical evidence.
v0.0.17 target¶
See v0.0.17 target in the historical evidence.
Changes introduced in v0.0.16¶
See changes introduced in v0.0.16 in the historical evidence.
Changes introduced in v0.0.15¶
See changes introduced in v0.0.15 in the historical evidence.
Changes since v0.0.9¶
See changes since v0.0.9 in the historical evidence.
Meaning of compatibility¶
See meaning of compatibility in the historical evidence.
Contract-specific response shapes¶
See contract-specific response shapes in the historical evidence.
Forward compatibility¶
See forward compatibility in the historical evidence.
Collection integrations¶
See collection integrations in the historical evidence.
Moved reference sections¶
| Topic | Reference |
|---|---|
| Upgrade from v0.0.16 | Details |
| Upgrade from v0.0.15 | Details |
| Server upgrade considerations | Details |
Rotating session API¶
login_session() in both runtimes uses the required /api/v1/auth contract.
Migrate interactive callers from login(), which remains available only for
older servers. There is no automatic authentication downgrade. The server no
longer supports legacy interactive clients; explicit PAT injection remains valid.
The complete live suite requires rotation, replay revocation, and logout checks.
The operation registry includes all 272 server operations. The seven generic
authentication operation IDs replace ApiV0Auth with ApiV1Auth; callers using
those identifiers must update them. Dedicated
convenience services remain projections of that contract. The complete typed
client.api includes history, search hydration, credential activity, and
observation-management operations. Generic client.openapi.call() and
authenticated relative request() remain available.
Runtime settings discovery¶
Server v0.0.22 implements discovery version 1 and exposes runtime configuration
through client.admin.runtime_settings_schema() and
client.admin.runtime_settings_group(group). Both synchronous and asynchronous
clients provide matching methods. Discovery is required by the pinned v0.0.22
compatibility target. Older servers may return NotFoundError; upgrade them
before using runtime settings and do not fall back to an unrevisioned write.
Use RuntimeSettingsPatch(expected_revision=state.revision, changes={...}) with
client.admin.patch_runtime_settings(group, patch) to edit only selected fields.
The server preserves omitted values and validates correlated settings atomically.
PreconditionFailedError requires refetching and reviewing the edit; the client
does not automatically retry it. RuntimeSettingsRelease is the explicit reset
to deployment ownership. Successful updates report the responding replica's
application separately from the durable commit.
Group keys and JSON Schema fields are open-ended. Form clients should reject unknown catalogue versions, ignore unfamiliar annotations, and show unsupported shapes read-only. Authentication retains the server's dedicated preflight flow.
The contract is implemented in server PR #584.
RuntimeSettingsDescriptor.value_schema preserves field title, description,
default, bounds, x-unit, and x-enum-descriptions. The last annotation maps
supported string-enum values to plain-text explanations. Client interfaces can
display this server-provided help without hard-coding setting names; unfamiliar
annotations remain available in the schema dictionary.