gava-connect-plus 0.2.0
gava-connect-plus 0.2.0
Async Lifecycle Improvements
This release improves async resource management and modernizes SDK usage patterns.
Added
-
Async context manager support for
GavaConnect__aenter__/__aexit__implemented- Enables
async with GavaConnect(...) - Automatic cleanup of underlying
httpx.AsyncClient
Documentation
- Updated README to use
async withpatterns - Removed legacy synchronous context examples
- Clarified async/await usage across SDK methods
Improvements
- Safer client lifecycle handling
- Cleaner async-first developer experience
- Better alignment between implementation and documentation
Migration
Before:
gava = GavaConnect(...)
try:
...
finally:
await gava.aclose()After:
async with GavaConnect(...) as gava:
...Notes
- Non-breaking change
- Recommended upgrade for all async users
- No changes to public API surface beyond lifecycle handling