v0.7.0
Improved:
- Updated docker-compose
policydservice Docker image frompython:3.8topython:3.11 - Improved Python code style by fixing all Flake8 linting warnings.
Added:
- Added configurable webhook API call to trigger sender notification when reaching his quota limit (on first block). For authentication, it supports both simple token (passed as query param) and JWT token (passed as
Authorization: Bearerheader). - Added new environment variables for external webhook API:
WEBHOOK_ENABLED,WEBHOOK_URL,WEBHOOK_SECRET
Fixed:
- Prevent multiple logger instances by accessing a static
loggervariable. This fixesResourceWarning: unclosed fileexceptions which could have occurred in testing.