FastAPI 0.140.9 Fixes jsonable_encoder and dependency updates
sdkengineerpython-web
patch
FastAPI version 0.140.9 includes a fix for `exclude_defaults` in `jsonable_encoder`, ensuring it's correctly applied to dictionary keys and values. This patch also contains several internal dependency updates, including to GitPython and PyMarkdown extensions. These changes are primarily relevant for developers using FastAPI, particularly those who utilize `jsonable_encoder` with default exclusions.
- →🐛 Fix exclude_defaults not propagated to dict keys and values in jsonable_encoder. PR #16043 by @MBGrao
- →⬆ Bump gitpython from 3.1.50 to 3.1.54. PR #16047 by [@dependabot[bot]](https://github.com/apps/dependabot)
- →⬆ Bump pymdown-extensions from 10.21.3 to 11.0. PR #16048 by [@dependabot[bot]](https://github.com/apps/dependabot)
- →⬆ Bump pyasn1 from 0.6.3 to 0.6.4. PR #16045 by [@dependabot[bot]](https://github.com/apps/dependabot)
Fixes (1) ›
- 🐛 Fix exclude_defaults not propagated to dict keys and values in jsonable_encoder. PR #16043 by @MBGrao
Maintenance (3) ›
- ⬆ Bump gitpython from 3.1.50 to 3.1.54. PR #16047 by [@dependabot[bot]](https://github.com/apps/dependabot)
- ⬆ Bump pymdown-extensions from 10.21.3 to 11.0. PR #16048 by [@dependabot[bot]](https://github.com/apps/dependabot)
- ⬆ Bump pyasn1 from 0.6.3 to 0.6.4. PR #16045 by [@dependabot[bot]](https://github.com/apps/dependabot)
Read the original announcement →
https://github.com/fastapi/fastapi/releases/tag/0.140.9
Related releases
- FastAPI 0.140.13: Fixes SSE/JSONL status code, improves docs FastAPI Releases ·
- FastAPI 0.140.12 Fixes SSE Event Formatting FastAPI Releases ·
- FastAPI 0.110.11 Patch Release FastAPI Releases ·
- FastAPI 0.140.10: Fixes nested Annotated type handling and improves testing FastAPI Releases ·
- FastAPI 0.140.8 fixes stream item type loss FastAPI Releases ·
- FastAPI 0.140.6: Dependency Refactor for OpenAPI FastAPI Releases ·