Releases: Pressingly/askii-python
Releases · Pressingly/askii-python
v0.1.0
Added
- Initial release scaffolding for the Askii Python client.
Askii(sync) andAsyncAskii(async) clients with shared transport.- Resource-oriented API:
client.keys.*,client.models.*, plus low-levelclient.request()escape hatch. - Pydantic v2 request/response models;
SecretStr-wrapped provisionedapi_key. - Typed exception hierarchy with
FieldErrormapping for 422 responses. - Pluggable
CacheProtocol withInMemoryCacheand optionalRedisCache([redis]extra). - tenacity-based retries with exponential backoff + jitter; honors
Retry-After(now also accepts HTTP-date form). - Per-call
idempotentflag onclient.request()/ transport. Mutating resource methods (keys.provision,keys.revoke,keys.update_model) opt out of the retry policy so a transient 5xx cannot double-apply a mutation. - Lifecycle hooks (
on_request,on_response,on_retry,on_cache_hit,on_cache_miss,on_error). - Opt-in JSON logging with secret redaction and correlation-ID propagation.
- Bundled
askiiCLI (typer + rich) covering all Platform Key Management endpoints. - CI matrix now covers Python 3.10 through 3.14.
ASKII_VERIFYandASKII_CA_BUNDLEenvironment variables wire TLS verification intoAskiiConfig.from_env.
Changed
- Centralize Platform Key Management URL paths in
askii._endpointsso upstream renames or version-prefix changes are a one-line edit.
Fixed
mpass_tokeninjection now wins over any caller-suppliedmpass_tokeninbody=…(previously, a caller's key could shadow the resolver's token).Retry-Afterheaders in HTTP-date form (RFC 7231 §7.1.3) are now parsed correctly; previously they fell back to exponential backoff and ignored the server's wait hint.
What's Changed
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #4
- Bump actions/upload-artifact from 4 to 7 by @dependabot[bot] in #3
- Bump astral-sh/setup-uv from 4 to 7 by @dependabot[bot] in #2
- v0.1.0: Initial askii-python SDK release by @hunzlahmalik in #1
New Contributors
- @dependabot[bot] made their first contribution in #4
- @hunzlahmalik made their first contribution in #1
Full Changelog: https://github.com/Pressingly/askii-python/commits/v0.1.0