Skip to content

v0.7.0

Choose a tag to compare

@onlime onlime released this 08 Sep 13:46
· 5 commits to main since this release
e230d98

Improved:

  • Updated docker-compose policyd service Docker image from python:3.8 to python: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: Bearer header).
  • Added new environment variables for external webhook API: WEBHOOK_ENABLED, WEBHOOK_URL, WEBHOOK_SECRET

Fixed:

  • Prevent multiple logger instances by accessing a static logger variable. This fixes ResourceWarning: unclosed file exceptions which could have occurred in testing.