Skip to content

Hubuum Python client v0.0.12

Choose a tag to compare

@terjekv terjekv released this 22 Oct 10:13
· 14 commits to main since this release
97cd52b

Changed

  • Breaking server target: target Hubuum v0.0.20 and register all 257 OpenAPI
    operations. Change interactive callers from login() to login_session();
    the new server removes /api/v0/auth. Legacy login() remains available
    for older servers, and explicit PAT injection remains supported.
  • Breaking operation registry: replace removed v0 authentication operation
    IDs with their v1 equivalents (ApiV0Auth becomes ApiV1Auth). New history,
    query-observation, relation-label,
    credential-activity, and search-hydration operations are available through
    openapi.call(); typed services retain their documented projections.
  • Require rotating-session checks in the pinned live suite and verify format 10
    backup recovery. Upgrade server, worker, and restore executor together after
    stopping writers and taking a PostgreSQL snapshot; sign in again afterward.
  • Refresh application, test, documentation, and release-tool dependencies and
    immutable GitHub Actions pins before the coordinated server compatibility release.
  • Pinned introductory examples to the documented client and server releases and added public documentation verification to release completion.

Added

  • Add Client.login_session() and AsyncClient.login_session() for the
    server's new /api/v1/auth contract. Credentials remain in memory; both
    runtimes serialize refresh before requests and streams and discard the pair
    on failure or uncertain rotation. Logout revokes the current family.
  • Redacted SessionResponse and SessionExpiredError. Interactive access alone
    still requires fresh credential approval to mint PATs. Legacy login() remains for older servers; explicit PAT injection remains
    supported on the new target.