v0.13.0: Robust Headers & Security Fixes
[0.13.0] - 2026-05-02
Added
- Robust Header Infrastructure:
- Refactored
Headersclass to usecollections.UserDictfor better standard library compatibility. - Implemented full case-insensitivity for all header operations (get, set, delete).
- Added native support for multi-value headers via
headers.add(key, value)andheaders.getlist(key).
- Refactored
- WSGI Adapter Enhancements:
- Refactored
WSGIAdapterto correctly handle multi-value headers. - Integrated application-level error handling (including custom 404/500 handlers) into the WSGI layer.
- Refactored
Fixed
- JWT & Cookie Security:
- Updated
Response.delete_cookie()signature to acceptsecure,httponly, andsamesitearguments, fixing crashes in JWT logout flows. - Improved cookie attribute handling to ensure consistency between Python and Rust layers.
- Updated
- Response Unwrapping: Fixed a bug where returning a
Responseobject inside anotherResponseresults in string representation body. - FFI Stability: Standardized the Python-to-Rust response conversion.
- HTTPException Handling: Resolved issues with
abort()not callingget_response()(Resolves #19, Fixes #18)
Full Changelog: v0.12.0...v0.13.0