Skip to content

Hubuum Python client v0.0.13

Choose a tag to compare

@terjekv terjekv released this 23 Oct 23:47
· 8 commits to main since this release
59448e6

Python client 0.0.13 targets Hubuum server v0.0.20 and supports Python 3.11+.

Maintenance

  • Refresh the dependency lock with certifi 2026.10.23, coverage 7.17.0,
    griffelib 2.4.1, mkdocs-autorefs 1.4.5, python-dateutil 3.0.0 (and its new
    tzdata dependency), and Ruff 0.17.2. Advance the pinned Zensical builder to
    0.0.72 and Docker login action to v4.7.0. HTTPX 0.28.1, Pydantic 2.14.1,
    the pinned model generator, build/release tools, other Actions, and shared
    documentation tooling were reviewed and remain current.

Fixed

  • Drop raw validation exceptions from typed list decoding errors in both runtimes,
    preventing malformed response values from surviving in exception chains.
  • Count successfully planned dry-run import items as successes in
    ImportRunResult.succeeded and failed.
  • Redact frozen typed-model assignment and deletion errors, including replacement
    secrets and unknown attribute names, without retaining the original exception.

Added

  • Typed sync/async client.service_accounts lifecycle services with guarded
    pagination, identity-scoped name lookup, conditional mutations, distinct list
    and point response models, and principal-token workflow integration.
  • Strict request models for all nine IAM and integration ImportGraph sections,
    including principal and remote-authentication variants, natural-key selectors,
    membership sources, and delivery policies. Valid mapping inputs remain supported;
    invalid fields and conflicting selectors now fail locally with redacted errors.
    Import payloads preserve explicitly supplied JSON nulls.
  • Cursor pagination through page(), pages(), and all() on class and object
    relation services in both runtimes, with cursor-cycle, page-count, and item-count
    guards. list() continues to return a single page.
  • Complete typed sync/async client.api interface for all 257 Hubuum v0.0.20
    operations and all 391 named schemas, including history, query usage,
    observations, credential activity, search hydration, and older generic routes.
  • Typed query/header controls, APIResponse[T] metadata, and typed search SSE
    events, preserving the existing authentication and secret-safe transport.
  • Relation labels in create/import models and class_relations.update() with
    explicit null clearing and optional conditional updates.
  • Reproducible offline generation, CI drift detection, operation coverage map,
    and sync/async regression and pinned live-server tests.

Validation: 2,008 unit tests passed with 99.23% coverage. The installed 0.0.13 wheel passed 40 core tests and four recovery tests (eight full restore cycles) against the pinned v0.0.20 image. All main CI checks passed.

Complete changes · Documentation