0.128.1
📦 fastapiView on GitHub →
✨ 2 features🐛 4 fixes⚡ 1 deprecations🔧 4 symbols
Summary
This release introduces improvements for mobile Swagger UI and clearer error messages for invalid query parameters. It also includes several bug fixes related to validation errors, OpenAPI generation, and header parsing.
Migration Steps
- If you were using `fastapi.middleware.wsgi.WSGIMiddleware`, update imports to use `WSGIMiddleware` from `a2wsgi`.
✨ New Features
- Added `viewport` meta tag to Swagger UI for improved mobile device rendering.
- Improved error message when query parameter type annotations are invalid.
🐛 Bug Fixes
- Updated `ValidationError` schema to include `input` and `ctx` fields.
- Fixed `TYPE_CHECKING` annotations compatibility for Python 3.14 (PEP 649).
- Stripped whitespaces from `Authorization` header credentials.
- Fixed OpenAPI duplication of `anyOf` refs for app-level responses using `Union` with specified `content` and `model`.
Affected Symbols
⚡ Deprecations
- Use of `fastapi.middleware.wsgi.WSGIMiddleware` is deprecated; use `WSGIMiddleware` from `a2wsgi` instead.