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
- PyCharm License Discount for Django Software Foundation Extended Django Weblog ·
- Django Software Foundation Seeks Volunteers for Fundraising Working Group Django Weblog ·
- Django 6.1.1 bugfix release addresses reported issues Django Weblog ·
- DSF Names Benjamin Balder Bach Member of the Month for August 2026 Django Weblog ·
- Djangonaut Space Opens Applications for Session 7 Mentorship Program Django Weblog ·
- Django Software Foundation Releases 2026 Developer Survey Results Django Weblog ·