Skip to content

Releases

Hubuum Python client v0.0.15

Choose a tag to compare

@terjekv terjekv released this 09 Nov 19:51
ddeab7f

This release targets Hubuum server v0.0.22 and its 272-operation, 431-schema
contract. Upgrade the server and its workers before updating clients.

  • Add matching synchronous and asynchronous admin helpers for runtime settings discovery, group state, partial edits, and deployment resets. Group and field names remain open-ended. Runtime discovery is part of the pinned v0.0.22 contract.

Added

  • Matching sync/async convenience workflows for permission delegation, guarded
    audit/history and temporal reads, shared/personal computed fields, export
    templates, remote targets, event delivery controls, principal settings,
    authentication administration, and operational state.
  • Full backup/restore services with typed documents, explicit approved
    confirmation, bounded polling, and capability-only status reads after restored
    credentials invalidate a session.
  • Search streaming regression coverage for split UTF-8/framing, incremental
    delivery, early exit, decode errors, and cancellation, plus typed unified-search
    cursor/control coverage against the pinned server.

Changed

  • Breaking: remove the generated get_query_observations and
    put_query_observations operations and the old query-observation override
    field, matching server v0.0.22. Use admin.runtime_settings_group() and
    admin.patch_runtime_settings() with the group revision instead. Generic
    operation-ID calls must use the runtime-settings operation IDs.
  • Breaking: named-class permission reads return exact-contract GroupPermission models.
    Replace dictionary indexing with attributes, or call model_dump(); see the
    resource workflow migration guide.

Fixed

  • Redact runtime authentication provider configuration in representations and
    validation errors while preserving credentials in explicit request payloads.
  • Redact nested integration configuration, embedded URL credentials, backup
    content, restore digests, and expression/request payloads in diagnostics.
    Sink requests and restore confirmations also redact validation inputs.

Hubuum Python client v0.0.14

Choose a tag to compare

@terjekv terjekv released this 26 Oct 15:30
8b4c8dd

This release targets Hubuum server v0.0.21. Upgrade the server before using
field discovery and schema suggestions.

Added

  • Bounded field discovery by class ID or exact name with validated limits,
    structured property/array paths, computed sources, previews, and truncation.
  • Matching sync/async profiling submission, retained report, and submit/wait/fetch
    suggestion helpers. Reviewed, sample-valid candidates feed explicit staging;
    whole-class impact analysis and activation remain separate actions.
  • Profiling task discovery and complete generated typed API support for the
    server's four new discovery and profiling endpoints.

Changed

  • Target Hubuum server v0.0.21 and its 261-operation OpenAPI contract.
  • Refresh compatible dependencies, including deepmerge 4.0.0,
    mkdocs-material 9.8.0, and pytest-asyncio 1.4.1. Update the pinned Markdown
    lint action to v25.0.0.

Hubuum Python client v0.0.13

Choose a tag to compare

@terjekv terjekv released this 23 Oct 23:47
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

Hubuum Python client v0.0.12

Choose a tag to compare

@terjekv terjekv released this 22 Oct 10:13
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.

Python client 0.0.11

Choose a tag to compare

@terjekv terjekv released this 06 Oct 22:31
90234e6

Changed

  • Refresh the documentation dependency griffelib to 2.3.2.
  • Breaking (server target): target Hubuum v0.0.18 and its immutable released
    image and OpenAPI document.
    Register all 235 operations, including collection-owned sinks and direct grants.
  • Require sync and async delegated webhook workflows in the pinned live suite.
    Notification fixtures explicitly grant global sink use, and recovery verifies
    format 8 backups. Formats 6 and 7 remain server-supported for restore.
  • Breaking (server upgrade and backup output): stop all API, worker, and
    restore-executor writers and take a PostgreSQL snapshot before applying the
    collection-sink migration. Deploy matching v0.0.18 binaries together. Rollback
    requires the snapshot and matching v0.0.17 binaries; older servers cannot
    restore format 8.
  • Breaking (server authorization): subscription creation and edits require
    ReadAudit plus ManageEventSubscription and collection ownership or a direct
    sink grant. Bind credential-bearing webhooks to a fixed destination before
    enabling delivery.

Fixed

  • Allow synchronous and asynchronous imports.run() callers to configure
    result max_pages and max_items for large imports, retaining the bounded
    defaults and rejecting invalid limits before submission.
  • Raise DecodeError with safe request context for malformed named permissions
    and related-resource responses in both synchronous and asynchronous clients,
    including arrays containing non-object items.
  • Make the e2e readiness unit tests use a fully simulated clock, preventing
    intermittent timeout failures when Bash's wall clock crosses a second.
  • Explicit EventSinkUpdate(secret_ref=None) clears a sink credential reference;
    omitted references remain unchanged in both client modes.

Added

  • Typed synchronous and asynchronous collection destination services through
    client.collections.event_sinks(collection_id), with CRUD and cursor pagination.
  • Typed collection subscription services, global administrator sink CRUD, and
    sink collection grants. Configuration, webhook URLs and secret aliases are
    omitted from model representations or collection discovery as appropriate.
  • Collection integrations are part of the released v0.0.18 compatibility target.

hubuum-client 0.0.10

Choose a tag to compare

@terjekv terjekv released this 05 Oct 05:59
f432ac6

Hubuum Client for Python 0.0.10 targets Hubuum server v0.0.17, with matching synchronous and asynchronous interfaces and all 227 OpenAPI operations registered against the immutable release contract.

Notifications and server compatibility

  • Add system event subscription CRUD and administrator webhook preview/test operations through client.openapi.call() and its async equivalent.
  • Cover task-kind subscription filters, sink delivery pacing, nullable collection IDs in delivery health, and test-delivery admission in both runtimes.
  • Verify format 7 backups through eight consecutive full restore cycles, with and without history.

Upgrading a server from v0.0.16 requires a maintenance window and a PostgreSQL snapshot after stopping all writers. Apply the notification migration and restart matching API, worker, and restore-executor binaries. Binary-only rollback is unsupported. Server v0.0.17 accepts format 6 backups with legacy defaults, but older servers cannot restore format 7. Optional Treetop deployments require protocol 0.1; external storage integrations require SDK 0.4. Installing this Python package does not migrate a server.

Dependencies and documentation

Refresh all Python dependency locks, including mypy 2.4.0, Ruff 0.16.10, and Zensical 0.0.67, and update the shared documentation workflow pin. All third-party action pins and Twine were audited and already matched current stable releases. Dependabot #60 was superseded and closed before the version bump.

Documentation now provides a searchable, versioned site with shared Hubuum navigation, immutable release snapshots, a development edition, and an Atlas example-inventory walkthrough.

See the compatibility and upgrade guide, notification operations, and complete changelog.

Validation

734 unit tests passed with 97.76% branch-aware coverage. The pinned live-server suite passed 22 core and four recovery tests. Formatting, linting, typing, security checks, Markdown, strict MkDocs and Zensical builds, package builds, Twine validation, and the complete OpenAPI contract check passed. 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.10

hubuum-client 0.0.9

Choose a tag to compare

@terjekv terjekv released this 22 Sep 18:22
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

hubuum-client 0.0.8

Choose a tag to compare

@terjekv terjekv released this 10 Sep 06:53
3f366d3

Added

  • Registered all 204 Hubuum v0.0.14 OpenAPI operations, including structured
    JSON search and its POST SSE stream, with matching sync/async json= support
    and request-body validation in openapi.stream().
  • Added synchronous and asynchronous live structured-search coverage and
    regression coverage for asynchronous restore confirmation and
    capability-authenticated status polling.
  • Added a disposable-stack recovery suite covering eight consecutive full
    backup/restore cycles in both sync/async orders, including history-free
    restores followed by default backups after further mutations, JSON null,
    resource revisions, post-backup object removal, token invalidation, and
    password-reset/login recovery. The e2e wrapper runs it with a matching
    restore executor after the core suite, and excludes caller-managed servers.

Changed

  • Updated the target server, vendored OpenAPI document, operation manifest,
    documentation, and CI to Hubuum v0.0.14 at release commit
    0b0aa17f278496a32cc018cfcac56f34a408ccd6 and immutable image digest
    sha256:6c1c8d7316a1f60a02e4505611a44e21030ba678b5b451f5b293a12f2bd87594.
  • The e2e wrapper now runs a separate migration container before starting the
    server, as required since v0.0.12, and cleans up migration resources on failure.
  • Selected v0.0.14 for its recovery fixes, including resource revisions and
    subsequent backup restorability after history-free restores. Its 204-operation
    API and backup version 5 format remain unchanged from v0.0.13; install the
    matching restore executor with the server.
  • Documented the changes since v0.0.9: structured and related-object search,
    bounded graph/export/template work, version 5 backups, queued restores,
    explicit migrations, and opaque versioned bearer tokens. See the
    compatibility guide for upgrade notes.
  • Refreshed every Python dependency lock: AnyIO 4.15.1, ast-serialize 0.11.1,
    griffelib 2.3.0, mkdocstrings-python 2.0.8, platformdirs 4.11.8,
    Ruff 0.16.6, and Zizmor 1.30.1. Updated the Hatchling build requirement to
    1.32.0. Verified every GitHub Action pin and Twine 7.0.0 against the latest
    releases; those pins were already current.

Security

  • Restore status polling sends only its restore capability and no bearer token.
    Restore capabilities are redacted from errors, and request options omit
    headers and query values from representations.

hubuum-client 0.0.7

Choose a tag to compare

@terjekv terjekv released this 29 Aug 19:05
714a258

hubuum-client 0.0.7 targets Hubuum server v0.0.9.

Highlights:

  • Vendors the exact v0.0.9 OpenAPI document for offline inspection and contract validation.
  • Uses the committed immutable contract by default, with explicit upstream check and refresh commands.
  • Refreshes all compatible Python dependencies and updates the pinned setup-uv action.
  • Hardens Docker-backed e2e startup so it waits for PostgreSQL’s final server process.
  • Updates release validation to Twine 7.0.0 for Core Metadata 2.5 support.

See the changelog for the complete details.

hubuum-client 0.0.6

Choose a tag to compare

@terjekv terjekv released this 07 Aug 20:15
fccba00

hubuum-client 0.0.6 targets Hubuum server v0.0.9.

Highlights:

  • Pins and verifies the complete 202-operation Hubuum v0.0.9 OpenAPI contract and immutable server image.
  • Adds revision-aware resource models, conditional writes, import v2 conditions, and HTTP 412 error mapping.
  • Adds token point lookup, renewal, lifecycle-state selection, and the public maximum token lifetime.
  • Models IAM collection and point responses separately and supports principal-settings JSON Patch and JSON Merge Patch.
  • Maintains synchronous and asynchronous feature parity.

See the changelog for the complete details.