Skip to content

hubuum-client 0.0.9

Choose a tag to compare

@terjekv terjekv released this 22 Sep 18:22
· 31 commits to main since this release
789256b

Hubuum Client for Python 0.0.9 targets Hubuum server v0.0.16, with matching synchronous and asynchronous APIs and all 220 OpenAPI operations registered against the immutable release contract.

Credential management changes

Hubuum v0.0.16 requires fresh, single-use password approval for token creation/renewal, local user creation, password changes, credential-bearing imports (including dry runs), and restore confirmation. Use the new typed client.credential_approvals service and pass approval= to protected mutations. Token methods preserve the server-normalized expiry. ReauthenticationRequiredError identifies the recovery flow independently of diagnostic redaction.

Approval secrets and validation diagnostics are redacted, and transport/model-decoding errors do not retain raw secret-bearing exceptions. Ordinary resource access, token reads/revocation, profile-only user updates, and credential-free imports retain their existing flow.

Schema evolution and task discovery

  • Typed schema revision staging, impact diagnostics, activation, revalidation, compliance, abandonment, and retained HTML repair reports.
  • Task cancellation, deadline/cancellation metadata, and remote side-effect accounting.
  • Immutable TaskQuery resource/lifecycle/option filters, retained metadata, explicit targets, output state, and details for all six task kinds.
  • Exact import schema_activation support and approved backup/restore workflows.

Upgrade notes

Apply the server's migrations and coordinate API, administrator, restore-executor, and worker upgrades. Existing bearer-only credential-management scripts must adopt password approvals before using v0.0.16. Nonempty class schema changes require staged revisions. Server v0.0.15 introduced backup format 6; older backup artifacts require their matching restore/migration path. Portable imports remain version 2.

See the compatibility guide, credential approval guide, and complete changelog.

Validation

500 unit tests passed with 97.76% branch-aware coverage. The pinned server suite passes 20 core and 4 recovery tests, including eight consecutive full restore cycles. Formatting, linting, typing, security checks, strict documentation, package builds, and the 220-operation contract check pass. Dependencies were refreshed and audited before release; the tag-time Dependabot gate remains enabled.

The release commit passed CI, including Python 3.11–3.14 and the pinned server suite.

python -m pip install --upgrade hubuum-client==0.0.9