Releases: inject3r/fastapi-route
Releases · inject3r/fastapi-route
v0.2.0
fix: address core stability and security issues
- Fix async/sync handler detection across all code paths
- Add dependency version pinning with lock file
- Implement thread-safe build cache with threading.Lock
- Complete type hints coverage (100%)
- Add request body size validation (MAX_BODY_SIZE)
- Improve error messages with debugging guidance
- Fix CORS validation and security warnings
- Enhance route scanner error handling
- Add missing validation config
Security:
- CORS wildcard validation
- Request size limits
- Secure module loading with validation
- Path traversal audit fixes
v0.1.2
Features
- File-Based Routing: Routes defined by directory structure — no decorators needed
- Dynamic Routes:
[user_id]directories automatically become{user_id}parameters - Cache-All Routes:
[...slug]captures unlimited path segments - Route Groups:
(auth)directories organize code without affecting URLs - Hot Reload: Instant rebuild on file changes during development
- Production Build Cache: Pre-compiled routes for lightning-fast startup
- Beautiful Error Pages: Syntax highlighting, line numbers, and helpful suggestions
- Custom Handlers: Bring your own
docs.pyandnot-found.py - Custom Middleware: Intercept requests with
middleware.py - Static File Serving: Drop files in
/public— served automatically - Built-in Documentation: Auto-generated API docs at
/docs - CLI Tools:
init,build,run,dev,clean,statuscommands - Zero Config: Works out of the box — but fully customizable when you need it
- Type Hints: Full typing support for excellent IDE autocompletion