APIException v0.2.1
✨ What's New
- Async support for
extra_log_fields
- You can now define your callback as
async def and use await request.body() directly.
- Fully backward compatible with sync functions.
- Python 3.9 compatibility restored
- Introduced conditional import of
TypeGuard via typing_extensions.
- Officially supports Python 3.9 → 3.13.
- Improved type-safety and cross-version stability in
response_utils.py.
- Updated pyproject.toml for extended compatibility.
🧠 Highlights
- Cleaner and safer async logging system.
- Backward-compatible design.
- Ready for production FastAPI environments.
- Verified build on PyPI: apiexception 0.2.1
🧩 Upgrade
pip install -U apiexception
📄 Related Docs