Repository navigation
Introducing V3.2.0
The V3.2.0 release brings comprehensive security hardening and modernizes the web framework:
Security Enhancements
- Security Middleware: Blocks 70+ known attack patterns including WordPress probes, PHP exploits, SQL injection, and XSS attempts
- Rate Limiting: IP-based rate limiting (100-1000 req/min by endpoint type) using SlowAPI
- Structured Logging: Severity-based logging with automatic request tracking and performance metrics
- Input Validation: Pydantic v2.10.0 provides strict request/response validation
Framework & Architecture
- FastAPI Migration: Complete replacement of Starlette with modern FastAPI framework
- Automatic API Docs: Interactive Swagger UI at
/docsand ReDoc at/redoc - Enhanced Type Safety: All endpoints use Pydantic models with proper type hints
- Python 3.13 Support: Tested with Python 3.13 via Homebrew, uses
.venvconvention
New Dependencies
fastapi>=0.115.0: Modern ASGI framework with automatic OpenAPI docspydantic>=2.10.0: Data validation and serializationslowapi>=0.1.9: Rate limiting for API protectionpython-multipart>=0.0.9: Multipart form data support
Verified Security
✅ Malicious paths (/wp-login.php, xmlrpc.php, etc.) return 403 Forbidden
✅ SQL injection patterns blocked before reaching business logic
✅ XSS attempts filtered at middleware level
✅ All endpoints enforce rate limits per IP address
What's Changed
- V3.1 - merge to main by @miha42-github in #60
- V3.1 by @miha42-github in #65
- V3.1 by @miha42-github in #67
- V3.1 by @miha42-github in #69
- V3.1 by @miha42-github in #71
- V3.1 by @miha42-github in #73
- V3.1 by @miha42-github in #75
- V3.1 by @miha42-github in #77
- Feature/v3.2/hardening by @miha42-github in #80
- Feature/v3.2/edgar explorer by @miha42-github in #86
- V3.2 by @miha42-github in #87
- Remove entrypoint.js that is no longer needed by @miha42-github in #88
- V3.2 by @miha42-github in #89
- V3.2 by @miha42-github in #90
Full Changelog: V3.1.0...V3.2.0