Skip to content

Releases: inject3r/fastapi-route

v0.2.0

18 Jun 12:12

Choose a tag to compare

file_000000008e28722f86a4eb90b4ce5086

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

12 Jun 00:28

Choose a tag to compare

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.py and not-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, status commands
  • Zero Config: Works out of the box — but fully customizable when you need it
  • Type Hints: Full typing support for excellent IDE autocompletion