0.87.0
Highlights of this release:
- Upgraded Starlette
- Now the
TestClient
is based on HTTPX instead of Requests. 🚀 - There are some possible breaking changes in the
TestClient
usage, but @Kludex built bump-testclient to help you automatize migrating your tests. Make sure you are using Git and that you can undo any unnecessary changes (false positive changes, etc) before usingbump-testclient
.
- Now the
- New WebSocketException (and docs), re-exported from Starlette.
- Upgraded and relaxed dependencies for package extras
all
(including new Uvicorn version), when you install"fastapi[all]"
. - New docs about how to Help Maintain FastAPI.
Features
- ⬆️ Upgrade and relax dependencies for extras "all". PR #5634 by @tiangolo.
- ✨ Re-export Starlette's
WebSocketException
and add it to docs. PR #5629 by @tiangolo. - 📝 Update references to Requests for tests to HTTPX, and add HTTPX to extras. PR #5628 by @tiangolo.
- ⬆ Upgrade Starlette to
0.21.0
, including the newTestClient
based on HTTPX. PR #5471 by @pawelrubin.
Docs
- ✏️ Tweak Help FastAPI from PR review after merging. PR #5633 by @tiangolo.
- ✏️ Clarify docs on CORS. PR #5627 by @paxcodes.
- 📝 Update Help FastAPI: Help Maintain FastAPI. PR #5632 by @tiangolo.
Translations
- 🌐 Fix highlight lines for Japanese translation for
docs/tutorial/query-params.md
. PR #2969 by @ftnext. - 🌐 Add French translation for
docs/fr/docs/advanced/additional-status-code.md
. PR #5477 by @axel584. - 🌐 Add Portuguese translation for
docs/pt/docs/tutorial/request-forms-and-files.md
. PR #5579 by @batlopes. - 🌐 Add Japanese translation for
docs/ja/docs/advanced/websockets.md
. PR #4983 by @xryuseix.
Internal
- ✨ Use Ruff for linting. PR #5630 by @tiangolo.
- 🛠 Add Arabic issue number to Notify Translations GitHub Action. PR #5610 by @tiangolo.
- ⬆ Bump dawidd6/action-download-artifact from 2.24.1 to 2.24.2. PR #5609 by @dependabot[bot].
- ⬆ Bump dawidd6/action-download-artifact from 2.24.0 to 2.24.1. PR #5603 by @dependabot[bot].
- 📝 Update coverage badge to use Samuel Colvin's Smokeshow. PR #5585 by @tiangolo.