Release Notes¶
v2.2.0 (2026-04-25)¶
TITLE (v2.2.0)¶
CONTENT
v2.1.0 (2026-04-24)¶
Multi-Adapter Coverage (v2.1.0)¶
- Added per-adapter integration smoke tests:
tests/test_adapter_fastapi.py,test_adapter_flask.py,test_adapter_django.py. Each verifiesSecurityConfig.to_agent_config()roundtrip and request delivery through the adapter's middleware withenable_agent=True. - Added per-adapter documentation pages under
docs/adapters/: FastAPI, Flask, Django, Tornado. Each page covers install, minimal example, and agent wiring specific to that framework. mkdocs.ymlnavigation updated with a new top-level Adapters section.
Dependency Changes (v2.1.0)¶
- Added
django,djapi-guard>=2.0.0,flask,flaskapi-guard>=2.0.0,tornadoto[project.optional-dependencies].devso the test suite can exercise every adapter. tornadoapi-guardis not yet included in dev extras — it has not been published to PyPI (only a yanked 0.0.1 exists). Integration tests for Tornado are stubbed withpytest.mark.skipintests/test_adapter_tornado.py. Re-enable once the adapter ships a 1.0.0+ release.
v2.0.0 (2026-04-24)¶
Package Rename (v2.0.0)¶
- Renamed on PyPI:
fastapi-guard-agent→guard-agent. The Python import path (from guard_agent import ...) is unchanged — no code changes are required in consuming applications. - Repositioned as a framework-agnostic telemetry agent serving
fastapi-guard,flaskapi-guard,djangoapi-guard, andtornadoapi-guard. - Legacy name preserved: a meta-package
fastapi-guard-agent==1.2.0is published alongside this release, whose only dependency isguard-agent>=2.0.0,<3.0.0. Existingpip install fastapi-guard-agentinvocations continue to resolve correctly and pull the renamed distribution transitively. - Repository renamed on GitHub:
rennf93/fastapi-guard-agent→rennf93/guard-agent. GitHub auto-redirects the old URLs. - Documentation site moved to
https://rennf93.github.io/guard-agent/.
Dependency Changes (v2.0.0)¶
- Removed
fastapiandfastapi-guardfrom runtime dependencies — the agent is framework-agnostic and speaks HTTP to the dashboard, not to any web framework. - Runtime deps are now:
cryptography,httpx,pydantic,typing-extensions. fastapiandfastapi-guardremain as dev extras so the existing test suite keeps passing. Each framework adapter brings its own web framework.- Dropped
Framework :: FastAPIclassifier; development status promoted fromAlphatoBeta.
Breaking Changes (v2.0.0)¶
- None in Python API —
from guard_agent import ...,GuardAgentHandler,AgentConfig, and every public symbol behave identically. - Distribution name change only: scripts, Dockerfiles, and lockfiles that install
fastapi-guard-agentdirectly should migrate toguard-agent. The shim keeps old commands working but new projects should installguard-agentdirectly.
Migration Guide (v2.0.0)¶
- Existing code: no changes.
- Install commands (uv): replace
uv add fastapi-guard-agentwithuv add guard-agentat your leisure — both resolve to the same underlying package. - Poetry / pip equivalents:
poetry add guard-agent/pip install guard-agent. - Lockfiles: running
uv lock,poetry lock, orpip-compileafter bumping will transparently update entries toguard-agent.
v1.1.1 (2026-03-11)¶
Bug Fixes (v1.1.1)¶
- Fixed misalignment on documentation headers and model parameters.
- Added support for Python 3.14.
Maintenance (v1.1.1)¶
- Code alignment and cleanup.
v1.1.0 (2025-10-14)¶
New Features (v1.1.0)¶
- Added end-to-end payload encryption for secure telemetry transmission using AES-256-GCM.
- Implemented
PayloadEncryptorclass with project-specific encryption keys. - Added encrypted endpoint support for events and metrics (
/api/v1/events/encrypted). - Integrated automatic datetime serialization in encrypted payloads via custom JSON handler.
- Added encryption key verification during transport initialization.
Technical Details (v1.1.0)¶
- Encryption uses AES-256-GCM with 96-bit nonces and 128-bit authentication tags.
- Pydantic models are serialized using
.model_dump(mode="json")before encryption. - Custom
_default_json_handlerensures datetime objects are properly ISO-formatted.
v1.0.2 (2025-09-12)¶
Enhancements (v1.0.2)¶
- Added dynamic rule updated event type.
v1.0.1 (2025-08-07)¶
Enhancements (v1.0.1)¶
- Added path_excluded event type.
v1.0.0 (2025-07-24)¶
Official Release
v0.1.1 (2025-07-09)¶
Enhancements (v0.1.1)¶
- Standardized Redis Protocl/Manager methods across libraries.
v0.1.0 (2025-07-08)¶
Enhancements (v0.1.0)¶
- Switched from aiohttp to httpx for HTTP client.
- Completed implementation.
- 100% test coverage.
v0.0.1 (2025-06-22)¶
New Features (v0.0.1)¶
- Initial release FastAPI Guard Agent.