Skip to content

v0.12.0: Auto DOCS & Stability Fixes

Choose a tag to compare

@GrandpaEJ GrandpaEJ released this 27 Apr 04:26
· 32 commits to main since this release

Auto DOCS Enhancements

  • Path Merging: Multiple HTTP methods (e.g., GET and POST) on the same path are now correctly merged in OpenAPI documentation.
  • Rich Schema Extraction: Added support for Body(..., schema={...}) and Query(...) parameters. OpenAPI documentation now includes property descriptions, examples, and validation constraints.
  • Standardized Types: Improved mapping of internal types to standard OpenAPI types (integer, string, boolean, etc.).

Fixed

  • Hot-Reload Stability: Fixed an infinite restart loop in the file watcher by ignoring noisy directories (pycache, .git, .venv) and filtering by file extension.
  • Custom Error Handlers: Fixed a bug where custom 404 error handlers were ignored by the Rust backend.
  • Response Formatting: Fixed a bug where pre-formatted response objects returned in tuples were being incorrectly stringified.

Full Changelog: v0.11.1...v0.12.0