fastapi/docs/en
Sebastián Ramírez a4aa79e0b4
Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831)
* ♻️ Refactor dependency AsyncExitStack logic, exit dependencies after creating the response, before sending it

*  Update tests for dependencies exit, check they are finished before the response is sent

* 🔥 Remove ExitAsyncStackMiddleware as it's no longer needed

* 📝 Update docs for dependencies with yield

* 📝 Update release notes

* 📝 Add source examples for new dependencies with yield raising

*  Add tests for new dependencies raising after yield

* 📝 Update release notes
2023-12-25 18:57:35 +01:00
..
data 👥 Update FastAPI People (#10567) 2023-12-20 18:05:37 +01:00
docs Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831) 2023-12-25 18:57:35 +01:00
layouts Add Material for MkDocs Insiders features and cards (#9748) 2023-06-26 16:05:43 +02:00
overrides 🔧 Update sponsors, add PropelAuth (#10760) 2023-12-06 12:33:48 +01:00
mkdocs.insiders.yml Add Material for MkDocs Insiders features and cards (#9748) 2023-06-26 16:05:43 +02:00
mkdocs.maybe-insiders.yml 🔨 Enable linenums in MkDocs Material during local live development to simplify highlighting code (#9769) 2023-06-30 18:23:02 +02:00
mkdocs.no-insiders.yml Add Material for MkDocs Insiders features and cards (#9748) 2023-06-26 16:05:43 +02:00
mkdocs.yml Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392) 2023-10-18 16:36:40 +04:00