Skip to content

v0.3.0

Choose a tag to compare

@imacross imacross released this 18 Jun 10:53
· 7 commits to main since this release

Highlights

  • Async clientAsyncCrawlSnap, the awaitable twin of CrawlSnap with an identical surface (same constructor, resources, retries, typed errors). Methods are coroutines; subdo_snap.scan_iter is an async generator. Ideal for enriching many indicators concurrently with asyncio.gather.
  • Stable-default per-API versioning — the product version is now a value carried in the request path, not a class hierarchy. Unpinned calls target a stable default that never moves on its own: upgrading the SDK no longer silently retargets your calls at a newer API version. Per-product .v1 pinning is unchanged.
  • Correct raw_response typing@overload so raw_response=True is typed as RawResponse and the default returns the typed model.

Internals: IO-free envelope/retry logic extracted to _base.py and shared by the sync and async clients.