Skip to content

Python client 0.0.11

Choose a tag to compare

@terjekv terjekv released this 06 Oct 22:31
· 18 commits to main since this release
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.